mirror of
https://github.com/chuot/rdio-scanner.git
synced 2026-08-13 16:33:01 -06:00
Add a note the the install-docker.md in regards to the data folder owner
This commit is contained in:
parent
4facd95d55
commit
8d6ba3cf27
|
|
@ -32,6 +32,8 @@ By default, [Rdio Scanner](https://github.com/chuot/rdio-scanner) runs on port 3
|
||||||
|
|
||||||
However, we will stick to port 3000 in this example.
|
However, we will stick to port 3000 in this example.
|
||||||
|
|
||||||
|
> Note that it is important to make sure the data folder already exists on the Docker host the very first time you run the Docker container (`~/.rdio-scanner` in this example) or it will be created by the Docker daemon with the wrong owner. In other words, the volume you mount on `/app/data` must be owned by the same user as specified by the `--user` option.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ docker run --detach --env TZ=America/Toronto --name rdio-scanner --publish 3000:3000 --restart always --user $(id -u):$(id -g) --volume ~/.rdio-scanner:/app/data chuot/rdio-scanner:latest
|
$ docker run --detach --env TZ=America/Toronto --name rdio-scanner --publish 3000:3000 --restart always --user $(id -u):$(id -g) --volume ~/.rdio-scanner:/app/data chuot/rdio-scanner:latest
|
||||||
520cdbf51fca11d8bacea12d81245f1cb4d984f80d2be2e3039727b59533a6a9
|
520cdbf51fca11d8bacea12d81245f1cb4d984f80d2be2e3039727b59533a6a9
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue