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: