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

quadlet doesn't support --mount option supported by podman run #17632

Closed
ricardojoaoreis opened this issue Feb 26, 2023 · 4 comments · Fixed by #17656
Closed

quadlet doesn't support --mount option supported by podman run #17632

ricardojoaoreis opened this issue Feb 26, 2023 · 4 comments · Fixed by #17656
Assignees
Labels
locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. quadlet

Comments

@ricardojoaoreis
Copy link

@ygalblum
Copy link
Contributor

Thanks for reporting this issue.
Yes, Quadlet does not support all the different arguments supported by podman run. Having said that, it supports the key PodmanArgs that provided the means to pass any argument that is not directly supported by Quadlet.

@ricardojoaoreis
Copy link
Author

ricardojoaoreis commented Feb 27, 2023

That's how I got around it, but the UX suffers a bit since you can't define a mount.volume unit and then reference it like Mount=mount.volume:/tmp,type=volume for example.

@ygalblum
Copy link
Contributor

I did not think about this use case. I'll take a look.

@ygalblum ygalblum self-assigned this Feb 27, 2023
@ricardojoaoreis
Copy link
Author

ricardojoaoreis commented Feb 27, 2023

To be honest, my knowledge with podman is quite limited, and this may only apply to --mount with type=volume option and not any of the others. Still, the option of being able to define a .volume unit and reference it on the .container unit as is the case for the Volume directive seems to make sense, especially since by default the name of the generated volume will have systemd- prepended to it.

@github-actions github-actions bot added the locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. label Aug 31, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 31, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. quadlet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants