Adding user to the docker group can fix this issue:
zzh@ZZHPC:~$ sudo usermod -aG docker zzh zzh@ZZHPC:~$ newgrp docker zzh@ZZHPC:~$ docker run hello-world Hello from Docker!