Rust: Hack Without Fear! (A complete development environment for Rust with VSCode inside a docker container)

38 points LucianoBestia

Rust: Hack Without Fear!

A complete development environment for Rust with VSCode inside a docker container.

I am afraid of build.rs and procedural macros and rust development tools that can do "anything" on my system.
Call me paranoid.
I want to develop Rust projects in a sandboxed/isolated environment.
I wrote my experience using Podman, Buildah, VSCode, Win10, WSL2 and the Official Rust docker image to prepare images and containers for Rust projects.
Take a look:

https://github.com/LucianoBestia/docker_rust_development

I now pushed the container images to the Docker Hub. They are around 1.5 Gb.
Now is possible to try it very quickly. You just need Win10, WSL2 and VSCode.
And then later read all the grim details tl;dr; of how containers work.