You have to use sudo or be a member of the docker group. The reason is that the docker daemon runs with very high privileges and it's possible to mount any directory and make arbitrary changes to the root fs. As such you need appropriate permissions to connect to the docker daemon otherwise it'd be a security risk.