Tenzin Learning
Limited Time Offer!
For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly.
Master DevOps, SRE, DevSecOps Skills!
– What is Docker
Docker is a deployment tool that uses container for package application.
– What is Container
Container is a lightweight machine which doesn’t require a separate operating system.
– Top 10 commands with 1 example of using docker container
docker version
docker create –name=xyz httpd
docker start containername
docker ps -a
docker push containername
docker pull containername
docker login
docker logout
docker run -itd –name containername
docker exec -it containername
docker images
– 5 commands with 1 example of using docker image
docker images
docker rmi imagename
docker pull imagename
– 5 commands with 1 example of using docker registry
docker login
docker logout
docker tag imagename newimagename
docker push repositoryname