Change docker alias in README to use '${HOME}' rather than '~'

Inlcudes another unrelated change to the README.

Fixes #482.

Signed-off-by: JoeLametta <JoeLametta@users.noreply.github.com>
This commit is contained in:
JoeLametta
2020-05-29 15:56:11 +00:00
parent 2fe4292a9b
commit 0a960d991b

View File

@@ -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: