Skip to content
This repository was archived by the owner on Jun 20, 2024. It is now read-only.

Add a min docker version check #1298

Closed
wants to merge 1 commit into from
Closed

Conversation

achanda
Copy link
Contributor

@achanda achanda commented Aug 13, 2015

Bailing out early is better UX
Properly fixes #1297

Bailing out early is better UX
Properly fixes weaveworks#1297
@rade
Copy link
Member

rade commented Aug 14, 2015

This checks the Docker client version. It's the server version that matters. See #576 (comment) for the gory details (and why we haven't done this).

Though perhaps mandating client >=1.3.1 is the least worst option here.

# guard against https://github.com/docker/docker/issues/8632
if [ "$DOCKER_VERSION" = "1.3.0" ] ; then
echo "You are running Docker version $DOCKER_VERSION, which contains a bug that prevents weave from working properly. Please upgrade." >&2
FLAG=$(awk 'BEGIN { print ("$DOCKER_VERSION" < "$MIN_DOCKER_VERSION") ? "1" : "0" }')

This comment was marked as abuse.

This comment was marked as abuse.

rade added a commit that referenced this pull request Aug 18, 2015
@rade
Copy link
Member

rade commented Aug 18, 2015

superseded by #1326.

@rade rade closed this Aug 18, 2015
rade added a commit that referenced this pull request Aug 18, 2015
@achanda achanda deleted the version branch August 18, 2015 21:02
rade added a commit that referenced this pull request Aug 19, 2015
@rade rade modified the milestone: 1.1.0 Aug 29, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cannot launch weave instances
2 participants