Skip to content

Commit 0acd4ac

Browse files
aishwarya24ddhodge
andauthored
[docs] Replaced daemon flag from docker run command with background. (yugabyte#20528)
* removed daemon flag from docker command * missed a file * changed flag * changed flag value * Update docs/content/preview/quick-start/docker.md Co-authored-by: Dwight Hodge <79169168+ddhodge@users.noreply.github.com> --------- Co-authored-by: Dwight Hodge <79169168+ddhodge@users.noreply.github.com>
1 parent f5388d0 commit 0acd4ac

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

docs/content/preview/quick-start/docker.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,7 @@ To create a 1-node cluster with a replication factor (RF) of 1, run the followin
8888

8989
```sh
9090
docker run -d --name yugabyte -p7000:7000 -p9000:9000 -p15433:15433 -p5433:5433 -p9042:9042 \
91-
yugabytedb/yugabyte:{{< yb-version version="preview" format="build">}} bin/yugabyted start \
92-
--daemon=false
91+
yugabytedb/yugabyte:{{< yb-version version="preview" format="build">}} bin/yugabyted start \ --background=false
9392
```
9493

9594
If you are running macOS Monterey, replace `-p7000:7000` with `-p7001:7000`. This is necessary because Monterey enables AirPlay receiving by default, which listens on port 7000. This conflicts with YugabyteDB and causes `yugabyted start` to fail unless you forward the port as shown. Alternatively, you can disable AirPlay receiving, then start YugabyteDB normally, and then, optionally, re-enable AirPlay receiving.
@@ -144,7 +143,8 @@ In the preceding `docker run` command, the data stored in YugabyteDB does not pe
144143
-p7000:7000 -p9000:9000 -p15433:15433 -p5433:5433 -p9042:9042 \
145144
-v ~/yb_data:/home/yugabyte/yb_data \
146145
yugabytedb/yugabyte:latest bin/yugabyted start \
147-
--base_dir=/home/yugabyte/yb_data --daemon=false
146+
--base_dir=/home/yugabyte/yb_data \
147+
--background=false
148148
```
149149

150150
If running macOS Monterey, replace `-p7000:7000` with `-p7001:7000`.

docs/content/preview/reference/configuration/yugabyted.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ Advanced flags can be set by using the configuration file in the `--config` flag
207207
#### Deprecated flags
208208

209209
--daemon *bool*
210-
: Enable or disable running yugabyted in the background as a daemon. Does not persist on restart. Default: `true`.
210+
: Enable or disable running yugabyted in the background as a daemon. Does not persist on restart. Use [--background](#flags) instead. Default: `true`.
211211

212212
--listen *bind-ip*
213213
: The IP address or localhost name to which yugabyted will listen.

docs/content/preview/tutorials/azure/azure-openai.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,21 +92,21 @@ docker run -d --name yugabytedb_node1 --net custom-network \
9292
-v ~/yb_docker_data/node1:/home/yugabyte/yb_data --restart unless-stopped \
9393
yugabytedb/yugabyte:{{< yb-version version="preview" format="build">}} \
9494
bin/yugabyted start \
95-
--base_dir=/home/yugabyte/yb_data --daemon=false
95+
--base_dir=/home/yugabyte/yb_data --background=false
9696
9797
docker run -d --name yugabytedb_node2 --net custom-network \
9898
-p 15434:15433 -p 7002:7000 -p 9002:9000 -p 5434:5433 \
9999
-v ~/yb_docker_data/node2:/home/yugabyte/yb_data --restart unless-stopped \
100100
yugabytedb/yugabyte:{{< yb-version version="preview" format="build">}} \
101101
bin/yugabyted start --join=yugabytedb_node1 \
102-
--base_dir=/home/yugabyte/yb_data --daemon=false
102+
--base_dir=/home/yugabyte/yb_data --background=false
103103
104104
docker run -d --name yugabytedb_node3 --net custom-network \
105105
-p 15435:15433 -p 7003:7000 -p 9003:9000 -p 5435:5433 \
106106
-v ~/yb_docker_data/node3:/home/yugabyte/yb_data --restart unless-stopped \
107107
yugabytedb/yugabyte:{{< yb-version version="preview" format="build">}} \
108108
bin/yugabyted start --join=yugabytedb_node1 \
109-
--base_dir=/home/yugabyte/yb_data --daemon=false
109+
--base_dir=/home/yugabyte/yb_data --background=false
110110
```
111111

112112
If you're starting the cluster differently, update the following database connectivity settings in the `{project_dir}/application.properties.ini` file:

docs/content/stable/tutorials/azure/azure-openai.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,21 +92,21 @@ docker run -d --name yugabytedb_node1 --net custom-network \
9292
-v ~/yb_docker_data/node1:/home/yugabyte/yb_data --restart unless-stopped \
9393
yugabytedb/yugabyte:{{< yb-version version="preview" format="build">}} \
9494
bin/yugabyted start \
95-
--base_dir=/home/yugabyte/yb_data --daemon=false
95+
--base_dir=/home/yugabyte/yb_data --background=false
9696
9797
docker run -d --name yugabytedb_node2 --net custom-network \
9898
-p 15434:15433 -p 7002:7000 -p 9002:9000 -p 5434:5433 \
9999
-v ~/yb_docker_data/node2:/home/yugabyte/yb_data --restart unless-stopped \
100100
yugabytedb/yugabyte:{{< yb-version version="preview" format="build">}} \
101101
bin/yugabyted start --join=yugabytedb_node1 \
102-
--base_dir=/home/yugabyte/yb_data --daemon=false
102+
--base_dir=/home/yugabyte/yb_data --background=false
103103
104104
docker run -d --name yugabytedb_node3 --net custom-network \
105105
-p 15435:15433 -p 7003:7000 -p 9003:9000 -p 5435:5433 \
106106
-v ~/yb_docker_data/node3:/home/yugabyte/yb_data --restart unless-stopped \
107107
yugabytedb/yugabyte:{{< yb-version version="preview" format="build">}} \
108108
bin/yugabyted start --join=yugabytedb_node1 \
109-
--base_dir=/home/yugabyte/yb_data --daemon=false
109+
--base_dir=/home/yugabyte/yb_data --background=false
110110
```
111111

112112
If you're starting the cluster differently, update the following database connectivity settings in the `{project_dir}/application.properties.ini` file:

0 commit comments

Comments
 (0)