From e0dd532cfe4c699039f7658726daca93edbcb98a Mon Sep 17 00:00:00 2001 From: Timothy Ye Date: Fri, 15 Sep 2017 16:30:28 +0800 Subject: [PATCH] Update README.md --- README.md | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index fdf2a4b..ba92598 100644 --- a/README.md +++ b/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 \