mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-11-06 16:07:24 +00:00
Add a `--replace` flag to the `pod create` command. If another pod 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 pod may not be removed by a sytemd unit anymore. The `--replace` flag allows for supporting crashes. Note that the `--replace` flag does not require the `--name` flag to be set, so it can be set unconditionally in `podman generate systemd`. Signed-off-by: Valentin Rothberg <rothberg@redhat.com> |
||
|---|---|---|
| .. | ||
| create.go | ||
| exists.go | ||
| inspect.go | ||
| kill.go | ||
| pause.go | ||
| pod.go | ||
| prune.go | ||
| ps.go | ||
| restart.go | ||
| rm.go | ||
| start.go | ||
| stats.go | ||
| stop.go | ||
| top.go | ||
| unpause.go | ||