docker-api 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/.cane +0 -0
- data/.gitignore +3 -0
- data/Gemfile +3 -0
- data/README.md +215 -0
- data/Rakefile +16 -0
- data/docker-api.gemspec +27 -0
- data/lib/docker.rb +60 -0
- data/lib/docker/connection.rb +65 -0
- data/lib/docker/container.rb +54 -0
- data/lib/docker/error.rb +23 -0
- data/lib/docker/image.rb +73 -0
- data/lib/docker/model.rb +88 -0
- data/lib/docker/multipart.rb +30 -0
- data/lib/docker/version.rb +3 -0
- data/spec/docker/connection_spec.rb +67 -0
- data/spec/docker/container_spec.rb +529 -0
- data/spec/docker/image_spec.rb +379 -0
- data/spec/docker_spec.rb +58 -0
- data/spec/spec_helper.rb +14 -0
- data/spec/support/vcr.rb +11 -0
- data/spec/vcr/Docker/_info/returns_the_info_as_a_Hash.yml +31 -0
- data/spec/vcr/Docker/_version/returns_the_version_as_a_Hash.yml +31 -0
- data/spec/vcr/Docker_Container/_all/when_the_HTTP_response_is_a_200/materializes_each_Container_into_a_Docker_Container.yml +333 -0
- data/spec/vcr/Docker_Container/_attach/when_the_Container_has_been_created/when_the_HTTP_response_status_is_200/yields_each_chunk.yml +81 -0
- data/spec/vcr/Docker_Container/_changes/when_the_Container_has_been_created/when_the_HTTP_response_status_is_200/returns_the_changes_as_an_array.yml +115 -0
- data/spec/vcr/Docker_Container/_commit/when_the_Container_has_been_created/when_the_HTTP_response_status_is_200/creates_a_new_Image_from_the_Container_s_changes.yml +87 -0
- data/spec/vcr/Docker_Container/_create_/when_the_Container_does_not_yet_exist_and_the_body_is_a_Hash/when_the_HTTP_request_returns_a_200/sets_the_id.yml +31 -0
- data/spec/vcr/Docker_Container/_export/when_the_Container_has_been_created/when_the_HTTP_response_status_is_200/yields_each_chunk.yml +97 -0
- data/spec/vcr/Docker_Container/_json/when_the_Container_has_been_created/when_the_HTTP_response_status_is_200/returns_the_description_as_a_Hash.yml +59 -0
- data/spec/vcr/Docker_Container/_kill/when_the_Container_has_been_created/when_the_HTTP_response_status_is_204/kills_the_container.yml +232 -0
- data/spec/vcr/Docker_Container/_restart/when_the_Container_has_been_created/when_the_HTTP_response_status_is_204/restarts_the_container.yml +201 -0
- data/spec/vcr/Docker_Container/_start/when_the_Container_has_been_created/when_the_HTTP_response_status_is_200/starts_the_container.yml +89 -0
- data/spec/vcr/Docker_Container/_stop/when_the_Container_has_been_created/when_the_HTTP_response_status_is_204/stops_the_container.yml +259 -0
- data/spec/vcr/Docker_Container/_wait/when_the_Container_has_been_created/when_the_HTTP_response_status_is_200/waits_for_the_command_to_finish.yml +87 -0
- data/spec/vcr/Docker_Image/_all/when_the_HTTP_response_is_a_200/materializes_each_Container_into_a_Docker_Container.yml +59 -0
- data/spec/vcr/Docker_Image/_build/with_a_valid_Dockerfile/builds_an_image.yml +45 -0
- data/spec/vcr/Docker_Image/_build/with_an_invalid_Dockerfile/throws_a_UnexpectedResponseError.yml +38 -0
- data/spec/vcr/Docker_Image/_create_/when_the_Image_does_not_yet_exist_and_the_body_is_a_Hash/when_the_HTTP_request_returns_a_200/sets_the_id.yml +31 -0
- data/spec/vcr/Docker_Image/_history/when_the_Image_has_been_created/when_the_HTTP_response_status_is_200/returns_the_history_of_the_Image.yml +59 -0
- data/spec/vcr/Docker_Image/_insert/when_the_Image_has_been_created/when_the_HTTP_response_status_is_200/inserts_the_file.yml +59 -0
- data/spec/vcr/Docker_Image/_json/when_the_Image_has_been_created/when_the_HTTP_response_status_is_200/returns_additional_information_about_image_image.yml +60 -0
- data/spec/vcr/Docker_Image/_remove/when_the_Image_has_been_created/when_the_HTTP_response_status_is_204/nils_out_the_id.yml +59 -0
- data/spec/vcr/Docker_Image/_search/when_the_HTTP_response_is_a_200/materializes_each_Container_into_a_Docker_Container.yml +64 -0
- data/spec/vcr/Docker_Image/_tag/when_the_Image_has_been_created/when_the_HTTP_response_status_is_200/tags_the_image_with_the_repo_name.yml +59 -0
- metadata +281 -0
@@ -0,0 +1,59 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: http://localhost:4243/images/create
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: fromRepo=base&fromSrc=-
|
9
|
+
headers:
|
10
|
+
Content-Type:
|
11
|
+
- application/x-www-form-urlencoded
|
12
|
+
response:
|
13
|
+
status:
|
14
|
+
code: 200
|
15
|
+
message: ''
|
16
|
+
headers:
|
17
|
+
!binary "Q29udGVudC1UeXBl":
|
18
|
+
- !binary |-
|
19
|
+
YXBwbGljYXRpb24vanNvbg==
|
20
|
+
!binary "RGF0ZQ==":
|
21
|
+
- !binary |-
|
22
|
+
VHVlLCAxOCBKdW4gMjAxMyAxNjowNDozOSBHTVQ=
|
23
|
+
!binary "VHJhbnNmZXItRW5jb2Rpbmc=":
|
24
|
+
- !binary |-
|
25
|
+
Y2h1bmtlZA==
|
26
|
+
body:
|
27
|
+
encoding: US-ASCII
|
28
|
+
string: ! '{"status":"159e1184dae8"}'
|
29
|
+
http_version:
|
30
|
+
recorded_at: Tue, 18 Jun 2013 16:04:39 GMT
|
31
|
+
- request:
|
32
|
+
method: delete
|
33
|
+
uri: http://localhost:4243/images/159e1184dae8
|
34
|
+
body:
|
35
|
+
encoding: US-ASCII
|
36
|
+
string: ''
|
37
|
+
headers:
|
38
|
+
Content-Type:
|
39
|
+
- application/json
|
40
|
+
response:
|
41
|
+
status:
|
42
|
+
code: 204
|
43
|
+
message: ''
|
44
|
+
headers:
|
45
|
+
!binary "RGF0ZQ==":
|
46
|
+
- !binary |-
|
47
|
+
VHVlLCAxOCBKdW4gMjAxMyAxNjowNDozOSBHTVQ=
|
48
|
+
!binary "VHJhbnNmZXItRW5jb2Rpbmc=":
|
49
|
+
- !binary |-
|
50
|
+
Y2h1bmtlZA==
|
51
|
+
!binary "Q29udGVudC1UeXBl":
|
52
|
+
- !binary |-
|
53
|
+
dGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOA==
|
54
|
+
body:
|
55
|
+
encoding: US-ASCII
|
56
|
+
string: ''
|
57
|
+
http_version:
|
58
|
+
recorded_at: Tue, 18 Jun 2013 16:04:39 GMT
|
59
|
+
recorded_with: VCR 2.5.0
|
@@ -0,0 +1,64 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: http://localhost:4243/images/create
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: fromRepo=base&fromSrc=-
|
9
|
+
headers:
|
10
|
+
Content-Type:
|
11
|
+
- application/x-www-form-urlencoded
|
12
|
+
response:
|
13
|
+
status:
|
14
|
+
code: 200
|
15
|
+
message: ''
|
16
|
+
headers:
|
17
|
+
!binary "Q29udGVudC1UeXBl":
|
18
|
+
- !binary |-
|
19
|
+
YXBwbGljYXRpb24vanNvbg==
|
20
|
+
!binary "RGF0ZQ==":
|
21
|
+
- !binary |-
|
22
|
+
VHVlLCAxOCBKdW4gMjAxMyAxNjowNDozOSBHTVQ=
|
23
|
+
!binary "VHJhbnNmZXItRW5jb2Rpbmc=":
|
24
|
+
- !binary |-
|
25
|
+
Y2h1bmtlZA==
|
26
|
+
body:
|
27
|
+
encoding: US-ASCII
|
28
|
+
string: ! '{"status":"a778271ce47f"}'
|
29
|
+
http_version:
|
30
|
+
recorded_at: Tue, 18 Jun 2013 16:04:39 GMT
|
31
|
+
- request:
|
32
|
+
method: get
|
33
|
+
uri: http://localhost:4243/images/search?term=sshd
|
34
|
+
body:
|
35
|
+
encoding: US-ASCII
|
36
|
+
string: ''
|
37
|
+
headers:
|
38
|
+
Content-Type:
|
39
|
+
- application/json
|
40
|
+
response:
|
41
|
+
status:
|
42
|
+
code: 200
|
43
|
+
message: ''
|
44
|
+
headers:
|
45
|
+
!binary "Q29udGVudC1UeXBl":
|
46
|
+
- !binary |-
|
47
|
+
YXBwbGljYXRpb24vanNvbg==
|
48
|
+
!binary "RGF0ZQ==":
|
49
|
+
- !binary |-
|
50
|
+
VHVlLCAxOCBKdW4gMjAxMyAxNjowNDozOSBHTVQ=
|
51
|
+
!binary "VHJhbnNmZXItRW5jb2Rpbmc=":
|
52
|
+
- !binary |-
|
53
|
+
Y2h1bmtlZA==
|
54
|
+
body:
|
55
|
+
encoding: US-ASCII
|
56
|
+
string: ! '[{"Name":"cespare/sshd","Description":""},{"Name":"johnfuller/sshd","Description":""},{"Name":"dhrp/mongodb-sshd","Description":""},{"Name":"rayang2004/sshd","Description":""},{"Name":"dhrp/sshd","Description":"SSH
|
57
|
+
Daemon created in the ssh daemon docum..."},{"Name":"toorop/daemontools-sshd","Description":"sshd
|
58
|
+
daemon supervised by DJB daemontools ..."},{"Name":"toorop/daemontools-sshd-nginx","Description":"sshd
|
59
|
+
daemon & Nginx supervised by DJB daem..."},{"Name":"toorop/daemontools-sshd-nginx-php-fpm","Description":""},{"Name":"mbkan/lamp","Description":"centos
|
60
|
+
with ssh, LAMP, PHPMyAdmin(root pas..."},{"Name":"toorop/golang","Description":"A
|
61
|
+
container for Go developers - Go 1.1 + G..."},{"Name":"wma55/u1210sshd","Description":""},{"Name":"jdswinbank/sshd","Description":""},{"Name":"vgauthier/sshd","Description":""}]'
|
62
|
+
http_version:
|
63
|
+
recorded_at: Tue, 18 Jun 2013 16:04:39 GMT
|
64
|
+
recorded_with: VCR 2.5.0
|
@@ -0,0 +1,59 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: http://localhost:4243/images/create
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: fromRepo=base&fromSrc=-
|
9
|
+
headers:
|
10
|
+
Content-Type:
|
11
|
+
- application/x-www-form-urlencoded
|
12
|
+
response:
|
13
|
+
status:
|
14
|
+
code: 200
|
15
|
+
message: ''
|
16
|
+
headers:
|
17
|
+
!binary "Q29udGVudC1UeXBl":
|
18
|
+
- !binary |-
|
19
|
+
YXBwbGljYXRpb24vanNvbg==
|
20
|
+
!binary "RGF0ZQ==":
|
21
|
+
- !binary |-
|
22
|
+
VHVlLCAxOCBKdW4gMjAxMyAxNjowNDozOSBHTVQ=
|
23
|
+
!binary "VHJhbnNmZXItRW5jb2Rpbmc=":
|
24
|
+
- !binary |-
|
25
|
+
Y2h1bmtlZA==
|
26
|
+
body:
|
27
|
+
encoding: US-ASCII
|
28
|
+
string: ! '{"status":"5adf4434ad5b"}'
|
29
|
+
http_version:
|
30
|
+
recorded_at: Tue, 18 Jun 2013 16:04:39 GMT
|
31
|
+
- request:
|
32
|
+
method: post
|
33
|
+
uri: http://localhost:4243/images/5adf4434ad5b/tag?force=true&repo=base2
|
34
|
+
body:
|
35
|
+
encoding: US-ASCII
|
36
|
+
string: ''
|
37
|
+
headers:
|
38
|
+
Content-Type:
|
39
|
+
- application/json
|
40
|
+
response:
|
41
|
+
status:
|
42
|
+
code: 201
|
43
|
+
message: ''
|
44
|
+
headers:
|
45
|
+
!binary "RGF0ZQ==":
|
46
|
+
- !binary |-
|
47
|
+
VHVlLCAxOCBKdW4gMjAxMyAxNjowNDozOSBHTVQ=
|
48
|
+
!binary "VHJhbnNmZXItRW5jb2Rpbmc=":
|
49
|
+
- !binary |-
|
50
|
+
Y2h1bmtlZA==
|
51
|
+
!binary "Q29udGVudC1UeXBl":
|
52
|
+
- !binary |-
|
53
|
+
dGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOA==
|
54
|
+
body:
|
55
|
+
encoding: US-ASCII
|
56
|
+
string: ''
|
57
|
+
http_version:
|
58
|
+
recorded_at: Tue, 18 Jun 2013 16:04:39 GMT
|
59
|
+
recorded_with: VCR 2.5.0
|
metadata
ADDED
@@ -0,0 +1,281 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: docker-api
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.2
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Swipely, Inc.
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2013-06-20 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: excon
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: 0.22.0
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ! '>='
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 0.22.0
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: json
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
34
|
+
requirements:
|
35
|
+
- - ! '>='
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: '0'
|
38
|
+
type: :runtime
|
39
|
+
prerelease: false
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ! '>='
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: '0'
|
46
|
+
- !ruby/object:Gem::Dependency
|
47
|
+
name: i18n
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
50
|
+
requirements:
|
51
|
+
- - ! '>='
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '0'
|
54
|
+
type: :runtime
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - ! '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
- !ruby/object:Gem::Dependency
|
63
|
+
name: multipart-post
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
65
|
+
none: false
|
66
|
+
requirements:
|
67
|
+
- - ! '>='
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '0'
|
70
|
+
type: :runtime
|
71
|
+
prerelease: false
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - ! '>='
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '0'
|
78
|
+
- !ruby/object:Gem::Dependency
|
79
|
+
name: rake
|
80
|
+
requirement: !ruby/object:Gem::Requirement
|
81
|
+
none: false
|
82
|
+
requirements:
|
83
|
+
- - ! '>='
|
84
|
+
- !ruby/object:Gem::Version
|
85
|
+
version: '0'
|
86
|
+
type: :development
|
87
|
+
prerelease: false
|
88
|
+
version_requirements: !ruby/object:Gem::Requirement
|
89
|
+
none: false
|
90
|
+
requirements:
|
91
|
+
- - ! '>='
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: '0'
|
94
|
+
- !ruby/object:Gem::Dependency
|
95
|
+
name: rspec
|
96
|
+
requirement: !ruby/object:Gem::Requirement
|
97
|
+
none: false
|
98
|
+
requirements:
|
99
|
+
- - ! '>='
|
100
|
+
- !ruby/object:Gem::Version
|
101
|
+
version: '0'
|
102
|
+
type: :development
|
103
|
+
prerelease: false
|
104
|
+
version_requirements: !ruby/object:Gem::Requirement
|
105
|
+
none: false
|
106
|
+
requirements:
|
107
|
+
- - ! '>='
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '0'
|
110
|
+
- !ruby/object:Gem::Dependency
|
111
|
+
name: cane
|
112
|
+
requirement: !ruby/object:Gem::Requirement
|
113
|
+
none: false
|
114
|
+
requirements:
|
115
|
+
- - ! '>='
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
none: false
|
122
|
+
requirements:
|
123
|
+
- - ! '>='
|
124
|
+
- !ruby/object:Gem::Version
|
125
|
+
version: '0'
|
126
|
+
- !ruby/object:Gem::Dependency
|
127
|
+
name: pry
|
128
|
+
requirement: !ruby/object:Gem::Requirement
|
129
|
+
none: false
|
130
|
+
requirements:
|
131
|
+
- - ! '>='
|
132
|
+
- !ruby/object:Gem::Version
|
133
|
+
version: '0'
|
134
|
+
type: :development
|
135
|
+
prerelease: false
|
136
|
+
version_requirements: !ruby/object:Gem::Requirement
|
137
|
+
none: false
|
138
|
+
requirements:
|
139
|
+
- - ! '>='
|
140
|
+
- !ruby/object:Gem::Version
|
141
|
+
version: '0'
|
142
|
+
- !ruby/object:Gem::Dependency
|
143
|
+
name: webmock
|
144
|
+
requirement: !ruby/object:Gem::Requirement
|
145
|
+
none: false
|
146
|
+
requirements:
|
147
|
+
- - ! '>='
|
148
|
+
- !ruby/object:Gem::Version
|
149
|
+
version: 1.11.0
|
150
|
+
type: :development
|
151
|
+
prerelease: false
|
152
|
+
version_requirements: !ruby/object:Gem::Requirement
|
153
|
+
none: false
|
154
|
+
requirements:
|
155
|
+
- - ! '>='
|
156
|
+
- !ruby/object:Gem::Version
|
157
|
+
version: 1.11.0
|
158
|
+
- !ruby/object:Gem::Dependency
|
159
|
+
name: vcr
|
160
|
+
requirement: !ruby/object:Gem::Requirement
|
161
|
+
none: false
|
162
|
+
requirements:
|
163
|
+
- - ! '>='
|
164
|
+
- !ruby/object:Gem::Version
|
165
|
+
version: 2.4.0
|
166
|
+
type: :development
|
167
|
+
prerelease: false
|
168
|
+
version_requirements: !ruby/object:Gem::Requirement
|
169
|
+
none: false
|
170
|
+
requirements:
|
171
|
+
- - ! '>='
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: 2.4.0
|
174
|
+
description: A simple REST client for the Docker Remote API
|
175
|
+
email:
|
176
|
+
- tomhulihan@swipely.com
|
177
|
+
- bright@swipely.com
|
178
|
+
executables: []
|
179
|
+
extensions: []
|
180
|
+
extra_rdoc_files: []
|
181
|
+
files:
|
182
|
+
- .cane
|
183
|
+
- .gitignore
|
184
|
+
- Gemfile
|
185
|
+
- README.md
|
186
|
+
- Rakefile
|
187
|
+
- docker-api.gemspec
|
188
|
+
- lib/docker.rb
|
189
|
+
- lib/docker/connection.rb
|
190
|
+
- lib/docker/container.rb
|
191
|
+
- lib/docker/error.rb
|
192
|
+
- lib/docker/image.rb
|
193
|
+
- lib/docker/model.rb
|
194
|
+
- lib/docker/multipart.rb
|
195
|
+
- lib/docker/version.rb
|
196
|
+
- spec/docker/connection_spec.rb
|
197
|
+
- spec/docker/container_spec.rb
|
198
|
+
- spec/docker/image_spec.rb
|
199
|
+
- spec/docker_spec.rb
|
200
|
+
- spec/spec_helper.rb
|
201
|
+
- spec/support/vcr.rb
|
202
|
+
- spec/vcr/Docker/_info/returns_the_info_as_a_Hash.yml
|
203
|
+
- spec/vcr/Docker/_version/returns_the_version_as_a_Hash.yml
|
204
|
+
- spec/vcr/Docker_Container/_all/when_the_HTTP_response_is_a_200/materializes_each_Container_into_a_Docker_Container.yml
|
205
|
+
- spec/vcr/Docker_Container/_attach/when_the_Container_has_been_created/when_the_HTTP_response_status_is_200/yields_each_chunk.yml
|
206
|
+
- spec/vcr/Docker_Container/_changes/when_the_Container_has_been_created/when_the_HTTP_response_status_is_200/returns_the_changes_as_an_array.yml
|
207
|
+
- spec/vcr/Docker_Container/_commit/when_the_Container_has_been_created/when_the_HTTP_response_status_is_200/creates_a_new_Image_from_the_Container_s_changes.yml
|
208
|
+
- spec/vcr/Docker_Container/_create_/when_the_Container_does_not_yet_exist_and_the_body_is_a_Hash/when_the_HTTP_request_returns_a_200/sets_the_id.yml
|
209
|
+
- spec/vcr/Docker_Container/_export/when_the_Container_has_been_created/when_the_HTTP_response_status_is_200/yields_each_chunk.yml
|
210
|
+
- spec/vcr/Docker_Container/_json/when_the_Container_has_been_created/when_the_HTTP_response_status_is_200/returns_the_description_as_a_Hash.yml
|
211
|
+
- spec/vcr/Docker_Container/_kill/when_the_Container_has_been_created/when_the_HTTP_response_status_is_204/kills_the_container.yml
|
212
|
+
- spec/vcr/Docker_Container/_restart/when_the_Container_has_been_created/when_the_HTTP_response_status_is_204/restarts_the_container.yml
|
213
|
+
- spec/vcr/Docker_Container/_start/when_the_Container_has_been_created/when_the_HTTP_response_status_is_200/starts_the_container.yml
|
214
|
+
- spec/vcr/Docker_Container/_stop/when_the_Container_has_been_created/when_the_HTTP_response_status_is_204/stops_the_container.yml
|
215
|
+
- spec/vcr/Docker_Container/_wait/when_the_Container_has_been_created/when_the_HTTP_response_status_is_200/waits_for_the_command_to_finish.yml
|
216
|
+
- spec/vcr/Docker_Image/_all/when_the_HTTP_response_is_a_200/materializes_each_Container_into_a_Docker_Container.yml
|
217
|
+
- spec/vcr/Docker_Image/_build/with_a_valid_Dockerfile/builds_an_image.yml
|
218
|
+
- spec/vcr/Docker_Image/_build/with_an_invalid_Dockerfile/throws_a_UnexpectedResponseError.yml
|
219
|
+
- spec/vcr/Docker_Image/_create_/when_the_Image_does_not_yet_exist_and_the_body_is_a_Hash/when_the_HTTP_request_returns_a_200/sets_the_id.yml
|
220
|
+
- spec/vcr/Docker_Image/_history/when_the_Image_has_been_created/when_the_HTTP_response_status_is_200/returns_the_history_of_the_Image.yml
|
221
|
+
- spec/vcr/Docker_Image/_insert/when_the_Image_has_been_created/when_the_HTTP_response_status_is_200/inserts_the_file.yml
|
222
|
+
- spec/vcr/Docker_Image/_json/when_the_Image_has_been_created/when_the_HTTP_response_status_is_200/returns_additional_information_about_image_image.yml
|
223
|
+
- spec/vcr/Docker_Image/_remove/when_the_Image_has_been_created/when_the_HTTP_response_status_is_204/nils_out_the_id.yml
|
224
|
+
- spec/vcr/Docker_Image/_search/when_the_HTTP_response_is_a_200/materializes_each_Container_into_a_Docker_Container.yml
|
225
|
+
- spec/vcr/Docker_Image/_tag/when_the_Image_has_been_created/when_the_HTTP_response_status_is_200/tags_the_image_with_the_repo_name.yml
|
226
|
+
homepage: https://github.com/swipely/docker-api
|
227
|
+
licenses: []
|
228
|
+
post_install_message:
|
229
|
+
rdoc_options: []
|
230
|
+
require_paths:
|
231
|
+
- lib
|
232
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
233
|
+
none: false
|
234
|
+
requirements:
|
235
|
+
- - ! '>='
|
236
|
+
- !ruby/object:Gem::Version
|
237
|
+
version: '0'
|
238
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
239
|
+
none: false
|
240
|
+
requirements:
|
241
|
+
- - ! '>='
|
242
|
+
- !ruby/object:Gem::Version
|
243
|
+
version: '0'
|
244
|
+
requirements: []
|
245
|
+
rubyforge_project:
|
246
|
+
rubygems_version: 1.8.23
|
247
|
+
signing_key:
|
248
|
+
specification_version: 3
|
249
|
+
summary: A simple REST client for the Docker Remote API
|
250
|
+
test_files:
|
251
|
+
- spec/docker/connection_spec.rb
|
252
|
+
- spec/docker/container_spec.rb
|
253
|
+
- spec/docker/image_spec.rb
|
254
|
+
- spec/docker_spec.rb
|
255
|
+
- spec/spec_helper.rb
|
256
|
+
- spec/support/vcr.rb
|
257
|
+
- spec/vcr/Docker/_info/returns_the_info_as_a_Hash.yml
|
258
|
+
- spec/vcr/Docker/_version/returns_the_version_as_a_Hash.yml
|
259
|
+
- spec/vcr/Docker_Container/_all/when_the_HTTP_response_is_a_200/materializes_each_Container_into_a_Docker_Container.yml
|
260
|
+
- spec/vcr/Docker_Container/_attach/when_the_Container_has_been_created/when_the_HTTP_response_status_is_200/yields_each_chunk.yml
|
261
|
+
- spec/vcr/Docker_Container/_changes/when_the_Container_has_been_created/when_the_HTTP_response_status_is_200/returns_the_changes_as_an_array.yml
|
262
|
+
- spec/vcr/Docker_Container/_commit/when_the_Container_has_been_created/when_the_HTTP_response_status_is_200/creates_a_new_Image_from_the_Container_s_changes.yml
|
263
|
+
- spec/vcr/Docker_Container/_create_/when_the_Container_does_not_yet_exist_and_the_body_is_a_Hash/when_the_HTTP_request_returns_a_200/sets_the_id.yml
|
264
|
+
- spec/vcr/Docker_Container/_export/when_the_Container_has_been_created/when_the_HTTP_response_status_is_200/yields_each_chunk.yml
|
265
|
+
- spec/vcr/Docker_Container/_json/when_the_Container_has_been_created/when_the_HTTP_response_status_is_200/returns_the_description_as_a_Hash.yml
|
266
|
+
- spec/vcr/Docker_Container/_kill/when_the_Container_has_been_created/when_the_HTTP_response_status_is_204/kills_the_container.yml
|
267
|
+
- spec/vcr/Docker_Container/_restart/when_the_Container_has_been_created/when_the_HTTP_response_status_is_204/restarts_the_container.yml
|
268
|
+
- spec/vcr/Docker_Container/_start/when_the_Container_has_been_created/when_the_HTTP_response_status_is_200/starts_the_container.yml
|
269
|
+
- spec/vcr/Docker_Container/_stop/when_the_Container_has_been_created/when_the_HTTP_response_status_is_204/stops_the_container.yml
|
270
|
+
- spec/vcr/Docker_Container/_wait/when_the_Container_has_been_created/when_the_HTTP_response_status_is_200/waits_for_the_command_to_finish.yml
|
271
|
+
- spec/vcr/Docker_Image/_all/when_the_HTTP_response_is_a_200/materializes_each_Container_into_a_Docker_Container.yml
|
272
|
+
- spec/vcr/Docker_Image/_build/with_a_valid_Dockerfile/builds_an_image.yml
|
273
|
+
- spec/vcr/Docker_Image/_build/with_an_invalid_Dockerfile/throws_a_UnexpectedResponseError.yml
|
274
|
+
- spec/vcr/Docker_Image/_create_/when_the_Image_does_not_yet_exist_and_the_body_is_a_Hash/when_the_HTTP_request_returns_a_200/sets_the_id.yml
|
275
|
+
- spec/vcr/Docker_Image/_history/when_the_Image_has_been_created/when_the_HTTP_response_status_is_200/returns_the_history_of_the_Image.yml
|
276
|
+
- spec/vcr/Docker_Image/_insert/when_the_Image_has_been_created/when_the_HTTP_response_status_is_200/inserts_the_file.yml
|
277
|
+
- spec/vcr/Docker_Image/_json/when_the_Image_has_been_created/when_the_HTTP_response_status_is_200/returns_additional_information_about_image_image.yml
|
278
|
+
- spec/vcr/Docker_Image/_remove/when_the_Image_has_been_created/when_the_HTTP_response_status_is_204/nils_out_the_id.yml
|
279
|
+
- spec/vcr/Docker_Image/_search/when_the_HTTP_response_is_a_200/materializes_each_Container_into_a_Docker_Container.yml
|
280
|
+
- spec/vcr/Docker_Image/_tag/when_the_Image_has_been_created/when_the_HTTP_response_status_is_200/tags_the_image_with_the_repo_name.yml
|
281
|
+
has_rdoc:
|