Sfoglia il codice sorgente

change usage of $PWD in docker command

tags/v2.1.7^2
Sayan Biswas 3 anni fa
parent
commit
1cdaaa16b0
Nessun account collegato all'indirizzo email del committer
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1
    1
      README.md

+ 1
- 1
README.md Vedi File

@@ -338,7 +338,7 @@ $ sudo systemctl start mtg
338 338
 or you can run a docker image
339 339
 
340 340
 ```console
341
-docker run -d -v /etc/mtg.toml:$PWD/config.toml -p 443:3128 --name mtg-proxy --restart=unless-stopped nineseconds/mtg:2
341
+docker run -d -v $PWD/config.toml:config.toml -p 443:3128 --name mtg-proxy --restart=unless-stopped nineseconds/mtg:2
342 342
 ```
343 343
 
344 344
 where _443_ is a host port (a port you want to connect to from a

Loading…
Annulla
Salva