I’m trying to understand how volumes work on the mac OS X with docker. I followed along with the installation example at: https://docs.docker.com/installation/mac/ and everything works as it is written but there is something weird that the page doesn’t tell you (either that or I’m weird - a distinct possibility). The weirdness is that when you start up the NGINX and view your index.html it looks good, and then you create a new cool.html and then browse to it, it’s fine and looks good. But now, what happens when you change cool.html? That change is not reflected back in NGINX unless you totally stop and restart all the way down to the virtual box level.
This “feature” would make it next to impossible to use this in a dev, debug environment - every time I would need to make a change I’d have to reboot virtual box to see it.
What am I missing? Is this working as expected or is this unusual?
How can I work in a dev debug cycle with docker?