Sha256: d15346a775a15d1bfd5e5f23a0d155259d05ac625b869fc80254ea16d5488b50
Contents?: true
Size: 892 Bytes
Versions: 36
Compression:
Stored size: 892 Bytes
Contents
Ufo comes with a handy command to clean up old images that ufo generates. Ufo only deletes images from the docker daemon and does not remove any images from any registry. To use it you pass the base portion of the image name to the command. Say you currently have these images: org/repo:ufo-2016-10-15T19-29-06-88071f5 org/repo:ufo-2016-10-16T19-29-06-88071f5 org/repo:ufo-2016-10-17T19-29-06-88071f5 org/repo:ufo-2016-10-18T19-29-06-88071f5 To clean them up and keep the 3 more recent: $ ufo docker clean org/repo Cleaning up docker images... Running: docker rmi org/repo:ufo-2016-10-15T19-29-06-88071f5 This will remove org/repo:ufo-2016-10-15T19-29-06-88071f5. By default the clean command keeps the most 3 recent docker images. If you would like to override this setting you can use the `--keep` option. Example: ufo docker clean org/repo --keep 5
Version data entries
36 entries across 36 versions & 1 rubygems