Docker Community Forums

Share and learn in the Docker community.

Ubuntu - Can't join docker group

docker

(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

ANSWERED

$ sudo usermod -G docker -a ‘steve’

it didn’t error so i think that did it