podman-remote prune containers

enable the ability to prune containers from the remote-command.  this
also includes the system prune command.

Signed-off-by: baude <bbaude@redhat.com>
This commit is contained in:
baude
2019-04-20 12:58:59 -05:00
parent 135c8bef22
commit 2e800d63aa
9 changed files with 97 additions and 48 deletions

View File

@@ -46,7 +46,6 @@ func getContainerSubCommands() []*cobra.Command {
_execCommand,
_mountCommand,
_portCommand,
_pruneContainersCommand,
_refreshCommand,
_restoreCommand,
_runlabelCommand,
@@ -74,7 +73,6 @@ func getTrustSubCommands() []*cobra.Command {
// Commands that the local client implements
func getSystemSubCommands() []*cobra.Command {
return []*cobra.Command{
_pruneSystemCommand,
_renumberCommand,
_dfSystemCommand,
}