I saw you shared it on GitHub too. Aren’t the previous two solutions better?
- https://github.com/docker/desktop-linux/issues/209#issuecomment-2376823330
- https://github.com/docker/desktop-linux/issues/209#issuecomment-2372489613
These suggest creating a new apparmor profile instead of disabling the unprivileged usernamespaces.