Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using docker-compose, how do I share my image to docker-hub?

I'm very new to docker, I made a simple django app with docker-compose.

How do I post it to docker hub so someone can run docker run against it?

like image 254
RustyShackleford Avatar asked Apr 23 '15 14:04

RustyShackleford


1 Answers

Docker hub is a repository for Docker images (make with a Dockerfile). When you use docker-compose your are simply connecting together one or more images on docker hub using your composition (the yaml that describes the images and how to connect them). You aren't making an Image with docker-compose. I don't think there is a place to store/share compositions (yet) at Docker. However, you might take a look at tutum.co. There you can save your docker-compose (they call them stacks) and deploy them from tutum. Full disclosure, I have nothing to do with tutum.co.

like image 63
Greg Avatar answered Oct 15 '22 01:10

Greg