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

Introduce docker version check into scope script, error on <1.5.0 #557

Merged
merged 2 commits into from
Oct 19, 2015

Conversation

tomwilkie
Copy link
Contributor

Fixes #548

@tomwilkie tomwilkie force-pushed the 548-docker-version-check branch from 2052f88 to 1b8ab12 Compare October 12, 2015 11:54
@tomwilkie tomwilkie modified the milestone: 0.9.0 Oct 18, 2015
MIN_DOCKER_VERSION=1.5.0

check_docker_version() {
if ! DOCKER_VERSION=$(docker -v | sed -n -e 's|^Docker version \([0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\).*|\1|p') || [ -z "$DOCKER_VERSION" ] ; then

This comment was marked as abuse.

This comment was marked as abuse.

@tomwilkie tomwilkie force-pushed the 548-docker-version-check branch from 1b8ab12 to 0b4841a Compare October 19, 2015 14:32
@tomwilkie tomwilkie force-pushed the 548-docker-version-check branch from 0b4841a to 163af5e Compare October 19, 2015 14:34
@tomwilkie
Copy link
Contributor Author

@paulbellamy PTAL

@paulbellamy
Copy link
Contributor

LGTM

tomwilkie added a commit that referenced this pull request Oct 19, 2015
Introduce docker version check into scope script, error on <1.5.0
@tomwilkie tomwilkie merged commit 520365a into master Oct 19, 2015
@tomwilkie tomwilkie deleted the 548-docker-version-check branch October 19, 2015 16:11
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.

2 participants