>basically what docker does
With the added hassle of installing Docker and learning and managing all of its details, and what you get in the end only works on Linux.
Meanwhile every OS in existence support running its executable format with zero other bookkeeping.