mirror of
https://github.com/containers/podman.git
synced 2025-12-15 11:42:28 +08:00
Merge pull request #7636 from vrothberg/fix-7407
run/create: record raw image
This commit is contained in:
@@ -41,7 +41,8 @@ function teardown() {
|
||||
fi
|
||||
|
||||
cname=$(random_string)
|
||||
run_podman create --name $cname --label "io.containers.autoupdate=image" --detach $IMAGE top
|
||||
# See #7407 for --pull=always.
|
||||
run_podman create --pull=always --name $cname --label "io.containers.autoupdate=image" --detach $IMAGE top
|
||||
|
||||
run_podman generate systemd --new $cname
|
||||
echo "$output" > "$UNIT_FILE"
|
||||
|
||||
Reference in New Issue
Block a user