Search This Blog

Wednesday, May 1, 2019

How to list and manage containers in Docker !!

Following  basic docker commands will help to manage containers configured in docker :


To list :         docker container ls -a
To remove : docker container rm containername or containerid
To Stop :      docker container stop containernameor containerid
To Start  :    docker container start containername or containerid
To Restart : docker container restart containername or containerid

Further for rest, we can refer following link :

https://docs.docker.com/engine/reference/commandline/container_ls/

Cheers,
Kapil

No comments:

Post a Comment

Thanks for your comment, will revert as soon as we read it.

Popular Posts