Sha256: 5811bfc50a267ceb5fb51ffca899b4f98305305757116c8ea1ca8fa7f15683ef
Contents?: true
Size: 614 Bytes
Versions: 13
Compression:
Stored size: 614 Bytes
Contents
require_relative 'task_helper' namespace :dad do namespace :docker do desc 'delete stopped containers and untagged images' task :clean do unless `docker ps -qa --filter status=exited`.empty? run 'docker rm `docker ps -qa --filter status=exited`' end unless `docker images -q --filter "dangling=true"`.empty? run 'docker rmi `docker images -q --filter "dangling=true"`' end end namespace :registry do desc 'install Docker Registry' task :install do run_itamae 'docker/install', 'docker/registry/install' end end end end
Version data entries
13 entries across 13 versions & 1 rubygems