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 inspect [prop ...] #2915
Comments
I think a new inspect flag (again similar to what's proposed in #734) providing syntax similar to jq's would probably be more flexible and easier for non-Go-writing users to understand than the extremely low-hanging fruit in #734, while also satisfying this one pretty reasonably. /cc @jpetazzo (because this would be even better than just directly "embedding" jq) |
IMO even jq does way too much but I guess it depends on the use case. As far as shell scripting goes most of the stuff in jq wouldn't be too useful, and otherwise you have JSON.parse or similar at your disposal in most languages. Personally I think just access to the first container's props via simple dot notation or similar would be ok, but I would see how that might feel incomplete for some people |
Don't involve me in UX questions; I suck at that stuff :-) |
We implemented |
similar to #734, but it would help shell scripting primarily (since everything else has nice json parsing readily available usually) to allow something like:
understandable if it's out of scope, especially with inspect accepting multiple names
The text was updated successfully, but these errors were encountered: