-
Notifications
You must be signed in to change notification settings - Fork 659
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
Nested exceptions when the Docker socket is unreachable #3815
Comments
Same error on
WorkaroundIn Docker's Desktop, Advanced settings, Allow the default Docker socket to be used. |
Docker Desktop and Colima both place the docker socket in a non-standard location, meaning that molecule's docker plugin is unable to find it by default For Colima you can For Docker Desktop you can But the original request to provide a clearer error message in these cases is still valid - perhaps along with a link to suggested fixes like the above |
Upon further investigation, the error is actually in the molecule-plugins repo and is caused by expecting an error from |
Thanks for @alicekaerast 's ansible-community/molecule-plugins#196 |
Issue Type
Molecule and Ansible details
Molecule installation method (one of):
Ansible installation method (one of):
Detail any linters or test runners used:
Desired Behavior
Please catch these (the primary as well as the nested) exceptions and print a meaningful error message with the path of the missing socket.
Actual Behaviour
molecule converge
is failing probably because the docker socket is missing. The failing due to the missing socket isn't unexpected, but that's triggers a exception and additionally 3 nested exceptions - that's an unexpected behaviour.The text was updated successfully, but these errors were encountered: