docker-api 1.5.3 → 1.5.4
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.
- data/lib/docker/image.rb +2 -2
- data/lib/docker/version.rb +1 -1
- data/spec/vcr/Docker_Image/_insert_local/when_the_local_file_does_exist/creates_a_new_Image_that_has_that_file.yml +87 -74
- data/spec/vcr/Docker_Image/_insert_local/when_the_local_file_does_not_exist/raises_an_error.yml +13 -13
- data/spec/vcr/Docker_Image/_insert_local/when_there_are_multiple_files_passed/creates_a_new_Image_that_has_each_file.yml +80 -83
- metadata +50 -27
- checksums.yaml +0 -7
data/lib/docker/image.rb
CHANGED
@@ -154,10 +154,10 @@ class Docker::Image
|
|
154
154
|
# Convience method to get the Dockerfile for a file hash and a path to
|
155
155
|
# output to.
|
156
156
|
def dockerfile_for(file_hash, output_path)
|
157
|
-
dockerfile = "from #{self.id}"
|
157
|
+
dockerfile = "from #{self.id}\n"
|
158
158
|
|
159
159
|
file_hash.keys.each do |basename|
|
160
|
-
dockerfile << "add #{basename} #{output_path}"
|
160
|
+
dockerfile << "add #{basename} #{output_path}\n"
|
161
161
|
end
|
162
162
|
|
163
163
|
dockerfile
|
data/lib/docker/version.rb
CHANGED
@@ -54,7 +54,7 @@ http_interactions:
|
|
54
54
|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=
|
55
55
|
headers:
|
56
56
|
User-Agent:
|
57
|
-
- Swipely/Docker-API 1.5.
|
57
|
+
- Swipely/Docker-API 1.5.3
|
58
58
|
Content-Type:
|
59
59
|
- application/json
|
60
60
|
response:
|
@@ -62,20 +62,20 @@ http_interactions:
|
|
62
62
|
code: 200
|
63
63
|
message: ''
|
64
64
|
headers:
|
65
|
-
|
66
|
-
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
65
|
+
!binary "Q29udGVudC1UeXBl":
|
66
|
+
- !binary |-
|
67
|
+
dGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOA==
|
68
|
+
!binary "RGF0ZQ==":
|
69
|
+
- !binary |-
|
70
|
+
V2VkLCAxOCBTZXAgMjAxMyAxNTozMzowOCBHTVQ=
|
71
|
+
!binary "VHJhbnNmZXItRW5jb2Rpbmc=":
|
72
|
+
- !binary |-
|
73
|
+
Y2h1bmtlZA==
|
71
74
|
body:
|
72
|
-
encoding:
|
73
|
-
string:
|
74
|
-
Step 1 : FROM base
|
75
|
-
---> b750fe79269d
|
76
|
-
Successfully built b750fe79269d
|
75
|
+
encoding: US-ASCII
|
76
|
+
string: ! "Step 1 : FROM base\n ---> b750fe79269d\nSuccessfully built b750fe79269d\n"
|
77
77
|
http_version:
|
78
|
-
recorded_at:
|
78
|
+
recorded_at: Wed, 18 Sep 2013 15:35:33 GMT
|
79
79
|
- request:
|
80
80
|
method: post
|
81
81
|
uri: http://localhost:4243/v1.4/build
|
@@ -107,8 +107,8 @@ http_interactions:
|
|
107
107
|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAERvY2tlcmZpbGUA
|
108
108
|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
109
109
|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAw
|
110
|
-
|
111
|
-
|
110
|
+
MDAwNjQwADAwMDAwMDAAMDAwMDAwMAAwMDAwMDAwMDA0MAAwMDAwMDAwMDAw
|
111
|
+
MAAwMTMyMzcAIDAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
112
112
|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
113
113
|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAdXN0YXIAMDB3aGVlbAAAAAAAAAAAAAAA
|
114
114
|
AAAAAAAAAAAAAAAAAAAAAHdoZWVsAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
@@ -116,7 +116,7 @@ http_interactions:
|
|
116
116
|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
117
117
|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
118
118
|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
119
|
-
|
119
|
+
AAAAAAAAZnJvbSBiNzUwZmU3OTI2OWQKYWRkIEdlbWZpbGUgLwoAAAAAAAAA
|
120
120
|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
121
121
|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
122
122
|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
@@ -153,7 +153,7 @@ http_interactions:
|
|
153
153
|
AAAAAAAAAAAAAAAA
|
154
154
|
headers:
|
155
155
|
User-Agent:
|
156
|
-
- Swipely/Docker-API 1.5.
|
156
|
+
- Swipely/Docker-API 1.5.3
|
157
157
|
Content-Type:
|
158
158
|
- application/json
|
159
159
|
response:
|
@@ -161,31 +161,30 @@ http_interactions:
|
|
161
161
|
code: 200
|
162
162
|
message: ''
|
163
163
|
headers:
|
164
|
-
|
165
|
-
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
164
|
+
!binary "Q29udGVudC1UeXBl":
|
165
|
+
- !binary |-
|
166
|
+
dGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOA==
|
167
|
+
!binary "RGF0ZQ==":
|
168
|
+
- !binary |-
|
169
|
+
V2VkLCAxOCBTZXAgMjAxMyAxNTozMzowOCBHTVQ=
|
170
|
+
!binary "VHJhbnNmZXItRW5jb2Rpbmc=":
|
171
|
+
- !binary |-
|
172
|
+
Y2h1bmtlZA==
|
170
173
|
body:
|
171
|
-
encoding:
|
172
|
-
string:
|
173
|
-
|
174
|
-
---> b750fe79269d
|
175
|
-
Step 2 : ADD Gemfile /
|
176
|
-
---> eed61e263f7d
|
177
|
-
Successfully built eed61e263f7d
|
174
|
+
encoding: US-ASCII
|
175
|
+
string: ! "Step 1 : FROM b750fe79269d\n ---> b750fe79269d\nStep 2 : ADD Gemfile
|
176
|
+
/\n ---> 764be4f5f609\nSuccessfully built 764be4f5f609\n"
|
178
177
|
http_version:
|
179
|
-
recorded_at:
|
178
|
+
recorded_at: Wed, 18 Sep 2013 15:35:33 GMT
|
180
179
|
- request:
|
181
180
|
method: post
|
182
181
|
uri: http://localhost:4243/v1.4/containers/create
|
183
182
|
body:
|
184
183
|
encoding: UTF-8
|
185
|
-
string: '{"Image":"
|
184
|
+
string: ! '{"Image":"764be4f5f609","Cmd":["cat","/Gemfile"]}'
|
186
185
|
headers:
|
187
186
|
User-Agent:
|
188
|
-
- Swipely/Docker-API 1.5.
|
187
|
+
- Swipely/Docker-API 1.5.3
|
189
188
|
Content-Type:
|
190
189
|
- application/json
|
191
190
|
response:
|
@@ -193,26 +192,29 @@ http_interactions:
|
|
193
192
|
code: 201
|
194
193
|
message: ''
|
195
194
|
headers:
|
196
|
-
|
197
|
-
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
195
|
+
!binary "Q29udGVudC1UeXBl":
|
196
|
+
- !binary |-
|
197
|
+
dGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOA==
|
198
|
+
!binary "Q29udGVudC1MZW5ndGg=":
|
199
|
+
- !binary |-
|
200
|
+
NjU=
|
201
|
+
!binary "RGF0ZQ==":
|
202
|
+
- !binary |-
|
203
|
+
V2VkLCAxOCBTZXAgMjAxMyAxNTozMzowOCBHTVQ=
|
202
204
|
body:
|
203
|
-
encoding:
|
204
|
-
string: '{"Id":"
|
205
|
+
encoding: US-ASCII
|
206
|
+
string: ! '{"Id":"1b3e3fa0e5f2","Warnings":["IPv4 forwarding is disabled."]}'
|
205
207
|
http_version:
|
206
|
-
recorded_at:
|
208
|
+
recorded_at: Wed, 18 Sep 2013 15:35:33 GMT
|
207
209
|
- request:
|
208
210
|
method: post
|
209
|
-
uri: http://localhost:4243/v1.4/containers/
|
211
|
+
uri: http://localhost:4243/v1.4/containers/1b3e3fa0e5f2/start
|
210
212
|
body:
|
211
213
|
encoding: UTF-8
|
212
|
-
string: '{}'
|
214
|
+
string: ! '{}'
|
213
215
|
headers:
|
214
216
|
User-Agent:
|
215
|
-
- Swipely/Docker-API 1.5.
|
217
|
+
- Swipely/Docker-API 1.5.3
|
216
218
|
Content-Type:
|
217
219
|
- application/json
|
218
220
|
response:
|
@@ -220,26 +222,29 @@ http_interactions:
|
|
220
222
|
code: 204
|
221
223
|
message: ''
|
222
224
|
headers:
|
223
|
-
|
224
|
-
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
225
|
+
!binary "Q29udGVudC1UeXBl":
|
226
|
+
- !binary |-
|
227
|
+
dGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOA==
|
228
|
+
!binary "Q29udGVudC1MZW5ndGg=":
|
229
|
+
- !binary |-
|
230
|
+
MA==
|
231
|
+
!binary "RGF0ZQ==":
|
232
|
+
- !binary |-
|
233
|
+
V2VkLCAxOCBTZXAgMjAxMyAxNTozMzowOCBHTVQ=
|
229
234
|
body:
|
230
|
-
encoding:
|
235
|
+
encoding: US-ASCII
|
231
236
|
string: ''
|
232
237
|
http_version:
|
233
|
-
recorded_at:
|
238
|
+
recorded_at: Wed, 18 Sep 2013 15:35:33 GMT
|
234
239
|
- request:
|
235
240
|
method: post
|
236
|
-
uri: http://localhost:4243/v1.4/containers/
|
241
|
+
uri: http://localhost:4243/v1.4/containers/1b3e3fa0e5f2/start
|
237
242
|
body:
|
238
243
|
encoding: UTF-8
|
239
|
-
string: '{}'
|
244
|
+
string: ! '{}'
|
240
245
|
headers:
|
241
246
|
User-Agent:
|
242
|
-
- Swipely/Docker-API 1.5.
|
247
|
+
- Swipely/Docker-API 1.5.3
|
243
248
|
Content-Type:
|
244
249
|
- application/json
|
245
250
|
response:
|
@@ -247,27 +252,32 @@ http_interactions:
|
|
247
252
|
code: 500
|
248
253
|
message: ''
|
249
254
|
headers:
|
250
|
-
|
251
|
-
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
255
|
+
!binary "Q29udGVudC1UeXBl":
|
256
|
+
- !binary |-
|
257
|
+
dGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOA==
|
258
|
+
!binary "Q29udGVudC1MZW5ndGg=":
|
259
|
+
- !binary |-
|
260
|
+
MTM4
|
261
|
+
!binary "RGF0ZQ==":
|
262
|
+
- !binary |-
|
263
|
+
V2VkLCAxOCBTZXAgMjAxMyAxNTozMzowOCBHTVQ=
|
256
264
|
body:
|
257
|
-
encoding:
|
258
|
-
string:
|
259
|
-
|
265
|
+
encoding: US-ASCII
|
266
|
+
string: ! 'Error starting container 1b3e3fa0e5f2: The container 1b3e3fa0e5f250dd614b82241abb0cce0b4b302d02b73426f3e116f8fe40b9a4
|
267
|
+
is already running.
|
268
|
+
|
269
|
+
'
|
260
270
|
http_version:
|
261
|
-
recorded_at:
|
271
|
+
recorded_at: Wed, 18 Sep 2013 15:35:33 GMT
|
262
272
|
- request:
|
263
273
|
method: post
|
264
|
-
uri: http://localhost:4243/v1.4/containers/
|
274
|
+
uri: http://localhost:4243/v1.4/containers/1b3e3fa0e5f2/attach?stdout=true&stream=true
|
265
275
|
body:
|
266
276
|
encoding: US-ASCII
|
267
277
|
string: ''
|
268
278
|
headers:
|
269
279
|
User-Agent:
|
270
|
-
- Swipely/Docker-API 1.5.
|
280
|
+
- Swipely/Docker-API 1.5.3
|
271
281
|
Content-Type:
|
272
282
|
- text/plain
|
273
283
|
response:
|
@@ -275,14 +285,17 @@ http_interactions:
|
|
275
285
|
code: 200
|
276
286
|
message: ''
|
277
287
|
headers:
|
278
|
-
|
279
|
-
-
|
288
|
+
!binary "Q29udGVudC1UeXBl":
|
289
|
+
- !binary |-
|
290
|
+
YXBwbGljYXRpb24vdm5kLmRvY2tlci5yYXctc3RyZWFt
|
280
291
|
body:
|
281
|
-
encoding:
|
282
|
-
string:
|
283
|
-
|
292
|
+
encoding: US-ASCII
|
293
|
+
string: ! 'source ''http://rubygems.org''
|
294
|
+
|
284
295
|
|
285
296
|
gemspec
|
297
|
+
|
298
|
+
'
|
286
299
|
http_version:
|
287
|
-
recorded_at:
|
300
|
+
recorded_at: Wed, 18 Sep 2013 15:35:33 GMT
|
288
301
|
recorded_with: VCR 2.5.0
|
data/spec/vcr/Docker_Image/_insert_local/when_the_local_file_does_not_exist/raises_an_error.yml
CHANGED
@@ -54,7 +54,7 @@ http_interactions:
|
|
54
54
|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=
|
55
55
|
headers:
|
56
56
|
User-Agent:
|
57
|
-
- Swipely/Docker-API 1.5.
|
57
|
+
- Swipely/Docker-API 1.5.3
|
58
58
|
Content-Type:
|
59
59
|
- application/json
|
60
60
|
response:
|
@@ -62,18 +62,18 @@ http_interactions:
|
|
62
62
|
code: 200
|
63
63
|
message: ''
|
64
64
|
headers:
|
65
|
-
|
66
|
-
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
65
|
+
!binary "Q29udGVudC1UeXBl":
|
66
|
+
- !binary |-
|
67
|
+
dGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOA==
|
68
|
+
!binary "RGF0ZQ==":
|
69
|
+
- !binary |-
|
70
|
+
V2VkLCAxOCBTZXAgMjAxMyAxNTozMzowOCBHTVQ=
|
71
|
+
!binary "VHJhbnNmZXItRW5jb2Rpbmc=":
|
72
|
+
- !binary |-
|
73
|
+
Y2h1bmtlZA==
|
71
74
|
body:
|
72
|
-
encoding:
|
73
|
-
string:
|
74
|
-
Step 1 : FROM base
|
75
|
-
---> b750fe79269d
|
76
|
-
Successfully built b750fe79269d
|
75
|
+
encoding: US-ASCII
|
76
|
+
string: ! "Step 1 : FROM base\n ---> b750fe79269d\nSuccessfully built b750fe79269d\n"
|
77
77
|
http_version:
|
78
|
-
recorded_at:
|
78
|
+
recorded_at: Wed, 18 Sep 2013 15:35:33 GMT
|
79
79
|
recorded_with: VCR 2.5.0
|
@@ -62,18 +62,20 @@ http_interactions:
|
|
62
62
|
code: 200
|
63
63
|
message: ''
|
64
64
|
headers:
|
65
|
-
|
66
|
-
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
65
|
+
!binary "Q29udGVudC1UeXBl":
|
66
|
+
- !binary |-
|
67
|
+
dGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOA==
|
68
|
+
!binary "RGF0ZQ==":
|
69
|
+
- !binary |-
|
70
|
+
V2VkLCAxOCBTZXAgMjAxMyAxNTozMzowOCBHTVQ=
|
71
|
+
!binary "VHJhbnNmZXItRW5jb2Rpbmc=":
|
72
|
+
- !binary |-
|
73
|
+
Y2h1bmtlZA==
|
71
74
|
body:
|
72
|
-
encoding:
|
73
|
-
string: "Step 1 : FROM base\
|
74
|
-
(ubuntu-quantl) from base\r\n ---> b750fe79269d\nSuccessfully built b750fe79269d\n"
|
75
|
+
encoding: US-ASCII
|
76
|
+
string: ! "Step 1 : FROM base\n ---> b750fe79269d\nSuccessfully built b750fe79269d\n"
|
75
77
|
http_version:
|
76
|
-
recorded_at:
|
78
|
+
recorded_at: Wed, 18 Sep 2013 15:35:33 GMT
|
77
79
|
- request:
|
78
80
|
method: post
|
79
81
|
uri: http://localhost:4243/v1.4/build
|
@@ -182,30 +184,28 @@ http_interactions:
|
|
182
184
|
code: 200
|
183
185
|
message: ''
|
184
186
|
headers:
|
185
|
-
|
186
|
-
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
187
|
+
!binary "Q29udGVudC1UeXBl":
|
188
|
+
- !binary |-
|
189
|
+
dGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOA==
|
190
|
+
!binary "RGF0ZQ==":
|
191
|
+
- !binary |-
|
192
|
+
V2VkLCAxOCBTZXAgMjAxMyAxNTozMzowOCBHTVQ=
|
193
|
+
!binary "VHJhbnNmZXItRW5jb2Rpbmc=":
|
194
|
+
- !binary |-
|
195
|
+
Y2h1bmtlZA==
|
191
196
|
body:
|
192
|
-
encoding:
|
193
|
-
string:
|
194
|
-
|
195
|
-
|
196
|
-
Step 2 : ADD Gemfile /
|
197
|
-
---> 8124a17c1581
|
198
|
-
Step 3 : ADD Rakefile /
|
199
|
-
---> ed8565d07a24
|
200
|
-
Successfully built ed8565d07a24
|
197
|
+
encoding: US-ASCII
|
198
|
+
string: ! "Step 1 : FROM b750fe79269d\n ---> b750fe79269d\nStep 2 : ADD Gemfile
|
199
|
+
/\n ---> 9a8f51ecd54e\nStep 3 : ADD Rakefile /\n ---> f7f65708771f\nSuccessfully
|
200
|
+
built f7f65708771f\n"
|
201
201
|
http_version:
|
202
|
-
recorded_at:
|
202
|
+
recorded_at: Wed, 18 Sep 2013 15:35:33 GMT
|
203
203
|
- request:
|
204
204
|
method: post
|
205
205
|
uri: http://localhost:4243/v1.4/containers/create
|
206
206
|
body:
|
207
207
|
encoding: UTF-8
|
208
|
-
string: '{"Image":"
|
208
|
+
string: ! '{"Image":"f7f65708771f","Cmd":["cat","/Gemfile","/Rakefile"]}'
|
209
209
|
headers:
|
210
210
|
User-Agent:
|
211
211
|
- Swipely/Docker-API 1.5.3
|
@@ -216,23 +216,26 @@ http_interactions:
|
|
216
216
|
code: 201
|
217
217
|
message: ''
|
218
218
|
headers:
|
219
|
-
|
220
|
-
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
219
|
+
!binary "Q29udGVudC1UeXBl":
|
220
|
+
- !binary |-
|
221
|
+
dGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOA==
|
222
|
+
!binary "Q29udGVudC1MZW5ndGg=":
|
223
|
+
- !binary |-
|
224
|
+
NjU=
|
225
|
+
!binary "RGF0ZQ==":
|
226
|
+
- !binary |-
|
227
|
+
V2VkLCAxOCBTZXAgMjAxMyAxNTozMzowOCBHTVQ=
|
225
228
|
body:
|
226
|
-
encoding:
|
227
|
-
string: '{"Id":"
|
229
|
+
encoding: US-ASCII
|
230
|
+
string: ! '{"Id":"9fb2f8702b1c","Warnings":["IPv4 forwarding is disabled."]}'
|
228
231
|
http_version:
|
229
|
-
recorded_at:
|
232
|
+
recorded_at: Wed, 18 Sep 2013 15:35:33 GMT
|
230
233
|
- request:
|
231
234
|
method: post
|
232
|
-
uri: http://localhost:4243/v1.4/containers/
|
235
|
+
uri: http://localhost:4243/v1.4/containers/9fb2f8702b1c/start
|
233
236
|
body:
|
234
237
|
encoding: UTF-8
|
235
|
-
string: '{}'
|
238
|
+
string: ! '{}'
|
236
239
|
headers:
|
237
240
|
User-Agent:
|
238
241
|
- Swipely/Docker-API 1.5.3
|
@@ -243,23 +246,26 @@ http_interactions:
|
|
243
246
|
code: 204
|
244
247
|
message: ''
|
245
248
|
headers:
|
246
|
-
|
247
|
-
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
249
|
+
!binary "Q29udGVudC1UeXBl":
|
250
|
+
- !binary |-
|
251
|
+
dGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOA==
|
252
|
+
!binary "Q29udGVudC1MZW5ndGg=":
|
253
|
+
- !binary |-
|
254
|
+
MA==
|
255
|
+
!binary "RGF0ZQ==":
|
256
|
+
- !binary |-
|
257
|
+
V2VkLCAxOCBTZXAgMjAxMyAxNTozMzowOCBHTVQ=
|
252
258
|
body:
|
253
|
-
encoding:
|
259
|
+
encoding: US-ASCII
|
254
260
|
string: ''
|
255
261
|
http_version:
|
256
|
-
recorded_at:
|
262
|
+
recorded_at: Wed, 18 Sep 2013 15:35:33 GMT
|
257
263
|
- request:
|
258
264
|
method: post
|
259
|
-
uri: http://localhost:4243/v1.4/containers/
|
265
|
+
uri: http://localhost:4243/v1.4/containers/9fb2f8702b1c/start
|
260
266
|
body:
|
261
267
|
encoding: UTF-8
|
262
|
-
string: '{}'
|
268
|
+
string: ! '{}'
|
263
269
|
headers:
|
264
270
|
User-Agent:
|
265
271
|
- Swipely/Docker-API 1.5.3
|
@@ -270,21 +276,26 @@ http_interactions:
|
|
270
276
|
code: 500
|
271
277
|
message: ''
|
272
278
|
headers:
|
273
|
-
|
274
|
-
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
+
!binary "Q29udGVudC1UeXBl":
|
280
|
+
- !binary |-
|
281
|
+
dGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOA==
|
282
|
+
!binary "Q29udGVudC1MZW5ndGg=":
|
283
|
+
- !binary |-
|
284
|
+
MTM4
|
285
|
+
!binary "RGF0ZQ==":
|
286
|
+
- !binary |-
|
287
|
+
V2VkLCAxOCBTZXAgMjAxMyAxNTozMzowOCBHTVQ=
|
279
288
|
body:
|
280
|
-
encoding:
|
281
|
-
string:
|
282
|
-
|
289
|
+
encoding: US-ASCII
|
290
|
+
string: ! 'Error starting container 9fb2f8702b1c: The container 9fb2f8702b1c32ef25aa0f83f833a223b71f98b4a9cd79d9f8a05e85b8ea8f73
|
291
|
+
is already running.
|
292
|
+
|
293
|
+
'
|
283
294
|
http_version:
|
284
|
-
recorded_at:
|
295
|
+
recorded_at: Wed, 18 Sep 2013 15:35:33 GMT
|
285
296
|
- request:
|
286
297
|
method: post
|
287
|
-
uri: http://localhost:4243/v1.4/containers/
|
298
|
+
uri: http://localhost:4243/v1.4/containers/9fb2f8702b1c/attach?stdout=true&stream=true
|
288
299
|
body:
|
289
300
|
encoding: US-ASCII
|
290
301
|
string: ''
|
@@ -298,30 +309,16 @@ http_interactions:
|
|
298
309
|
code: 200
|
299
310
|
message: ''
|
300
311
|
headers:
|
301
|
-
|
302
|
-
-
|
312
|
+
!binary "Q29udGVudC1UeXBl":
|
313
|
+
- !binary |-
|
314
|
+
YXBwbGljYXRpb24vdm5kLmRvY2tlci5yYXctc3RyZWFt
|
303
315
|
body:
|
304
|
-
encoding:
|
305
|
-
string:
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
require 'rake'
|
312
|
-
require 'docker'
|
313
|
-
require 'rspec/core/rake_task'
|
314
|
-
require 'cane/rake_task'
|
315
|
-
|
316
|
-
task :default => [:spec, :quality]
|
317
|
-
|
318
|
-
RSpec::Core::RakeTask.new do |t|
|
319
|
-
t.pattern = 'spec/**/*_spec.rb'
|
320
|
-
end
|
321
|
-
|
322
|
-
Cane::RakeTask.new(:quality) do |cane|
|
323
|
-
cane.canefile = '.cane'
|
324
|
-
end
|
316
|
+
encoding: US-ASCII
|
317
|
+
string: ! "source 'http://rubygems.org'\n\ngemspec\n$LOAD_PATH.unshift(File.join(File.dirname(__FILE__),
|
318
|
+
'lib'))\n\nrequire 'rake'\nrequire 'docker'\nrequire 'rspec/core/rake_task'\nrequire
|
319
|
+
'cane/rake_task'\n\ntask :default => [:spec, :quality]\n\nRSpec::Core::RakeTask.new
|
320
|
+
do |t|\n t.pattern = 'spec/**/*_spec.rb'\nend\n\nCane::RakeTask.new(:quality)
|
321
|
+
do |cane|\n cane.canefile = '.cane'\nend\n"
|
325
322
|
http_version:
|
326
|
-
recorded_at:
|
323
|
+
recorded_at: Wed, 18 Sep 2013 15:35:33 GMT
|
327
324
|
recorded_with: VCR 2.5.0
|
metadata
CHANGED
@@ -1,153 +1,174 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: docker-api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
4
|
+
version: 1.5.4
|
5
|
+
prerelease:
|
5
6
|
platform: ruby
|
6
7
|
authors:
|
7
8
|
- Swipely, Inc.
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
11
|
-
date: 2013-09-
|
12
|
+
date: 2013-09-18 00:00:00.000000000 Z
|
12
13
|
dependencies:
|
13
14
|
- !ruby/object:Gem::Dependency
|
14
15
|
name: excon
|
15
16
|
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
16
18
|
requirements:
|
17
|
-
- - '>='
|
19
|
+
- - ! '>='
|
18
20
|
- !ruby/object:Gem::Version
|
19
21
|
version: 0.22.0
|
20
22
|
type: :runtime
|
21
23
|
prerelease: false
|
22
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
23
26
|
requirements:
|
24
|
-
- - '>='
|
27
|
+
- - ! '>='
|
25
28
|
- !ruby/object:Gem::Version
|
26
29
|
version: 0.22.0
|
27
30
|
- !ruby/object:Gem::Dependency
|
28
31
|
name: json
|
29
32
|
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
30
34
|
requirements:
|
31
|
-
- - '>='
|
35
|
+
- - ! '>='
|
32
36
|
- !ruby/object:Gem::Version
|
33
37
|
version: '0'
|
34
38
|
type: :runtime
|
35
39
|
prerelease: false
|
36
40
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
37
42
|
requirements:
|
38
|
-
- - '>='
|
43
|
+
- - ! '>='
|
39
44
|
- !ruby/object:Gem::Version
|
40
45
|
version: '0'
|
41
46
|
- !ruby/object:Gem::Dependency
|
42
47
|
name: archive-tar-minitar
|
43
48
|
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
44
50
|
requirements:
|
45
|
-
- - '>='
|
51
|
+
- - ! '>='
|
46
52
|
- !ruby/object:Gem::Version
|
47
53
|
version: '0'
|
48
54
|
type: :runtime
|
49
55
|
prerelease: false
|
50
56
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
51
58
|
requirements:
|
52
|
-
- - '>='
|
59
|
+
- - ! '>='
|
53
60
|
- !ruby/object:Gem::Version
|
54
61
|
version: '0'
|
55
62
|
- !ruby/object:Gem::Dependency
|
56
63
|
name: rake
|
57
64
|
requirement: !ruby/object:Gem::Requirement
|
65
|
+
none: false
|
58
66
|
requirements:
|
59
|
-
- - '>='
|
67
|
+
- - ! '>='
|
60
68
|
- !ruby/object:Gem::Version
|
61
69
|
version: '0'
|
62
70
|
type: :development
|
63
71
|
prerelease: false
|
64
72
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
65
74
|
requirements:
|
66
|
-
- - '>='
|
75
|
+
- - ! '>='
|
67
76
|
- !ruby/object:Gem::Version
|
68
77
|
version: '0'
|
69
78
|
- !ruby/object:Gem::Dependency
|
70
79
|
name: rspec
|
71
80
|
requirement: !ruby/object:Gem::Requirement
|
81
|
+
none: false
|
72
82
|
requirements:
|
73
|
-
- - '>='
|
83
|
+
- - ! '>='
|
74
84
|
- !ruby/object:Gem::Version
|
75
85
|
version: '0'
|
76
86
|
type: :development
|
77
87
|
prerelease: false
|
78
88
|
version_requirements: !ruby/object:Gem::Requirement
|
89
|
+
none: false
|
79
90
|
requirements:
|
80
|
-
- - '>='
|
91
|
+
- - ! '>='
|
81
92
|
- !ruby/object:Gem::Version
|
82
93
|
version: '0'
|
83
94
|
- !ruby/object:Gem::Dependency
|
84
95
|
name: cane
|
85
96
|
requirement: !ruby/object:Gem::Requirement
|
97
|
+
none: false
|
86
98
|
requirements:
|
87
|
-
- - '>='
|
99
|
+
- - ! '>='
|
88
100
|
- !ruby/object:Gem::Version
|
89
101
|
version: '0'
|
90
102
|
type: :development
|
91
103
|
prerelease: false
|
92
104
|
version_requirements: !ruby/object:Gem::Requirement
|
105
|
+
none: false
|
93
106
|
requirements:
|
94
|
-
- - '>='
|
107
|
+
- - ! '>='
|
95
108
|
- !ruby/object:Gem::Version
|
96
109
|
version: '0'
|
97
110
|
- !ruby/object:Gem::Dependency
|
98
111
|
name: pry
|
99
112
|
requirement: !ruby/object:Gem::Requirement
|
113
|
+
none: false
|
100
114
|
requirements:
|
101
|
-
- - '>='
|
115
|
+
- - ! '>='
|
102
116
|
- !ruby/object:Gem::Version
|
103
117
|
version: '0'
|
104
118
|
type: :development
|
105
119
|
prerelease: false
|
106
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
none: false
|
107
122
|
requirements:
|
108
|
-
- - '>='
|
123
|
+
- - ! '>='
|
109
124
|
- !ruby/object:Gem::Version
|
110
125
|
version: '0'
|
111
126
|
- !ruby/object:Gem::Dependency
|
112
127
|
name: webmock
|
113
128
|
requirement: !ruby/object:Gem::Requirement
|
129
|
+
none: false
|
114
130
|
requirements:
|
115
|
-
- - '>='
|
131
|
+
- - ! '>='
|
116
132
|
- !ruby/object:Gem::Version
|
117
133
|
version: 1.11.0
|
118
134
|
type: :development
|
119
135
|
prerelease: false
|
120
136
|
version_requirements: !ruby/object:Gem::Requirement
|
137
|
+
none: false
|
121
138
|
requirements:
|
122
|
-
- - '>='
|
139
|
+
- - ! '>='
|
123
140
|
- !ruby/object:Gem::Version
|
124
141
|
version: 1.11.0
|
125
142
|
- !ruby/object:Gem::Dependency
|
126
143
|
name: vcr
|
127
144
|
requirement: !ruby/object:Gem::Requirement
|
145
|
+
none: false
|
128
146
|
requirements:
|
129
|
-
- - '>='
|
147
|
+
- - ! '>='
|
130
148
|
- !ruby/object:Gem::Version
|
131
149
|
version: 2.4.0
|
132
150
|
type: :development
|
133
151
|
prerelease: false
|
134
152
|
version_requirements: !ruby/object:Gem::Requirement
|
153
|
+
none: false
|
135
154
|
requirements:
|
136
|
-
- - '>='
|
155
|
+
- - ! '>='
|
137
156
|
- !ruby/object:Gem::Version
|
138
157
|
version: 2.4.0
|
139
158
|
- !ruby/object:Gem::Dependency
|
140
159
|
name: simplecov
|
141
160
|
requirement: !ruby/object:Gem::Requirement
|
161
|
+
none: false
|
142
162
|
requirements:
|
143
|
-
- - '>='
|
163
|
+
- - ! '>='
|
144
164
|
- !ruby/object:Gem::Version
|
145
165
|
version: '0'
|
146
166
|
type: :development
|
147
167
|
prerelease: false
|
148
168
|
version_requirements: !ruby/object:Gem::Requirement
|
169
|
+
none: false
|
149
170
|
requirements:
|
150
|
-
- - '>='
|
171
|
+
- - ! '>='
|
151
172
|
- !ruby/object:Gem::Version
|
152
173
|
version: '0'
|
153
174
|
description: A simple REST client for the Docker Remote API
|
@@ -224,26 +245,27 @@ files:
|
|
224
245
|
homepage: https://github.com/swipely/docker-api
|
225
246
|
licenses:
|
226
247
|
- MIT
|
227
|
-
metadata: {}
|
228
248
|
post_install_message:
|
229
249
|
rdoc_options: []
|
230
250
|
require_paths:
|
231
251
|
- lib
|
232
252
|
required_ruby_version: !ruby/object:Gem::Requirement
|
253
|
+
none: false
|
233
254
|
requirements:
|
234
|
-
- - '>='
|
255
|
+
- - ! '>='
|
235
256
|
- !ruby/object:Gem::Version
|
236
257
|
version: '0'
|
237
258
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
259
|
+
none: false
|
238
260
|
requirements:
|
239
|
-
- - '>='
|
261
|
+
- - ! '>='
|
240
262
|
- !ruby/object:Gem::Version
|
241
263
|
version: '0'
|
242
264
|
requirements: []
|
243
265
|
rubyforge_project:
|
244
|
-
rubygems_version:
|
266
|
+
rubygems_version: 1.8.23
|
245
267
|
signing_key:
|
246
|
-
specification_version:
|
268
|
+
specification_version: 3
|
247
269
|
summary: A simple REST client for the Docker Remote API
|
248
270
|
test_files:
|
249
271
|
- spec/docker/connection_spec.rb
|
@@ -294,3 +316,4 @@ test_files:
|
|
294
316
|
- spec/vcr/Docker_Image/_run/when_the_argument_is_an_Array/creates_a_new_Container.yml
|
295
317
|
- spec/vcr/Docker_Image/_search/materializes_each_Image_into_a_Docker_Image.yml
|
296
318
|
- spec/vcr/Docker_Image/_tag/tags_the_image_with_the_repo_name.yml
|
319
|
+
has_rdoc:
|
checksums.yaml
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
---
|
2
|
-
SHA1:
|
3
|
-
metadata.gz: f0d24fe7ee17232226259b46a172f06261fd264f
|
4
|
-
data.tar.gz: e7ad9fe5f3ffdccdbe90d41a35e27f3326e2f564
|
5
|
-
SHA512:
|
6
|
-
metadata.gz: 659c3b9a38880c6ad2a3673a02f89d3619789509e51da88b105ab7791ab276e786fdaf29cf91658cf9a233402232b8416ec4d0a4622a4e147b0b23e79fe3ef53
|
7
|
-
data.tar.gz: 74e5cdf949589a4d4b87cd1e18c63e30b4ef3cd26a2b29e77f8fb88b2614d80d7ff2001707d815d19b9722c0d6edc4c90a1d9e9a06e5fe96a43de57fc28db7e3
|