Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Image format of docker/whalesay is no longer supported by Docker breaking examples #36

Open
reub opened this issue Jul 9, 2024 · 0 comments

Comments

@reub
Copy link

reub commented Jul 9, 2024

The venerable docker/whalesay image referenced in Chapter 2 nginx-pod.yaml uses an image format that is no longer supported by Docker as of the v27.0 release on July 1, 2024 which causes a failure to pull the image from the registry.

It may also be that other images in later examples are similarly affected but I have not verified this.

See: https://docs.docker.com/engine/deprecated/#pushing-and-pulling-with-image-manifest-v2-schema-1

Events:
  Type     Reason     Age                  From               Message
  ----     ------     ----                 ----               -------
  Normal   Scheduled  10m                  default-scheduler  Successfully assigned argocd/nginx to minikube
  Normal   Pulling    8m50s (x4 over 10m)  kubelet            Pulling image "docker/whalesay"
  Warning  Failed     8m48s (x4 over 10m)  kubelet            Failed to pull image "docker/whalesay": [DEPRECATION NOTICE] Docker Image Format v1 and Docker Image manifest version 2, schema 1 support is disabled by default and will be removed in an upcoming release. Suggest the author of docker.io/docker/whalesay:latest to upgrade the image to the OCI Format or Docker Image manifest v2, schema 2. More information at https://docs.docker.com/go/deprecated-image-specs/
  Warning  Failed     8m48s (x4 over 10m)  kubelet            Error: ErrImagePull
  Warning  Failed     8m23s (x6 over 10m)  kubelet            Error: ImagePullBackOff
  Normal   BackOff    8s (x42 over 10m)    kubelet            Back-off pulling image "docker/whalesay"

$ docker pull docker/whalesay
Using default tag: latest
latest: Pulling from docker/whalesay

What's next:
    View a summary of image vulnerabilities and recommendations → docker scout quickview docker/whalesay
[DEPRECATION NOTICE] Docker Image Format v1 and Docker Image manifest version 2, schema 1 support is disabled by default and will be removed in an upcoming release. Suggest the author of docker.io/docker/whalesay:latest to upgrade the image to the OCI Format or Docker Image manifest v2, schema 2. More information at https://docs.docker.com/go/deprecated-image-specs/
$ echo $?
1
$
@reub reub changed the title Examples broken by lapsed support for image format of the docker/whalesay image is no longer supported by Docker Image format of the docker/whalesay image is no longer supported by Docker breaking examples Jul 9, 2024
@reub reub changed the title Image format of the docker/whalesay image is no longer supported by Docker breaking examples Image format of docker/whalesay is no longer supported by Docker breaking examples Jul 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant