Client issue to connect to docker install on Ubuntu 26.04 - solved!

The docker install went fine. However I was not able to get any client to connect to the server. With latest Ubuntu there is some issue with apparmor. To overcome this you have to overwrite the default “restricted_unprivileged_user” being “1”. Here my solution:

sudo tee /etc/sysctl.d/99-minarca-server-userns.conf <<EOF
kernel.unprivileged_userns_clone=1
kernel.apparmor_restrict_unprivileged_userns=0
EOF

You have to name the file with something higher than what you find in the sysctl.d directory to ensure its overwriting any previous settings (which was in my case, until i rename it with a higher number)

It’s clearly something that need to be better documented. I will take a not in Gitlab issue tracking to improve documentation for Ubuntu + Docker.

Thanks for sharing this info.

@Wanni48 A new section docuemnt this here

And also in docker readme file

1 Like