From 6d7b7b8e0b8cda3c5416cd31d7591f349fe4188a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Moser?= Date: Wed, 14 Apr 2021 10:30:20 +0200 Subject: [PATCH] Update README.md --- README.md | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) 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