change usage of $PWD in docker command

This commit is contained in:
Sayan Biswas
2022-07-02 17:36:03 +05:30
committed by GitHub
parent 5852f48ca5
commit 1cdaaa16b0
+1 -1
View File
@@ -338,7 +338,7 @@ $ sudo systemctl start mtg
or you can run a docker image
```console
docker run -d -v /etc/mtg.toml:$PWD/config.toml -p 443:3128 --name mtg-proxy --restart=unless-stopped nineseconds/mtg:2
docker run -d -v $PWD/config.toml:config.toml -p 443:3128 --name mtg-proxy --restart=unless-stopped nineseconds/mtg:2
```
where _443_ is a host port (a port you want to connect to from a