Run docker locally without sudo

Till now, I need to run docker with sudo. To solve this, just need to add current user to docker group.

(options if no docker group exists) sudo groupadd docker

sudo gpasswd -a {username} docker

That’s all.