After installing docker, check the docker version,
hint:
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
It is because docker did not start successfully.
Or enter: docker network ls, this error message will also be prompted
enter:
sudo systemctl start docker
Start successfully