PhpStorm 2017.3 Help

Docker Tool Window

View | Tool Windows | Docker

For the 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 Deployment run configuration or create a new one.
debugDebug Reserved for the future for debugging. Currently, works similar to Deploy (deploymentConsoleDeployAll).
iconPullImageDockerPull imagePull an image from Docker Hub or other image repository, e.g. Quay. (The Pull Image dialog will open.)
iconStoppedContainersStopped containersHide or show the containers that are not running.
iconUntaggedImagesUntagged imagesHide or show the images that have no tags.
Images
iconCreateContainerDockerCreate containerCreate a container for the selected image according to an existing or new Docker Deployment run configuration
closeDelete imageDelete the selected image or images.
iconPushImageDockerPush imagePush the selected image to Docker Hub or other image repository, e.g. Quay. (The Push Image dialog will open.)
iconStoppedContainersStopped containersHide or show the containers that are not running.
iconUntaggedImagesUntagged imagesHide or show the images that have no tags.
Copy image IDCopy an ID of the selected image to the clipboard.
Containers
deploymentConsoleDeployAll(Re)deploy Restart the container using an associated Docker Deployment run configuration
debugDebug Reserved for the future for debugging. Currently, works similar to (Re)deploy (deploymentConsoleDeployAll).
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.
iconStoppedContainersStopped containersHide or show the containers that are not running.
iconUntaggedImagesUntagged imagesHide or show the images that have no tags.
Open browser If in the associated run configuration the Open browser after launch option is selected, a web browser opens.
Copy container IDCopy an ID of the selected container to the clipboard.
Copy image IDCopy an 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 an associated Docker Deployment run configuration
deploymentConsoleUnDeployUndeploy Stop and delete the containers.
debugDebug Reserved for the future for debugging. Currently, works similar to (Re)deploy (deploymentConsoleDeployAll).
edit config dockerEdit ConfigurationEdit the settings for an associated run configuration.
Services
IconDockerScaleServiceScale Change the number of containers within the service.
runStart Start the service.
stopStop Stop the service.
Last modified: 3 November 2017

See Also