Skip to content

devcontainer capability

devcontainer adds a VS Code Dev Container configuration to your Go service for consistent, reproducible development environments across the team.

  • .devcontainer/devcontainer.json
  • Docker configuration
  • Extension recommendations

Use devcontainer when you want every developer on your team to work in an identical environment without manual Go toolchain or dependency setup. Eliminates “works on my machine” problems and onboards new contributors in minutes.

Suggests: docker

Terminal window
verikt new my-service --language go --cap devcontainer
# or add to an existing service:
verikt add devcontainer

docker

Docker Compose stack that the devcontainer uses.

linting

golangci-lint installed and configured in the devcontainer.

pre-commit

Pre-commit hooks set up inside the devcontainer.