-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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 -H /var/run/docker.sock always fail #1801
Comments
possible suspect #1722 |
I thing I know what is wrong here, will look at it today |
Apart from this issue (which I will fix), why is |
It's in Line 73 in 48bd4c6
I suspect this is technical debt, from the time that the cli and daemon were in the same repository (and same binary), and some flags were re-used for the cli and daemon-cli 😓 I think all of |
Are you aware of any other list-based global options I could use for an e2e (since if the global |
hm... no, don't think there's any 🤔 |
OK, nevermind, I'll cope ;-) |
These currently fail. Signed-off-by: Ian Campbell <[email protected]>
These currently fail. Signed-off-by: Ian Campbell <[email protected]>
Description
In master, top level flags are parsed twice. This is not a problem for single value flags, but for lists (such as
-H
), it create duplicate values, which cause issues. As an example, setting-H
currently breaks the CLISteps to reproduce the issue:
docker -H /var/run/docker.sock version
Describe the results you received:
Describe the results you expected:
normal version output
Output of
docker version
:current master
cc @thaJeztah @silvin-lubecki @vdemeester @ijc
The text was updated successfully, but these errors were encountered: