Getting started with the devcontainer
Prerequisites
-
Docker (or a compatible engine like OrbStack)
-
VS Code with the Dev Containers extension
Starting it
-
Clone this repository and open it in VS Code.
-
When prompted, choose Reopen in Container. Alternatively open the command palette (
F1) and run Dev Containers: Reopen in Container. -
Wait for the container to build and provision. The
postCreateCommandautomatically runsjust ignite, so once provisioning finishes you already have a running cluster.
Another good way to run the devcontainer is Devsy. It works with any IDE and can run the devcontainer on your local Docker daemon or on remote providers:
devsy workspace up .
If you prefer the plain CLI, the devcontainer CLI works too:
devcontainer up --workspace-folder .
devcontainer exec --workspace-folder . zsh
What’s inside
The devcontainer ships all tooling needed for development:
-
Go,
just,git,vim -
docker(docker-in-docker) -
kubectl(with completions and kubecolor),helm,krew -
jqandyq -
Nix
The devcontainer forwards the following ports to your host:
| Port | Purpose |
|---|---|
8088 |
Ingress HTTP (istio) |
8443 |
Ingress HTTPS (istio) |
5000 |
Internal container registry (TLS) |
36377 |
Kubernetes API server |