Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

Devcontainers

Use Devcontainers to prepare a fully automated working environment.

Generate the devcontainer.json executing:

cd .devcontainer
./generate_devcontainer.sh

Now you should see the file .devcontainer/devcontainer.json. At this point you can use your favorite IDE to run Devcontainers

VSCode

Install the extension https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers

To open the repository with DevContainers do Ctrl + Shift + P and enter Dev Containers: Rebuild and Reopen in Container. For more options see the Extension documentations.

Docker

Docker defaults should work fine therefore there is nothing to do.

Podman

Start Podman service for a regular user (rootless) and make it listen to a socket:

systemctl --user enable --now podman.socket

Restart your OS if necessary and verify that podman listens:

systemctl --user status podman.socket

Go to the Extension Settings:

  • Dev › Containers: Docker Compose Path set podman-compose
  • Dev › Containers: Docker Path set podman
  • Dev › Containers: Docker Socket Path set /run/podman/podman.sock