https://github.com/guitsaru/devcon
Program to start devcontainers without vscode
https://github.com/guitsaru/devcon
devcontainer devcontainers
Last synced: 2 months ago
JSON representation
Program to start devcontainers without vscode
- Host: GitHub
- URL: https://github.com/guitsaru/devcon
- Owner: guitsaru
- License: agpl-3.0
- Created: 2022-01-24T14:48:07.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-06-24T09:31:15.000Z (almost 4 years ago)
- Last Synced: 2024-06-12T18:42:13.789Z (almost 2 years ago)
- Topics: devcontainer, devcontainers
- Language: Rust
- Homepage:
- Size: 70.3 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Devcon
Use [devcontainers](https://code.visualstudio.com/docs/remote/containers) 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](https://github.com/guitsaru/devcon/releases).
## 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`
```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
- [x] docker
- [x] podman
- [x] docker-compose
- [ ] podman-compose