You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
... by specifying all HostConfig at create time. This is required for Swarm integration: the cluster needs to know about config like links and volumes_from at create time so that it can co-schedule containers. This is particularly important because we rely on volumes_from when recreating containers - if the old/intermediate/new containers aren't co-scheduled, they'll fail to start.
Because the ability to specify HostConfig at create time was introduced in Docker 1.4, that's our new minimum version requirement. The install docs have been updated accordingly.
bfirsh
changed the title
Specify all HostConfig at create timeMake Swarm schedule containers on the same node which are linked togetherMar 13, 2015
bfirsh
changed the title
Make Swarm schedule containers on the same node which are linked togetherMake Swarm schedule containers on the same node when they are linked togetherMar 13, 2015
@bfirsh I believe the only issue was the api version change (API_VERSION = '1.15') would require docker 1.3.x, where as wercker was on 1.2.x right? I guess my comment should have said 1.3.x, I got the version wrong.
Built Docker Compose from the 'set-host-config-at-create-time' branch.
If I have any exposed ports declared in the docker-compose.yml file, Swarm will complain when doing a compose up: "unable to find a node with port xxxx available"
Scheduling single containers with bind ports on a swarm works.
This is required for Swarm integration: the cluster needs to know
about config like `links` and `volumes_from` at create time so that it
can co-schedule containers.
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
I've reverted the documentation changes. The API version has changed, but 1.3 is still the minimum version. (This is largely irrelevant anyway, as we'll be making 1.6 the minimum in the next release.)
Move prober metric GaugeOpts into prober.go to reduce copy-n-paste.
Signed-off-by: SuperQ superq@gmail.com
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
... by specifying all HostConfig at create time. This is required for Swarm integration: the cluster needs to know about config like
linksandvolumes_fromat create time so that it can co-schedule containers. This is particularly important because we rely onvolumes_fromwhen recreating containers - if the old/intermediate/new containers aren't co-scheduled, they'll fail to start.Because the ability to specify HostConfig at create time was introduced in Docker 1.4, that's our new minimum version requirement. The install docs have been updated accordingly.