Update README.md
This commit is contained in:
parent
966ce66e32
commit
6d7b7b8e0b
15
README.md
15
README.md
@ -30,18 +30,19 @@ See https://github.com/resmo/nip.io/blob/master/src/backend.conf.example for an
|
|||||||
|
|
||||||
### As Docker Container
|
### 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
|
```bash
|
||||||
docker build -t nip.io .
|
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:
|
#### See the Logs:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
Loading…
Reference in New Issue
Block a user