Improve quickstart guide for macOS docker users (#8922)

* Fix postgre permission error that macOS Docker user may encounter following the instruction.

* Refine the installation note for MacOS  Docker user
pull/8930/head
txsing 4 years ago committed by GitHub
parent 09200564bf
commit 7a8ef74b3a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      docs/installation-and-operations/installation/docker/README.md

@ -107,7 +107,7 @@ data will be stored across container restarts, and start the container with
those directories mounted:
```bash
sudo mkdir -p /var/lib/openproject/{pgdata,assets}
sudo mkdir -p /var/lib/openproject/{pgdata,assets}
docker run -d -p 8080:80 --name openproject -e SECRET_KEY_BASE=secret \
-v /var/lib/openproject/pgdata:/var/openproject/pgdata \
@ -117,6 +117,8 @@ docker run -d -p 8080:80 --name openproject -e SECRET_KEY_BASE=secret \
**Note**: Make sure to replace `secret` with a random string. One way to generate one is to run `head /dev/urandom | tr -dc A-Za-z0-9 | head -c 32 ; echo ''` if you are on Linux.
**Note**: MacOS users might encounter an "Operation not permitted" error on the mounted directories. The fix for this is to create the two directories in a user-owned directory of the host machine.
Since we named the container, you can now stop it by running:
```bash

Loading…
Cancel
Save