Day20- 90DaysOfDevOps

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

Thank you so much for taking the time to read till the end! Hope you found this blog informative.


Discover more from Coursity

Subscribe to get the latest posts sent to your email.

Leave a Comment

Your email address will not be published. Required fields are marked *

Discover more from Coursity

Subscribe now to keep reading and get access to the full archive.

Continue reading

Scroll to Top