anchor.diff:  
   == Container Garbage Collection
   
  -The policy for container garbage collection is based on three node setting:
  +The policy for container garbage collection is based on three node settings:
   
   [options="header",cols="1,3"]
   |===
  
positive.code: ----
  ====
  
  === Detection of Images for Deletion
  
  Two lists of images are retrieved in each garbage collector run:
  
  
negative.code: ----
  ====
  
  [[detecting-containers-for-deletion]]
  === Detecting Containers for Deletion
  
  ifdef::openshift-origin[]
  [NOTE]
  ====
  Currently, Docker and rkt are supported. The following only applies to Docker;
  rkt has its own garbage collection.
  ====
  endif::[]
  
  Each spin of the garbage collector loop goes through the following steps:
  
  1. Retrieve a list of available containers.
  2. Filter out all containers that are running or are not alive longer than
  the `*minimum-container-ttl-duration*` parameter.
  3. Determine pod membership of each remaining container.
  4. Remove all unidentified containers (with no pod membership).
  5. For each pod that contains more containers than the
  `*maximum-dead-containers-per-container*` parameter, sort the containers by
  creation time.
  6. Start removing containers from the oldest first until the
  `*maximum-dead-containers-per-container*` parameter is met.
  7. If there are still more containers in the list than the
  `*maximum-dead-containers*` parameter, the collector starts removing containers
  from each pod so the number of containers in each one is not greater than the
  average number of containers per pod, or
  `<all_remaining_containers>/<number_of_pods>`.
  8. If this is still not enough, sort all containers in the list and start
  removing containers from the oldest first until the `*maximum-dead-containers*`
  criterion is met.
  
  [[image-garbage-collection]]
  
  