Skip to content
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

podlet generate pod <podname> fails with error: unexpected argument '--name' found #136

Open
mikelpr opened this issue Jan 5, 2025 · 2 comments

Comments

@mikelpr
Copy link

mikelpr commented Jan 5, 2025

attempting to use podlet genereate pod fails due to unexpected --name somehow:

# podlet generate pod pod_funkwhale
Error: 
   0: error creating Quadlet file(s) from an existing object
   1: error parsing `podman pod create` command from `["podman", "pod", "create", "--name=pod_funkwhale", "--infra=false", "--share="]`
   2: error: unexpected argument '--name' found

        tip: to pass '--name' as a value, use '-- --name'

   2: Usage: create [OPTIONS] <NAME>

      For more information, try '--help'.
   2: 

Location:
   src/cli/generate.rs:277

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.

I don't really understand what's going on. I tried to run podman pod create --name=pod_funkwhale --infra=false --share= and it fails because it already exists, not because of unexpected argument.

podlet 0.3.0

@Akruidenberg
Copy link

Same problem. Looks like a problem with podman-compose

@hmng
Copy link

hmng commented Jan 29, 2025

Same here :-(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants