If you are running Mac OS or Windows, you have access to Docker desktop dashboard.
You could click here on this icon and click on dashboard.
And here you should find all containers that are currently running.
And now I see such section as images gallery here and it is expandable.
And basically inside I see all four containers that are running by Docker compose.
Here I see names of those containers like images, gallery, Mongo Express one, images gallery, Mongo
one, and so on.
And also see here corresponding images that were used for start of corresponding container.
For instance, Mongo express is image that was used for start of this container.
Also here, you might find ports that are exposed by specific containers and see that port 8081 is exposed
from the Mongo Express container port 3000 is exposed by front end container.
Also here, you could see shortcuts for each running container.
For instance, open in browser.
Let's click on it and was connected to localhost 3000.
Similarly, you could access for instance Mongo Express.
Let's click on this link open in web browser and you'll see connection to Mongo Express graphical user
interface.
But we will proceed with that in the next lecture.
For now, let me continue with overview of the Docker desktop.
Let's go here and also for each container you have such option as open CLI, and if you click for instance
open for Mongo container, you'll see that Docker will actually open a new shell session.
In such case, Sha shell was used and you already know what this command does.
It actually starts another process in this example bin Sha process in the running container here with
Sha hash of the running container.
And now I'm basically inside of the mongo container and if I list files and folders here, I'll see
multiple folders like dev bin data and so on.
Let's exit from here and go back to the Docker desktop.
Also, you could perform such operations as container stop, container restart and container delete.
Also, if you hover mouse over Images gallery, you are able to see open in editor link and also stop
link that will actually stop all running containers that were started using Docker compose up command.
Also here in this list, you might find containers that you run before and that are exited.
At the moment they are stopped.
And if you want, you could restart each of those containers by clicking on this start button.
Of course you could do that from the CLI as well, but at the moment we don't require such old containers
that we used before and that's why we could simply remove them.
Recap that I used for instance, this container with Frosty Babbage name for some examples and now this
container is exited.
Let's go ahead and delete it.
Click on this delete button, click remove and container was removed.
Actually, it's possible to remove all stopped containers if you want to do so, but also if you need
you could remove them separately by clicking on this delete button like that.
Let me actually remove all stopped containers.
I don't need them at the moment.
Like that.
And now there are only four containers that are currently running.
And you already know that when you enter Docker, compose down command.
Docker compose actually not just stops containers, it also deletes them.
Now let's proceed with overview of the Docker desktop and let's go to next menu item in this images.
And here on this page you might find all images that are present in local cache of the Docker.
And here I see such images as images gallery underscore front end and images gallery underscore API.
And those images were created by Docker Compose when we brought up all our services.
Also see such official images as Mongo and Mongo express.
On this line I see image called images dash gallery dash, front end and that's that image that we created
initially when we built the front end image ourselves.
And now this image is not in use.
And basically it's completely safe to remove such image.
Click on those three dots and select remove like that image was removed.
But notice that there are two images named images Dash Gallery, Dash API and images Dash Gallery underscore
API.
Size of those images is exactly the same.
Also image IDs are exactly the same and actually we build this image ourselves and added such tag to
it before actual configuration of the docker compose.
But afterwards we used Docker compose in order to bring up a container and at that moment of time there
were no changes made in API service and that's why Docker Compose has simply reused existing image,
this one.
And that's why now I see in use here for both those images, images, Gallery API and images gallery
underscore API.
In a nutshell, it is the same image but with different names.
And basically I'm able to remove this image.
I don't need it anymore, but images dash gallery underscore API image will be kept in place.
All right.
Also here you see menu item, remote repositories and here you are able to sign in to the Docker hub
and afterwards you will be able to push your repositories from local docker to remote.
I will not do that for now.
We don't require publishing of the images to Docker Hub.
Also here you see the total size that is occupied by images is around two gigabytes and there are in
total five images.
That's how you could use Docker desktop in order to overview what is happening right now and which containers
are up and running and which image exist locally in your Docker setup.
Also here you could click on Setup Icon and go to configuration of the Docker.
And here in the resources section you might find how many resources are allocated to Docker and by default
two gigabytes of Ram are allocated and that is a limit for all running containers.
Please keep in mind that all containers share.
All those limits will keep them unchanged.
Also, you might find other settings in other sections such as file sharing proxies or network.
You could also go to Docker engine and explore information about Docker engine, go to experimental
features or Kubernetes.
All right.
That's it for a quick overview of the Docker desktop and its relatively convenient way to observe what
is happening right now in Docker on your computer.
All right, let's close this and that's it for Docker Desktop Overview.
And next, let's have a look at the Mongo and Mongo Express containers.
I'll see you guys after the small pause.