Merge pull request #457 from basecamp/remove-dangling-image-filter

Remove the `dangling=true` filter
This commit is contained in:
Donal McBreen
2023-09-12 11:21:50 +01:00
committed by GitHub
4 changed files with 4 additions and 4 deletions

View File

@@ -7,7 +7,7 @@ class Kamal::Cli::Prune < Kamal::Cli::Base
end
end
desc "images", "Prune dangling images"
desc "images", "Prune unused images"
def images
mutating do
on(KAMAL.hosts) do

View File

@@ -3,7 +3,7 @@ require "active_support/core_ext/numeric/time"
class Kamal::Commands::Prune < Kamal::Commands::Base
def dangling_images
docker :image, :prune, "--force", "--filter", "label=service=#{config.service}", "--filter", "dangling=true"
docker :image, :prune, "--force", "--filter", "label=service=#{config.service}"
end
def tagged_images