You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
as far as I can see, the docker registry can perform only one of these tasks:
store local/private docker images
act as a proxy and cache for a particular registry somewhere out there in the internet
When having several tasks, i.e. store both local images and act as a proxy for one or more foreign registries, several instances need to be run.
This, actually, wouldn't be problem and can easily be started with systemd templates or as several docker containers. Which, however, is error prone since the storage location needs to be mentioned both in the mechanism starting the registry, i.e. a systemd unit or a container with subdirectories in a shared volume, and the config file itself.
Wouldn't life be easier and less error prone, if a systemd template unit or docker entrypoint could simply for several /etc/docker/*.conf do
Hi,
as far as I can see, the docker registry can perform only one of these tasks:
When having several tasks, i.e. store both local images and act as a proxy for one or more foreign registries, several instances need to be run.
This, actually, wouldn't be problem and can easily be started with systemd templates or as several docker containers. Which, however, is error prone since the storage location needs to be mentioned both in the mechanism starting the registry, i.e. a systemd unit or a container with subdirectories in a shared volume, and the config file itself.
Wouldn't life be easier and less error prone, if a systemd template unit or docker entrypoint could simply for several /etc/docker/*.conf do
ExecStartPre=mkdir /var/lib/docker-registry/%i
ExecStart=/usr/bin/docker-registry serve -d /var/lib/docker-registry/%i /etc/docker/registry/%i.yml
with the -d argument to have several instances run with their own directory?
regards
The text was updated successfully, but these errors were encountered: