Lower Docker req to 19, make sure we test locally #115

Closed
3wordchant wants to merge 1 commits from docker-version-req into main
1 changed files with 2 additions and 2 deletions

4
abra
View File

@ -479,9 +479,9 @@ require_yq() {
}
require_docker_version (){
major_version=$(docker version --format "{{.Server.Version}}" | cut -d'.' -f1)
major_version=$(DOCKER_CONTEXT=default docker version --format "{{.Server.Version}}" | cut -d'.' -f1)
if [[ "$major_version" -lt 20 ]]; then
if [[ "$major_version" -lt 19 ]]; then
error "This tool requires Docker v20 or greater. Please upgrade your Docker installation"
exit 1
fi