github.com/rkt/rkt@v1.30.1-0.20200224141603-171c416fac02/Documentation/subcommands/rm.md (about)

     1  # rkt rm
     2  
     3  Cleans up all resources (files, network objects) associated with a pod just like `rkt gc`.
     4  This command can be used to immediately free resources without waiting for garbage collection to run.
     5  
     6  ```
     7  rkt rm c138310f
     8  ```
     9  
    10  Instead of passing UUID on command line, rm command can read the UUID from a text file.
    11  This can be paired with `--uuid-file-save` to remove pods by name:
    12  
    13  ```
    14  rkt run --uuid-file-save=/run/rkt-uuids/mypod ...
    15  rkt rm --uuid-file=/run/rkt-uuids/mypod
    16  ```
    17  
    18  ### Global options
    19  
    20  See the table with [global options in general commands documentation][global-options].
    21  
    22  
    23  [global-options]: ../commands.md#global-options