DevTainr

August 16, 2025 ยท View on GitHub

Setup your VSCode development container configuration files with style ๐Ÿฆ—

Features

Install development container configuration files to your repository for one of the following:

Usage

Binary

  1. Download the binary for your machine from the last release page

  2. If you are on Linux or OSX, make it executable with:

    chmod +x devtainr
    
  3. Run it with

    ./devtainr -dev go -name projectname
    ๐Ÿ“ Creating .devcontainer directory...โœ”๏ธ
    ๐Ÿ“ฅ Downloading .dockerignore...โœ”๏ธ
    ๐Ÿ“ฅ Downloading Dockerfile...โœ”๏ธ
    ๐Ÿ“ฅ Downloading README.md...โœ”๏ธ
    ๐Ÿ“ฅ Downloading devcontainer.json...โœ”๏ธ
    ๐Ÿ“ฅ Downloading docker-compose.yml...โœ”๏ธ
    โœ๏ธ Setting name to project-dev...โœ”๏ธ
    ๐Ÿฆพ Your go development container configuration is ready! ๐Ÿš€
    
    # More information:
    ./devtainr -help
    

Docker

docker run -it --rm --user="$(id -u):$(id -g)" -v "/yourrepopath:/repository" qmcgaw/devtainr -dev go -path /repository -name projectname
๐Ÿ“ Creating .devcontainer directory...โœ”๏ธ
๐Ÿ“ฅ Downloading .dockerignore...โœ”๏ธ
๐Ÿ“ฅ Downloading Dockerfile...โœ”๏ธ
๐Ÿ“ฅ Downloading README.md...โœ”๏ธ
๐Ÿ“ฅ Downloading devcontainer.json...โœ”๏ธ
๐Ÿ“ฅ Downloading docker-compose.yml...โœ”๏ธ
โœ๏ธ Setting name to project-dev...โœ”๏ธ
๐Ÿฆพ Your go development container configuration is ready! ๐Ÿš€

# More information
docker run -it --rm qmcgaw/devtainr -help

Platforms supported

Build it yourself

Install Go, then either

  • Download it on your machine:

    go get github.com/qdm12/devtainr/cmd/devtainr
    
  • Clone this repository and build it:

    GOARCH=amd64 go build cmd/devtainr/main.go