Sign inSign up

qmcgaw/rustdevcontainer

By qmcgaw

•Updated 5 months ago

Image
0

7.5K

qmcgaw/rustdevcontainer repository overview

⁠Rust Dev Container

Rust development container for Visual Studio Code

Icon

Alpine Debian

Last Docker tag Latest size

Last release Last release size GitHub last release date Commits since release

GitHub last commit GitHub commit activity GitHub closed PRs GitHub issues GitHub closed issues

Visitors count

⁠Features

  • Rust 1.95.0
  • Rust Analyzer 2026-04-27
  • Clippy
  • Rustfmt
  • Alpine based with Docker tags :latest and :alpine
  • Debian based with Docker tag :debian (1.51GB, based on qmcgaw/basedevcontainer:debian⁠)
  • Cross platform
    • Easily bind mount your SSH keys to use with git
    • Manage your host Docker from within the dev container, more details at qmcgaw/basedevcontainer⁠
  • Extensible with docker-compose.yml
  • Comes with extra binary tools for a few extra MBs: kubectl, kubectx, kubens, stern and helm

⁠Requirements

See .devcontainer/README.md#Requirements⁠

⁠Setup for a project

  1. Setup your configuration files
    • With style 💯

      docker run -it --rm -v "/yourrepopath:/repository" qmcgaw/devtainr:v0.2.0 -dev rust -path /repository -name projectname
      

      If you run on Linux not as root, run the docker run command with --user="$(id -u):$(id -g)".

      Or use the built binary⁠

    • Or manually: download this repository and put the .devcontainer⁠ directory in your project.

  2. If you have a .vscode/settings.json, eventually move the settings to .devcontainer/devcontainer.json in the "settings" section as .vscode/settings.json take precedence over the settings defined in .devcontainer/devcontainer.json.
  3. Open the command palette in Visual Studio Code (CTRL+SHIFT+P) and select Remote-Containers: Open Folder in Container... and choose your project directory
  4. See .devcontainer/README.md#Setup⁠

⁠Customization

See .devcontainer/README.md#Customization⁠

⁠License

This repository is under an MIT license⁠ unless indicated otherwise.

Tag summary

Content type

Image

Digest

sha256:4a2183dc9…

Size

626.4 MB

Last updated

5 months ago

docker pull qmcgaw/rustdevcontainer