Skip to content
This repository was archived by the owner on Jan 18, 2023. It is now read-only.

Commit 6d7b7b8

Browse files
authored
Update README.md
1 parent 966ce66 commit 6d7b7b8

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,16 +30,17 @@ See https://github.com/resmo/nip.io/blob/master/src/backend.conf.example for an
3030

3131
### As Docker Container
3232

33-
#### Build the Image:
33+
34+
#### Run the Container from DcokerHub:
3435

3536
```bash
36-
docker build -t nip.io .
37+
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
3738
```
3839

39-
#### Run the Container:
40+
#### Or Build the Image:
4041

4142
```bash
42-
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
43+
docker build -t nip.io .
4344
```
4445

4546
#### See the Logs:

0 commit comments

Comments
 (0)