Skip to content

Dockerd needs a 'validate config' option #36911

@justrich

Description

@justrich

Docker daemon should have a validate-config option

Automated updates to docker's daemon.json (eg: puppet) are unable to parse the config file for validity before restarting the daemon. This may result in the daemon failing to restart, causing an outage for any running containers.

eg:

# docker daemon --config myconfig.json --validate
Syntax OK

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/enhancementEnhancements are not bugs or new features but can improve usability or performance.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions