From the course: Web Servers and APIs using C++
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Saving our container to Docker Hub - C++ Tutorial
From the course: Web Servers and APIs using C++
Saving our container to Docker Hub
- [Instructor] Being able to use Docker images created by others is great, but it would also be nice to be able to share our images. To do that, we need to use Docker Hub. What is Docker Hub? Docker Hub is a cloud-based registry service. It is a place to both store and find Docker images. It is free to sign up. You can store as many public images as you'd like, and one private image. Saving an image to Docker Hub is fairly easy. I'm gonna log on to Docker Hub, tag the image, push the image, and then just verify the push. So let's return to the terminal and the hello crow directory. Go ahead and clear the screen and we're gonna do a docker login dash dash username and my username. Then, once we're logged in, do a docker images to see what we have here. And then we'll need to find the image we're gonna push and we can't push it directly because we need to tag all the images with our Docker username. So we had hello crow and its image ID is right here and we're gonna say docker tag that…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.