-
Notifications
You must be signed in to change notification settings - Fork 25
Is it possible for docker-compose-api and docker-compose to co-operate? #29
Comments
You may find some guidance by looking at https://github.com/docker/libcompose -- which is Docker Inc's first step at rewriting Docker Compose in golang. (Presently it's a Python app that is distributed as a monolithic binary.) Between the Python and the golang implementation, you can infer a "spec" that will allow your Ruby implementation to interop with the other to. I believe containers that represent running services are identified by a naming pattern (i.e. I'm the author of the |
I don't remember, from the top of my mind, any reason why a container started with this gem can't be deleted/removed by Docker client itself. Anyway, I'll check it out and give you guys a feedback... Thanks for the issue report! |
+1 to Docker going down the road of rewriting docker-compose in Golang, thanks for the reference @xeger :) Considering so many of their other tools are already Golang, makes sense from a code reuse standpoint. I am very close to considering the |
@xeger found the two things I am missing, created issues for each on the other gem repo: |
+1 Is there a REST api for Compose? On docker project has an open issue about it, take a look! |
+1 |
Currently if you spin up your infrastructure using
docker-compose-api
, and try tostop
orrm
it withdocker-compose
after, nothing occurs and the containers remain running.Should the two be able to co-exist and act on the same set/s of containers? or can they only operate independently? Being that both do not run persistently or maintain any state files, I would assume there's an inconsistency between the two projects of some sort preventing it at the moment?
docker-compose version: 1.6.2
The text was updated successfully, but these errors were encountered: