I have installed Docker in my Windows 10. When i restart my machine the docker container i have created automatically goes to exited state, how to prevent this from happening. I need the container running when i restart the machine
Asked
Active
Viewed 25 times
0
-
https://docs.docker.com/config/containers/start-containers-automatically/ – Martheen Jul 15 '21 at 07:53
-
Can i modify the existing container with restart or i have to create a new one. ? – user2924500 Jul 15 '21 at 09:30
-
1Deleting and recreating a container is very routine and I'd just do that. – David Maze Jul 15 '21 at 10:53
-
Thanks for the answer. Also where to place my cacerts file in Docker container, I see a Folder named /etc/ssl. Can i copy the cacerts file from my Host Win 10 machine to this location, Will it work. – user2924500 Jul 16 '21 at 05:00