apache / apache/buildstream-plugins

Docker plugin fails for images using oci v1 media types

Open
#71 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
8
Forks
16
Avg merge
36m
Merged PRs (30d)
2

Description

Any images that still use `application/vnd.oci.image.manifest.v1+json` and/or `application/vnd.oci.image.layer.v1.tar+gzip` (such as library/archlinux on docker hub) cause the docker plugin to error with a 404 error code, even though the image definetly exists.

Manually adding these two media types to the relevant mediaType checks and accept headers makes it work reliably for pretty much every plugin that I tested.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the Docker plugin's mediaType checks and Accept headers, then reproduce the failure with an image using the OCI v1 media types described in the issue. Done means those images are accepted and the plugin no longer returns a 404.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, python
Domain
devops
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.