spiegel_podman/cmd/podman/containers
Valentin Rothberg fa3b8a75c4 {create,run} --replace
Add a `--replace` flag to the `container {create,run}` commands.
If another container with the same name already exists, it will
be replaced and removed.

Adding this flag is motivated by #5485 to make running Podman in systemd
units (or any other scripts/automation) more robust.  In case of a
crash, a container may not be removed by a sytemd unit anymore.  The
`--replace` flag allows for supporting crashes.

Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2020-06-15 15:53:51 +02:00
..
attach.go Fix Id->ID where possible for lint 2020-06-10 05:49:41 -04:00
checkpoint.go Fix checkpoint --leave-running 2020-05-14 14:29:04 +02:00
cleanup.go Enable cleanup processes for detached exec 2020-05-20 16:11:05 -04:00
commit.go fix commands without input 2020-04-30 15:10:49 -05:00
container.go Fixup issues found by golint 2020-06-10 05:49:41 -04:00
cp.go v2 podman unshare command 2020-05-08 13:28:11 -05:00
create.go {create,run} --replace 2020-06-15 15:53:51 +02:00
diff.go Fix Id->ID where possible for lint 2020-06-10 05:49:41 -04:00
exec.go Fix Id->ID where possible for lint 2020-06-10 05:49:41 -04:00
exists.go system tests must pass 2020-04-28 15:17:00 -05:00
export.go fix commands without input 2020-04-30 15:10:49 -05:00
init.go v2 podman unshare command 2020-05-08 13:28:11 -05:00
inspect.go Ensure that image/container inspect are specialized 2020-06-03 14:25:45 -04:00
kill.go fix commands without input 2020-04-30 15:10:49 -05:00
list.go V2 enable ps tests 2020-04-29 15:51:37 -07:00
logs.go V2 enable remote logs and testing 2020-05-22 07:51:29 -07:00
mount.go Turn on More linters 2020-06-15 07:05:56 -04:00
pause.go podmanv2 container subcommands 2020-04-21 08:39:54 -05:00
port.go add port to podman remote command 2020-05-11 14:09:41 -05:00
prune.go Fix errors found when comparing podman v1 --help versus V2 2020-05-04 14:16:34 -04:00
ps.go Turn on More linters 2020-06-15 07:05:56 -04:00
restart.go podmanv2 container subcommands 2020-04-21 08:39:54 -05:00
restore.go Podman V2 birth 2020-04-16 15:53:58 -05:00
rm.go {create,run} --replace 2020-06-15 15:53:51 +02:00
run.go {create,run} --replace 2020-06-15 15:53:51 +02:00
runlabel.go Attempt to turn on additional build tests 2020-05-22 12:55:23 -04:00
start.go v2 podman remote attach, start, and run 2020-05-15 10:09:45 -05:00
stats.go Turn on More linters 2020-06-15 07:05:56 -04:00
stop.go Add parallel operation to podman stop 2020-06-05 16:18:53 -04:00
top.go Fix build on OS X 2020-05-20 18:24:56 -04:00
unmount.go enable rootless mount tests 2020-05-11 13:03:09 +02:00
unpause.go BATS help test: check usage string 2020-05-05 07:19:58 -06:00
utils.go Podman V2 birth 2020-04-16 15:53:58 -05:00
wait.go Fix Id->ID where possible for lint 2020-06-10 05:49:41 -04:00