Skip to content

Container stop event and etcd backend #266

Open
@imacks

Description

@imacks

stopped or removed containers are not removed from etcd backend. I had to hack together a bash script to remove all container data everytime, which is terrifying bad practice.

my fork

What I want to do here is to export all the data available from docker-gen to etcd, and keep it in sync. Then I am using confd to watch for changes.

Would it be possible to have a builtin way to export all docker api data to etcd effectively? Specifically, we need to generate a script that makes the necessary modifications to etcd data, such that it conforms to the current docker state (think dsc), and only do so when docker state changes.

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