doc about error Privileged mode is incompatible with user namespaces
and solution --userns=host
This commit is contained in:
parent
88f7898516
commit
4a4471684f
@ -18,6 +18,10 @@ sudo docker run \
|
||||
|
||||
cAdvisor is now running (in the background) on `http://localhost:8080/`. The setup includes directories with Docker state cAdvisor needs to observe.
|
||||
|
||||
**Note**: If docker daemon is running with [user namespace enabled](https://docs.docker.com/engine/reference/commandline/dockerd/#starting-the-daemon-with-user-namespaces-enabled),
|
||||
You need to add `--userns=host` option in order for cAdvisor to monitor Docker containers,
|
||||
otherwise cAdvisor can not connect to docker daemon.
|
||||
|
||||
## Latest Canary
|
||||
|
||||
The latest cAdvisor canary release is continuously built from HEAD and available
|
||||
|
Loading…
Reference in New Issue
Block a user