Ver código fonte

Fix instructions in readme

tags/v2.1.7^2
Sayan Biswas 3 anos atrás
pai
commit
5852f48ca5
Nenhuma conta vinculada ao e-mail do autor do commit
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2
    2
      README.md

+ 2
- 2
README.md Ver arquivo

@@ -190,7 +190,7 @@ surprises. Always choose some version tag.
190 190
 Also, if you have `go` installed, you can always download this tool with `go get`:
191 191
 
192 192
 ```console
193
-go get github.com/9seconds/mtg/v2
193
+go install github.com/9seconds/mtg/v2@latest
194 194
 ```
195 195
 
196 196
 #### Build from sources
@@ -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:/config.toml -p 443:3128 --name mtg-proxy --restart=unless-stopped nineseconds/mtg:2
341
+docker run -d -v /etc/mtg.toml:$PWD/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

Carregando…
Cancelar
Salvar