-
Notifications
You must be signed in to change notification settings - Fork 34
Open
Description
If I push a multi-platform image, or an OCI image, they aren't being cleaned after the timeout. I believe it's related to
ttl.sh/hooks/src/commands/reap.ts
Line 52 in f42ce4d
| "Accept": "application/vnd.docker.distribution.manifest.v2+json", |
- application/vnd.docker.distribution.manifest.v1+json
- application/vnd.docker.distribution.manifest.v1+prettyjws
- application/vnd.docker.distribution.manifest.v2+json
- application/vnd.docker.distribution.manifest.list.v2+json
- application/vnd.oci.image.manifest.v1+json
- application/vnd.oci.image.index.v1+json
The registry itself will automatically resolve a multi-platform image to linux/amd64 by default if you don't request the manifest list, so you end up with the following (5 minutes had passed):
$ docker pull --platform linux/amd64 ttl.sh/library/busybox:5m
5m: Pulling from library/busybox
manifest for ttl.sh/library/busybox:5m not found: manifest unknown: manifest unknown
$ docker pull --platform linux/arm/v5 ttl.sh/library/busybox:5m
5m: Pulling from library/busybox
3a7a3789f986: Pull complete
Digest: sha256:139abcf41943b8bcd4bc5c42ee71ddc9402c7ad69ad9e177b0a9bc4541f14924
Status: Downloaded newer image for ttl.sh/library/busybox:5m
ttl.sh/library/busybox:5m
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels