Skip to content

Ability to run without watching Docker #112

Open
@efstajas

Description

@efstajas

Apologies if this has already been requested or is even possible somehow.

I have Nomad & Consul clusters, and routers are automatically configured in Traefik via the ConsulCatalog provider. I'm deploying this image on Nomad right alongside Traefik, and use the traefik polling option to have it discover these services.

This means that in practice this container runs on some arbitrary node within the cluster that may or may not have other services registered in Traefik running on it. The actual workloads may be distributed across any number of different nodes that this image is not running on.

Luckily, the polling option solves this, and it works perfectly. It's just that I have to mount the Docker sock from the host into the container, which is completely unnecessary for my use-case. I already tried just not mounting it of course, but the container dies with errors trying to read it.

It'd be great if you could configure this to only poll the traefik API!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions