Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

DockerHub and GitHub similarities

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?

like image 367
Sri Avatar asked Feb 09 '17 19:02

Sri


People also ask

Is Docker Hub similar to GitHub?

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).

What is difference between Docker Hub and GitHub?

While Docker Hub offers the key advantages of massive popularity integration by default into Docker and Kubernetes, GitHub Container Registry stands out for more fine-tuned access controls and more generous terms under its free pricing plan.

Are Docker and Git the same?

. Git is the leading version control system for software development. The Dockerfile, on the other hand, contains all the commands to automatically build an image of our application. These two products are the perfect combination for anyone seeking to adopt DevOps.


1 Answers

Smells like homework :)

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.

If you feel like I did not get your point, feel free to comment and i'll edit this post!

See ya through the interwebz

like image 122
David González Ruiz Avatar answered Oct 06 '22 08:10

David González Ruiz