From 5464b37236a8cf5d9e7a6c4ea96bcf46138e2011 Mon Sep 17 00:00:00 2001 From: "bart@tinkywinky" Date: Wed, 4 Apr 2018 21:19:54 +0200 Subject: [PATCH] README.md update paths example and port numbers --- README.md | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index f23d3e5..e44f068 100644 --- a/README.md +++ b/README.md @@ -24,15 +24,17 @@ The [LinuxServer.io][linuxserverurl] team brings you another container release f ``` docker create \ --name=beets \ --v :/config \ +-v :/config \ +-v :/music \ +-v :/downloads \ -e PGID= -e PUID= \ --p 1234:1234 \ +-p 8337:8337 \ linuxserver/beets ``` ## Parameters -`The parameters are split into two halves, separated by a colon, the left hand side representing the host and the right the container side. +`The parameters are split into two halves, separated by a colon, the left hand side representing the host and the right the container side. For example with a port -p external:internal - what this shows is the port mapping from internal to external of the container. So -p 8080:80 would expose port 80 from inside the container to be accessible from the host's IP on port 8080 http://192.168.x.x:8080 would show you what's running INSIDE the container on port 80.` @@ -58,7 +60,7 @@ In this instance `PUID=1001` and `PGID=1001`. To find yours use `id user` as bel uid=1001(dockeruser) gid=1001(dockergroup) groups=1001(dockergroup) ``` -## Setting up the application +## Setting up the application Edit the config file in /config @@ -74,7 +76,7 @@ Contains [beets-copyartifacts](https://github.com/sbarakat/beets-copyartifacts) * To monitor the logs of the container in realtime `docker logs -f beets`. -* container version number +* container version number `docker inspect -f '{{ index .Config.Labels "build_version" }}' beets`