Skip to content

[feature request] make dockerd support reloading config registry mirror #29594

@allencloud

Description

@allencloud

Hi, All,

I found that currently dockerd does not support reload config registry mirror, while today I ran into a case that we have chance to add this, but there are already some workload on the docker daemon.

If we hope to add registry mirror, we have to edit the config file and restart dockerd which is not OK for the workload.

So, I hope to have registry mirror config reload support in docker daemon.

P.S.
Here are the reload options support in docker daemon: https://github.com/docker/docker/blob/master/daemon/daemon.go#L1009-L1019

// Reload reads configuration changes and modifies the
// daemon according to those changes.
// These are the settings that Reload changes:
// - Daemon labels.
// - Daemon debug log level.
// - Daemon insecure registries.
// - Daemon max concurrent downloads
// - Daemon max concurrent uploads
// - Cluster discovery (reconfigure and restart).
// - Daemon live restore
// - Daemon shutdown timeout (in seconds).

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/daemonCore Enginekind/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