Does docker support a read-only image store that can be rsynced?

Hi Team.

I have a general query. The default behavior of docker is interleaving image layers/metadata with temporary + container data. Is there a configuration that can be applied to docker engine such that images are placed in a separate directory that can be rsynced?

Is there something like additionalimagestores provided by Docker?

Hello and good morning,

if you have multiple servers which should use the same image for starting their containers I would use a (private) registry to store my images. If a new version is created it is pushed (“uploaded”) to this registry and can be pulled (“downloaded”) from the docker-servers and started as containers.
The registry can be a container running on one Docker-server. If you need more information on how to start this registry and (if needed/wanted) use authentication with multiple users for different rights - feel free to ask :slight_smile:

At least in my eyes this is an easy way using no special commands (rsync …) which are not part of Docker.

Best regards
Matthias

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.