瀏覽代碼

change usage of $PWD in docker command

tags/v2.1.7^2
Sayan Biswas 4 年之前
父節點
當前提交
1cdaaa16b0
沒有連結到貢獻者的電子郵件帳戶。
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      README.md

+ 1
- 1
README.md 查看文件

338
 or you can run a docker image
338
 or you can run a docker image
339
 
339
 
340
 ```console
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
 where _443_ is a host port (a port you want to connect to from a
344
 where _443_ is a host port (a port you want to connect to from a

Loading…
取消
儲存