Skip to content

Commit e752319

Browse files
authored
Merge pull request #23760 from eediallo/fix-cockroachdb-tag
docs(guide): Update CockroachDB setup commands with correct image tag
2 parents 4a3603b + 5d5c57b commit e752319

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

content/guides/golang/develop.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -89,13 +89,13 @@ $ docker run -d \
8989
-p 26257:26257 \
9090
-p 8080:8080 \
9191
-v roach:/cockroach/cockroach-data \
92-
cockroachdb/cockroach:latest-v20.1 start-single-node \
92+
cockroachdb/cockroach:latest-v25.4 start-single-node \
9393
--insecure
9494

9595
# ... output omitted ...
9696
```
9797

98-
Notice a clever use of the tag `latest-v20.1` to make sure that you're pulling the latest patch version of 20.1. The diversity of available tags depend on the image maintainer. Here, your intent was to have the latest patched version of CockroachDB while not straying too far away from the known working version as the time goes by. To see the tags available for the CockroachDB image, you can go to the [CockroachDB page on Docker Hub](https://hub.docker.com/r/cockroachdb/cockroach/tags).
98+
Notice a clever use of the tag `latest-v25.4` to make sure that you're pulling the latest patch version of 25.4. The diversity of available tags depend on the image maintainer. Here, your intent was to have the latest patched version of CockroachDB while not straying too far away from the known working version as the time goes by. To see the tags available for the CockroachDB image, you can go to the [CockroachDB page on Docker Hub](https://hub.docker.com/r/cockroachdb/cockroach/tags).
9999

100100
### Configure the database engine
101101

@@ -473,7 +473,7 @@ $ docker run -d \
473473
-p 26257:26257 \
474474
-p 8080:8080 \
475475
-v roach:/cockroach/cockroach-data \
476-
cockroachdb/cockroach:latest-v20.1 start-single-node \
476+
cockroachdb/cockroach:latest-v25.4 start-single-node \
477477
--insecure
478478
```
479479

@@ -548,7 +548,7 @@ services:
548548
restart_policy:
549549
condition: on-failure
550550
roach:
551-
image: cockroachdb/cockroach:latest-v20.1
551+
image: cockroachdb/cockroach:latest-v25.4
552552
container_name: roach
553553
hostname: db
554554
networks:

0 commit comments

Comments
 (0)