whalesay icon indicating copy to clipboard operation
whalesay copied to clipboard

Update version on docker hub?

Open multimeric opened this issue 2 years ago • 10 comments

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/

multimeric avatar Oct 03 '22 05:10 multimeric

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'.

albal avatar Apr 17 '24 13:04 albal

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

dkwgit avatar May 08 '24 19:05 dkwgit

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 avatar May 12 '24 23:05 agilgur5

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

agilgur5 avatar May 13 '24 18:05 agilgur5

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 avatar Jul 23 '24 17:07 agilgur5

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 avatar Jul 23 '24 20:07 agilgur5

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

agilgur5 avatar Jul 23 '24 20:07 agilgur5

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

tbernacchi avatar Jul 30 '24 00:07 tbernacchi

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

agilgur5 avatar Jul 30 '24 01:07 agilgur5

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.

tbernacchi avatar Jul 30 '24 01:07 tbernacchi