How to Push and Pull images to Docker Hub on Ubuntu 21.04

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
welcome to learn myself.com today we will see how to push and pull images to docker up on ubuntu 21.04 a docker container is a software platform that allows you to build test and deploy applications rapidly docker hub is a collaborative tool for finding and sharing container images first i am going to check the os version basic following command it is ubuntu 21.04 next i am going to create an ubuntu image next i am going to run a container on this image basically command i am in the container cell as time updating the source list of apt repository next time installing the apache package after i am exit from this container now before pushing an image to the docker hub we need to commit that by using container to commit use the container id and specify the image name now i'm going to list the docker images list it is created 10 seconds ago now before pushing we need to login to the docker hub account login with the username password of the docker hub logged in next i'm going to push the image by using following command before pushing we need to create a tag for the image i'm creating tag after creating tag push the image with the tag name now i am listing the images here now i am removing this image from local now listing the docker images now i'm going to pull this push the image from the docker hub by using following command now i am going to run the pulled image as a container by using following command here i am checking the installed application it is pushed and installed showing by this how to push and pull images to the docker hub on ubuntu 21.04 has been completed thank you for watching this video and if you like it please subscribe to our channel to learn more tutorials visit www.linux and if you have any queries mail us to support linuxhub.com
Info
Channel: LinuxHelp
Views: 4,119
Rating: undefined out of 5
Keywords: Linux, Help, Docker Hub, Ubuntu 21.04, Ubuntu, Push and Pull
Id: MSIRlxwPgyc
Channel Id: undefined
Length: 8min 17sec (497 seconds)
Published: Tue Mar 15 2022
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.