diff options
author | Valentin Rothberg <rothberg@redhat.com> | 2020-06-24 16:49:04 +0200 |
---|---|---|
committer | Valentin Rothberg <rothberg@redhat.com> | 2020-06-24 17:20:04 +0200 |
commit | f80461078e5b9deabf9b01e31ad88e00238b4059 (patch) | |
tree | f622f2e96fe8cb857fbe491f2a271d947c87de0b /test/system | |
parent | 6bc5dcc2829c2bc08923df0b50f71582d5558fe8 (diff) | |
download | podman-f80461078e5b9deabf9b01e31ad88e00238b4059.tar.gz podman-f80461078e5b9deabf9b01e31ad88e00238b4059.tar.bz2 podman-f80461078e5b9deabf9b01e31ad88e00238b4059.zip |
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 <rothberg@redhat.com>
Diffstat (limited to 'test/system')
-rw-r--r-- | test/system/030-run.bats | 13 |
1 files changed, 13 insertions, 0 deletions
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 |