PhpStorm 2017.3 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.

ps 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

IconCommandDescription
Docker node
runConnectConnect to Docker API. As a result, the list of Docker images and containers available locally is shown.
stopDisconnectDisconnect from Docker API. As a result, the list of Docker images and containers is hidden.
edit config dockerEdit ConfigurationEdit the Docker API connection settings.
deploymentConsoleDeployAllDeploy Execute an existing Docker run configuration or create a new one.
iconPullImageDockerPull image Pull an image from Docker Hub or other image repository, e.g. Quay. Opens the Pull Image dialog.
iconDockerFilterFilter

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

Images
iconCreateContainerDockerCreate containerCreate a container for the selected image according to an existing or new Docker run configuration
closeDelete imageDelete the selected image or images.
iconPushImageDockerPush image Push the selected image to Docker Hub or other image repository, e.g. Quay. Opens the Push Image dialog.
iconDockerFilterFilter

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

Copy image IDCopy ID of the selected image to the clipboard.
Containers
deploymentConsoleDeployAll(Re)deploy Restart the container using an associated Docker run configuration
edit config dockerEdit ConfigurationEdit the settings for an associated run configuration.
runStart containerStart the selected container.
stopStop containerStop the selected container.
deleteDelete containerDelete the selected container or containers.
iconDockerFilterFilter

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

Copy container IDCopy ID of the selected container to the clipboard.
Copy image IDCopy ID of the associated image to the clipboard.
Show logShow the container log.
InspectShow low-level container information in JSON format.
Show processesShow the list of processes running in the container.
AttachOpen the console for the ENTRYPOINT container process, i.e. attach to the stdin/out of the process.
ExecRun a command in the container, e.g. ls /tmp, /bin/bash.
Compose node
deploymentConsoleDeployAll(Re)deploy Restart the services using the associated Docker run configuration
edit config dockerEdit ConfigurationEdit the settings for the associated run configuration.
Services
IconDockerScaleServiceScaleChange the number of containers within the service.
runStartStart the service.
stopStopStop the service.
Last modified: 6 December 2017

See Also