[Intro Music]
Alright guys, let's now start from
scratch, and let's download the
first image from Docker Hub. Recap
the Docker Hub is a Docker Registry
that hosts Docker Repositories. And
Docker Repository is a set of
images with different versions. All
right, we will use 'docker pull'
command in order to download image
from Docker Hub. Please note that
there is alternative version for
this command with Management
Command, that is 'docker image pull'.
And first let's open up Docker Hub
page, and let's find here image
called 'hello-world'. Type 'hello-world';
and here is this image on the
list, please click on it.
[no audio]
On this page, you'll see details about this
image, and here is the command that
you're able to use in order to pull
this image from Docker Hub to your
local cache. Notice that this is
the most simple image available and
basically it is useless and all
what it does, it simply prints
block of text to terminal, that's
all. Alright, let's now use 'docker
pull' command in order to pull this
'hello-world' image. Let me go to
terminal, verify that at the moment
there are no images in my local
cache, and now let's use 'docker
pull' command, and type here name of
the image, 'hello-world', like
this. Using default tag: latest.
Pulling from library/hello-world
Pulling FS layer. Pull complete. Here
is sha256 Digest for this
particular image. And, Status:
Downloaded newer image for hello-
world:latest. And now if I
check images in my local cache, I
should see hello-world image on the
list. In this output I see
REPOSITORY name - hello-world, I see
TAG - latest, IMAGE ID here is this
ID. Notice that this ID is a short
version of long ID of this image.
Next I see when this image was
created, date is 4 months ago; and
the SIZE is only 13 kilobytes. It
is the most smallest image
available. Alright, let's now try
to pull another image using same
command 'docker pull, but probably
let's use 'docker image pull' command
in order to show you that this
command is actually an alternative
version for 'docker pull' command
'docker image pull', and let's pull
for example 'busybox' image, it is
another popular small image. Let's
press Enter. Again same output -
Using default tag: latest.
Pulling from library/busybox. Pull
complete. Digest. Downloaded newer
image for busybox:latest. And now
if I will enter 'docker images'
command, I will see two images in
my local cache. And please notice
that size of busybox image is a bit
more than one megabyte. It is of
course larger than the heloo-world
image, but anyway it is really,
really small. This how we were able
to download images from Docker Hub.
And please notice that we were not
prompted to enter any user name or
password., and that's because Docker
Hub is free for use to anybody, and
you are able to download the
official images like busybox, hello-
world without any credentials.
Alright, that's all for this short
lecture where I have shown you how
you're able to get images to pull
images from Docker Hub. Next, let
me explain you structure of the
image and explain you why here we
have seen messages like Pooling FS
layer, and afterwards you have seen
message, Pull complete. Let's talk
about it in the next lecture. I'll
see you there. Bye-Bye.
[no audio]