-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Description
Bug Report
Describe the bug
RHEL7 is distributed with an old docker 1.13.1 with their own backported patches.
I noticed that pulling fluent-bit starting from 2.0.11 including 2.1.7 I get an error
Jul 25 09:45:01 ocitest dockerd-current: time="2023-07-25T09:45:01.541975674Z" level=error msg="Attempting next endpoint for pull after error: manifest unknown: OCI index found, but Accept header does not support OCI indexes"
Jul 25 09:45:02 ocitest dockerd-current: time="2023-07-25T09:45:02.496253937Z" level=error msg="Not continuing with pull after error: Error: image fluent/fluent-bit:2.1.7 not found"
To Reproduce
[root@ocitest user]# docker pull fluent/fluent-bit:2.1.7
Trying to pull repository docker.io/fluent/fluent-bit ...
manifest for docker.io/fluent/fluent-bit:2.1.7 not found
- Example log message if applicable:
Attempting next endpoint for pull after error: manifest unknown: OCI index found, but Accept header does not support OCI indexes
- Steps to reproduce the problem:
docker pull fluent/fluent-bit:2.1.7 on RHEL/CentOS7 with docker 1.13.1
Expected behavior
Pull is successful
Screenshots
Your Environment
- Version used: fluent bit 2.1.7
- Configuration: Docker 1.13.1 on RHEL7
- Environment name and version (e.g. Kubernetes? What version?): RHEL7 VM with docker 1.13.1
- Server type and version: x86
- Operating System and version: RHEL 7.9
- Filters and plugins:
Additional context
Last version which is pullable is 2.0.10. From 2.0.11 I get an error.
@patrick-stephens noticed following change:
2.1.0 includes the switch to the more recent build-push-action that turn on attestation:
| uses: docker/build-push-action@v4 |
Assumption is that old docker on RHEL7 expect images in the old format and is not supporting OCI properly moby/moby#39727