PhpStorm 2019.1 Help

Docker Tool Window

View | Tool Windows | Docker

For this tool window to be available, the Docker integration plugin must be installed and at least one Docker configuration must be defined.


The Docker tool window lets you manage your Docker images and containers.

the Docker tool window

All the available functions are accessed by means of the toolbar icons and context menu commands.

See also Docker.

Toolbar icons and context menu commands

Icon

Command

Description

Docker node
the Connect button

Connect

Connect to Docker API. As a result, the list of Docker images and containers available locally is shown.

the Disconnect button

Disconnect

Disconnect from Docker API. As a result, the list of Docker images and containers is hidden.

the Edit configuration button

Edit Configuration

Edit the Docker API connection settings.

the Deploy button

Deploy

Execute an existing Docker run configuration or create a new one.

the Pull image button

Pull image

Pull an image from Docker Hub or other image repository, for example Quay. Opens the Pull Image dialog.

The Filter button

Filter

Open the Filter menu to show/hide containers that are not running and images with no tags.

Images
The Create a container button

Create container

Create a container for the selected image according to an existing or new Docker run configuration

the Delete image button

Delete image

Delete the selected image or images.

the Push image button

Push image

Push the selected image to Docker Hub or other image repository, for example Quay. Opens the Push Image dialog.

the Filter button

Filter

Open the Filter menu to show/hide containers that are not running and images with no tags.

Copy image ID

Copy ID of the selected image to the clipboard.

Containers
the Redeploy button

(Re)deploy

Restart the container using an associated Docker run configuration

The Edit Configuration button

Edit Configuration

Edit the settings for an associated run configuration.

The Start container button

Start container

Start the selected container.

The Stop container button

Stop container

Stop the selected container.

The Delete container button

Delete container

Delete the selected container or containers.

The Filter button

Filter

Open the Filter menu to show/hide containers that are not running and images with no tags.

Copy container ID

Copy ID of the selected container to the clipboard.

Copy image ID

Copy ID of the associated image to the clipboard.

Show log

Show the container log.

Inspect

Show low-level container information in JSON format.

Show processes

Show the list of processes running in the container.

Attach

Open the console for the ENTRYPOINT container process, that is attach to the stdin/out of the process.

Exec

Run a command in the container, for example ls /tmp, /bin/bash.

Compose node
the Redeploy button

(Re)deploy

Restart the services using the associated Docker run configuration

The Edit configuration button

Edit Configuration

Edit the settings for the associated run configuration.

Services
the Scale button

Scale

Change the number of containers within the service.

the Start button

Start

Start the service.

The Stop button

Stop

Stop the service.

Last modified: 26 July 2019

See Also