get docker gid from /var/run/docker.sock