Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do you have any documentation about downtime during fig up? #1035

Closed
bitliner opened this issue Feb 27, 2015 · 3 comments
Closed

Do you have any documentation about downtime during fig up? #1035

bitliner opened this issue Feb 27, 2015 · 3 comments

Comments

@bitliner
Copy link

I want to use fig.sh on production servers.

Do you have any more information about downtime?
Does fig up have a builtin mechanism to avoid downtime?

@aanand
Copy link

aanand commented Feb 27, 2015

First off: Fig is now Compose, and we don't yet recommend using it in production.

To answer your question, Compose has no built-in mechanisms for avoiding downtime. We plan to recommend a technique for zero-downtime deploys in future.

@munhitsu
Copy link

@aanand do you have any draft?
After having enough of running docker from a command line / from saltstack dockerio module, the current state of docker-composer makes me more than happy to use it for production.

What instantly brings a question on how to workaround "up" restarting containers when it's not needed? I am quite ok to hack something wrapping docker-composer or to extend docker-composer. Would you have any recommendation / what is your vision around using docker-composer in production?

Simple requirement: docker-composer up -d restarting container only on image version change
Medium: docker-composer up -d restarting container only on configuration change
Advanced: using docker-composer scale to scaling up and later down to perform smooth upgrade on version change

In fact a small switch "for scale down" to scale down starting from old (low suffix number) containers would solve the problem nicely.

Anyway - would be awesome to have a word on advice/guidance from you guys.

@dnephin
Copy link

dnephin commented Aug 31, 2015

There are a bunch of related tickets about deployment and production use. I've linked them all up to #1786. I'm going to close this issue so we can concentrate the discussion in that ticket.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants