소스 검색

change usage of $PWD in docker command

tags/v2.1.7^2
Sayan Biswas 3 년 전
부모
커밋
1cdaaa16b0
No account linked to committer's email address
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      README.md

+ 1
- 1
README.md 파일 보기

@@ -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…
취소
저장