You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by pt...@apache.org on 2025/04/02 14:20:54 UTC

(ignite-3) branch main updated: IGNITE-24497 Rename docker image in docs (#5275)

This is an automated email from the ASF dual-hosted git repository.

ptupitsyn pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/ignite-3.git


The following commit(s) were added to refs/heads/main by this push:
     new 4c334bd2a8f IGNITE-24497 Rename docker image in docs (#5275)
4c334bd2a8f is described below

commit 4c334bd2a8f2ee24d8f2e8208cc3305203afb7c8
Author: IgGusev <ig...@gridgain.com>
AuthorDate: Wed Apr 2 17:20:49 2025 +0300

    IGNITE-24497 Rename docker image in docs (#5275)
    
    Co-authored-by: Pavel Tupitsyn <pt...@apache.org>
---
 DEVNOTES.md                         |  4 ++--
 README.md                           |  2 +-
 examples/README.md                  | 26 ++++++++++----------------
 packaging/build.gradle              |  2 +-
 packaging/docker/docker-compose.yml |  2 +-
 5 files changed, 15 insertions(+), 21 deletions(-)

diff --git a/DEVNOTES.md b/DEVNOTES.md
index 90a48fc25a3..1a8cf676c1c 100644
--- a/DEVNOTES.md
+++ b/DEVNOTES.md
@@ -339,14 +339,14 @@ Gradle build also provides the task that can build docker image. To run this tas
 
 Run docker container with ignite node:
 ```shell
-docker run -it --rm -p 10300:10300 -p 10800:10800 apacheignite/ignite3
+docker run -it --rm -p 10300:10300 -p 10800:10800 apacheignite/ignite:3.0.0
 ```
 
 There's a sample docker compose file which allows to run 3 nodes in a cluster in the `packaging/docker` directory. You can also use CLI from
 the docker image using `cli` parameter and connect to nodes using their names from the docker network.
 ```shell
 docker compose -f packaging/docker/docker-compose.yml up -d
-docker run -it --rm --net ignite3_default apacheignite/ignite3 cli
+docker run -it --rm --net ignite3_default apacheignite/ignite:3.0.0 cli
 > connect http://node1:10300
 > cluster init --name cluster
 ```
diff --git a/README.md b/README.md
index a49473b78aa..0e2922cdca3 100644
--- a/README.md
+++ b/README.md
@@ -108,7 +108,7 @@ docker compose up -d
 You can also run the CLI within the Docker:
 
 ```shell
-docker run -it --rm --net ignite3_default apacheignite/ignite3 cli
+docker run -it --rm --net ignite3_default apacheignite/ignite:3.0.0 cli
 ```
 
 ```
diff --git a/examples/README.md b/examples/README.md
index 0793229bbc0..f99ad591d60 100644
--- a/examples/README.md
+++ b/examples/README.md
@@ -49,37 +49,31 @@ with a result return.
 
 ## Running examples with an Ignite node within a Docker container
 
-1. Open the Ignite project in your IDE of choice.
-
-2. Prepare an environment variable:
-```shell
-IGNITE_SOURCES=/path/to/ignite3-sources-dir
-```
-
-3. Build the Ignite Docker image. As a result the `apacheignite/ignite3` image will be built and loaded into the Docker Engine:
+1. Pull the docker image
 ```shell
-cd $IGNITE_SOURCES; ./gradlew clean docker
+docker pull apacheignite/ignite:3.0.0
 ```
 
-4. Start an Ignite node:
+2. Start an Ignite node:
 ```shell
 docker run --name ignite3-node -d --rm -p 10300:10300 -p 10800:10800 \
-  -v $IGNITE_SOURCES/examples/config/ignite-config.conf:/opt/ignite/etc/ignite-config.conf apacheignite/ignite3
+  -v $IGNITE_SOURCES/examples/config/ignite-config.conf:/opt/ignite/etc/ignite-config.conf apacheignite/ignite:3.0.0
 ```
 
-5. Get the IP address of the node:
+3. Get the IP address of the node:
 ```shell
 NODE_IP_ADDRESS=$(docker inspect --format='{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' ignite3-node)
 ```
 
-6. Initialize the node:
+4. Initialize the node:
 ```shell
-docker run --rm -it apacheignite/ignite3 cli cluster init --url http://$NODE_IP_ADDRESS:10300 --name myCluster1
+docker run --rm -it apacheignite/ignite:3.0.0 cli cluster init --url http://$NODE_IP_ADDRESS:10300 --name myCluster1 \
+  --cluster-management-group defaultNode --metastorage-group defaultNode
 ```
 
-7. Run the example via IDE.
+5. Run the example via IDE.
 
-8. Stop the Ignite node:
+6. Stop the Ignite node:
 ```shell
 docker stop ignite3-node
 ```
diff --git a/packaging/build.gradle b/packaging/build.gradle
index 293937edc51..8b3ec71ab5a 100644
--- a/packaging/build.gradle
+++ b/packaging/build.gradle
@@ -82,7 +82,7 @@ def replaceVars = tasks.register('replaceVars', Copy) {
 }
 
 docker {
-    name 'apacheignite/ignite3'
+    name 'apacheignite/ignite'
     dockerfile file('docker/Dockerfile')
 
     copySpec.into 'dist', {
diff --git a/packaging/docker/docker-compose.yml b/packaging/docker/docker-compose.yml
index e13d6af6126..b7d84feaa69 100644
--- a/packaging/docker/docker-compose.yml
+++ b/packaging/docker/docker-compose.yml
@@ -19,7 +19,7 @@ name: ignite3
 
 x-ignite-def:
   &ignite-def
-  image: apacheignite/ignite3:${IGNITE3_VERSION:-latest}
+  image: apacheignite/ignite:${IGNITE3_VERSION:3.0.0}
   environment:
     JVM_MAX_MEM: "4g"
     JVM_MIN_MEM: "4g"