I am attempting to install rootless docker on Almalinux 8.6. I am running the appropriate script after disabling rootless docker:
dockerd-rootless-setuptool.sh install
and I keep getting the following failure:
[INFO] systemd not detected, dockerd-rootless.sh needs to be started manually:
I have performed various actions based on answers provided in this exchange. I enabled lingering:
sudo loginctl enable-linger <my-username>
(if I do this without the sudo as most people instruct, I get the following:
Could not enable linger: The name org.freedesktop.PolicyKit1 was not provided by any .service files)
in order to use systemctl --user. I learned that lingering needed to be enabled in order to use it. Except that enabling does not seem to get it to work:
Failed to connect to bus: No such file or directory
this despite the fact that I see my username when I do an "ls /var/lib/systemd/linger" command.
I also set the XDG_RUNTIME_DIR as instructed:
export XDG_RUNTIME_DIR=/run/user/$UID
where $UID is my userID. This has changed nothing.
I need to somehow get systemd working properly so that I can install rootless docker. How to I do this???