This change adds a shield on Docker version check. This check is made using semver lib, which can throw an exception if the current version isn't in its supported format.
If semver fails, azk will try to extract the first three version blocks from the String: 1.8.1.ff84, as instance, should become 1.8.1, which is a valid version.
Finally, the user still can force the Docker version by setting the environment variable AZK_DOCKER_VERSION.
This closes #527.
This change adds a shield on Docker version check. This check is made using semver lib, which can throw an exception if the current version isn't in its supported format.
If semver fails,
azk
will try to extract the first three version blocks from the String:1.8.1.ff84
, as instance, should become1.8.1
, which is a valid version.Finally, the user still can force the Docker version by setting the environment variable
AZK_DOCKER_VERSION
.