I did not find things like options in Docker doc. And I think I have to say, I need that feature. For example, using overlayfs failed me. And Podman does that as well.
I wonder if I could use non-legacy mount. It worked in other Linux distro. But I got errors (which block booting) when migrating to NixOS, which disappeared after changing to legacy mount.