Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
ffk
· 4y ago · 0 comments
Docker save (and presumably podman too) adds that metadata as a file in a tar. Each layer becomes a tar that is nested in the top level tar.
Comments
[–]
hutrdvnj
4y ago
A container registry allows you to download multiple layer simultaneously and only those that you need (that you don't have in cache).
[–]
e12e
4y ago
Indeed, registries don't do much more than what:
docker image save foo:latest \ | ssh pod docker image load
does (the stream is a docker tar archive with layers and metadata).