CLion 2024.3 Help

Prerequisites

Prerequisites for a local Dev Container

  • You have a project that contains the .devcontainer folder with the devcontainer.json file that describes the actual Dev Container.

    Currently, the code completion for the devcontainer.json file is limited. However, the following properties are available:

  • You have access to GitHub.

  • You have the Git 2.20.1 version or later installed on your machine.

  • You have a running SSH agent on your local machine.

    For example, on Windows, when you build a Dev Container from the GitHub repository using the SSH URL, the - git clone operation (cloning the repository sources to the Docker volume connected to the auxiliary container) cannot be performed without the running SSH agent.

  • You have Docker installed on the machine where a Dev Container will reside.

  • The minimal backend requirement for mounting sources is the installed Docker. Docker alternatives, such as Colima, or similar are not yet supported. Podman support is under development.

    If you encounter issues working with these Docker alternatives, submit a bug report to the issue tracker.

  • Your Docker resources meet the minimal system requirements for the backend.

Additional prerequisites for a remote Dev Container

The following is a list of additional prerequisites for running your Dev Container on a remote server:

  • Docker is installed on both the remote and local machines.

  • The authorization to a server and Git is done through SSH keys. If you connect to a remote server using a password, generate the key-pair locally and then forward it to a remote server. For more details, refer to Sharing credentials.

  • Java 17 or a later version is required on the remote server.

  • Some additional dependencies might be required for a Dev Container.

    If your Dev Container does not start, make sure you have the following dependencies in the OS of the Dev Container in the devcontainer.json file:

    • curl

    • unzip

    • ps

    • libxext

    • libxrender

    • libxtst

    • libxi

    • freetype

    • procps

    • gcompat

Last modified: 19 November 2024