From 0a960d991bdc1ecc51241f0ec07350bb917f1bb2 Mon Sep 17 00:00:00 2001 From: JoeLametta Date: Fri, 29 May 2020 15:56:11 +0000 Subject: [PATCH] Change docker alias in README to use '${HOME}' rather than '~' Inlcudes another unrelated change to the README. Fixes #482. Signed-off-by: JoeLametta --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index efd1049..976a211 100644 --- a/README.md +++ b/README.md @@ -88,7 +88,7 @@ It's recommended to create an alias for a convenient usage: ```bash alias whipper="docker run -ti --rm --device=/dev/cdrom \ - --mount type=bind,source=~/.config/whipper,target=/home/worker/.config/whipper \ + --mount type=bind,source=${HOME}/.config/whipper,target=/home/worker/.config/whipper \ --mount type=bind,source=${PWD}/output,target=/output \ whipperteam/whipper" ``` @@ -97,7 +97,7 @@ You should put this e.g. into your `.bash_aliases`. Also keep in mind to substit Essentially, what this does is to map the /home/worker/.config/whipper and ${PWD}/output (or whatever other directory you specified) on your host system to locations inside the Docker container where the files can be written and read. These directories need to exist on your system before you can run the container: -`mkdir -p ~/.config/whipper "${PWD}"/output` +`mkdir -p "${HOME}/.config/whipper" "${PWD}/output"` Finally you can test the correct installation: