Will docker stop
fail if processes running inside the container fail to stop?? If i use docker kill
, can unsaved data inside the container be preserved. Is docker stop
time consuming compared to docker kill
?? I want to do a shutdown of the container but without loosing any data(without high latency to complete kill or stop process).
Docker – Which one should i use? docker kill or docker stop
docker
Related Question
- Docker – How to copy Docker images from one host to another without using a repository
- Docker – From inside of a Docker container, how to connect to the localhost of the machine
- Docker container will automatically stop after “docker run -d”
- Docker – Cannot stop or restart a docker container
- Docker – single command to stop and remove docker container
- Docker ps shows running container that I cannot stop or kill. How to stop/kill that container
Best Solution
You can get more info from this post: https://superuser.com/questions/756999/whats-the-difference-between-docker-stop-and-docker-kill