From efe1176dd90ea38742c53c8588fbc83e6b9aefd6 Mon Sep 17 00:00:00 2001 From: Aditya R Date: Tue, 5 Jul 2022 12:06:47 +0530 Subject: specgen,run: support running container from valid manifest list Following PR adds support for running containers from a manifest list present on localstorage. Before this PR podman only supports running containers from valid images but not from manifest list. So `podman run -it --platform command` should become functional now and users should be able to resolve images on the bases of provided `--platform` string. Example ``` podman manifest create test podman build --platform linux/amd64,linux/arm64 --manifest test . podman run --rm --platform linux/arm64/v8 test uname -a ``` Closes: https://github.com/containers/podman/issues/14773 Signed-off-by: Aditya R --- test/e2e/build/Containerfile.with-platform | 1 + 1 file changed, 1 insertion(+) create mode 100644 test/e2e/build/Containerfile.with-platform (limited to 'test/e2e/build') diff --git a/test/e2e/build/Containerfile.with-platform b/test/e2e/build/Containerfile.with-platform new file mode 100644 index 000000000..3bb585a0a --- /dev/null +++ b/test/e2e/build/Containerfile.with-platform @@ -0,0 +1 @@ +FROM --platform=$TARGETPLATFORM alpine -- cgit v1.2.3-54-g00ecf