@@ -22,6 +22,8 @@ The official [CrateDB Docker image].
2222
2323## Quick start
2424
25+ (container-create-cluster)=
26+
2527### Creating a cluster
2628
2729To get started with CrateDB and Docker, you will create a three-node cluster
@@ -55,7 +57,7 @@ container `crate03` will run cluster node `crate03`.
5557
5658You can then create your first CrateDB container and node, like this:
5759
58- ```
60+ ``` shell
5961sh$ docker run --rm -d \
6062 --name=crate01 \
6163 --net=crate \
@@ -79,7 +81,7 @@ Breaking the command down:
7981 {ref}` docker-compose ` as reference).
8082- Puts the container into the ` crate ` network and maps port ` 4201 ` on your
8183 host machine to port ` 4200 ` on the container (admin UI).
82- - Defines the environment variable: ref: ` CRATE_HEAP_SIZE <manual:conf-env-heap-size> ` ,
84+ - Defines the environment variable { ref} ` CRATE_HEAP_SIZE <manual:conf-env-heap-size> ` ,
8385 which is used by CrateDB to allocate 1 GB for its heap memory.
8486- Runs the command ` crate ` inside the container with parameters:
8587 : - ` network.host ` : The ` _site_ ` value results in the binding of the
@@ -250,7 +252,8 @@ The CrateDB Shell, `crash`, is bundled with the Docker image.
250252
251253If you wanted to run ` crash ` inside a user-defined network called ` crate `
252254and connect to three hosts named ` crate01 ` , ` crate02 ` , and ` crate03 `
253- (i.e. the example covered in the [ Creating a Cluster] section) you could run:
255+ (i.e. the example covered in the {ref}` container-create-cluster ` section)
256+ you could run:
254257
255258``` shell
256259$ docker run --rm -ti \
0 commit comments