# Docker コンソール設定

> For the complete documentation index, see [llms.txt](https://www.jetbrains.com/ja-jp/help/clion/llms.txt).

> **TL;DR**
> `ファイル | 設定 | ビルド、実行、デプロイ | Docker | コンソール`  (Windows および Linux 用)
>
>
>
> `%instance% | 設定 | ビルド、実行、デプロイ | Docker | コンソール`  (macOS 用)
>
>
>
> `Ctrl+Alt+S` (Windows), `⌘ Comma` (macOS), `⌘ Comma` (IntelliJ IDEA Classic (macOS)), `⌘ Comma` (macOS System Shortcuts), `Ctrl+Alt+S` (XWin), `Ctrl+Alt+S` (GNOME), `Ctrl+Alt+S` (KDE), `Ctrl+Alt+S` (Emacs), `Ctrl+Alt+S` (Sublime Text), `⌘ Comma` (Sublime Text (macOS)), `⌘ Comma` (Xcode), `Ctrl+Alt+S` (Visual Studio), `⌘ Comma` (Visual Studio (macOS)), `Ctrl+Alt+S` (ReSharper), `⌘ Comma` (ReSharper (macOS)), `Ctrl+Alt+S` (QtCreator), `⌘ Comma` (QtCreator (macOS)), `Ctrl+Alt+S` (NetBeans), `Ctrl+Alt+S` (Eclipse), `⌘ Comma` (Eclipse (macOS)) ![設定アイコン](https://resources.jetbrains.com/help/img/idea/2026.3/app.expui.general.settings.svg)

[Docker コンテナーログ(英語)](https://docs.docker.com/config/containers/logging/)の出力を構成します。 CLion can show the log messages from the container's standard output streams in the   ログ   tab when you select the container in the   サービス   tool window (  `表示 | ツールウィンドウ | サービス`  or `Alt+8` (Windows), `⌘ 8` (macOS), `⌘ 8` (IntelliJ IDEA Classic (macOS)), `⌘ 8` (macOS System Shortcuts), `Alt+8` (XWin), `Alt+8` (GNOME), `Alt+8` (KDE), `Alt+8` (Emacs), `Alt+8` (Sublime Text), `⌘ 8` (Sublime Text (macOS)), `⌘ 8` (Xcode), `Alt+8` (Visual Studio), `Alt+8` (Visual Studio (macOS)), `Alt+8` (ReSharper), `Alt+8` (ReSharper (macOS)), `Alt+8` (QtCreator), `⌘ 8` (QtCreator (macOS)), `Alt+8` (NetBeans), `Alt+8` (Eclipse), `⌘ 8` (Eclipse (macOS)) ). 詳細については、 [コンテナーダッシュボード](services-tool-window.html#docker-container-dashboard) を参照してください。

Procedure: Docker プラグインの有効化

この機能は [Docker](https://plugins.jetbrains.com/plugin/7724-docker) プラグインに依存しており、CLion にはデフォルトでバンドルされ有効化されています。 関連機能が利用できない場合は、プラグインを無効化していないことを確認してください。

1. `Ctrl+Alt+S` (Windows), `⌘ Comma` (macOS), `⌘ Comma` (IntelliJ IDEA Classic (macOS)), `⌘ Comma` (macOS System Shortcuts), `Ctrl+Alt+S` (XWin), `Ctrl+Alt+S` (GNOME), `Ctrl+Alt+S` (KDE), `Ctrl+Alt+S` (Emacs), `Ctrl+Alt+S` (Sublime Text), `⌘ Comma` (Sublime Text (macOS)), `⌘ Comma` (Xcode), `Ctrl+Alt+S` (Visual Studio), `⌘ Comma` (Visual Studio (macOS)), `Ctrl+Alt+S` (ReSharper), `⌘ Comma` (ReSharper (macOS)), `Ctrl+Alt+S` (QtCreator), `⌘ Comma` (QtCreator (macOS)), `Ctrl+Alt+S` (NetBeans), `Ctrl+Alt+S` (Eclipse), `⌘ Comma` (Eclipse (macOS)) を押して設定を開き、  `プラグイン`  を選択します。

2. Docker  プラグインを見つけて、   有効化  をクリックします。

このページを使用できるようにするには、Docker 統合プラグインをインストールして有効にする必要があります。

ログコンソールで前のセッションを折りたたむ
: CLion saves the console output of all container sessions. このオプションを選択すると、前のセッションからの出力が折りたたまれ、展開された最新のセッションのログのみが残ります。

## See also

### 関連

[Docker プラグイン統合](docker.html)

### リファレンス

[サービスツールウィンドウ](services-tool-window.html)

