From f80461078e5b9deabf9b01e31ad88e00238b4059 Mon Sep 17 00:00:00 2001 From: Valentin Rothberg Date: Wed, 24 Jun 2020 16:49:04 +0200 Subject: podman run/create: support all transports Support all image transports in podman run/create. It seems we regressed with v2 on that. Also add tests to make sure we're not regressing again. Fixes: #6744 Signed-off-by: Valentin Rothberg --- test/system/030-run.bats | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'test/system') diff --git a/test/system/030-run.bats b/test/system/030-run.bats index eeecea2e5..0f69c66c9 100644 --- a/test/system/030-run.bats +++ b/test/system/030-run.bats @@ -201,4 +201,17 @@ echo $rand | 0 | $rand "podman will not overwrite existing cidfile" } +@test "podman run docker-archive" { + tmpdir=$PODMAN_TMPDIR/run-archive + mkdir -p $tmpdir + archive=$tmpdir/archive.tar + + run_podman save $IMAGE -o $archive + + run_podman run docker-archive:$archive ls + + # Also make sure create eats the archive as well + run_podman create docker-archive:$archive ls +} + # vim: filetype=sh -- cgit v1.2.3-54-g00ecf