devcon

Crates.iodevcon
lib.rsdevcon
version0.2.0
sourcesrc
created_at2022-06-07 14:17:21.255991
updated_at2022-06-24 09:40:46.560705
descriptionRuns devcontainer projects.
homepage
repository
max_upload_size
id601516
size97,611
Matt Pruitt (guitsaru)

documentation

README

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
Commit count: 0

cargo fmt