← Homepage

Docker Cheat Sheet

I can use some Docker commands only with bck-i-search. I’ll list these commands on this post.

docker build --tag <image_name> .

docker run --rm -i -t <image_name>

docker run --rm -d <image_name>

docker stop $(docker ps -a -q)

docker rmi $(docker images -q)

docker rm $(docker ps -a -q)

sudo docker exec –it <container_name> /bin/bash