mirror of
https://github.com/taigrr/godns
synced 2025-01-18 04:03:25 -08:00
Update README.md
This commit is contained in:
parent
52a1005791
commit
e0dd532cfe
11
README.md
11
README.md
@ -100,16 +100,13 @@ sudo systemctl enable godns
|
||||
sudo systemctl start godns
|
||||
```
|
||||
|
||||
## Run it in docker
|
||||
## Run it with docker
|
||||
|
||||
Now godns supports to run in docker.
|
||||
|
||||
* Pull godns image from docker hub:
|
||||
```bash
|
||||
docker pull timothyye/godns:1.2
|
||||
```
|
||||
|
||||
* Run godns in container and pass config parameters to it via enviroment variables:
|
||||
* Get [config_sample.json](https://github.com/timothyye/godns/blob/master/config_sample.json) from Github.
|
||||
* Rename it to **config.json**.
|
||||
* Run godns with docker:
|
||||
|
||||
```bash
|
||||
docker run -d --name godns --restart=always \
|
||||
|
Loading…
x
Reference in New Issue
Block a user