Start Dev Container inside IDE
Check Prerequisites and Limitations
You can open a project that has the .devcontainer
folder with the devcontainer.json
file in the root inside JetBrains Rider and start a Dev Container from the IDE by using Docker.
Open your project with the
devcontainer.json
file inside the IDE.Open the
devcontainer.json
file in the editor.In the left gutter, click
, select Create Dev Container and Mount Sources and select the backend IDE with which you want to work inside the container.
note
If you have the all-product-pack license, you can choose the backend IDE that differs from your current local one. For example, if you want to run a Go-based project inside the Dev Container, you can select Goland as the backend IDE.
The following options are also available in the context menu:
Create Dev Container and Clone Sources: use this option to clone your project into a Dev Container.
Show Dev Containers: use this option to check a list of existing dev containers. You can see which ones are active and running, stop them, or restart them.
Manage Dev Container Backends: use this option to remove the unnecessary ones from Docker shared volumes.
Add Modified Settings from IDE: use this option to add your IDE settings to the IDE backend that is running inside your Dev Container.
The process of creating a Dev Container is displayed in the Services tool window.
After the Dev Container is created, click Connect.
The container is created and the project is opened in JetBrains Client.