Module: Dapp::Dimg::Dapp::Command::Stages::FlushLocal

Included in:
Dapp
Defined in:
lib/dapp/dimg/dapp/command/stages/flush_local.rb

Instance Method Summary collapse

Instance Method Details

#stages_flush_localObject



7
8
9
10
11
12
13
14
15
# File 'lib/dapp/dimg/dapp/command/stages/flush_local.rb', line 7

def stages_flush_local
  lock("#{name}.images") do
    log_step_with_indent(name) do
      dapp_project_containers_flush
      dapp_project_dangling_images_flush
      remove_project_images(dapp_project_images_ids)
    end
  end
end