docka 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: cbe6126d8816f1560b7b336ccfe6867e34bf8371
4
+ data.tar.gz: e21f76ed8acefbfc780c63b6d2f85678932248fd
5
+ SHA512:
6
+ metadata.gz: 7f38f8cfafe6f6296a97980513462de9199492619979a59b788560a41c8d2d776345074cd57b0eee664fecb898f91a48c32415aa9a316a3183fd351d3a97726c
7
+ data.tar.gz: 3f36f606c7265fc4cdb566ae654f47404ee86db99d62bd9edebf4fe2849d989ab33bdf41554b83a964b88eabfbf9e69c5ceaad3a554e00611f2323b46dc815b6
@@ -0,0 +1,9 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --format documentation
2
+ --color
@@ -0,0 +1,4 @@
1
+ language: ruby
2
+ rvm:
3
+ - 2.2.3
4
+ before_install: gem install bundler -v 1.10.6
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in docka.gemspec
4
+ gemspec
@@ -0,0 +1,66 @@
1
+ # Docka
2
+
3
+ Docka は Docker ベースのアプリケーションをデプロイするためのフレームワークです。
4
+
5
+ ## Installation
6
+
7
+ Add this line to your application's Gemfile:
8
+
9
+ ```ruby
10
+ gem 'docka'
11
+ ```
12
+
13
+ And then execute:
14
+
15
+ $ bundle
16
+
17
+ Or install it yourself as:
18
+
19
+ $ gem install docka
20
+
21
+ ## Requirements
22
+
23
+ * Mac OS X (Yosemite 以降)
24
+ * Docker Toolbox (最新版)
25
+ * VirtualBox (docker-machine 互換のバージョン)
26
+
27
+ ## Synopsis
28
+
29
+ Docker ベースの開発では少なくとも何十ものイメージやコンテナの作成や起動が必要です。小さな Web アプリケーションでもイメージやコンテナのプロビジョニングとそのテストだけですぐに時間が経ってしまいます。
30
+
31
+ Docker Toolbox はよいものですが、まだ何度も同じ手順を手作業で繰り返さなければならないことに気づきました。
32
+
33
+ Docka は Docker Toolbox を使った開発を気軽に自動化するための API と CLI ツールのパッケージです。
34
+
35
+ ## Features
36
+
37
+ ### アプリケーションごとの NFS ディレクトリ
38
+
39
+ アプリケーションごとに NFS の共有ディレクトリを自動で設定します。
40
+
41
+ ```bash
42
+ # /etc/exports の例
43
+ /Users/mosop/my-app/docka/sync -mapall=501:20 192.168.99.105
44
+ /Users/mosop/my-another-app/docka/sync -mapall=501:20 192.168.99.105
45
+ ```
46
+
47
+ Docker ホスト側のディレクトリは `/docka/sync` です。コンテナからボリュームとしてアクセスできます。
48
+
49
+ ## [WIP] Usage
50
+
51
+ ## [WIP] Development
52
+
53
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
54
+
55
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
56
+
57
+ ## Todos
58
+
59
+ * テストを書く
60
+ * テスト/プロダクション環境のサポート (CI, AWS, etc...)
61
+ * Docker イメージのプロビジョニングのサポート
62
+ * セットアップ用のジェネレータ
63
+
64
+ ## Contributing
65
+
66
+ Bug reports and pull requests are welcome on GitHub at https://github.com/mosop/docka.
@@ -0,0 +1,6 @@
1
+ require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task :default => :spec
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "docka"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start
@@ -0,0 +1,7 @@
1
+ #!/bin/bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+
5
+ bundle install
6
+
7
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,26 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'docka/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "docka"
8
+ spec.version = Docka::VERSION
9
+ spec.authors = ["mosop"]
10
+ spec.email = ["mosop@a.b.com"]
11
+
12
+ spec.summary = %q{A dockerized application deployment framework.}
13
+ spec.homepage = "https://github.com/mosop/docka"
14
+
15
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
16
+ spec.bindir = "exe"
17
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
18
+ spec.require_paths = ["lib"]
19
+
20
+ spec.add_dependency "thor", "~> 0.19.0"
21
+ spec.add_dependency "activesupport", "~> 4.2"
22
+
23
+ spec.add_development_dependency "bundler", "~> 1.10"
24
+ spec.add_development_dependency "rake", "~> 10.0"
25
+ spec.add_development_dependency "rspec", "~> 3.4"
26
+ end
@@ -0,0 +1,4 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'docka'
4
+ Docka::Commands::Docka.start(ARGV)
@@ -0,0 +1,28 @@
1
+ require "docka/version"
2
+ require "active_support/core_ext/array/extract_options"
3
+ require "active_support/core_ext/string/inflections"
4
+ autoload :FileUtils, 'fileutils'
5
+ autoload :Logger, 'logger'
6
+ autoload :Open3, 'open3'
7
+ autoload :SecureRandom, 'securerandom'
8
+ autoload :Thor, 'thor'
9
+
10
+ module Docka
11
+ autoload :App, 'docka/app'
12
+ autoload :AppConfig, 'docka/app_config'
13
+ autoload :Cli, 'docka/cli'
14
+ autoload :Command, 'docka/command'
15
+ autoload :Commands, 'docka/commands'
16
+ autoload :Config, 'docka/config'
17
+ autoload :Loggers, 'docka/loggers'
18
+ autoload :LogFormatters, 'docka/log_formatters'
19
+ autoload :Machine, 'docka/machine'
20
+ autoload :MachineDrivers, 'docka/machine_drivers'
21
+ autoload :NotConfiguredError, 'docka/not_configured_error'
22
+ autoload :ShellError, 'docka/shell_error'
23
+ autoload :Util, 'docka/util'
24
+
25
+ def self.dir
26
+ __dir__
27
+ end
28
+ end
@@ -0,0 +1,125 @@
1
+ module Docka
2
+ class App
3
+ def self.instance
4
+ @@instance ||= self.new
5
+ end
6
+
7
+ def env
8
+ @env ||= ::ENV['DOCKA_ENV'] || 'development'
9
+ end
10
+
11
+ def dir
12
+ @dir ||= Dir.pwd
13
+ end
14
+
15
+ def dot_dir
16
+ @dot_dir ||= begin
17
+ dir = "#{self.dir}/.docka"
18
+ ::FileUtils.mkdir_p dir
19
+ dir
20
+ end
21
+ end
22
+
23
+ def sync_dir
24
+ @sync_dir ||= begin
25
+ dir = "#{self.dir}/docka/sync"
26
+ ::FileUtils.mkdir_p dir
27
+ dir
28
+ end
29
+ end
30
+
31
+ def log_dir
32
+ @log_dir ||= begin
33
+ dir = "#{self.dir}/docka/log"
34
+ ::FileUtils.mkdir_p dir
35
+ dir
36
+ end
37
+ end
38
+
39
+ def uuid_file
40
+ @uuid_file ||= "#{dot_dir}/uuid"
41
+ end
42
+
43
+ def uuid
44
+ @uuid ||= begin
45
+ if ::File.exist?(uuid_file)
46
+ ::File.read(uuid_file).strip
47
+ else
48
+ uuid = SecureRandom.uuid
49
+ ::File.write uuid_file, uuid
50
+ uuid
51
+ end
52
+ end
53
+ end
54
+
55
+ def config
56
+ @config ||= AppConfig.new(dir + '/docka.yml', env)
57
+ end
58
+
59
+ def logger
60
+ @logger ||= begin
61
+ multi = Util::MultiLogger.new
62
+ multi.loggers << ::Logger.new("#{log_dir}/#{env}.log").tap do |l|
63
+ l.level = %w[development test].include?(env) ? ::Logger::DEBUG : ::Logger::INFO
64
+ l.formatter = ::Proc.new do |severity, time, progname, msg|
65
+ msg.split(/\n/).map{|i| "%-6s %s" % ["#{severity}:", "#{i}"]}.join("\n") + "\n"
66
+ end
67
+ end
68
+ multi
69
+ end
70
+ end
71
+
72
+ def shell(command, options = {})
73
+ status = ::Open3.popen3(command) do |i, o, e, t|
74
+ i.write options[:in] if options[:in]
75
+ i.close
76
+ ios = {}
77
+ ios[:debug] = o if options[:debug]
78
+ ios[:error] = e
79
+ ios.each do |key, io|
80
+ ::Thread.new do
81
+ while l = io.gets
82
+ logger.__send__ key, l.chomp
83
+ end
84
+ end
85
+ end
86
+ t.value
87
+ end
88
+ raise ::Docka::ShellError.new(command) if options[:raise] && !status.success?
89
+ status
90
+ end
91
+
92
+ def shell!(command, options = {})
93
+ opts = {}
94
+ opts[:stdin_data] = options[:in] if options[:in]
95
+ o, e, s = ::Open3.capture3(command, opts)
96
+ logger.debug o.chomp if options[:debug] && o.size > 0
97
+ logger.error e.chomp if e.size > 0
98
+ raise ::Docka::ShellError.new(command) if options[:raise] && !s.success?
99
+ [o, e, s]
100
+ end
101
+
102
+ def machine
103
+ @machine ||= Machine.new(self)
104
+ end
105
+
106
+ def setup
107
+ machine.create
108
+ end
109
+
110
+ def setup_sync
111
+ text = ::File.exist?('/etc/exports') ? ::File.read('/etc/exports') : ''
112
+ text.gsub! /# Docka #{uuid}\n.+(\n|$)/, ''
113
+ a = []
114
+ a << text if text.size > 0
115
+ a << "# Docka #{uuid}"
116
+ a << sync_entry
117
+ shell! %( cat | sudo tee /etc/exports ), raise: true, in: "#{a.join("\n")}\n"
118
+ shell! %( sudo nfsd update ), raise: true
119
+ end
120
+
121
+ def sync_entry
122
+ @sync_entry ||= "#{sync_dir} -mapall=#{::Process.uid}:#{::Process.gid} #{machine.ip}"
123
+ end
124
+ end
125
+ end
@@ -0,0 +1,4 @@
1
+ module Docka
2
+ class AppConfig < Config
3
+ end
4
+ end
@@ -0,0 +1,20 @@
1
+ module Docka
2
+ class Cli < ::Thor
3
+ def self.command(name)
4
+ klass = self
5
+ pascal = name.to_s.camelize
6
+ autoload pascal, "#{self.name.underscore}/#{name}" unless autoload?(pascal)
7
+ define_method name do |*args|
8
+ begin
9
+ "#{klass.name}::#{pascal}".constantize.new(self, *args).run
10
+ rescue => ex
11
+ a = []
12
+ a << "#{ex.backtrace[0]}: #{ex.message.strip} (#{ex.class.name})"
13
+ a << ex.backtrace[1..-1].map{|i| " from #{i}"}.join("\n") if ex.backtrace.size >= 2
14
+ ::Docka::App.instance.logger.fatal a.join("\n")
15
+ exit 1
16
+ end
17
+ end
18
+ end
19
+ end
20
+ end
@@ -0,0 +1,24 @@
1
+ module Docka
2
+ class Command
3
+ def initialize(cli, *args)
4
+ @cli = cli
5
+ @args = args
6
+ set_logger
7
+ end
8
+
9
+ private def set_logger
10
+ ::Docka::App.instance.logger.loggers << ::Logger.new($stderr).tap do |l|
11
+ l.level = ::Logger::INFO
12
+ l.formatter = ::Proc.new do |severity, time, progname, msg|
13
+ "#{msg}\n"
14
+ end
15
+ end
16
+ end
17
+
18
+ attr_reader :cli, :args
19
+
20
+ def options
21
+ cli.options
22
+ end
23
+ end
24
+ end
@@ -0,0 +1,5 @@
1
+ module Docka
2
+ module Commands
3
+ autoload :Docka, 'docka/commands/docka'
4
+ end
5
+ end
@@ -0,0 +1,6 @@
1
+ module Docka::Commands
2
+ class Docka < ::Docka::Cli
3
+ desc "setup", "setup!"
4
+ command :setup
5
+ end
6
+ end
@@ -0,0 +1,7 @@
1
+ class Docka::Commands::Docka
2
+ class Setup < ::Docka::Command
3
+ def run
4
+ ::Docka::App.instance.setup
5
+ end
6
+ end
7
+ end
@@ -0,0 +1,23 @@
1
+ require 'yaml'
2
+ require 'erb'
3
+
4
+ module Docka
5
+ class Config
6
+ def initialize(path, env)
7
+ @path = path
8
+ @env = env
9
+ end
10
+
11
+ def util
12
+ @util ||= Util::Config.new(data, [@env])
13
+ end
14
+
15
+ def data
16
+ @data ||= ::YAML.load(::ERB.new(::File.read(@path)).result)
17
+ end
18
+
19
+ def get(*args, &block)
20
+ util.get *args, &block
21
+ end
22
+ end
23
+ end
@@ -0,0 +1,84 @@
1
+ module Docka
2
+ class Machine
3
+ def initialize(app)
4
+ @app = app
5
+ end
6
+
7
+ def name
8
+ @name ||= @app.config.get(:machine, :name, optional: false)
9
+ end
10
+
11
+ def driver
12
+ @driver ||= @app.config.get(:machine, :driver) || 'virtualbox'
13
+ end
14
+
15
+ def ip
16
+ @ip ||= @app.shell!(%( docker-machine ip #{name} ), raise: true).first.strip
17
+ end
18
+
19
+ def exists?
20
+ @app.shell!(%( docker-machine ls -q ), raise: true).first.split(/\n/).include?(name)
21
+ end
22
+
23
+ def create
24
+ @app.logger.info "creating machine..."
25
+
26
+ if exists?
27
+ @app.logger.info "machine already exists."
28
+ else
29
+ @app.shell(%( docker-machine create --driver #{driver} #{no_share_option} #{name} ), raise: true, debug: true)
30
+ @app.logger.info "machine created."
31
+ end
32
+
33
+ setup_sync
34
+ end
35
+
36
+ def setup_sync
37
+ @app.setup_sync
38
+ create_sync_dir
39
+ remount_sync
40
+ end
41
+
42
+ def create_sync_dir
43
+ unless @app.shell!(%( docker-machine ssh #{name} 'if [ -d /docka/sync ]; then echo 1; fi' ), raise: true).first.strip == '1'
44
+ @app.shell!(%( docker-machine ssh #{name} sudo mkdir -p /docka/sync ), raise: true)
45
+ end
46
+ end
47
+
48
+ def remount_sync
49
+ @app.logger.info "(re)mounting synced directory..."
50
+ unmount_sync if sync_mounted?
51
+ mount_sync
52
+ @app.logger.info "synced directory (re)mounted."
53
+ end
54
+
55
+ def unmount_sync
56
+ @app.shell! %( docker-machine ssh #{name} 'sudo umount /docka/sync' ), raise: true, debug: true
57
+ end
58
+
59
+ def mount_sync
60
+ @app.shell! %( docker-machine ssh #{name} 'sudo /usr/local/etc/init.d/nfs-client start' ), raise: true, debug: true
61
+ @app.shell! %( docker-machine ssh #{name} 'sudo mount -t nfs -o noacl,async "#{sync_mount_resource}" /docka/sync' ), raise: true, debug: true
62
+ end
63
+
64
+ def sync_mounted?
65
+ @app.shell!(%( docker-machine ssh #{name} 'cat /proc/mounts | cut -d " " -f2' ), raise: true).first.split("\n").include?('/docka/sync')
66
+ end
67
+
68
+ def sync_mount_resource
69
+ @sync_mount_resource ||= "#{host_ip}:#{@app.sync_dir}"
70
+ end
71
+
72
+ def method_missing(name, *args, &block)
73
+ if %i[host_ip no_share_option].include?(name)
74
+ extend_driver
75
+ return __send__ name, *args, &block
76
+ end
77
+ super
78
+ end
79
+
80
+ def extend_driver
81
+ extend "Docka::MachineDrivers::#{driver.camelize}".constantize
82
+ end
83
+ end
84
+ end
@@ -0,0 +1,5 @@
1
+ module Docka
2
+ module MachineDrivers
3
+ autoload :Virtualbox, 'docka/machine_drivers/virtualbox'
4
+ end
5
+ end
@@ -0,0 +1,14 @@
1
+ module Docka::MachineDrivers
2
+ module Virtualbox
3
+ def host_ip
4
+ @host_ip ||= begin
5
+ network = @app.shell!(%( VBoxManage showvminfo #{name} --machinereadable | grep hostonlyadapter | cut -d '"' -f2 ), raise: true).first.strip
6
+ @app.shell!(%( VBoxManage list hostonlyifs | grep '^Name:.*#{network}' -A 3 | grep IPAddress | cut -d ':' -f2 | xargs )).first.strip
7
+ end
8
+ end
9
+
10
+ def no_share_option
11
+ '--virtualbox-no-share'
12
+ end
13
+ end
14
+ end
@@ -0,0 +1,7 @@
1
+ module Docka
2
+ class NotConfiguredError < ::StandardError
3
+ def initialize(key)
4
+ super "#{key} is not configured."
5
+ end
6
+ end
7
+ end
@@ -0,0 +1,4 @@
1
+ module Docka
2
+ class ShellError < ::StandardError
3
+ end
4
+ end
@@ -0,0 +1,6 @@
1
+ module Docka
2
+ module Util
3
+ autoload :Config, 'docka/util/config'
4
+ autoload :MultiLogger, 'docka/util/multi_logger'
5
+ end
6
+ end
@@ -0,0 +1,34 @@
1
+ require 'yaml'
2
+ require 'erb'
3
+
4
+ module Docka::Util
5
+ class Config
6
+ def initialize(data, pos)
7
+ @data = data
8
+ @pos = pos
9
+ end
10
+
11
+ attr_reader :data, :pos
12
+
13
+ def current_data
14
+ @current_data ||= begin
15
+ data = self.data
16
+ pos.each{|i| data = data[i]}
17
+ data
18
+ end
19
+ end
20
+
21
+ def get(*args, &block)
22
+ options = args.extract_options!
23
+ v = current_data
24
+ pos = self.pos.dup
25
+ args.each do |key|
26
+ key = key.to_s
27
+ pos << key
28
+ v = v[key]
29
+ raise ::Docka::NotConfiguredError.new(pos.join('.')) if !v && options[:optional] == false
30
+ end
31
+ block ? block.call(self.class.new(data, pos)) : v
32
+ end
33
+ end
34
+ end
@@ -0,0 +1,15 @@
1
+ module Docka::Util
2
+ class MultiLogger
3
+ def loggers
4
+ @loggers ||= []
5
+ end
6
+
7
+ ::Logger.public_instance_methods(false).each do |name|
8
+ define_method name do |*args, &block|
9
+ loggers.each do |l|
10
+ l.__send__ name, *args, &block
11
+ end
12
+ end
13
+ end
14
+ end
15
+ end
@@ -0,0 +1,3 @@
1
+ module Docka
2
+ VERSION = "0.1.0"
3
+ end
metadata ADDED
@@ -0,0 +1,142 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: docka
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - mosop
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2015-11-19 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: thor
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: 0.19.0
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: 0.19.0
27
+ - !ruby/object:Gem::Dependency
28
+ name: activesupport
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '4.2'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '4.2'
41
+ - !ruby/object:Gem::Dependency
42
+ name: bundler
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '1.10'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '1.10'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rake
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '10.0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '10.0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: rspec
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '3.4'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '3.4'
83
+ description:
84
+ email:
85
+ - mosop@a.b.com
86
+ executables:
87
+ - docka
88
+ extensions: []
89
+ extra_rdoc_files: []
90
+ files:
91
+ - ".gitignore"
92
+ - ".rspec"
93
+ - ".travis.yml"
94
+ - Gemfile
95
+ - README.md
96
+ - Rakefile
97
+ - bin/console
98
+ - bin/setup
99
+ - docka.gemspec
100
+ - exe/docka
101
+ - lib/docka.rb
102
+ - lib/docka/app.rb
103
+ - lib/docka/app_config.rb
104
+ - lib/docka/cli.rb
105
+ - lib/docka/command.rb
106
+ - lib/docka/commands.rb
107
+ - lib/docka/commands/docka.rb
108
+ - lib/docka/commands/docka/setup.rb
109
+ - lib/docka/config.rb
110
+ - lib/docka/machine.rb
111
+ - lib/docka/machine_drivers.rb
112
+ - lib/docka/machine_drivers/virtualbox.rb
113
+ - lib/docka/not_configured_error.rb
114
+ - lib/docka/shell_error.rb
115
+ - lib/docka/util.rb
116
+ - lib/docka/util/config.rb
117
+ - lib/docka/util/multi_logger.rb
118
+ - lib/docka/version.rb
119
+ homepage: https://github.com/mosop/docka
120
+ licenses: []
121
+ metadata: {}
122
+ post_install_message:
123
+ rdoc_options: []
124
+ require_paths:
125
+ - lib
126
+ required_ruby_version: !ruby/object:Gem::Requirement
127
+ requirements:
128
+ - - ">="
129
+ - !ruby/object:Gem::Version
130
+ version: '0'
131
+ required_rubygems_version: !ruby/object:Gem::Requirement
132
+ requirements:
133
+ - - ">="
134
+ - !ruby/object:Gem::Version
135
+ version: '0'
136
+ requirements: []
137
+ rubyforge_project:
138
+ rubygems_version: 2.4.5.1
139
+ signing_key:
140
+ specification_version: 4
141
+ summary: A dockerized application deployment framework.
142
+ test_files: []