Skip to content

Conversation

@aanand
Copy link

@aanand aanand commented Dec 31, 2014

Per moby/moby#9694, here's the start of the Docker Compose roadmap.

Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe this implies the config format will be changing as well (to support the version field) ?

@bfirsh
Copy link

bfirsh commented Dec 31, 2014

LGTM

bfirsh added a commit that referenced this pull request Dec 31, 2014
@bfirsh bfirsh merged commit d399d38 into docker:master Dec 31, 2014
@thaJeztah
Copy link
Member

Nice writeup. Some things I don't see mentioned;

  • Integration with docker swarm
  • What will the new binary be named? docker-compose or simply compose? Asking this, because in prior proposals I think there was a strong preference to use a Git-like approach to "decorate" docker with separate binaries. (I.e., being able to call docker compose, but have a separate docker-compose binary).

@bfirsh
Copy link

bfirsh commented Dec 31, 2014

compose-your-future

@bfirsh
Copy link

bfirsh commented Dec 31, 2014

@thaJeztah Sorry, that was a bit of a hasty merge.

I will be submitting a subsequent PR to address some of those things.

@thaJeztah
Copy link
Member

@bfirsh 😄 was just about to ask yeah. np. Let me grab the occasion to wish you, @aanand and @dnephin a very good 2015 (and family, friends and all others here, of course!)

@aanand aanand deleted the roadmap branch January 2, 2015 15:05
@aanand
Copy link
Author

aanand commented Jan 2, 2015

The binary name is TBD, yes.

My problem with Git-style subcommands is that they're lengthy: imagine having to type docker compose, docker compose build, docker compose rm web etc. I'd much prefer a name both shorter and un-prefixed.

My first thoughts were dc or cmp, but both are standard Unix tools. Maybe dcm?

@thaJeztah
Copy link
Member

I'd much prefer a name both shorter

Agreed - it is a tough one to pick right, docker compose obviously has the advantage that it "communicates" the relation with 'docker', but I understand your intent to keep it short.

Perhaps it should be docker compose, and install some aliases by default?

Perhaps really far-fetched, but what if "docker compose" would start an interactive shell? e.g.

$docker compose
$$ compose [myproject] > start web
Starting myproject_web_1…
$$ compose [myproject] > ps

Name              Command    State   Ports
-----------------------------------------------------------------
myproject_web_1   /start.sh  Up      0.0.0.0:49160->80/tcp

@gabrielgrant
Copy link

@thaJeztah Doesn't seem that far-fetched (cf. git annex shell)

@thaJeztah
Copy link
Member

@gabrielgrant after writing it, I must say I actually liked the idea yes 😄 but not sure how easy it is to implement. Some thought should be given to UX and interaction with other processes (it may be cumbersome to have to "exit" the Compose-shell to for other tasks?). There should be a clear definition of what is possible inside the "compose shell", and what not.

@marksteve
Copy link

Are there also plans to port fig/compose completely to go?

@aanand
Copy link
Author

aanand commented Jan 6, 2015

@marksteve Nope - see moby/moby#9694. We're going to continue from the Fig codebase.

@bfirsh
Copy link

bfirsh commented Jan 6, 2015

@marksteve here is some more papertrail about writing in Go: #94

@nathanleclaire and others have been working on it.

@marksteve
Copy link

👍

yuval-k pushed a commit to yuval-k/compose that referenced this pull request Apr 10, 2015
Docker Compose roadmap
Signed-off-by: Yuval Kohavi <yuval.kohavi@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants