General system information:
Air-Gapped network
RHEL 8.9 patched up until May 2024
System is AD Joined via winbind
/home is on a NFS volume
Docker-ce version 3.26.0.0.1 installed via local docker repo setup with all packages from https://download.docker.com/linux/centos/8/x86_64/stable/Packages/
Modified the following:
/etc/sysctl.d/99-sysctl.conf
user.max_user_namespace=0 to 1 or 1024 or 28633
Modified /etc/subgid and /etc/subuid with the following:
user01:165536:65536
user02:231072:65536
Setting up Docker Rootless for users, but fails to open.
As normal user ran the following;
$ cd /usr/bin
$ dockerd-rootless-setup-sh install
Installation runs fine without failure
$ systemctl --user start docker
$ systemctl --user status docker
Is there anyone in the community that can assist with this?
Docker starts/runs fine, but is producing the above mentioned error.
Pretty sure i’m close, would just need a little guidance on the docker output.
Unfortunately, Redhat does not support docker-ce on rhel 8.x, therefore support from them is not available.
Redhat only supports Podman.
This is the official guide, but it says x86_64 (amd64) and aarch64 support on RHEL is experimental. I don’t think your issue would be because of the architecture, but could be.
And it happens when you load the image from a tar file? How did you create it?
That 3 at the beginning must be part of the package version, not Docker version. Docker CE 26.0.0 had some bugs. If newer versiona are available, I would try to install the latest which is 26.1.4
Please, share the output. Remove secrets like IP addresses or usernames if necessary before sharing.
Until that, here is my guess:
When you load an image, Docker has to extract the tar and move the files to the docker data root. Since you ran the command as a non-root user, if the files in the tar are owned by root, it is possible that Docker has no permision move the files, although that would not be an “open” operation. I never tried to load an image as a non root user, but I will test it soon.
EDIT: I tried, it worked for me.
We don’t always notice all messages. Feel free to send a reminder after some days. 21 days was many
I also edited your question to make it more readable. That can also get you more answers. Follow this guide next time to format your post: How to format your forum posts
WARNING: Running in rootless-mode without cgroups. To enable cgroups in rootless-mode, you need to boot the system in cgroup v2 mode.
WARNING: bridge-nf-call-iptables is disabled
WARNING: bridge-nf-call-ip6tables is disabled
Please, format your post according to the following guide: How to format your forum posts
In short: please, use </> button to share codes, terminal outputs, error messages or anything that can contain special characters which would be interpreted by the MarkDown filter. Use the preview feature to make sure your text is formatted as you would expect it and check your post after you have sent it so you can still fix it.
Example code block:
```
echo "I am a code."
echo "An athletic one, and I wanna run."
```