HomeVideoPushing image to docker hub | Creating image from container | Docker...

Pushing image to docker hub | Creating image from container | Docker Image migration in Hindi


How to create image out of container?
How to push image to docker hub or registry?
How to move image from one host machine to abother?
Lets learn with RPN

*****
#Comand to create image from contianer:
docker container commit container-id image-name
# Command to save compresses version of image to migrate here and there:
docker save -o path-to-save-image.tar image-name
#Command to login from CLI:
docker login
#command to tag image:
docker image tag image-name docker-hub-account-name/any-name-of-image
#Command to push image to docekr hub
docker push tagged-image
*** Next Part
Docker Compose
***
Click on http://learnwithrpn.com to watch playlist of all docker parts
**
Website: http://learnwithrpn.com
Facebook : https://www.facebook.com/learnwithrpn/
Linkedin: https://www.linkedin.com/in/pankaj-nara-623b541b4

#learnwithrpn #pankajnara #docker #dockerfile #dockernetwork #dockerbridge #dockercontainers #dockerhub

View it at Youtube

Most Popular