dockage 0.1.0 → 0.1.1
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.
- checksums.yaml +4 -4
- data/README.md +31 -4
- data/dockage.gemspec +1 -1
- data/lib/dockage/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 38fa9b1d1ff4dcb10bd70bcbc556f1ca66fd80d3
|
4
|
+
data.tar.gz: a8f3c6ca8b9abb01f3f35c0e84416fd7dc9ab00b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f4db7bf04ab2cc4700d9c3a0f011ac9074cc2d516bc8e53d398b0019d753d25054dac5161d77d3b1ffd12ace4bc72795e30cfc45ffedc77e8e1b981901efdd3c
|
7
|
+
data.tar.gz: 3d1684089e997695994cebd140cf37ab58978afa9a8784c7d9be0e9dd3be895c8c5796117ee583d3dd72abf63cdd7ac149a6cf19a4b269bcd2b2fb3115d19b24
|
data/README.md
CHANGED
@@ -1,6 +1,7 @@
|
|
1
|
-
# Dockage [](https://gemnasium.com/kressh/dockage) [](https://codeclimate.com/github/kressh/dockage) [](https://travis-ci.org/kressh/dockage)
|
1
|
+
# Dockage [](https://gemnasium.com/kressh/dockage) [](https://codeclimate.com/github/kressh/dockage) [](https://travis-ci.org/kressh/dockage) [](http://badge.fury.io/rb/dockage)
|
2
|
+
|
3
|
+
Ruby tool to manage multiple Docker containers at once
|
2
4
|
|
3
|
-
TODO: Write a gem description
|
4
5
|
|
5
6
|
## Installation
|
6
7
|
|
@@ -20,11 +21,37 @@ Or install it yourself as:
|
|
20
21
|
|
21
22
|
## Usage
|
22
23
|
|
23
|
-
|
24
|
+
$ dockage help
|
25
|
+
|
26
|
+
Create example configuration file with:
|
27
|
+
|
28
|
+
$ dockage init
|
29
|
+
|
30
|
+
Modify it and run
|
31
|
+
|
32
|
+
$ dockage up
|
33
|
+
|
34
|
+
## Configuration dockage.yml
|
35
|
+
|
36
|
+
* **docker_host** - docker daemon host (by default unix:///var/run/docker.sock) MacOSX users can use boot2docker LXC functionality
|
37
|
+
* **containers** - array of containers
|
38
|
+
* **name** - name of container
|
39
|
+
* **image** - image to use for docker pull
|
40
|
+
* **keep_fresh** - if true docker will check image for updates every time
|
41
|
+
* **volumes** - array of volumes to mount (format: **HOST_PATH**:**CONTAINER_PATH**)
|
42
|
+
* **ports** - array of ports to forward from container (format: **HOST_PORT**:**CONTAINER_PORT**)
|
43
|
+
* **links** - array of links to other containers (format: **CONTAINER_NAME**:**CONTAINER_HOST_NAME**)
|
44
|
+
* **cmd** - override container's CMD to run
|
45
|
+
* **ssh** - SSH configuration
|
46
|
+
* **login** - SSH login
|
47
|
+
* **host** - SSH host. In most cases docker daemon host.
|
48
|
+
* **port** - SSH port. Forward this port to docker host.
|
49
|
+
* **identity_file** - SSH private key to authenticate with
|
50
|
+
* **provision** - array of provision scripts. Can be script or inline. Requires SSH access to container.
|
24
51
|
|
25
52
|
## Contributing
|
26
53
|
|
27
|
-
1. Fork it ( https://github.com/
|
54
|
+
1. Fork it ( https://github.com/kressh/dockage/fork )
|
28
55
|
2. Create your feature branch (`git checkout -b my-new-feature`)
|
29
56
|
3. Commit your changes (`git commit -am 'Add some feature'`)
|
30
57
|
4. Push to the branch (`git push origin my-new-feature`)
|
data/dockage.gemspec
CHANGED
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
|
|
10
10
|
spec.email = ['kr3ssh@gmail.com']
|
11
11
|
spec.summary = 'Control multiple docker containers with ease'
|
12
12
|
spec.description = 'Gem to manage multiple docker containers at once'
|
13
|
-
spec.homepage = 'http://github.com/
|
13
|
+
spec.homepage = 'http://github.com/kressh/dockage'
|
14
14
|
spec.license = 'MIT'
|
15
15
|
|
16
16
|
spec.required_ruby_version = '>= 1.9'
|
data/lib/dockage/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dockage
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sergey Besedin
|
@@ -107,7 +107,7 @@ files:
|
|
107
107
|
- lib/dockage/templates/dockage.yml
|
108
108
|
- lib/dockage/version.rb
|
109
109
|
- spec/spec_helper.rb
|
110
|
-
homepage: http://github.com/
|
110
|
+
homepage: http://github.com/kressh/dockage
|
111
111
|
licenses:
|
112
112
|
- MIT
|
113
113
|
metadata: {}
|