Sha256: 8ada659ae7d9d87439045be8c34056d1ac108f2010d5f43f15d31182005cd1b3

Contents?: true

Size: 455 Bytes

Versions: 2

Compression:

Stored size: 455 Bytes

Contents

require_relative '../container/mixins.rb'

namespace :container do
  desc "show docker version"
  task :version do
    run_container_command("-v")
  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

namespace :load do
  task :defaults do
    set :local_stage_name, :local
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
capistrano-container-0.0.6 lib/capistrano/tasks/container.rb
capistrano-container-0.0.5 lib/capistrano/tasks/container.rb