Getting error | Docker Run

Hi ,

I am unable to execute the docker initial run command.

I am getting below error

root@docker:~/docker# docker run docker/whalesay hello-world
**docker: Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "hello-world": executable file not found in $PATH: unknown.**
**ERRO[0000] error waiting for container:**

System stats

root@docker:~/docker# uname -a
Linux docker 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Version
Ubuntu 22.04.3 LTS

Regards,
Ashish

What was your goal? There is a docker/whalesay image and a hello-world image. The whalesay image description is on Docker Hub

https://hub.docker.com/r/docker/whalesay

And the example command shows that you need to use the cowsay command.

docker run docker/whalesay cowsay boo

“boo” could be “hello-world” too