This is one of the reasons is switched to TrueNas Scale for my HomeServer.
Before that I always had a VM that was the Docker Host and another one with OpenMediaVault as Backup Server. Both these VMs are replaced by TrueNas. Less complexity and less maintenance overhead.