The official rust docker image.
Maintained by: openEuler CloudNative SIG.
Where to get help: openEuler CloudNative SIG, openEuler.
This is the main source code repository for Rust. It contains the compiler, standard library, and documentation.
Learn more on Rust Programming Language.
The tag of each rust docker image is consist of the version of rust and the version of basic image. The details are as follows
| Tags | Currently | Architectures |
|---|---|---|
| 1.99.1-oe2403sp4 | rust 1.99.1 on openEuler 24.03-LTS-SP4 | amd64, arm64 |
| 1.99.0-oe2403sp4 | rust 1.99.0 on openEuler 24.03-LTS-SP4 | amd64, arm64 |
| 1.98.1-oe2403sp4 | rust 1.98.1 on openEuler 24.03-LTS-SP4 | amd64, arm64 |
| 1.96.0-oe2403sp4 | rust 1.96.0 on openEuler 24.03-LTS-SP4 | amd64, arm64 |
| 1.96.0-oe2403sp3 | rust 1.96.0 on openEuler 24.03-LTS-SP3 | amd64, arm64 |
| 1.95.0-oe2403sp3 | rust 1.95.0 on openEuler 24.03-lts-sp3 | amd64, arm64 |
Note: Rust is installed with rustup, so the toolchain is located in
/root/.cargo/bin. This directory is not on the defaultPATHwhen a command is passed directly todocker run, so source$HOME/.cargo/envbefore running cargo commands (an interactivebashshell does this automatically).
docker run -it openeuler/rust:{Tag} bash
docker run -it --rm -v $(pwd):/workspace -w /workspace openeuler/rust:{Tag} bash -c 'source $HOME/.cargo/env && cargo init && cargo run'
For an existing Rust project (a directory that already contains a Cargo.toml), drop cargo init &&:
docker run -it --rm -v $(pwd):/workspace -w /workspace openeuler/rust:{Tag} bash -c 'source $HOME/.cargo/env && cargo run'
If you have any questions or want to use some special features, please submit an issue or a pull request on openeuler-docker-images.
Content type
Image
Digest
sha256:99531a3fa…
Size
489.4 MB
Last updated
1 day ago
docker pull openeuler/rustPulls:
49
Oct 26 to Nov 1