gradle-docker icon indicating copy to clipboard operation
gradle-docker copied to clipboard

able to run docker-compose files

Open jmcampanini opened this issue 8 years ago • 4 comments

would it be possible to add the ability to run a docker-compose file from this gradle plugin, similar to the docker-run plugin. it could also depend on the generating the YAML file from the template, etc.

jmcampanini avatar Feb 01 '17 07:02 jmcampanini

Frankly, for this plugin, I'd advocate for removing the ability to docker-run and not not add the ability to docker-compose.

On Wed, Feb 1, 2017, 02:24 Javier Campanini [email protected] wrote:

would it be possible to add the ability to run a docker-compose file from this gradle plugin, similar to the docker-run plugin. it could also depend on the generating the YAML file from the template, etc.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/palantir/gradle-docker/issues/105, or mute the thread https://github.com/notifications/unsubscribe-auth/AGOdwSUpRMYQYCiVrZWkaEAk1KVEVwvRks5rYDMFgaJpZM4Lzj9Q .

uschi2000 avatar Feb 01 '17 07:02 uschi2000

  • just for my background: why?
  • from your pov, would it make sense to move docker-run into it's own plugin/repo, and add docker-compose-run to that?

jmcampanini avatar Feb 01 '17 08:02 jmcampanini

+1 on this.

My use case: 1- created a java app and convert it to docker 2- use the template to insert my created docker image into the template 3- would like to run everything

jomach avatar Nov 14 '17 08:11 jomach

+1

It's great to see the docker compose tasks, but it seems weird there is no Gradle task to actually start/shut Docker Compose once the file is generated

jacek99 avatar Apr 03 '18 15:04 jacek99