I am trying to learn Docker. Maybe I am over complicating it. I have built a Docker Container with Nginx and am just trying to build a static HTML Website. I originally only put Hello World in my HTML file and ran the container. It showed up just find in browser. I then stopped the container and added a lot to the html file. However, when I start the container back up, nothing has changed and the Hello World is the only thing that shows in browser. I guess I'm not understanding why it is not changing along with my HTML. Any help would be greatly appreciated.
I am stopping the container with:
$ docker stop web
and I am starting it back up with:
$ docker run -it --rm -d -p 8080:80 --name web webserver
when I stop it and docker ps it does not show up
Also, using docker restart doesn't really seem to do anything at all