Reputation: 613
What are the differences between DockerHub and GitHub? Can DockerHub replace GitHub or is it only for the Images? If yes, how it is different from Nexus and other binary management tools?
Upvotes: 12
Views: 5521
Reputation: 19
Docker Hub:
GitHub:
Can DockerHub Replace GitHub?
No, DockerHub cannot replace GitHub. They serve different purposes:
Docker Hub vs Nexus and Other Binary Tools
DockerHub:
Nexus/Artifactory:
Upvotes: 0
Reputation: 3265
They're entirely though for different purposes. GitHub is mainly though for code management, and DockerHub is though for container build, management and distribution (although not very reliable at the moment).
GitHub, indeed, went ahead of that mainly purpose of code management and now offers plenty of interesting features, but it will never be able to substitute DockerHub.
Regarding the opposite (DockerHub replacing GitHub), it is not possible at all because of the previously explained purposes. Perhaps you are thinking about some specific feature both offer, but at the moment it's definitely not something that is going to happen.
There are alternatives to DockerHub for container images distribution and building, and, by experience, far better. The only thing that makes DockerHub interesting at the moment is that it's the simplest and more intuitive platform for managing the whole process of distributing an image. Also, it's managed by Docker inc. itself, so everyone has to deal with it, tangentially or not.
Upvotes: 9
Reputation: 21
Well, the comment by David didn't age well. GitHub does offer a container registry.
I can see this is an old comment, but this should be a lesson in absolute statements.
Upvotes: 1