spiegel_podman/cmd/podman/common
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
..
create.go {create,run} --replace 2020-06-15 15:53:51 +02:00
create_opts.go {create,run} --replace 2020-06-15 15:53:51 +02:00
createparse.go Cleanup network option parsing 2020-04-19 05:19:30 -04:00
default.go Fixup issues found by golint 2020-06-10 05:49:41 -04:00
netflags.go Merge pull request #5919 from rhatdan/v2 2020-04-21 16:53:53 -04:00
ports.go V2 enable ps tests 2020-04-29 15:51:37 -07:00
specgen.go Turn on More linters 2020-06-15 07:05:56 -04:00
util.go Merge pull request #6415 from vrothberg/systemd-new-pod 2020-06-11 10:56:11 -04:00
volumes.go Combine the code of dealing with 'readonly' and 'ro'. 2020-06-02 09:41:11 +08:00