Skip to content

Improved status for docker pull #2404

@mahendra

Description

@mahendra

It would be good to have the docker pull return better status messages. For eg: a docker pull can result in following statuses

  • command failed
  • no new data was pulled
  • new data was pulled

This will be effective when docker pull is used in scripts and systems like salt. The user would want to restart the container only if docker pull actually did something. Right now, the output is quite complex and not easily parse-able

It may be good for a command line switch which will dump the REST API json as the output. Scripts can parse it.

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