Open multimeric opened 2 years 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'.
Essentially, hundreds, maybe thousands of Docker based "hello world" examples are now broken because the image has not been rebuilt in so long.
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
Threw up a tweet on this to try and get attention from someone at Docker
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.
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".
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
I've tried rancher/cowsay
in one of my workflow-template on Argo-Workflow and got no luck:
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
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.
docker run docker/whalesay moo
currently gives me: