20.2. Container images with runlabels
Some Red Hat images include labels that provide pre-set command lines for working with those images. With podman container runlabel <label> command, you can use the podman command to execute the command defined in the <label> for the image.
Existing runlabels include:
- install: Sets up the host system before executing the image. Typically, this results in creating files and directories on the host that the container can access when it is run later.
- run: Identifies podman command line options to use when running the container. Typically, the options will open privileges on the host and mount the host content the container needs to remain permanently on the host.
- uninstall: Cleans up the host system after you finish running the container.