Update README.md

This commit is contained in:
mayuresh82
2020-04-03 14:55:32 -07:00
committed by GitHub
parent 8a26f23729
commit 7f542acc03

View File

@@ -53,7 +53,7 @@ If `gocast_monitor=consul` is specified, then GoCast uses the defined healthchec
## Docker support ## Docker support
The docker image at mayuresh82/gocast can be used to run GoCast inside a container. In order for GoCast to manipulate the host network stack correctly, the container needs to run with NET_ADMIN capablity and host mode networking. For example: The docker image at mayuresh82/gocast can be used to run GoCast inside a container. In order for GoCast to manipulate the host network stack correctly, the container needs to run with NET_ADMIN capablity and host mode networking. For example:
``` ```
docker run -d --cap=NET_ADMIN --net=host mayuresh82/gocast --config=/path/to/config.yaml docker run -d --cap-add=NET_ADMIN --net=host -v /path/to/host-config:/path/to/container-config mayuresh82/gocast -config=/path/to/config.yaml -logtostderr
``` ```
**Caveats and workarounds** **Caveats and workarounds**