GitLab has had this for years and Docker Hub has remained. Additionally, Docker Hub has done a great job getting projects to use them for their official images:
https://hub.docker.com/search?q=&type=image&image_filter=off...
Until GitHub is able to get as many official images sponsored by the open source projects themselves, DockerHub will not be going away.