compose icon indicating copy to clipboard operation
compose copied to clipboard

docker-compose build --push <registry>

Open cy8aer opened this issue 11 years ago • 56 comments

This would be a nice feature for creating and deploying of containers on a different (development) machine than the productive ones (which may run via image: option)

cy8aer avatar Mar 17 '15 21:03 cy8aer

Some related issues #213, #457

dnephin avatar Mar 18 '15 01:03 dnephin

I would give this a +1 as either an addition to docker-compose or as part of a different "build tool". In addition it would be nice (and UNIXy) to add an "images" verb, so as to output a flat list of the images built by the tool. I'm thinking things like this would be possible:

$ docker-compose build
$ docker-compose images | while read i; do docker save $i -o $i.tgz ; done

Thoughts?

[Addendum] Additionally, this would perhaps solve the problem of pushing?

$ docker-compose images | while read i ; do docker push my.registry.server:5000/$i ; done

jmmills avatar Jul 13 '15 20:07 jmmills

+1 docker-compose is the best/easiest way to build a bundle of related docker images. Being able to easily push these resulting docker images to a registry is a natural extension of this workflow. My use-case is a development use-case where a bundle of images are built by Jenkins. I'd like to be able to easily push these images somewhere for developers to pull and use/run.

PeterRJones avatar Dec 08 '15 02:12 PeterRJones

:+1:

FelikZ avatar Dec 09 '15 10:12 FelikZ

+1

rashtao avatar Dec 11 '15 13:12 rashtao

+1

binaryanomaly avatar Dec 30 '15 20:12 binaryanomaly

+1

arthurbarros avatar Jan 08 '16 13:01 arthurbarros

+1 (and another +1 for a vote feature in github)

crackmac avatar Feb 04 '16 20:02 crackmac

+1

clemensberndt avatar Feb 09 '16 09:02 clemensberndt

+1

tgagor avatar Feb 26 '16 11:02 tgagor

+1

bonclay7 avatar Feb 26 '16 16:02 bonclay7

+1

wjpbiblio avatar Feb 26 '16 18:02 wjpbiblio

+1

karlatkinson avatar Feb 27 '16 10:02 karlatkinson

+1

paunin avatar Mar 01 '16 09:03 paunin

+1

koudaiii avatar Mar 01 '16 14:03 koudaiii

:+1:

groteck avatar Mar 01 '16 18:03 groteck

+1

rudijs avatar Mar 04 '16 14:03 rudijs

+1

scic avatar Mar 07 '16 10:03 scic

+1

dieswaytoofast avatar Mar 07 '16 17:03 dieswaytoofast

+1

norbertm121 avatar Mar 10 '16 20:03 norbertm121