#90DaysOfDevops | Day 20

Rajendra PatilRajendra Patil
1 min read

Hey Learners! Welcome back. We learned about Docker, Docker-Compose, Docker-Volumes and Docker Networking hands-on. Now it's time to create a comprehensive cheat sheet of all the commands we've learned so far. Let's get started.

Docker Commands:-

docker login
docker pull
docker push
docker logout
docker build . -t any-name:version
docker images OR docker image ls
docker rmi OR docker image rm
docker tag :version
docker inspect
docker save --output
docker load --input
docker create
docker run
docker run -d --name
docker run -e
docker run --network
docker run -p host-port:cont-port
docker run --rm
docker run -v :
docker start
docker stop
docker pause
docker unpause
docker restart
docker export > OR docker export --output="
docker ps
docker ps -a
docker inspect
docker logs
docker stats

Docker-Compose Commands:-

docker-compose up
docker-compose up -d
docker-compose down
docker-compose down
docker-compose ps
docker-compose rm
docker-compose rm
docker-compose start
docker-compose stop
docker-compose restart
docker-compose pause
docker-compose unpause

Docker Networking Commands:-

docker network ls
docker network create
docker network inspect
docker network connect
docker network disconnect
docker network rm

Happy Learning....

0
Subscribe to my newsletter

Read articles from Rajendra Patil directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Rajendra Patil
Rajendra Patil