docker / cli

The Docker CLI
Apache License 2.0
4.98k stars 1.94k forks source link

Need more documentation for "startup-order" / "rollback-order" #795

Open thaJeztah opened 6 years ago

thaJeztah commented 6 years ago

Docker 17.05 added an option to start new instances of a service before killing the previous one (see https://github.com/moby/moby/pull/30261, https://github.com/moby/moby/issues/31955), however, documentation is very minimal on this feature.

We should add a better description, and example to show its use.

/cc @mistyhacks

ahh-docker commented 5 years ago

@thaJeztah Is still valid with 18.09? Thanks.

olejorgenb commented 3 weeks ago

I'd say this issue is still valid. It's not really possible to understand in details how the 'start-first' option interacts with the load-balancer for instance. You can guess it work in the sane way, but there's no way to tell from the docs unless I'm missing something.

Incorporating info from https://github.com/moby/moby/issues/30321 should be done IMO.