Skip to content

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

Open
@reub

Description

@reub

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
$

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions