Edited warning to make a bit more sense

This commit is contained in:
Jacques Faulkner
2025-06-26 14:42:23 +01:00
committed by GitHub
parent 4f1a9dc4e8
commit 55cdc58857

View File

@@ -42,8 +42,8 @@ mkdir couchdb-etc
$ docker run --name couchdb-for-ols --rm -it -e COUCHDB_USER=${username} -e COUCHDB_PASSWORD=${password} -v ${PWD}/couchdb-data:/opt/couchdb/data -v ${PWD}/couchdb-etc:/opt/couchdb/etc/local.d -p 5984:5984 couchdb $ docker run --name couchdb-for-ols --rm -it -e COUCHDB_USER=${username} -e COUCHDB_PASSWORD=${password} -v ${PWD}/couchdb-data:/opt/couchdb/data -v ${PWD}/couchdb-etc:/opt/couchdb/etc/local.d -p 5984:5984 couchdb
``` ```
> [!WARNING] > [!WARNING]
> If your container has been exited, please check the permission of couchdb-data, and couchdb-etc. > If your container threw an error or exited unexpectedly, please check the permission of couchdb-data, and couchdb-etc.
> Once CouchDB run, these directories will be owned by uid:`5984`. Please chown it for you again. > Once CouchDB starts, these directories will be owned by uid:`5984`. Please chown it for that uid again.
2. Enable it in the background 2. Enable it in the background
``` ```
@@ -87,8 +87,8 @@ docker compose up
docker-compose up docker-compose up
``` ```
> [!WARNING] > [!WARNING]
> If your container has been exited, please check the permission of couchdb-data, and couchdb-etc. > If your container threw an error or exited unexpectedly, please check the permission of couchdb-data, and couchdb-etc.
> Once CouchDB run, these directories will be owned by uid:`5984`. Please chown it for you again. > Once CouchDB starts, these directories will be owned by uid:`5984`. Please chown it for that uid again.
#### 4. Run the Docker Compose file in the background #### 4. Run the Docker Compose file in the background
If all went well and didn't throw any errors, `CTRL+C` out of it, and then run this command If all went well and didn't throw any errors, `CTRL+C` out of it, and then run this command