Skip to content

Commit

Permalink
Sys and proc are rslave as well
Browse files Browse the repository at this point in the history
  • Loading branch information
yorickdowne committed Sep 20, 2024
1 parent 4bddfba commit d9d7cd7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions grafana-cloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ services:
volumes:
- /:/host:ro,rslave
- /etc/hostname:/etc/nodename:ro
- /proc:/host/proc:ro
- /sys:/host/sys:ro
- /proc:/host/proc:ro,rslave
- /sys:/host/sys:ro,rslave
- /etc/localtime:/etc/localtime:ro
<<: *logging
labels:
Expand Down Expand Up @@ -114,7 +114,7 @@ services:
- /var/run/docker.sock:/var/run/docker.sock:ro
- /:/rootfs:ro,rslave
- /var/run:/var/run
- /sys:/sys:ro
- /sys:/sys:ro,rslave
- /var/lib/docker:/var/lib/docker:ro,rslave
command:
- --docker_only
Expand Down
6 changes: 3 additions & 3 deletions grafana.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ services:
volumes:
- /:/host:ro,rslave
- /etc/hostname:/etc/nodename:ro
- /proc:/host/proc:ro
- /sys:/host/sys:ro
- /proc:/host/proc:ro,rslave
- /sys:/host/sys:ro,rslave
- /etc/localtime:/etc/localtime:ro
<<: *logging
labels:
Expand Down Expand Up @@ -107,7 +107,7 @@ services:
- /var/run/docker.sock:/var/run/docker.sock:ro
- /:/rootfs:ro,rslave
- /var/run:/var/run
- /sys:/sys:ro
- /sys:/sys:ro,rslave
- /var/lib/docker:/var/lib/docker:ro,rslave
command:
- --docker_only
Expand Down

0 comments on commit d9d7cd7

Please sign in to comment.