CLion 2016.2 Help

Docker Integration

You can add Docker support to CLion by installing the Docker integration plugin.

Prerequisites

Make sure that the following prerequisites are met:

Overview of Docker support

The Docker integration plugin adds the following to CLion:

  • Docker configurations. These are named sets of settings for accessing the Docker Remote API.
  • Docker Deployment run/debug configurations. They let you download and build Docker images, and create and start Docker containers. Application debugging is supported only for C/C++.
  • Docker tool window that lets you manage your Docker images and containers.
  • Docker Registry configurations that represent your Docker image repository user accounts.

Working with Docker: Process overview

  1. Install Docker and start the Docker daemon (on Windows and OS X - along with the Docker VM in which it runs). For corresponding instructions, see Get Started with Docker.
  2. Create a Docker configuration. You can do that:
    • Separately, in the Settings / Preferences dialog: Ctrl+Alt+S | Build, Execution, Deployment | Docker | add | Docker.
    • When creating a Docker Deployment run configuration: Run | Edit Configurations | add | Docker Deployment, etc.

    See the settings for a Docker configuration.

  3. Create a Docker Deployment run configuration.
  4. Execute the run configuration.
  5. Use the Docker Tool Window to manage your Docker images, containers and deployed applications.

See Also

Last modified: 22 November 2016