toolbox/doc/toolbox-rmi.1.md
Debarshi Ray 936a157117 doc, test/system: Fix the titles of the manuals
Currently, the titles of the manuals are rendered with a pair of empty
parentheses and no section title:
  toolbox(1)()                                              toolbox(1)()

  NAME
         toolbox - Tool for containerized command line environments...

However, they should be:
  toolbox(1)             General Commands Manual              toolbox(1)

  NAME
         toolbox - Tool for containerized command line environments...

This is because the troff generated by go-md2man from Markdown has a
faulty invocation of the .TH macro [1]:
  .nh
  .TH toolbox(1)
  .SH NAME
  .PP
  toolbox - Tool for containerized command line environments on Linux

It should be:
  .nh
  .TH toolbox 1
  .SH NAME
  .PP
  toolbox - Tool for containerized command line environments on Linux

Original patch from Andrew Denton for Podman [2].

[1] https://www.gnu.org/software/groff/manual/groff.html

[2] Podman commit 63c779a857b55b00
    https://github.com/containers/podman/pull/15621

https://github.com/containers/toolbox/pull/1210
2023-01-12 18:45:00 +01:00

1.1 KiB

% toolbox-rmi 1

NAME

toolbox-rmi - Remove one or more toolbox images

SYNOPSIS

toolbox rmi [--all | -a] [--force | -f] [IMAGE...]

DESCRIPTION

Removes one or more toolbox images from the host. The image should have been created using the toolbox create command.

A toolbox image is an OCI image. Therefore, toolbox rmi can be used interchangeably with podman rmi.

OPTIONS

The following options are understood:

--all, -a

Remove all toolbox images. It can be used in conjunction with --force as well.

--force, -f

Force the removal of toolbox images that are used by toolbox containers. The dependent containers will be removed as well.

EXAMPLES

Remove a toolbox image named localhost/fedora-toolbox-gegl:36

$ toolbox rmi localhost/fedora-toolbox-gegl:36

Remove all toolbox images, but not those that are used by containers

$ toolbox rmi --all

Remove all toolbox images and their dependent containers

$ toolbox rmi --all --force

SEE ALSO

toolbox(1), podman(1), podman-rmi(1)