Scroll to navigation

FLAKE-CTL-PODMAN-REMOVE(8)() FLAKE-CTL-PODMAN-REMOVE(8)()

Name

FLAKE-CTL-PODMAN-REMOVE(8) -

NAME

flake-ctl podman remove - Remove application registration and/or entire container

SYNOPSIS

USAGE:

flake-ctl podman remove <--container <CONTAINER>|--app <APP>> OPTIONS:
--app <APP>
--container <CONTAINER>
--force


DESCRIPTION

Remove registration(s). The command operates in two modes:

1.
Remove an application registration provided via --app

In this mode the command deletes the specified application if it is a link pointing to /usr/bin/podman-pilot. It then also deletes the application configuration from /usr/share/flakes

2.
Remove a container including all its registered applications via --container

In this mode the command deletes all application registrations using the specified container. At the end also the specified container will be removed from the local podman registry


OPTIONS

Application absolute path to be removed from host
Container basename as provided via podman images
Force removing the registration, do not raise an error if no registration exists. Do not apply the check for a flake registered app and remove when present. Use with care !

FILES

/usr/share/flakes

EXAMPLE

$ flake-ctl podman remove --app /usr/bin/apt-get
$ flake-ctl podman remove --container SOME_APT_CONTAINER


AUTHOR

Marcus Schäfer

COPYRIGHT

(c) 2022, Elektrobit Automotive GmbH (c) 2023, Marcus Schäfer