Skip to content
New issue

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

Cannot start service prometheus locally, docker-compose up error #68

Open
wj116 opened this issue Dec 5, 2021 · 1 comment
Open

Cannot start service prometheus locally, docker-compose up error #68

wj116 opened this issue Dec 5, 2021 · 1 comment

Comments

@wj116
Copy link

wj116 commented Dec 5, 2021

Facing this error running prometheus locally, wondering if any ideas?

ERROR: for 97c334c1138b_cadence-ruby_prometheus_1 Cannot start service prometheus: OCI runtime create failed: container_linux.go:380: starting container process caused: process_linux.go:545: container init caused: rootfs_linux.go:76: mounting "/Users/xxx/src/cadence-ruby/prometheus_config.yml" to rootfs at "/etc/prometheus/prometheus.yml" caused: mount through procfd: not a directory: unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type

@antstorm
Copy link
Contributor

antstorm commented Dec 6, 2021

@wj116 can you please share more details of your setup? It seems like the error is specific to your docker config for prometheus and not Cadence. Are you able to successfully start prometheus via Docker outside of our example docker-compose config?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants