-
Notifications
You must be signed in to change notification settings - Fork 554
Open
Description
Is your feature request related to a problem? Please describe.
docker-compose cp can copy files/folders between a service container and the local filesystem
podman-compose seems to not have this command implemented.
$ podman-compose cp
...
podman-compose: error: argument command: invalid choice: 'cp' (choose from 'help', 'version', 'wait', 'systemd', 'pull', 'push', 'build', 'up', 'down', 'ps', 'run', 'exec', 'start', 'stop', 'restart', 'logs', 'config', 'port', 'pause', 'unpause', 'kill', 'stats', 'images')
I run scripts like this and it would be good to have this functionality in Podman
tar -czh ./data | docker compose cp - container:/tmpDescribe the solution you'd like
Let podman-compose cp do the same thing.
Describe alternatives you've considered
Since podman by itself does have a cp command, it's not impossible to add the service container prefix (and suffix) with something like this but it's not a very managed solution
tar -czh ./data | podman cp - ${PROJECT_NAME}-container-1:/tmpAdditional context
🚀 🌙
Metadata
Metadata
Assignees
Labels
No labels