aboutsummaryrefslogtreecommitdiffstats
path: root/docs/docker.md
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2022-09-20 20:30:34 -0500
committerGitHub <noreply@github.com>2022-09-20 20:30:34 -0500
commit9bb986d218c1e56a988e25dc92b0778471788f50 (patch)
tree69ae056823d2d5d050e2c80ff45b1ffa2126c1b4 /docs/docker.md
parent6a307269ab99956fb2c5ea2149ae76c3ef24c8b2 (diff)
parentc4544a6a14577a79d02d009f38557cbcf9ec80ad (diff)
downloadslskd-9bb986d218c1e56a988e25dc92b0778471788f50.tar.gz
Merge pull request #436 from droserasprout/aux/docs-proofreading
Docs proofreading
Diffstat (limited to 'docs/docker.md')
-rw-r--r--docs/docker.md14
1 files changed, 7 insertions, 7 deletions
diff --git a/docs/docker.md b/docs/docker.md
index da999270..af15da07 100644
--- a/docs/docker.md
+++ b/docs/docker.md
@@ -1,8 +1,8 @@
# Running slskd in Docker
-For most users, the quick start will be all that is needed:
+For most users, a quick start will be all that is needed:
-```
+```shell
docker run -d \
-p 5000:5000 \
-p 5001:5001 \
@@ -14,13 +14,13 @@ docker run -d \
This configuration, however, doesn't include any shared directories.
-Each share needs to be mapped to the container as a volume, and then each local directory within the container needs to be added to the configuration.
+First, you need to map each share to the container as a volume. Then each local directory within the container needs to be added to the configuration.
-In the following example, assume that the slskd application directory will be `/var/slskd` on the docker host. Assume that the directories `/home/JohnDoe/Music` and `/home/JohnDoe/eBooks` will be shared.
+In the following example, assume that the slskd application directory will be `/var/slskd` on the docker host. Assume that the directories `/home/JohnDoe/Music` and `/home/JohnDoe/eBooks` will be shared.
For this scenario, the `docker run` command would be:
-```
+```shell
docker run -d \
-p 5000:5000 \
-p 5001:5001 \
@@ -41,9 +41,9 @@ directories:
- /ebooks
```
-Alternatively, the configuration of these shares could be achieved in the `docker run` command by setting the `SHARED_DIR` environment variable, like so:
+You can achieve the same configuration by setting the `SHARED_DIR` environment variable in the `docker run` command:
-```
+```shell
docker run -d \
-p 5000:5000 \
-p 5001:5001 \