PyCharm 2024.1 Help

Docker console settings

Configure the output of the Docker container logs. PyCharm can show the log messages from the container's standard output streams in the Log tab when you select the container in the Services tool window ( View | Tool Windows | Services or Alt+8). For more information, refer to Container dashboard.

Enable the Docker plugin

This functionality relies on the Docker plugin, which is bundled and enabled in PyCharm by default. If the relevant features aren't available, make sure that you didn't disable the plugin.

  1. Press Ctrl+Alt+S to open the IDE settings and then select Plugins.

  2. Open the Installed tab, find the Docker plugin, and select the checkbox next to the plugin name.

This page appears In the Settings dialog (Ctrl+Alt+S) , when the plugin is enabled.

The plugin is bundled with PyCharm and is activated by default. If it is disabled, you can manually enable the plugin.

Fold previous sessions in the Log console

PyCharm saves the console output of all container sessions. Select this option to fold output from previous sessions, leaving only the latest session's log expanded.

Show dashboard header in the Log console

Use the dashboard with the name and hash ID of the container in the Log tab. For more information, refer to Container dashboard.

Last modified: 11 February 2024