I am attempting to install rootless docker on Almalinux 8.6. I am running the appropriate script after disabling rootless docker:
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 on various sites. 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, and that being able to use it indicates that systemd will be found. Except that enabling lingering does not seem to get sytemctl --user 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:
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???