Skip to content

docker-compose ps show configuration update status #4577

Description

@deadbeef84

It would be really nice if docker-compose ps would show configuration update status, ie what would happen when running docker-compose up -d.

I'm guessing there's about 4 states:

  • up to date
  • image updated
  • service configuration updated
  • dependencies updated (not sure about this one)

An example output would be:

        Name                      Command               State     Configuration               x                 Ports
----------------------------------------------------------------------------------------------------------------------------------------
demo_couchdb_1         tini -- /docker-entrypoint ...   Up        up to date                  4369/tcp, 0.0.0.0:5984->5984/tcp, 9100/tcp
demo_elasticsearch_1   /docker-entrypoint.sh elas ...   Up        needs update (service)      0.0.0.0:9200->9200/tcp, 9300/tcp
demo_loadbalancer_1    /usr/local/openresty/bin/o ...   Up        needs update (image)        0.0.0.0:443->443/tcp, 0.0.0.0:80->80/tcp
demo_portainer_1       /portainer                       Up        needs update (dependency)   0.0.0.0:9000->9000/tcp

Does this make sense?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions