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

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

Open
finch71 opened this issue Oct 31, 2024 · 4 comments
Open

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

finch71 opened this issue Oct 31, 2024 · 4 comments
Labels
enhancement New feature or request

Comments

@finch71
Copy link

finch71 commented Oct 31, 2024

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

@finch71 finch71 added the enhancement New feature or request label Oct 31, 2024
@jelly
Copy link
Member

jelly commented Oct 31, 2024

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

@finch71
Copy link
Author

finch71 commented Oct 31, 2024

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
Copy link
Member

jelly commented Nov 1, 2024

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
Copy link
Author

finch71 commented Nov 1, 2024

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

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

No branches or pull requests

2 participants