create sudo user with access to docker in ubuntu lxc container⚓︎ useradd -s /bin/bash -m -G sudo,docker username or alternatively adduser username adduser username sudo adduser username docker