.TH "rkt - App Container runtime" "1" "Dec 2016" "Auto generated by spf13/cobra" "" .nh .ad l .SH NAME .PP rkt\-gc \- Garbage collect rkt pods no longer in use .SH SYNOPSIS .PP \fBrkt gc\fP [OPTIONS] .SH DESCRIPTION .PP This is intended to be run periodically from a timer or cron job. .PP Garbage collection is a 2\-step process. First, stopped pods are moved to the garbage by one invocation of the gc command. A subsequent invocation will clean up the pod, assuming the pod has been in the garbage for more time than the specified grace period. .PP Use \-\-grace\-period=0s to effectively disable the grace\-period. .SH OPTIONS .PP \fB\-\-expire\-prepared\fP=24h0m0s duration to wait before expiring prepared pods .PP \fB\-\-grace\-period\fP=30m0s duration to wait before discarding inactive pods from garbage .PP \fB\-\-mark\-only\fP[=false] if set to true, then the exited/aborted pods will be moved to the garbage directories without actually deleting them, this is useful for marking the exit time of a pod .SH OPTIONS INHERITED FROM PARENT COMMANDS .PP \fB\-\-debug\fP[=false] print out more debug information to stderr .PP \fB\-\-dir\fP=/var/lib/rkt rkt data directory .PP \fB\-\-insecure\-options\fP=none comma\-separated list of security features to disable. Allowed values: "none", "image", "tls", "ondisk", "http", "pubkey", "capabilities", "paths", "seccomp", "all\-fetch", "all\-run", "all" .PP \fB\-\-local\-config\fP=/etc/rkt local configuration directory .PP \fB\-\-system\-config\fP=/usr/lib/rkt system configuration directory .PP \fB\-\-trust\-keys\-from\-https\fP[=false] automatically trust gpg keys fetched from https .PP \fB\-\-user\-config\fP= user configuration directory .SH SEE ALSO .PP \fBrkt(1)\fP .SH HISTORY .PP 8\-Dec\-2016 Auto generated by spf13/cobra