I dont use docker anymore (podman ftw) but that is unfair criticism of docker.
You can use any container registry (including self hosted) with docker and it will work. Last I checked, you cannot use any other repo at all with snap without recompling it to add support for your snap repo.