A docker image provides the Rust environment on ubuntu linux.
2.4K
This docker image provides Rust compiler environment on debian.
This docker images are built on debian:jessie-20190506 .
Running a container created with this image without extra arguments, bash shell is executed with the user named rust. And this user is belong to sudoers, so you have permissions to be able to execute any operations in containers.
rust and uid is 1000rust and gid is 1000/home/rust/home/rust/source (default working directory)NOTICE:
DEBIAN_FRONTEND=noninteractive is set by default.
Then you run a container from this image interactively, confirmation messages are may be suppressed by default.
Default working directory is an empty directory owned by the user rust.
So, it is suggested that mounting a directory contains your rust project as /home/rust/source, building it with cargo build:
$ docker run -it --rm -v `pwd`:/home/rust/source eldesh/rust:latest cargo build
This docker image series are tagged corresponds to the official rust toolchain naming rule.
Content type
Image
Digest
Size
367.7 MB
Last updated
over 7 years ago
docker pull eldesh/rust