docker / whalesay

A repository in support of the Docker's official whalesay image
Other
39 stars 65 forks source link

Update version on docker hub? #6

Open multimeric opened 2 years ago

multimeric commented 2 years ago

docker run docker/whalesay moo currently gives me:

Image docker.io/docker/whalesay:latest uses outdated schema1 manifest format. Please upgrade to a schema2 image for better future compatibility. More information at https://docs.docker.com/registry/spec/deprecated-schema-v1/

albal commented 6 months ago

Having the same issue:

$ docker run docker/whalesay cowsay hello-world --help
Unable to find image 'docker/whalesay:latest' locally
latest: Pulling from docker/whalesay
docker: [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/.
See 'docker run --help'.
dkwgit commented 6 months ago

Essentially, hundreds, maybe thousands of Docker based "hello world" examples are now broken because the image has not been rebuilt in so long.

agilgur5 commented 6 months ago

Essentially, hundreds, maybe thousands of Docker based "hello world" examples are now broken because the image has not been rebuilt in so long.

Quite literally reported in Argo Workflows's "hello world" example: https://github.com/argoproj/argo-workflows/discussions/12767#discussioncomment-9210927 EDIT: twice now: https://github.com/argoproj/argo-workflows/issues/13388

agilgur5 commented 5 months ago

Threw up a tweet on this to try and get attention from someone at Docker

agilgur5 commented 3 months ago

Also made a support ticket about this. If you can, retweet at Docker and make your own support request referencing this issue. Or otherwise help get the word out to Docker to get their attention.

agilgur5 commented 3 months ago

Kudos to the Docker Support staff, they responded in ~20 min:

Thank you for contacting Docker Support. The 'whalesay' image is not intended for widespread distribution and we do not reference it in our documentation. Instead we recommend using the Hello World image, maintained by Docker Official Images. https://hub.docker.com/_/hello-world

I responded noting that the image is already widely distributed and that no mention of that or it being deprecated or anything is mentioned in this repo or the image description. And the hello-world image is not a drop-in replacement and won't suffice for most examples because it prints directions for using the Docker CLI after the "hello".

agilgur5 commented 3 months ago

In the meantime, I did find an alternative! Rancher has a verified image of cowsay (which whalesay derives from) that does use manifest v2: rancher/cowsay

tbernacchi commented 3 months ago

I've tried rancher/cowsay in one of my workflow-template on Argo-Workflow and got no luck:

Screenshot 2024-07-29 at 9 54 08 pm
agilgur5 commented 3 months ago

exec format error typically means the image doesn't match your architecture, which is different from this issue. See #7 and https://github.com/rancher/cowsay/issues/1 that I also filed.

That is also not specific to Argo Workflows/not an Argo error. You'll get that Linux (Unix?) error when running any image or binary with a mismatched arch

tbernacchi commented 3 months ago

Yeap, it doesn't match my arch, I ended up here because of docker/cowsay wasn't match my arch either. All the workloads on my cluster are just fine...I was just using these images to study Workflow.