PyCharm
 
Get PyCharm
You are viewing the documentation for an earlier version of PyCharm.

Docker

Last modified: 19 September 2022

Professional feature: download PyCharm Professional to try.

Docker is a tool for deploying and running executables in isolated and reproducible environments. This may be useful, for example, to test code in an environment identical to production. PyCharm provides Docker support using the Docker plugin. The plugin is bundled and enabled by default in PyCharm Professional Edition. For PyCharm Community Edition, you need to install the Docker plugin as described in Install plugins.

You can run and debug your Python code in the variously configured environments deployed in Docker containers. See Configure an interpreter using Docker for more details about how to configure a Python interpreter using Docker.

In the Services tool window (View | Tool Windows | Services or Alt+8), you can pull and push images, create and run containers, manage Docker Compose services, and so on. As with other tool windows, you can start typing the name of an image or container to highlight the matching items.

Search for a docker image in the Services tool window