diff --git a/README.md b/README.md index 1a65a30..b8ee972 100644 --- a/README.md +++ b/README.md @@ -30,18 +30,19 @@ See https://github.com/resmo/nip.io/blob/master/src/backend.conf.example for an ### As Docker Container -#### Build the Image: + +#### Run the Container from DcokerHub: + +```bash +docker run -d -p 0.0.0.0:53:53/tcp -p 0.0.0.0:53:53/udp -v /data/backend.conf:/usr/local/bin/backend.conf --name nip.io resmo/nip-io +``` + +#### Or Build the Image: ```bash docker build -t nip.io . ``` -#### Run the Container: - -```bash -docker run -d -p 0.0.0.0:53:53/tcp -p 0.0.0.0:53:53/udp -v /data/backend.conf:/usr/local/bin/backend.conf --name nip.io nip.io -``` - #### See the Logs: ```bash