Life Cycle of Docker Container
- Mohan Sekar
- Nov 15, 2017
- 1 min read

Life Cycle of Docker Container Commands
1. docker create : Create a new container
Usage: docker create [OPTIONS] IMAGE [COMMAND] [ARG...]
2. docker run : Run a command in a new container Usage: docker run [OPTIONS] IMAGE [COMMAND] [ARG...]
3. docker start : Start one or more stopped containers
Usage: docker start [OPTIONS] CONTAINER [CONTAINER...]
4. docker rm : Remove one or more containers
Usage: docker rm [OPTIONS] CONTAINER [CONTAINER...]
5. docker kill : Kill one or more running containers
Usage: docker kill [OPTIONS] CONTAINER [CONTAINER...]
6. docker stop : Stop one or more running containers
Usage: docker stop [OPTIONS] CONTAINER [CONTAINER...]
7. docker restart : Restart one or more containers
Usage: docker restart [OPTIONS] CONTAINER [CONTAINER...]
8. docker pause : Pause all processes within one or more containers
Usage: docker pause CONTAINER [CONTAINER...]
9. docker unpause : Unpause all processes within one or more containers
Usage: docker unpause CONTAINER [CONTAINER...]
תגובות