Docker Community Forums

Share and learn in the Docker community.

Ubuntu - Can't join docker group


(20GT) #1

This is in Ubuntu
steve@steve-P5E:~$ sudo groupadd docker
groupadd: group ‘docker’ already exists
steve@steve-P5E:~$ sudo gpasswd -a ${steve} docker
gpasswd: user ‘docker’ does not exist

what am I doing wrong?

(20GT) #2


$ sudo usermod -G docker -a ‘steve’

it didn’t error so i think that did it