containers / podman

Podman: A tool for managing OCI containers and pods.
https://podman.io
Apache License 2.0
23.71k stars 2.41k forks source link

Quadlet .volume-file support for block devices #16896

Closed ingobecker closed 1 year ago

ingobecker commented 1 year ago

Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)

/kind feature

Description

I'm using podman volumes backed by block devices. While being available by the podman volume create command using the --opt device=/dev/... option i'm currently missing the option for quadlets .volume files. Something like:

[Volume]
User=root
Group=projectname
Label=org.test.Key=value
Device=/dev/...

would be really useful. Maybe other filesystem options might be good to have as well for true quadlet/podman volume create parity.

rhatdan commented 1 year ago

@alexlarsson @ygalblum @vrothberg PTAL

alexlarsson commented 1 year ago

This sounds like a good idea. Should be easy to do by any interested party too.

ingobecker commented 1 year ago

If it's ok for you, i could try to implement the feature as proposed.

rhatdan commented 1 year ago

You got it.

github-actions[bot] commented 1 year ago

A friendly reminder that this issue had no activity for 30 days.

rhatdan commented 1 year ago

@ingobecker any progress?