containers / podman-compose

a script to run docker-compose.yml using podman
GNU General Public License v2.0
5.01k stars 477 forks source link

Feature request: save and load images #846

Open hadmut opened 7 months ago

hadmut commented 7 months ago

Is your feature request related to a problem? Please describe.

It sometimes makes sense to store a backup/copy/archive of the images built for a podman-compose/docker-compose project, and to be able to load them from some backup/archive/storage , e.g. to ensure it is exactly the same or for offline work (e.g. when sitting in an airplane for hours without internet)

podman supports save and load commands

podman-compose doesn't.

Although it is possible to use podman, it's a little bit cumbersome and error-prone to do it manually.

Would be nice to be able to load images from a directory in a simple way.

Describe the solution you'd like

I'd like to have podman-compose save and podman-compose load

doing the same like podman save and podman load, but for all images mentioned in the Containerfile, either for pull or build, and with the correct image names as created by podman-compose.

Describe alternatives you've considered using podman save and podman load manually, but this is awkward.