We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
grafana: volumes: - ./data/grafana:/var/lib/grafana
The text was updated successfully, but these errors were encountered:
挂载这些目录表示容器需要读取操作系统/proc、/sys等数据
Sorry, something went wrong.
No branches or pull requests
大佬,我有个小疑问,为啥要挂载这几个目录
node-exporter:
volumes:
- /proc:/host/proc
- /sys:/host/sys
- /:/rootfs
cadvisor:
volumes:
- /:/rootfs:ro
- /var/run:/var/run:rw
- /sys:/sys:ro
- /var/lib/docker/:/var/lib/docker:ro
grafana:
volumes:
- ./data/grafana:/var/lib/grafana
The text was updated successfully, but these errors were encountered: