Docker Swarm LDAP won't start under Ubuntu 22.04
Docker refuses to start at boot time. The issue is the SSSD system won't allow connection to its socket(s) until user and group resolution is functional. The error seen in the logs relates to permission denied.
The fix for this is to add a dependency to the docker.socket systemd startup script/
systemctl edit docker.socket
### Editing /etc/systemd/system/docker.socket.d/override.conf
### Anything between here and the comment below will become the new contents of the file
[Unit]
After=nss-user-lookup.target
DefaultDependencies=no
### Lines below this comment will be discarded
### /lib/systemd/system/docker.socket
# [Unit]
# Description=Docker Socket for the API
#
# [Socket]
# # If /var/run is not implemented as a symlink to /run, you may need to
# # specify ListenStream=/var/run/docker.sock instead.
# ListenStream=/run/docker.sock
# SocketMode=0660
# SocketUser=root
# SocketGroup=docker
#
# [Install]
# WantedBy=sockets.target