Unable to execute docker commands

Hello Team!

I am using a Windows system (Win 11 pro). When I am trying to execute a docker run command I am getting an error. After that I logged in to docker’s hub from cmd, but even then the error persists. Please help me here.

Following is an attached screenshot from the issue

Hi @debdeepmitra

The error says it all. The whalesay image is not been updated for very long and contains only one tag latest pushed with v1 image scheme around 9 years ago.

Docker doesn’t support it, and recommends using the hello world image.
You can read more about it here.

Okay, got it. Thanks for your support :+1:

+1
I think the lecture needs to be updated.

root@AG-HPeq0093au:~# docker run docker/whalesay cowsay boo
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/

Run 'docker run --help' for more information
root@AG-HPeq0093au:~#

Perhaps one could use:

docker run hello-world

Could you please share which lecture or lab this image is referenced in?

Hey Santosh, its under:
-Docker Training Course for the Absolute Beginner
---->Introduction
------ >Demo - Setup and Install Docker

We’ve flagged the lecture for re-recording, since whalesay has sadly been beached :frowning: