@@ -13,6 +13,20 @@ The Mina Rust project provides Docker images for easy deployment and testing.
1313
1414Docker images are available at Docker Hub under the ` o1labs ` organization:
1515
16+ <!-- prettier-ignore-start -->
17+
18+ :::warning Deprecated Repository
19+
20+ Docker images from the
21+ [ openmina/openmina] ( https://hub.docker.com/r/openmina/openmina ) repository are
22+ deprecated. Please use the
23+ [ o1labs/mina-rust] ( https://hub.docker.com/r/o1labs/mina-rust ) images instead for
24+ the latest updates and support.
25+
26+ :::
27+
28+ <!-- prettier-ignore-stop -->
29+
1630- ** Main Node** : ` o1labs/mina-rust ` - The core Mina Rust node
1731- ** Frontend** : ` o1labs/mina-rust-frontend ` - Web dashboard and monitoring
1832 interface
@@ -40,12 +54,40 @@ docker pull o1labs/mina-rust:2b9e87b2
4054docker pull o1labs/mina-rust-frontend:2b9e87b2
4155```
4256
57+ ### For Development and Testing
58+
59+ For accessing the latest development features, use the ` develop ` tag:
60+
61+ <!-- prettier-ignore-start -->
62+
63+ :::warning Unstable Development Version
64+
65+ The ` develop ` tag points to the latest code from the development branch and may
66+ be unstable. Only use this for development, testing, or accessing the newest
67+ features. For production use, always use version tags.
68+
69+ :::
70+
71+ <!-- prettier-ignore-stop -->
72+
73+ ``` bash
74+ # Latest development version (unstable)
75+ docker pull o1labs/mina-rust:develop
76+ docker pull o1labs/mina-rust-frontend:develop
77+ ```
78+
79+ ### Latest Tag
80+
81+ The ` latest ` tag always corresponds to the latest commit on the main branch,
82+ which represents the current stable release state.
83+
4384### Automatic Publishing
4485
4586Images are automatically built and pushed to Docker Hub:
4687
4788- ** On develop branch** : When commits are pushed to ` develop ` , images are tagged
48- with the commit hash (8 characters)
89+ with the commit hash (8 characters) and also tagged as ` develop ` for easy
90+ access to the latest development version
4991- ** On release branches** : When commits are pushed to branches starting with
5092 ` release/ ` , images are tagged with the branch name (e.g., ` release/v1.5.0 ` ) -
5193 useful for testing release candidates
@@ -59,6 +101,22 @@ You can find available tags at:
59101- [ o1labs/mina-rust on Docker Hub] ( https://hub.docker.com/r/o1labs/mina-rust/tags )
60102- [ o1labs/mina-rust-frontend on Docker Hub] ( https://hub.docker.com/r/o1labs/mina-rust-frontend/tags )
61103
104+ ## Quick Start with Docker Compose
105+
106+ The easiest way to get started is using the provided docker compose
107+ configuration:
108+
109+ ``` bash
110+ # Clone the repository
111+ git clone https://github.com/o1-labs/mina-rust.git
112+ cd mina-rust
113+
114+ # Start node and frontend
115+ docker compose up -d
116+
117+ # Access the frontend at http://localhost:8070
118+ ```
119+
62120## Local Development
63121
64122For local development and testing, you can build images using the Makefile:
@@ -103,36 +161,9 @@ docker pull o1labs/mina-rust:latest
103161 emulation
104162- ** Faster startup** : Native images start faster than emulated ones
105163
106- ### Verifying Architecture
107-
108- You can verify which architecture you're running:
109-
110- ``` bash
111- docker run --rm o1labs/mina-rust:latest uname -m
112- # x86_64 on Intel/AMD systems
113- # aarch64 on ARM systems
114- ```
115-
116- ## Using Docker Images
164+ ## For Node Operators
117165
118- ### Running a Basic Node
119-
120- ``` bash
121- # Pull and run the main node
122- docker pull o1labs/mina-rust:latest
123- docker run -p 8302:8302 o1labs/mina-rust:latest
124- ```
125-
126- ### Running with Frontend Dashboard
127-
128- ``` bash
129- # Using Docker Compose (recommended)
130- # Download the latest release and use the provided docker-compose files
131-
132- # Or run containers separately
133- docker run -d --name mina-node -p 8302:8302 o1labs/mina-rust:latest
134- docker run -d --name mina-frontend -p 8070:8070 o1labs/mina-rust-frontend:latest
135- ```
166+ For detailed usage instructions including running block producers, archive
167+ nodes, and configuration examples, see:
136168
137- For complete setup guides, see the
138- [ Node Operators] ( ../node-operators/getting-started ) section.
169+ [ → Node Operators Docker Usage Guide] ( ../node-operators/docker-usage )
0 commit comments