2 unstable releases

0.2.0 Jun 24, 2022
0.1.0 Jun 7, 2022

#843 in Configuration

AGPL-3.0-or-later

43KB
1K SLoC

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

Dependencies

~5–16MB
~168K SLoC