Solana and Anchor, including all necessary tools pre-installed.
2.9K
Ubuntu-based image with Rust, Solana, Anchor, Node.js and related tools for blockchain development
This Docker image provides a ready-to-use development environment for Solana blockchain projects using:
rustfmt and clippy)git, curl, wget, libssl-dev, cmake, etc.)Optimized for fast builds using multi-stage Docker layers.
| Label | Value |
|---|---|
| Base Image | ubuntu:latest (amd64) |
| Rust Version | Stable (minimal profile) |
| Solana Version | Latest stable (via Anza installer) |
| Anchor Version | 0.30.1 (via AVM) |
| Node.js Version | LTS (managed via NVM) |
| Default User | developer (non-root, sudo-enabled) |
| Working Directory | /app |
build-essential, pkg-config, libssl-dev, libudev-devgit, curl, wget, python3, cmakerustup (stable toolchain)rustfmt, clippy, wasm32-unknown-unknown target0.30.1)docker pull pylejeune/solana-dev:latest
docker run -it --rm \
-v $(pwd):/app \
-p 8899:8899 \ # Optional: For Solana localnet
-v ~/.config/solana/id.json:/home/developer/.config/solana/id.json \ # For your path local private key
pylejeune/solana-dev
# Inside the container:
rustc --version
solana --version
anchor --version
node --version
/home/developer/
├── .cargo/ # Rust toolchain
├── .nvm/ # Node.js versions
├── .avm/ # Anchor versions
├── .local/share/solana/ # Solana binaries
/app # Default working directory
nvm install <version> && nvm use <version>
avm install <version> && avm use <version>
MIT (see GitHub)
Content type
Image
Digest
sha256:fc8fdda32…
Size
1.2 GB
Last updated
over 1 year ago
docker pull pylejeune/solana-dev