TODO
To use these containers locally, they will need to be built & tagged into images first.
- Start with the ./lap/Dockerfile
- Build the image - options to build are:
docker build -t xpon/webdev_local:latest .
- VSCode or another IDE - often, you can right-click on the Dockerfile & choose "build" - make sure you keep track of the image name it gives it
- In the above command,
xpon/webdev_local
is the image name andlatest
is the tag - Next, edit the ./lap-wildcard/Dockerfile
- Change the first line from
FROM internetrix/webdev:lap
toFROM xpon/webdev_local:latest
(or whatever your image is called from step 2 above - usedocker images
to list them or use the Docker UI in your OS to see what images and their names you have) - Build this image - options to build are:
docker build -t xpon/webdev_wildcard_local:latest .
- VSCode or another IDE - often, you can right-click on the Dockerfile & choose "build" - make sure you keep track of the image name it gives it
- Next edit the ./docker-compose.yml
- Change the
image
reference in theweb
service to reflect the newly built image - change from:image: internetrix/webdev:lap-wildcard
toimage: xpon/webdev_wildcard_local:latest
- Rebuild the docker compose service:
docker compose up --force-recreate
(you likely do not need the force-recreate, but best to do so)
If you have any problems, it may be worthwhile deleting all other containers both running and stopped (use docker ps -a
to show all & docker rm {container name}
to delete them).