Files

Devcontainer

The devcontainer.json file uses a pre-built image based on the configuration in the ./.github/.devcontainer directory.

Check available Devcontainer features at https://containers.dev/features, or edit the Containerfile there.

Disclaimer: this is a fairly untested feature from the main author, feedback is welcome.

Getting started

Find the appropriate guide for your IDE, e.g.

Alternatively, you can start the devcontainer manually by running

docker run -it --rm \
  --user dev \
  --name homelab-devcontainer \
  --mount target=/tmp,type=tmpfs \
  --mount type=bind,src=.,dst=/workspace \
  --workdir /workspace \
  ghcr.io/vehagn/homelab-devcontainer:latest

from the project root.