Getting started with the devcontainer

Prerequisites

Starting it

  1. Clone this repository and open it in VS Code.

  2. When prompted, choose Reopen in Container. Alternatively open the command palette (F1) and run Dev Containers: Reopen in Container.

  3. Wait for the container to build and provision. The postCreateCommand automatically runs just 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

  • jq and yq

  • 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