mirror of
https://github.com/ScuroNeko/mtg.git
synced 2026-09-01 10:14:01 +03:00
Merge pull request #98 from strangecamelcaselogin/master
Bind 3129 port to 127.0.0.1 in docker examples
This commit is contained in:
@@ -251,13 +251,13 @@ This tool will listen on port 3128 by default with the given secret.
|
|||||||
# One-line runner
|
# One-line runner
|
||||||
|
|
||||||
```console
|
```console
|
||||||
docker run --name mtg --restart=unless-stopped -p 3128:3128 -p 3129:3129 -d nineseconds/mtg:stable $(openssl rand -hex 16)
|
docker run --name mtg --restart=unless-stopped -p 3128:3128 -p 127.0.0.1:3129:3129 -d nineseconds/mtg:stable $(openssl rand -hex 16)
|
||||||
```
|
```
|
||||||
|
|
||||||
or in secret mode:
|
or in secret mode:
|
||||||
|
|
||||||
```console
|
```console
|
||||||
docker run --name mtg --restart=unless-stopped -p 3128:3128 -p 3129:3129 -d nineseconds/mtg:stable dd$(openssl rand -hex 16)
|
docker run --name mtg --restart=unless-stopped -p 3128:3128 -p 127.0.0.1:3129:3129 -d nineseconds/mtg:stable dd$(openssl rand -hex 16)
|
||||||
```
|
```
|
||||||
|
|
||||||
You will have this tool up and running on port 3128. Now curl
|
You will have this tool up and running on port 3128. Now curl
|
||||||
|
|||||||
Reference in New Issue
Block a user