Docker Intro: Essential Commands Crash Course
We'll cover the common docker commands. These are good to learn when you first get started with Docker. It's also a great refresher if you're already experienced with Docker.
Lifecycle Commands
docker run # starts a new container
docker ps # shows running containers
docker exec # hops or "ssh" into a container
docker stop # stops a container
docker rm # removes a stopped container
docker start # start back up a stopped container
Registry Commands
docker build # builds an image from a Dockerfile
docker images # lists the pulled or built images
docker push # pushes the image to a docker registry
Cleanup Commands
docker rm `docker ps -a -q`
docker rm $(docker ps -a | grep 'Exited' | awk '{print $1}')
docker rmi $(docker images | grep MYNAME_ | awk '{print $3}')
Commands from the Video
docker run --rm -ti boltops/docker-tutorial bash
docker run --rm -P -d boltops/docker-tutorial
docker ps
docker ps -a
docker exec -ti beautiful_diffie bash
docker rm beautiful_diffie
docker start thirsty_chatelet
docker stop thirsty_chatelet
docker build -t boltops/docker-tutorial:latest .
docker images
docker push boltops/docker-tutorial:latest
docker rm $(docker ps -a -q)
docker rm $(docker ps -a | grep 'Exited' | awk '{print $1}')
docker rmi $(docker images | grep MYNAME_ | awk '{print $3}')
Docker Essentials
1h 46m
1h 46m
Kubernetes Intro
1h 43m
1h 43m
Kubernetes Deploy Tools
48m
48m
Kubes: Kubernetes Deploy Tool
2h 21m
2h 21m
Kubernetes Tips
19m
19m
AWS EKS Kubernetes
4h 13m
4h 13m
Azure AKS Kubernetes
40m
40m
Google GKE Kubernetes
3h 29m
3h 29m
Get full access to these great resources
All for less than the price of coffee a day
44 courses
286 lessons
46+ hours