Tenzin Learning


– 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

Subscribe
Notify of
guest

This site uses Akismet to reduce spam. Learn how your comment data is processed.

0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x