Add Dockerfile for building docker image

This commit is contained in:
Cuong Manh Le
2023-08-09 22:48:04 +07:00
committed by Cuong Manh Le
parent 60d6734e1f
commit d5e6c7b13f
3 changed files with 41 additions and 0 deletions
+7
View File
@@ -67,6 +67,13 @@ or
$ go install github.com/Control-D-Inc/ctrld/cmd/ctrld@latest
```
## Docker
```
$ docker build -t controld/ctrld .
$ docker run -d --name=ctrld -p 53:53/tcp -p 53:53/udp controld/ctrld --cd=p2 -vv
```
# Usage
The cli is self documenting, so free free to run `--help` on any sub-command to get specific usages.