mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-08-13 04:09:36 +00:00
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>
|
||
|---|---|---|
| .. | ||
| create.go | ||
| create_opts.go | ||
| createparse.go | ||
| default.go | ||
| netflags.go | ||
| ports.go | ||
| specgen.go | ||
| util.go | ||
| volumes.go | ||