-
Notifications
You must be signed in to change notification settings - Fork 23.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docker version check error #43639
Comments
Files identified in the description: If these files are inaccurate, please update the |
!component =lib/ansible/plugins/connection/docker.py |
I think it is querying the correct version. It doesn't know about the "dev" version, though. Do you use a custom build of the Docker server, or a development version? Usually, installed versions output something else, like If |
Files identified in the description: If these files are inaccurate, please update the |
Docker installation comes from the following recipe (for Exherbo Linux, similar to bash syntax): I guess version name comes from the VERSION file: https://github.com/docker/docker-ce/commits/master/VERSION However the v18.06.1-ce tag has no dev in it: https://github.com/docker/docker-ce/blob/v18.06.1-ce/VERSION |
It may be a problem with the recipe to build docker. It is using the function which calls the build script directly. Then, VERSION variable is not defined and takes |
@bitozoid Awesame! That's probably the best solution. |
has this been baked into a release yet? the latest im seeing on https://download.docker.com/linux/debian/dists/ is 10/5. im new to docker though, not sure how exherbo/virtualization relates to the overall moby/moby project or if i can roll this into my local system ahead of time |
@drewmullen about what releases are you speaking? Releases of docker? Regular docker releases never have |
needs_info |
@bitozoid This issue is waiting for your response. Please respond or the issue will be closed. |
@bitozoid You have not responded to information requests in this issue so we will assume it no longer affects you. If you are still interested in this, please create a new issue with the requested information. |
SUMMARY
Docker component is querying version the wrong way. The component asks for:
but IMHO should ask for:
ansible/lib/ansible/plugins/connection/docker.py
Line 139 in 32c0164
ISSUE TYPE
COMPONENT NAME
plugins/connection/docker.py
ANSIBLE VERSION
CONFIGURATION
OS / ENVIRONMENT
STEPS TO REPRODUCE
Just use a docker image as driver for molecule. May paste the hole project if needed.
EXPECTED RESULTS
No error.
ACTUAL RESULTS
The text was updated successfully, but these errors were encountered: