toolbox/doc
Debarshi Ray 2a099e8049 Add a reset command
The 'reset' command is meant to factory reset the local Podman and
Toolbox installations. Every now and then early adopters and testers of
Toolbox have to do this when their local Podman state has gotten
irrecoverably broken due to some Podman bug.

It's useful to have a command that encapsulates all the steps to do a
factory reset, as opposed to having to spell them out separately. It's
easier to document, helps with user support, and can enable less opaque
error messages that suggest a way forward when nothing is working.

Since this command is meant to be used when the Podman installation is
completely broken, it must avoid using any Podman commands at all
costs. This is why it cannot use 'podman stop' to stop any running
containers, nor can it use 'podman unshare' to delete
~/.local/share/containers when running rootless. Instead, it relies on
the user rebooting the machine for the former, and uses newgidmap(1),
newuidmap(1) and unshare(1) to reimplement 'podman unshare' for the
latter.

Note that when running as root, some care has been taken to avoid
removing directories that might be owned by the operating system. eg.,
on Fedora /var/lib/containers/sigstore is owned by the
containers-common RPM.

https://github.com/containers/toolbox/pull/295
2019-10-21 16:27:41 +02:00
..
meson.build Add a reset command 2019-10-21 16:27:41 +02:00
toolbox-create.1.md Add short variants for various options in 'create' and 'enter' 2019-04-12 16:22:42 +02:00
toolbox-enter.1.md doc/toolbox-enter: Mention the 'initial setup' and fallback behaviour 2019-04-30 12:19:36 +02:00
toolbox-help.1.md Improve the help or usage output 2019-09-04 20:54:13 +02:00
toolbox-init-container.1.md Unbreak setting up /home as a symbolic link 2019-06-17 23:28:34 +02:00
toolbox-list.1.md Add manuals 2019-03-01 10:27:09 +01:00
toolbox-reset.1.md Add a reset command 2019-10-21 16:27:41 +02:00
toolbox-rm.1.md Add rm and rmi commands 2019-03-05 16:17:46 +01:00
toolbox-rmi.1.md doc/toolbox-rmi: Fix typo 2019-03-14 14:06:57 +01:00
toolbox-run.1.md doc/toolbox-run: Style fixes 2019-05-14 17:26:02 +02:00
toolbox.1.md Add a reset command 2019-10-21 16:27:41 +02:00