The docker daemon runs on your operating system as the root user making third-party Docker tools difficult to use.

Docker manages permissions around the Unix domain thought a user group. The problem is you are not part of this group by default.

The solution is to add yourself to the docker group:

sudo addgroup -a "your_username" docker  

Now reboot the machine and will be able to run Docker command without typing sudo.