Docker: How to start exited container
This is a small post on how to start an exited docker container. If you are in IT space for a couple of years, you will know how Docker disrupted IT. Docker just changed many things and simplified many people’s work. In this post, we will see how to start an exited docker container. If you are working on Docker containers, you may see some of your containers are excited. If you want to know how to start them, then this post is for you. List all exited docker containers Docker provide’s docker subcommands, one of that is ps. The ps command will show running containers(processes). To see only containers which are exited(killed) use below command. docker ps -f "status=exited" Output: [5666] sanne@Surendras-MacBook-Pro:~ > docker ps -f "status=exited" CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 6ac657c2e560 f6f26c66be5e "/bin/bash" 6 days ago Exited (0) 2 days ago friendly_minsky 761978f8ed0f ...
Read More