InformationVerify that the Docker socket file has permissions of '660'or more restrictive.
Only 'root' and members of 'docker' group should be allowed to read and write to default Docker Unix socket. Hence, the Docket socket file must have permissions of '660' or more restrictive.
Solutionchmod 660 /var/run/docker.sock
This would set the file permissions of the Docker socket file to '660'.
By default, the permissions for Docker socket file is correctly set to '660'.