Containers (original) (raw)

The Containers view lists all running and stopped containers and applications. It provides a clean interface to manage the lifecycle of your containers, interact with running applications, and inspect Docker objects—including Docker Compose apps.

Use the Search field to find a specific container by name.

From the Containers view you can:

From the Containers view you can monitor your containers' CPU and memory usage over time. This can help you understand if something is wrong with your containers or if you need to allocate additional resources.

When youinspect a container, the Stats tab displays further information about a container's resource utilization. You can see how much CPU, memory, network and disk space your container is using over time.

You can obtain detailed information about the container when you select it.

From here, you can use the quick action buttons to perform various actions such as pause, resume, start or stop, or explore the Logs, Inspect, Bind mounts, Debug, Files, and Stats tabs.

Logs

Select Logs to view output from the container in real time. While viewing logs, you can:

You can refine your view by:

Inspect

Select Inspect to view low-level information about the container. It displays the local path, version number of the image, SHA-256, port mapping, and other details.

Exec/Debug

If you have not enabled Docker Debug in settings, the Exec tab displays. It lets you quickly run commands within your running container.

Using the Exec tab is the same as running one of the following commands:

For more details, see thedocker exec CLI reference.

If you have enabled Docker Debug in settings, or toggled on Debug mode to the right of the tab options, the Debug tab displays.

Debug mode requires aPro, Team, or Business subscription. Debug mode has several advantages, such as:

To use debug mode:

  1. Sign in to Docker Desktop with an account that has a Pro, Team, or Business subscription.
  2. After you're signed in, either:
    • Hover over your running container and under the Actions column, select the Show container actionsmenu. From the drop-down menu, select Use Docker Debug.
    • Or, select the container and then select the Debug tab.

To use debug mode by default, navigate to the General tab in Settings and select the Enable Docker Debug by default option.

Files

Select Files to explore the filesystem of running or stopped containers. You can also: