summaryrefslogtreecommitdiff
path: root/api/server
diff options
context:
space:
mode:
authorPaweł Gronowski <pawel.gronowski@docker.com>2022-07-08 15:12:35 +0200
committerPaweł Gronowski <pawel.gronowski@docker.com>2023-03-30 19:53:02 +0200
commita75354c04560d0e2b7a8469dae7743033d77ed8a (patch)
treef7a78f77083b167ee05863bdac18b7f9d1b2983e /api/server
parente7393d0fc58f07c582915562ded41c67bdbed3a1 (diff)
downloaddocker-a75354c04560d0e2b7a8469dae7743033d77ed8a.tar.gz
c8d: Implement push
This implements `docker push` under containerd image store. When pushing manifest lists that reference a content which is not present in the local content store, it will attempt to perform the cross-repo mount the content if possible. Considering this scenario: ```bash $ docker pull docker.io/library/busybox ``` This will download manifest list and only host platform-specific manifest and blobs. Note, tagging to a different repository (but still the same registry) and pushing: ```bash $ docker tag docker.io/library/busybox docker.io/private-repo/mybusybox $ docker push docker.io/private-repo/mybusybox ``` will result in error, because the neither we nor the target repository doesn't have the manifests that the busybox manifest list references (because manifests can't be cross-repo mounted). If for some reason the manifests and configs for all other platforms would be present in the content store, but only layer blobs were missing, then the push would work, because the blobs can be cross-repo mounted (only if we push to the same registry). Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
Diffstat (limited to 'api/server')
0 files changed, 0 insertions, 0 deletions