JetBrains CodeCanvas 2024.1 Help

Stop Dev Environment

After you've finished working with your project, you can stop the dev environment. When stopping a dev environment, CodeCanvas performs a graceful shutdown of the environment (docker stop) and releases the resources. Note that a dev environment is also stopped automatically after a certain period of inactivity (by default, 30 minutes).

What happens to the data in a stopped dev environment

CodeCanvas preserves only the contents of the working directory (/mnt/jetbrains) and the user home directory (/root) and unmounts the dev environment storage. All other data is lost. When you restart the dev environment, CodeCanvas, in fact, creates a new dev environment and mounts the preserved storage to it.

/ ├─── root // user directory with project indexes (saved during the warm-up or stop) │... ├─── mnt │ └─── jetbrains // saved during the warm-up or stop │ ├─── system // non-user system files │ └─── work │ └─── {git-repo-name} // cloned git repository (working directory) │... ├─── var │ └─── lib │ └─── docker // Docker data ...

This means that:

  • All uncommitted changes are preserved. You can continue working on them after you restart the stopped dev environment.

  • All changes outside the preserved directories are lost. For example, if you've installed additional software with apt-get, it will be lost. For this purpose, you can use custom Docker images.

Stop a dev environment

  1. Close the IDE. The IDE will prompt you with possible actions.

  2. In the dialog, click Stop now.

    Stop dev environment
  1. In the list of Connections, select JetBrains CodeCanvas.

  2. Find the dev environment you want to stop, and click Stop in its menu.

    Stop dev environment
  1. In CodeCanvas, open the My dev environments page.

  2. Find the dev environment you want to stop, and click Stop next to it.

    Stop dev environment

Restart a stopped dev environment

  1. In the list of Connections, select JetBrains CodeCanvas.

  2. Find the dev environment you want to start, and click on its name.

    Restart dev environment
  1. In CodeCanvas, open the My dev environments page.

  2. Find the dev environment you want to stop, and click Open IDE next to it.

    Restart dev environment
Last modified: 02 July 2024