Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Directory name Error "Prmetheus" instead of Prometheus in Docker Image #14056

Closed
m-raheem opened this issue May 6, 2024 · 3 comments
Closed

Comments

@m-raheem
Copy link

m-raheem commented May 6, 2024

What did you do?

Command i run :
sudo docker run -p 9090:9090 -v promethus.yml:/etc/prometheus/prometheus.yml prom/prometheus

What did you expect to see?

Expected Result Was Docker Container must run upon executing this command:
sudo docker run -p 9090:9090 -v promethus.yml:/etc/prometheus/prometheus.yml prom/prometheus

What did you see instead? Under which circumstances?

image
changed the Directory to prmethus and got it running
Upon Investigating the issue found that in the latest Docker image their are two promethus directories.
image
Command i run :
sudo docker run -p 9090:9090 -v promethus.yml:/etc/prometheus/prometheus.yml prom/prometheus

System information

No response

Prometheus version

prom/prometheus:latest

Prometheus configuration file

global:
  scrape_interval:     15s
  evaluation_interval: 15s

rule_files:
  # - "first.rules"
  # - "second.rules"

scrape_configs:
  - job_name: node_exporter
    static_configs:
      - targets: ['192.168.87.102:9100']

Alertmanager version

No response

Alertmanager configuration file

No response

Logs

No response

@m-raheem m-raheem changed the title Configuration Directory name Error "Prmetheus" instead of Prometheus Directory name Error "Prmetheus" instead of Prometheus in Docker Image May 6, 2024
@beorn7
Copy link
Member

beorn7 commented May 8, 2024

I don't see `prmetheus' anywhere in your commands. Could you double-check?

@m-raheem
Copy link
Author

m-raheem commented May 18, 2024

My bad
below provided is the Screenshot of command.
image

@m-raheem
Copy link
Author

m-raheem commented May 18, 2024

Within the container we have two directories by default.
image

@prometheus prometheus locked and limited conversation to collaborators May 19, 2024
@beorn7 beorn7 converted this issue into discussion #14123 May 19, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants