[Intro Music]
You know now what is Docker Image,
and what is Docker Container, and
you are able to create multiple
containers from the same Docker
Image. And difference between Docker
Image and Docker Container, is that
you are not able to modify Docker
Image, you are able only to read it
or create other image on top of that
image. Also, when you create
container, Docker creates writable
layer and you are able to modify or
create new files inside of the
running container. And I have just
shown you that you are able to
launch multiple containers based on
the same image. Now let me explain
you what is Docker Repository.
Probably, you know what is Git
repository. If you don't know
please check out my large course
called 'Complete Git and GitHub
guide' where I explain all the
details of Git and GitHub. But in
short words Git Repository is
simply a set of files, and you are
able using Git to track changes in
repository. You're also able to
publish your Git Repository to
hosting service like GitHub, for
example, or Bitbucket; and that is
Git Repository. What is Docker
Repository? You are able to create
Docker Repository from Docker
Images. And in every Docker
Repository, you can have different
versions of Docker Image. And you
are able to create different
versions of a specific Docker Image
using tags. By default, every
Docker Image should have at least a
single tag called 'latest', but you
are able to assign different tags
to different versions of Docker
Images. And this set of Docker
Images with different tags is
called Docker Repository. That's
it. For example, if I go to list of
images here on this computer, let
me exit from this 'busybox' container;
and enter 'docker images' command.
I'll see such containers, for
example, as 'wordpress', and you'll
see two such kind of containers
with two different tags, '5.4',
and 'latest'. And that means
that actually those two different
images belong to same repository,
but they were downloaded from
Docker Hub. That is actually a
repository hosting service called
Docker Registry, and let's discuss
what is Docker Registry in the next
lecture. I'll see you just in a
moment. Bye-Bye.
[no audio]