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

Arguments aren't passed through on pod creation #819

Open
jayhemsley opened this issue Sep 27, 2024 · 1 comment
Open

Arguments aren't passed through on pod creation #819

jayhemsley opened this issue Sep 27, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@jayhemsley
Copy link

I'm using Pods (v2.0.3) via Flatpak on Fedora 41.

I'm not sure if it's a bug or if I'm just doing it incorrectly, but it seems that arguments on the create pod details tab aren't being passed through on creation.

For example, I'm trying to pass -p 8080:80 to the pod on creation and it doesn't work.

I've tried all variations like p 8080:80, p=8080:80 etc and none of them are applied on creation. When I create a pod via CLI with podman pod create -p 8080:80 --name test-pod, podman ps -a -p correctly shows that the pod has those ports bound to it. I tried doing it under the infra tab as well and neither work or apply any options.

@jayhemsley jayhemsley added the bug Something isn't working label Sep 27, 2024
@LogExE
Copy link

LogExE commented Oct 3, 2024

Looks like arguments rather get passed to command inside container, see pics.
Screenshot from 2024-10-03 10-18-22
Screenshot from 2024-10-03 10-15-44
The application probably needs some way to pass custom parameters to podman run command, like, for example, to pass gpu device (--device nvidia.com/gpu=all --security-opt=label=disable) or to choose container network (--network example-network).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants