Distribute Docker images as files, without a registry
1.1K
Distribute Docker images as files, without a registry
Docker has docker save, which exports one or more images as a tar archive. It
also has docker load, which performs the inverse operation. Together, this
enables the distribution of Docker images as regular files. This is cool
because for decades people have been building software as files and
distributing them, so there are a lot of good solutions for that. Docker
registries are relatively immature, with only primordial solutions for
security, and relatively few hosted providers.
deregistry helps with this workflow. It reads saved docker images from a URL and imports them into Docker. As a convenience it can also fetch plain tarballs and extract them into the filesystem.
You might be thinking you could do this with curl ... | docker load. You can,
but deregistry adds a few bells and whistles:
s3:// URLs, and will use standard credential finding
logic to get access to a private bucket. Attach an IAM instance profile
to your EC2 instances for a security win. Now you don't need to deal with
distributing the password to a private Docker registry to all your servers,
or having a mechanism in place to rotate that password.Actually that's just one bell. But here are the whistles that just aren't done yet:
Content type
Image
Digest
sha256:91ca44e6e…
Size
82 MB
Last updated
almost 11 years ago
docker pull paperg/deregistry