Skip to content

Please kindly provide a docker example for the tls encryption #2290

Open

Description

Hello Team,

Greetings. While referring this page https://prometheus.io/docs/guides/tls-encryption/ , it is requested that a docker example would be more beneficial.

the doc mentions

prometheus
--config.file=/path/to/prometheus.yml
--web.config.file=/path/to/web-config.yml
--web.external-url=https://example.com/

it is not clear if that is run in docker or non docker context.

Tried using this command

docker run -d --name prometheus -p 9090:9090 -v /home/ec2-user/prometheus_graphana/prometheus.yml:/etc/prometheus/prometheus.yml -v /home/ec2-user/prometheus_graphana/web-config.yml:/etc/prometheus/web-config.yml --web.config.file=/etc/prometheus/web-config.yml prom/prometheus

However it does work.

Thanks and Regards
Thulsi Doss Krishnan

Activity

  1. lasomethingsomething commented on Nov 23, 2026

    @lasomethingsomething

    still open/valid ask

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

Metadata

Metadata

Assignees

No one assigned

    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