- [Instructor] Similarly to MongoDB, we will also install
a Docker container for Redis.
For that, please make sure that your Docker daemon
is still running and if it's running,
you can type 'docker pull Redis'
and this will pull the latest Docker image from Docker hub.
Next, we want to create the container and run it.
For that, type 'docker run--name'
and this container should be named Redis.
And again, we have to provide the port configuration.
So we want to have the local port
here on our machine, 7379
and this maps to the port into container, 6379
which is the default port of Redis.
We want to create daemon here
and we want to use the Redis image for that.
And now we have a running container,
we see that if we run Docker PS.
Now, as you see we have a Redis container
and the Mongo container running.
As for MongoDB, we also want to use
some graphic user interface to
see what's actually stored in Redis and again
there is a client directly
by the company behind the database
and this client is called RedisInsight.
So it's by Redis labs;
that's the Redis company and it's called RedisInsight.
If you look that up, you will end up on this page
and from there, you can download the client for free.
I've already downloaded and installed the client.
So I can now just look for RedisInsight
and this will not start.
The application might take a little bit in the beginning
and you see it starting a web server
because it's basically a browser-based application
that is running locally on your machine.
Next click on 'ADD REDIS DATABASE' and then 'ADD DATABASE'.
And for the name I use NodeDatabases.
So this is basically up to you.
For the host I use localhost and for the port,
now it's not the default port, I use 7379.
So the port that we mapped to our machine
for antenna can click on 'ADD REDIS DATABASE'
and then you have this entry here and I just click
on that and you end up in this user interface for Redis
and you see it's pretty feature-rich.
So it also shows the stats
on what's going on in your ready server.
We will later then use the browser to look
at the data that's stored in Redis, but for now it's empty
but we will change that in the next video.