diff options
author | Valentin Rothberg <rothberg@redhat.com> | 2020-06-24 16:49:04 +0200 |
---|---|---|
committer | Matthew Heon <mheon@redhat.com> | 2020-06-25 15:41:13 -0400 |
commit | 68543bbece77d4cc478d98e45fae8b6296a96a3a (patch) | |
tree | 4274afd8804487058fc71f97cea1297027b106ce /test | |
parent | c69ce171aa75462e7201b404909634b9f97793fe (diff) | |
download | podman-68543bbece77d4cc478d98e45fae8b6296a96a3a.tar.gz podman-68543bbece77d4cc478d98e45fae8b6296a96a3a.tar.bz2 podman-68543bbece77d4cc478d98e45fae8b6296a96a3a.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')
-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 aa9ace332..7eea6e159 100644 --- a/test/system/030-run.bats +++ b/test/system/030-run.bats @@ -189,4 +189,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 |