Solution
sudo groupadd docker
Add Docker user groupsudo gpasswd -a ${USER} docker
Add your user to the Docker user groupreboot
Reboot the system. You can also restart the Docker service and log out the user to log in.
sudo groupadd docker
Add Docker user groupsudo gpasswd -a ${USER} docker
Add your user to the Docker user groupreboot
Reboot the system. You can also restart the Docker service and log out the user to log in.