docker-workflow-plugin
docker-workflow-plugin copied to clipboard
DockerClient.version() falls back to trying '--version'
Hello.
As far as I can tell, only '-v' option is used to determine the docker version.
I added a fallback to check again for '--version', since I'm trying to make this run with podman instead of docker. Podman does not support the '-v' flag.
Best, Renat
The -v shorthand is available with podman 1.6 (again) . However, as @95jonpet I'd prefer --version, especially to avoid confusion with --volume's shorthand.
Fully agree, I commited the change to only check for --version.
ping @rsandell