Please check the container logs, there might be some permission issues or 
something else. But logs will give you the detail.

On Sunday, 6 September 2020 at 23:48:42 UTC+5:30 [email protected] wrote:

> Hello , i try to run prometheus on docker with this command :
>
> sudo docker run -d --name prometheus-server -p 9090:9090 \
> -v /home/mccdev/prometheus/prometheus/prometheus.yml:/prometheus.yml \
> prom/prometheus \
> --config.file=/prometheus.yml 
>
> but container is always exited immediatelly and i have no access to 
> localhost:9090.
>
> What can i do to set container to 'up'?
>

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/b3bdca8d-e5d9-455b-9108-1143c3840e82n%40googlegroups.com.

Reply via email to