spiegel_podman/pkg/api/handlers/libpod
Jan Rodák cfe4d46d89
Optimize image loading for Podman machines
Add support for loading images directly from machine paths to avoid
unnecessary file transfers when the image archive is already accessible
on the running machine through mounted directories.

Changes include:
- New /libpod/local/images/load API endpoint for direct machine loading
- Machine detection and path mapping functionality
- Fallback in tunnel mode to try optimized loading first

This optimization significantly speeds up image loading operations
when working with remote Podman machines by eliminating redundant
file transfers for already-accessible image archives.

Fixes: https://issues.redhat.com/browse/RUN-3249
Fixes: https://github.com/containers/podman/issues/26321

Signed-off-by: Jan Rodák <hony.com@seznam.cz>
2025-08-19 12:33:15 +02:00
..
artifacts.go feat: Add artifact remove --all option 2025-08-13 23:00:20 +10:00
containers.go remove unused ShouldRestart() code 2025-06-26 19:37:13 +02:00
containers_create.go Fix handling of "r_limits" in Podman REST API /libpod/containers/create 2025-04-28 15:02:19 +02:00
containers_stats.go set !remote build tags where needed 2024-08-19 11:41:28 +02:00
generate.go Remove containers/common/pkg/config from pkg/util 2024-09-06 07:45:04 -04:00
healthcheck.go Add stopped status for HealthCheck 2025-03-03 17:09:30 +01:00
images.go Optimize image loading for Podman machines 2025-08-19 12:33:15 +02:00
images_pull.go set !remote build tags where needed 2024-08-19 11:41:28 +02:00
images_push.go set !remote build tags where needed 2024-08-19 11:41:28 +02:00
info.go set !remote build tags where needed 2024-08-19 11:41:28 +02:00
kube.go Add --no-hostname option 2025-01-15 06:51:32 -05:00
kube_test.go feat(libpod): support kube play tar content-type (#24015) 2024-09-27 15:40:55 +02:00
manifests.go Add type and annotations to artifact add 2025-01-31 09:53:03 -06:00
networks.go set !remote build tags where needed 2024-08-19 11:41:28 +02:00
play.go set !remote build tags where needed 2024-08-19 11:41:28 +02:00
pods.go update golangci-lint to v2.1.1 2025-04-14 19:33:42 +02:00
secrets.go Secret create - add ignore option to allow noop 2025-06-24 15:43:38 -04:00
swagger_spec.go set !remote build tags where needed 2024-08-19 11:41:28 +02:00
system.go Clean up after unexpectedly terminated build 2025-01-27 14:21:27 +01:00
volumes.go Merge pull request #26434 from mheon/import_export 2025-06-25 19:48:14 +00:00