spiegel_podman/cmd/podman/system
Paul Holzinger 49803be9ad [v4.4] system reset: show graphRoot/runRoot before removal
Backport of commit 6aaf6a2.

system reset it says it will delete containers, images, networks, etc...
However it will also delete the graphRoot and runRoot directories.
Normally this is not an issue, however in same cases these directories
were set to the users home directory or some other important system
directory.

As first step simply show the directories that are configured and thus
will be deleted by reset. As future step we could implement some
safeguard will will not delete some known important directories however
I tried to keep it simple for now.

[NO NEW TESTS NEEDED]

see #18349, #18295, and #19870

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
2023-09-06 15:25:03 +02:00
..
connection podman machine ssh handling 2022-09-26 18:35:01 -04:00
connection.go Add podman machine events 2022-05-03 13:49:01 -07:00
context.go Add support for podman context as alias to podman system connection 2022-09-15 08:17:15 -04:00
df.go system df: improve json output code 2023-01-03 18:12:06 +01:00
dial_stdio.go Fix stutters 2022-09-10 07:52:00 -04:00
events.go Add podman system events alias to podman events 2022-11-11 12:57:49 -05:00
info.go podman info: use report.Formatter over Template 2022-09-13 10:33:14 +02:00
migrate.go enable gocritic linter 2022-04-26 18:12:22 +02:00
prune.go Add podman system prune --external 2022-12-05 18:09:21 +01:00
renumber.go enable gocritic linter 2022-04-26 18:12:22 +02:00
reset.go [v4.4] system reset: show graphRoot/runRoot before removal 2023-09-06 15:25:03 +02:00
reset_machine.go podman system reset removed machines incorrectly 2022-05-04 10:31:42 -04:00
reset_machine_unsupported.go podman system reset removed machines incorrectly 2022-05-04 10:31:42 -04:00
service.go use cached containers.conf 2022-10-21 14:03:14 +02:00
service_abi.go podman service: close duplicated /dev/null fd 2022-12-20 17:17:37 +01:00
system.go bump go module to version 4 2022-01-18 12:47:07 +01:00
unshare.go cmd/podman: switch to golang native error wrapping 2022-06-30 12:58:57 +02:00
version.go podman version: use report.Formatter over Template 2022-09-13 10:33:15 +02:00