Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions content/guides/golang/develop.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,13 +89,13 @@ $ docker run -d \
-p 26257:26257 \
-p 8080:8080 \
-v roach:/cockroach/cockroach-data \
cockroachdb/cockroach:latest-v20.1 start-single-node \
cockroachdb/cockroach:latest-v25.4 start-single-node \
--insecure

# ... output omitted ...
```

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).
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).

### Configure the database engine

Expand Down Expand Up @@ -473,7 +473,7 @@ $ docker run -d \
-p 26257:26257 \
-p 8080:8080 \
-v roach:/cockroach/cockroach-data \
cockroachdb/cockroach:latest-v20.1 start-single-node \
cockroachdb/cockroach:latest-v25.4 start-single-node \
--insecure
```

Expand Down Expand Up @@ -548,7 +548,7 @@ services:
restart_policy:
condition: on-failure
roach:
image: cockroachdb/cockroach:latest-v20.1
image: cockroachdb/cockroach:latest-v25.4
container_name: roach
hostname: db
networks:
Expand Down