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.

Using images

Using images

From the course: Docker for Data Scientists

Start my 1-month free trial

Using images

- [Narrator] Docker images are built from Docker files. Now if you want to pull an image from the Docker registry or hub, you can enter Docker pull and the link to that image. The Docker hub page for an image will have instructions of what you need to type to grab that image. So let's take a look at a really simple example to get started, the hello world for Docker images. So login to Docker Hub. So I select Sign in, I enter my credentials, I select Sign in, and then in the top search bar do a search for hello-world and you can see that there are several hello world images, but your best bet is to get the official images where possible, that way you can be sure there isn't any malware there. So I select hello world, which is the official image, and we have the instructions we need to pull this image from Docker Hub. So I'm going to copy that, so that's docker pull hello world. As I open Docker on my machine, so I go to the command prompt, cmd, I'm going to maximize the screen, and…

Contents