Skip to content

[Bug]: Cannot start container cli with the --debug argument #993

@cassis2k

Description

@cassis2k

I have done the following

  • I have searched the existing issues
  • If possible, I've reproduced the issue using the 'main' branch of this project

Steps to reproduce

I wanted to activate the log level at debug with the --debug argument but it doesn’t work

From the release version:

container system start --app-root "/Users/cassis2k/Library/Application Support/com.apple.container/" --install-root "/usr/local/" --debug
Error: Unknown option '--debug'. Did you mean '--debug'?
Usage: container system start [--app-root ] [--install-root ] [--enable-kernel-install] [--disable-kernel-install] [--debug]
See 'container system start --help' for more information.

I cloned the repository and retry:

container system start --app-root "/Users/cassis2k/Library/Application Support/com.apple.container/" --install-root "/usr/local/" --debug
Warning! Running debug build. Performance may be degraded.
Error: Unknown option '--debug'. Did you mean '--debug'?
Usage: container system start [--app-root ] [--install-root ] [--enable-kernel-install] [--disable-kernel-install] [--debug]
See 'container system start --help' for more information.

Current behavior

Cannot start container cli with the --debug argument

Expected behavior

Execute container cli with the --debug flag to activate debug logs

Environment

- OS: 26.2
- Xcode: 26.2
- Container: 0.7.1 (build: release, commit: 420be74)
- Container: 0.7.1-19-g5064b0f (build: debug, commit: 5064b0f)

Relevant log output

Error: Unknown option '--debug'. Did you mean '--debug'?

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions