DEV Community

Discussion on: Learn Docker - from the beginning, part I images and containers

softchris profile image
Chris Noring Author

as for using Docker Hub, that's used to share Docker images, not containers.. so if you have a Dockerfile you are happy with, you start with an ios image, you add scripts to install things on it you can then build an image from the Dockerfile and push it to Docker Hub, then others can use that image.. I mean it all depends on what you want to achieve.. if you want to share app code, I would say it's GitHub, if its a certain base image + installing things like brew, node.js then I suggest create an image from that and push DockerHub

Thread Thread
kevinhch profile image
Kevin

ok thanks, I need to keep clean my local machine, and I will find the method to develop all my applications on containers. Thanks again man :)