diff options
author | Daniel J Walsh <dwalsh@redhat.com> | 2020-10-17 06:44:34 -0400 |
---|---|---|
committer | Daniel J Walsh <dwalsh@redhat.com> | 2020-10-21 21:00:50 -0400 |
commit | 15345ce4c3b02389fe172f090549a50b95322753 (patch) | |
tree | b11beaae7a568ee9b2459c3f8070ffdefc659cb6 /test/system/250-systemd.bats | |
parent | 2bd920b00540280696d19dc95ab6e562aebd6b7d (diff) | |
download | podman-15345ce4c3b02389fe172f090549a50b95322753.tar.gz podman-15345ce4c3b02389fe172f090549a50b95322753.tar.bz2 podman-15345ce4c3b02389fe172f090549a50b95322753.zip |
podman create doesn't support creating detached containers
Detached containers and detach keys are only created with the podman run, i
exec, and start commands. We do not store the detach key sequence or the
detach flags in the database, nor does Docker. The current code was ignoreing
these fields but documenting that they can be used.
Fix podman create man page and --help output to no longer indicate that
--detach and --detach-keys works.
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'test/system/250-systemd.bats')
-rw-r--r-- | test/system/250-systemd.bats | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/system/250-systemd.bats b/test/system/250-systemd.bats index 9bd3e15a1..ac3ae2f98 100644 --- a/test/system/250-systemd.bats +++ b/test/system/250-systemd.bats @@ -42,7 +42,7 @@ function teardown() { cname=$(random_string) # See #7407 for --pull=always. - run_podman create --pull=always --name $cname --label "io.containers.autoupdate=image" --detach $IMAGE top + run_podman create --pull=always --name $cname --label "io.containers.autoupdate=image" $IMAGE top run_podman generate systemd --new $cname echo "$output" > "$UNIT_FILE" |