devcon 0.2.0

Runs devcontainer projects.
devcon-0.2.0 is not a library.

Devcon

Use devcontainers outside of Visual Studio Code.

Notice

devcon is currently beta software. It is not ready for serious use.

Installation

Download the binary from the latest release.

Usage

  • devcon - starts the container specified in .devcontainer/devcontainer.yml
  • devcon rebuild [--no-cache] - rebuilds and starts the container (optionally without cache). Run this if you make changes to the Dockerfile.

SSH Agent

devcon will automatically give the container access to your ssh agent. This will allow you to use your ssh keys for ssh or git without needing to copy them in.

Configuration

Create a file in ~/.config/devcon/config.toml

# Can be either "podman" or "docker", defaults to "docker"
provider = "docker"

# The list of dotfiles you want to copy into the container. Files are relative to your how directory.
# These can be files or directories.
dotfiles = [
	".zshrc",
	".config/nvim",
]

Supported Container Engines

  • docker
  • podman
  • docker-compose
  • podman-compose