From the course: Docker for Data Scientists

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Uploading images to Docker Hub

Uploading images to Docker Hub

From the course: Docker for Data Scientists

Start my 1-month free trial

Uploading images to Docker Hub

- [Male Speaker] Now one of the easiest ways to share your work with other people is to push the images to Docker Hub. So let's use the hello-world image only because it's relatively small and so will be easy to upload to Docker Hub. So I head over to my command line and I'm going to do a docker pull hello-world just to make sure that I've got it on my computer. And now let's look for the image ID and copy it. So, docker image ls and the image ID is fce and so on so I copy that and so what we're going to do here is to pretend that we've created the image from a docker file and we'll call it my hello world. So I'm going to tag this with a docker tag with the image ID and my docker ID is theolympicsguy/myhelloworld so mhw for myhelloworld and call on latest. I'm just going to clear the screen. So I'm going to log in to Docker Hub, so that's docker login and I enter my credentials so that's theolympicsguy, I enter my password. And now just going to take a look at all of the images on my…

Contents