changed to use env variable for the docker socket guid
This commit is contained in:
@@ -11,7 +11,8 @@ Various tools to monitor Docker containers
|
||||
|
||||
## Setup
|
||||
|
||||
Set the DOCKER_GUID so the container has permission to access the socket
|
||||
|
||||
```shell
|
||||
root@docker:~/docker-observation# getent group docker
|
||||
docker:x:995:root
|
||||
export DOCKER_GUID=$(getent group docker | awk -F ':' '{print $3}')
|
||||
```
|
||||
Reference in New Issue
Block a user