diff --git a/verify-docker-versions b/verify-docker-versions index 0af645e41..7af668ef0 100755 --- a/verify-docker-versions +++ b/verify-docker-versions @@ -29,7 +29,7 @@ compare_versions() { DOCKER_ENGINE_VERSION_STRING=$(sudo docker info 2>/dev/null | grep "Server Version") -DOCKER_ENGINE_VERSION_NEW_SCHEME_REGEX="Server Version: [0-9]+\.[0-9]+\.[0-9]+-[ce]e" +DOCKER_ENGINE_VERSION_NEW_SCHEME_REGEX="Server Version: ([0-9]{2,})|([2-9]+)\.[0-9]+\.[0-9]+" if [[ $DOCKER_ENGINE_VERSION_STRING =~ $DOCKER_ENGINE_VERSION_NEW_SCHEME_REGEX ]]; then