Hi in this video. Let's talk about the available Jupiter
Docker images.
We will choose the right one for us and start it's
container on our computer.
There are a few Jupiter Docker images depending on how you
would like to use them.
For example for the learning with GPU support
with included some programming languages like
r or Java or with included Big
Data libraries, like spark or Hadoop and
so on.
On the Jupiter website we can have more info about
them. So let's check it.
So here we are.
Here we see the list all of the Jupiter images.
And the right one for us will be this one
Jupiter / data science notebook because in
later chapters, we will do a lot of data science.
If you explore this website, you will find here also
that Jupiter provides also a lot
of community maintained images.
You will have here instructions on how to
run the containers information about how
to troubleshoot problems.
In order to start our container. We need to clone
our repo first because we want to build our
repo folder to folder in the container.
After that, we will run the docker run
command.
Now a little bit to the parameters of the docker command.
The E stands for volume and here we will
bend our cloned repo directory to a directory
in the container.
P stands for publish in this we say to
Docker. It should make a container sport available to our host.
It basically Maps container sport to
our host port.
With e we set an environment variable inside the
container.
Name will set our containers name.
With d we run our container in a detached
mode. That means it will be run in the background of
your terminal.
It does not receive any input or display output.
And the last piece of text is the image we want to use and
it's stuck.
There are more versions of the image, but even
the latest one.
You can check the docker and documentation via provided
link and now let's do it.
We will clone our rip off first.
Okay, that's done.
And now we will run the dock around commands.
This will take a while.
our image has
few gigabytes. So let's be patient.
Okay, and it seems we've been successful. So let's check
it.
Remember we mapped the container spores to the port 8888
on our host.
Yes, and it's working.
We set up the token environment variable
to docker.
And we are in.
Another thing which I want to show you is a Docker
desktop.
Here you can see our running containers.
Images volumes and so on and here
for example, we can see that this is
the container we just created is running.
It's running on the sport. We can stop it.
We can delete it.
And then the same applies to the images
you can manage the
images here also very easily.
In our next video, we will start finally to exploring
the jupyter notebook app.