05 Make Changes
To build a new version, of the container follow the steps
- Edit
html/index.html
by replacing theStudent xxx
with your name. - Build a new version of the container, by running
docker build -t web:v2 .
- Run the new version
docker run -p 80:80 web:v2
- Refresh the browser tab, from last task, and see that the content has changed.
- Stop the container again by pressing
ctrl + c