What are the major pros for docker hub?

As i know, It is just a hub which contains image only, So i can’t push on docker hub with docker-compose. However, I can push our repository which contains docker-compose things to github, so that someone who want to execute my source can pull it from github.

Then, they can run command like docker-compose up.

I think this is just a good with github or bigbucket.

Is there something more feature i can use or i have to consider with docker hub?

Source: StackOverflow