Everything Docker stores on Unraid lives in one place, and you get to choose what kind of place it is.
In Settings, Docker, the Docker data-root field lets you pick a btrfs vDisk (the default), an xfs vDisk, or a directory. A vDisk keeps everything inside the docker.img file. A directory stores the image layers straight on a filesystem, and an Unraid moderator points out that it has no image size limit, so there is no docker.img to fill up.
On a ZFS pool the 6.12.0 notes recommend a directory, on a share called docker that lives on that pool. The 7.0.0 notes add that the native storage driver causes significant stability issues on ZFS, so use overlay2 there and delete the old directory contents after you switch.
Caveats from the forum: changing this setting empties your container list, and you bring the containers back with Apps, Previous Apps. Running New Permissions on a docker folder destroys it, according to the same moderator. I would not switch on a quiet Sunday evening without checking that the appdata is backed up first.
Further reading: Unraid docs: Version 7.0.0 release notes, Unraid docs: Version 6.12.0 release notes, Unraid forum: 6.10.3 Docker data-root options, On this site: find what is filling your Unraid docker.img, On this site: use Previous Apps to bring back every container after deleting docker.img