Skip to content

Docker container fails to start due to Prometheus config mount error #400

@Ngha-Boris

Description

@Ngha-Boris

When attempting to mount prometheus.yml into the container at /etc/prometheus/prometheus.yml, the container fails to start with a file/directory type mismatch error. The issue occurs because /etc/prometheus/prometheus.yml already exists as a directory inside the container image, but the mount target is expected to be a file.

Image

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions