Skip to content

Commit

Permalink
Allow Docker 19.x
Browse files Browse the repository at this point in the history
  • Loading branch information
mwvaughn committed Aug 2, 2019
1 parent 4328e8c commit 893bbac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion abaco-deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ done
# Check existence and min version of Docker
command -v docker >/dev/null 2>&1 || { die "Docker is not installed or accessible"; }
DOCKER_VERSION="$(docker --version)"
if [[ ! "$DOCKER_VERSION" =~ "Docker version 17" ]] && [[ ! "$DOCKER_VERSION" =~ "Docker version 18" ]]; then
if [[ ! "$DOCKER_VERSION" =~ "Docker version 17" ]] && [[ ! "$DOCKER_VERSION" =~ "Docker version 18" ]] && [[ ! "$DOCKER_VERSION" =~ "Docker version 19" ]]; then
die "${DOCKER_VERSION} is not recent enough."
fi
# Verify the user is logged into a Registry
Expand Down

0 comments on commit 893bbac

Please sign in to comment.