cockpit-project / cockpit-podman

Cockpit UI for podman containers
GNU Lesser General Public License v2.1
449 stars 90 forks source link

Add option to copy data from image when creating volume #1900

Open finch71 opened 3 weeks ago

finch71 commented 3 weeks ago

Add option to copy data from image when creating container with mount path

jelly commented 3 weeks ago

Please elaborate what this should do? So far Cockpit there is a no volume creation support in Cockpit-podman.

finch71 commented 3 weeks ago

sorry, I am trying to create a container with a mount path and initialize the content at the mount path to be the content of the image.

jelly commented 3 weeks ago

That feels rather out of scope, the mount path are just bind mounts (not volumes) so you can easily copy data to the mount path without Cockpit.

finch71 commented 3 weeks ago

you can easily copy data to the mount path without Cockpit.

to do so i have to mount the dir first as a different name and then copy and then change the mount

however, cockpit does not allow me to change mount