I have installed a docker on my ubuntu system version 18.04(LTS). However, when I run command for creating simple Hellow-world container from an inbuilt image, I got the following errors
The command I used:
sudo docker run docker/whalesay cowsay Hello-World!
The error I got:
Unable to find image 'docker/whalesay: latest' locally
Also after waiting for a minute it automatically starts to create a container but after a while again faces timeout error.
latest: Pulling from docker/whalesay 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/
e190868d63f8: Downloading 5.897MB/65.77MB 909cd34c6fd7: Download complete
0b9bfabab7c1: Download complete a3ed95caeb02: Download complete
00bf65475aba: Downloading 6.212MB/37.71MB c57b6bcc83e3: Download complete
8978f6879e2f: Downloading 8eed3712d2cf: Waiting docker: net/http: request canceled (Client.Timeout exceeded while awaiting headers). See 'docker run --help'.
I don't know where I can correct it