Explorar el Código

change usage of $PWD in docker command

tags/v2.1.7^2
Sayan Biswas hace 3 años
padre
commit
1cdaaa16b0
No account linked to committer's email address
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      README.md

+ 1
- 1
README.md Ver fichero

@@ -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…
Cancelar
Guardar