Skip to content
FLAVIO COPES
flaviocopes.com
2026

Using Docker Desktop to manage a Container

By Flavio Copes

Learn how to manage a Docker container with Docker Desktop, using its dashboard to start, stop, and restart it, open a CLI, and view logs and stats.

~~~

Once you start a Docker container, if you go and click the Docker icon in the toolbar and choose Dashboard, you will see it in Docker Desktop:

Docker Desktop dashboard showing a running docker-tutorial container

Now if you hover the container with the mouse, you will see 5 buttons:

Docker Desktop container with management buttons visible on hover: open in browser, CLI, stop, restart, delete

They are:

You can manage your container lifecycle through them.

Clicking a container name in the list will reveal more data, including a Logs manager:

Docker Desktop logs tab showing container output with configuration and startup messages

An inspector that tells you useful information about the container:

Docker Desktop inspect tab showing environment variables, nginx version, and port mappings

And stats about the container CPU, Memory, Network and Disk usage:

Docker Desktop stats tab showing CPU usage at 0.00%, memory usage at 5.3 MB, and network/disk usage stats

Go back and click the Open in browser button and the http://localhost/tutorial URL will open (http://localhost redirects to http://localhost/tutorial in this app):

Browser showing Docker tutorial Getting Started page at localhost/tutorial with command explanations

This is the content of a website that’s provided by our sample image. Now go back to Docker Desktop and press the Stop button

Docker Desktop showing stopped container with grayed out status and management buttons

and refresh the page, it does not work any more:

Browser error page showing site cannot be reached at localhost with ERR_CONNECTION_REFUSED error

Go back to Docker Desktop and press the Start button, it will work again.

Try pressing the CLI button. A new terminal window will open and you will automatically be connected to the Docker Container, as the root user:

Terminal window connected to Docker container showing root user prompt after running whoami command

In the above picture the whoami command returns the current user name.

Tagged: Docker · All topics
~~~

Related posts about docker: