diff --git a/README.md b/README.md index 82271ec..c1f9b00 100644 --- a/README.md +++ b/README.md @@ -17,8 +17,11 @@ Can be easily tested using Docker: ``` docker run -v /tmp/nextcloud-app-radio:/opt/nextcloud/apps/radio -d --name nextcloud -p 80:80 rootlogin/nextcloud ``` -First part of -v is the path to the cloned or downloaded nextcloud radio app. Debug it with: +First part of -v is the path to the cloned or downloaded nextcloud radio app. Debug running container it with: ``` -docker run -i -t e326cbb922aa /bin/bash +docker exec -i -t 665b4a1e17b6 /bin/bash +``` +Where -t specifies the container id. If you further need to access the sqlite-database, logs or files inside the data folder of Nextcloud, that you also have to share this folder with the host: +``` +docker run -v /tmp/dockerdata:/data/data -v /tmp/nextcloud-app-radio:/opt/nextcloud/apps/radio -d --name nextcloud -p 80:80 rootlogin/nextcloud ``` -Where -t specifies the container id.