From the course: Docker for Data Engineers

Unlock this course with a free trial

Join today to access over 24,900 courses taught by industry experts.

Pushing images to Docker Hub

Pushing images to Docker Hub - Docker Tutorial

From the course: Docker for Data Engineers

Pushing images to Docker Hub

Behind the scenes, I've cleared up all of the images and containers that we've created so far, so we start off on a fresh slate. In this demo, we'll build the same image that we built earlier to run a Python application within a container to display data and statistics. You can see under the docker-demos folder that I have the same set of files and I have the exact same Docker file as well. The difference is that this time around, we'll name the image a little differently. We'll specify an image name and a tag name representing the version of the image, and we'll push this image out to Docker Hub. Now, in previous demos, we've seen how we can pull images shared by others from Docker Hub. This time we'll push out our own image. Here I am on Docker Hub. I'm already logged in with the account that I had created previously, and I'm going to create a new repository to hold my image versions. Click on this Create a Repository button that you see here, and this will lead you to a page where…

Contents