mirror of
https://github.com/rapid7/metasploitable3.git
synced 2024-06-20 20:05:45 +02:00
16 lines
284 B
Ruby
16 lines
284 B
Ruby
|
#########################
|
||
|
# :prune
|
||
|
#########################
|
||
|
|
||
|
docker_image_prune 'hello-world' do
|
||
|
dangling true
|
||
|
end
|
||
|
|
||
|
docker_image_prune 'prune-old-images' do
|
||
|
dangling true
|
||
|
prune_until '1h30m'
|
||
|
with_label 'com.example.vendor=ACME'
|
||
|
without_label 'no_prune'
|
||
|
action :prune
|
||
|
end
|