container
container copied to clipboard
[Request]: Consistent, useful behavior for `--debug`.
Feature or enhancement request details
Tasks:
- [ ]
--debugis available every that it makes sense. - [ ] The global flags to which
--debugbelongs appear in consistent order relative to other options across all subcommands. - [ ] Where
--debugdoes appear, it provides clear and actionable output. If the debug output does appears elsewhere than the CLI output (e.g. OS logs), the CLI informs the user where the debug output can be found. - [ ] If debug is not present and the
CONTAINER_DEBUGenvironment variable is truthy, debug is enabled. - [ ]
CONTAINER_DEBUGincluded in help text for debug everywhere (or consider removing it everywhere if we switch to using env variables instead of user defaults for settings). At present all commands seem to display it exceptsystem start.
Right now these leaf commands do not have --debug:
- build
- registry login
- default unset
- default inspect
- volume [*]
- builder [*]
- system dns [*]
- system stop
- system status
- system kernel set
- help
Perhaps we can look at #360 as well while attending to this one.
Code of Conduct
- [x] I agree to follow this project's Code of Conduct
@jglogan Hello! We are a group from UT Austin looking for issues to work on for our Virtualization class. We would love to work on this issue if it still needs to be closed.
Hi! I’d like to work on the remaining parts of this issue (debug availability on missing subcommands, CONTAINER_DEBUG behavior, and help text consistency). Happy to take this if it’s still unassigned.