I installed Home Assistant recently and the docs suggest HAOS is the strongly preferred option these days.
Something about HAOS uses docker to install and manage extensions, whereas if you run the HA docker container it can't as docker-inside-docker isn't supported (?), and thus some functionality is unavailable (at least at the surface level).