jittagornp.github.io

Docker Command

Show all containers

$ docker ps -a

Show all images

$ docker image ls

Stop Container

$ docker stop <CONTAINER_ID>

Remove Container

$ docker rm <CONTAINER_ID>

Remove image

$ docker image rm <IMAGE_NAME>