devstack-plugin-container wrongfully assumes that the stack user name is also the name of the group under which install the docker daemon. This can cause devstack to install docker in such a way that the stack user does not have permissions to access the docker socket, as seen in [3]. [1] https://opendev.org/openstack/devstack-plugin-container [2] https://github.com/openstack/devstack-plugin-container/blob/f09c5c9/devstack/lib/docker#L27 [3] https://github.com/gophercloud/gophercloud/pull/2380#issuecomment-1094295137 Closes-Bug: 1970129 Change-Id: Id5f1fa24ebb09db10f0d56e4d6b111be66869b5a