Skip to content

[Bug]: container create doesn't accept options process arguments. #395

@jglogan

Description

@jglogan

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

If I use any CLI option (such as --bind in the below example) in the process arguments of container create, the CLI tries to handle the options as subcommand options, instead of just leaving them as process args.

Current behavior

% container create -it --rm --network foo --name web python:slim python3 -m http.server --bind 0.0.0.0 8000
Error: Unknown option '--bind'. Did you mean '--uid'?
Usage: container create [<options>] <image> [<arguments> ...]
  See 'container create --help' for more information.

Expected behavior

container create should succeed and container start should successfully start the container.

Environment

- OS: macOS 26 preview
- Xcode: 26 beta
- Container: main

Relevant log output

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