Docker restart not showing the desired effect
问题 I have a small nginx based test application that I want to run inside a docker container. So I followed the example given here docker installation So I have a foder name restartTest and it contains an index.html file that has this single line in it that says Docker Test 1 . I mount this up as my volume during runtime for docker container. So the commmand I use is docker run -dP -v /Users/Sachin/restartTest/:/usr/share/nginx/html --name engine2 nginx And it runs fine. I use curl to verify that