If you want to download an image with docker, you will report an error
cannot connect to the docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
cause analysis: maybe docker did not exit normally last time, so docker did not start normally, and the docker process could not be found in the corresponding /var/run/ path.
Solution:
enter the command
systemctl start docker.service
Then you can download