Update docker.md (#1422)

pull/1423/head
Aschenbecher 2021-01-05 19:27:45 +01:00 committed by GitHub
parent a41a88225f
commit c39e05da17
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 5 deletions

View File

@ -69,11 +69,8 @@ Note that the software running inside a Docker container cannot follow the symbo
Make sure the `openhab` user owns these directories. Make sure the `openhab` user owns these directories.
```bash ```bash
mkdir /opt/openhab sudo mkdir -p /opt/openhab/{conf,userdata,addons}
mkdir /opt/openhab/conf sudo chown -R openhab:openhab /opt/openhab
mkdir /opt/openhab/userdata
mkdir /opt/openhab/addons
chown -R openhab:openhab /opt/openhab
``` ```
### Running the Container as a Service Managed by Docker ### Running the Container as a Service Managed by Docker