Sha256: b69b4e04c2c9d4698d0d25395aabe1f02df953c9e33b1a8fca93e8f09440d299
Contents?: true
Size: 407 Bytes
Versions: 3
Compression:
Stored size: 407 Bytes
Contents
require_relative '../container/mixins.rb' namespace :container do desc "update docker" task :update_docker do run_container_command("wget -qO- https://get.docker.com/ | sh") end desc "show all docker containers" task :all do run_container_command('ps -a') end desc "show running docker containers" task :running do run_container_command('ps') end Mixins.define_tasks end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
capistrano-container-0.0.4 | lib/capistrano/tasks/container.rb |
capistrano-container-0.0.3 | lib/capistrano/tasks/container.rb |
capistrano-container-0.0.2 | lib/capistrano/tasks/container.rb |