Skip to content

Commit 1e1967e

Browse files
committed
CrateDB OCI: Use '-Cdiscovery.type=single-node' to fix start on Windows
1 parent 8b33099 commit 1e1967e

File tree

10 files changed

+12
-12
lines changed

10 files changed

+12
-12
lines changed

docs/admin/clustering/logical-replication-setup.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ docker run \
3333
--publish 5433:5432 \
3434
--env CRATE_HEAP_SIZE=1g \
3535
crate:latest \
36-
-Cdiscovery.type=single-node
36+
'-Cdiscovery.type=single-node'
3737
```
3838
```shell
3939
docker run \
@@ -43,7 +43,7 @@ docker run \
4343
--publish 5434:5432 \
4444
--env CRATE_HEAP_SIZE=1g \
4545
crate:latest \
46-
-Cdiscovery.type=single-node
46+
'-Cdiscovery.type=single-node'
4747
```
4848

4949
We apply an offset to the ports of each cluster, so they don't overlap. The

docs/admin/troubleshooting/jcmd/docker.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,13 +65,13 @@ Let's start by starting a `cratedb` container.
6565
docker run --rm -it --name=cratedb \
6666
--publish=4200:4200 --publish=5432:5432 \
6767
--env=CRATE_HEAP_SIZE=1g crate/crate:nightly \
68-
-Cdiscovery.type=single-node
68+
'-Cdiscovery.type=single-node'
6969
```
7070

7171
```console
7272
docker exec -it --user=crate cratedb /bin/bash
7373
$ /crate/jdk/bin/jcmd -l
74-
1 io.crate.bootstrap.CrateDB -Cpath.home=/crate -Cdiscovery.type=single-node
74+
1 io.crate.bootstrap.CrateDB -Cpath.home=/crate '-Cdiscovery.type=single-node'
7575
301 jdk.jcmd/sun.tools.jcmd.JCmd -l
7676
```
7777

docs/feature/search/fts/analyzer.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ s(900516492,3,'Bill',n,1,0).
172172
docker run --rm -it --name=cratedb --publish=4200:4200 --env=CRATE_HEAP_SIZE=1g \
173173
--volume="$PWD/synonyms-solr.txt:/crate/config/synonyms-solr.txt" \
174174
--volume="$PWD/synonyms-wordnet.txt:/crate/config/synonyms-wordnet.txt" \
175-
crate -Cdiscovery.type=single-node
175+
crate '-Cdiscovery.type=single-node'
176176
```
177177

178178
This example uses the `synonyms-solr.txt` in Solr format.

docs/integrate/airflow/import-stock-market-data.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Set up on macOS. Ensure Homebrew is installed and Docker Desktop is running.
2121

2222
First, run CrateDB with Docker. With Docker Desktop running, copy the command from the CrateDB installation page and run it:
2323
```bash
24-
docker run --publish=4200:4200 --publish=5432:5432 --env CRATE_HEAP_SIZE=1g crate:latest -Cdiscovery.type=single-node
24+
docker run --publish=4200:4200 --publish=5432:5432 --env CRATE_HEAP_SIZE=1g crate:latest '-Cdiscovery.type=single-node'
2525
```
2626

2727
With CrateDB running, you can now access the CrateDB Admin UI by going to

docs/integrate/debezium/tutorial.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ We will need a CrateDB instance, for the purpose of this example we can spin one
8989

9090
```bash
9191
sudo apt install docker.io
92-
sudo docker run --publish 4200:4200 --publish 5432:5432 --env CRATE_HEAP_SIZE=1g crate:latest -Cdiscovery.type=single-node
92+
sudo docker run --publish 4200:4200 --publish 5432:5432 --env CRATE_HEAP_SIZE=1g crate:latest '-Cdiscovery.type=single-node'
9393
```
9494

9595
Now we need to run a couple of SQL commands on this instance, an easy way to do this is using the Admin UI that can be accessed navigating with a web browser to port 4200 on the server where CrateDB is running, for instance `http://localhost:4200` and then open the console (second icon from the top on the left-hand side navigation bar).

docs/integrate/marquez/usage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ astro dev start
6565
And we will start a single-node local CrateDB instance using port 5436 for the PostgreSQL wire protocol interface:
6666

6767
```bash
68-
sudo docker run -d --name cratedb --publish=4200:4200 --publish=5436:5432 --env CRATE_HEAP_SIZE=1g crate/crate:5.9.5 -Cdiscovery.type=single-node
68+
sudo docker run -d --name cratedb --publish=4200:4200 --publish=5436:5432 --env CRATE_HEAP_SIZE=1g crate/crate:5.9.5 '-Cdiscovery.type=single-node'
6969
```
7070

7171
(NB this will return immediately once the image is downloaded but CrateDB may take a few seconds to start)

docs/integrate/risingwave/apache-iceberg.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ podman run -d --name risingwave -it -p 4566:4566 -p 5691:5691 docker.io/risingwa
3232
And finally, an instance of CrateDB:
3333

3434
```bash
35-
podman run -d --name cratedb --publish=4200:4200 --publish=5432:5432 --env CRATE_HEAP_SIZE=1g docker.io/crate/crate:5.10.7 -Cdiscovery.type=single-node
35+
podman run -d --name cratedb --publish=4200:4200 --publish=5432:5432 --env CRATE_HEAP_SIZE=1g docker.io/crate/crate:5.10.7 '-Cdiscovery.type=single-node'
3636
```
3737

3838
We will need three terminals for this demonstration.

docs/integrate/rsyslog/usage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ setup.
2727
First, start CrateDB. For production, use a dedicated cluster. For this demo, run a single‑node container:
2828

2929
```bash
30-
sudo docker run -d --name cratedb -p 4200:4200 -p 5432:5432 -e CRATE_HEAP_SIZE=1g crate:latest -Cdiscovery.type=single-node
30+
sudo docker run -d --name cratedb -p 4200:4200 -p 5432:5432 -e CRATE_HEAP_SIZE=1g crate:latest '-Cdiscovery.type=single-node'
3131
```
3232

3333
Next, create a table for logs. Open `http://localhost:4200/#!/console` or invoke `crash` and run:

docs/integrate/superset/sandbox.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ You will need Bash, Docker, Git, and Python to be installed on your workstation.
1313

1414
Start CrateDB using Docker.
1515
```shell
16-
docker run --rm --publish=4200:4200 --publish=5432:5432 --name=cratedb --env CRATE_HEAP_SIZE=1g crate:latest -Cdiscovery.type=single-node
16+
docker run --rm --publish=4200:4200 --publish=5432:5432 --name=cratedb --env CRATE_HEAP_SIZE=1g crate:latest '-Cdiscovery.type=single-node'
1717
```
1818

1919
Create an example table and insert a single record.

docs/integrate/superset/usage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ docker run --interactive --rm --pull=always \
4444
--publish=4200:4200 --publish=5432:5432 \
4545
--name=cratedb \
4646
--env CRATE_HEAP_SIZE=1g \
47-
crate:latest -Cdiscovery.type=single-node
47+
crate:latest '-Cdiscovery.type=single-node'
4848
```
4949

5050
Run Superset server.

0 commit comments

Comments
 (0)