Add images command to see what's on the server for the service repository

This commit is contained in:
David Heinemeier Hansson
2023-02-02 16:53:46 +01:00
parent 212d5ec783
commit c8f673ef7c
2 changed files with 9 additions and 0 deletions

View File

@@ -85,6 +85,10 @@ class Mrsk::Commands::App < Mrsk::Commands::Base
docker :container, :prune, "-f", *service_filter
end
def list_images
docker :image, :ls, config.repository
end
def remove_images
docker :image, :prune, "-a", "-f", *service_filter
end