คำสั่ง Docker

คำสั่ง Docker

X
Remove Docker Images
docker rmi <IMAGE ID>

List all available docker images
docker images

Remove Docker Containers
docker rm 

List all containers
docker ps -a

Stop All Containers
docker stop $(docker ps -a -q)

Remove All Containers
docker rm $(docker ps -a -q)


docker container stop xxxxx
docker network ls
docker network list

Stop all running containers
docker ps -aq
docker-compose build --no-cache
docker-compose up --force-recreate

docker-compose down

Restart the containers 
docker-compose up -d