docker-api 1.5.4 → 1.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/README.md +19 -10
- data/docker-api.gemspec +1 -1
- data/lib/docker.rb +14 -7
- data/lib/docker/connection.rb +6 -1
- data/lib/docker/image.rb +6 -5
- data/lib/docker/version.rb +1 -1
- data/spec/docker/connection_spec.rb +14 -6
- data/spec/docker/container_spec.rb +27 -8
- data/spec/docker/image_spec.rb +23 -5
- data/spec/docker_spec.rb +36 -28
- data/spec/vcr/Docker/_info/returns_the_info_as_a_Hash.yml +16 -13
- data/spec/vcr/Docker/_validate_version/when_nothing_is_raised/validate_version_/.yml +16 -13
- data/spec/vcr/Docker/_version/returns_the_version_as_a_Hash.yml +16 -13
- data/spec/vcr/Docker_Container/_all/when_the_HTTP_response_is_a_200/materializes_each_Container_into_a_Docker_Container.yml +120 -211
- data/spec/vcr/Docker_Container/_attach/yields_each_chunk.yml +46 -38
- data/spec/vcr/Docker_Container/_changes/returns_the_changes_as_an_array.yml +65 -53
- data/spec/vcr/Docker_Container/_commit/creates_a_new_Image_from_the_Container_s_changes.yml +50 -41
- data/spec/vcr/Docker_Container/_copy/when_the_file_does_not_exist/raises_an_error.yml +62 -48
- data/spec/vcr/Docker_Container/_copy/when_the_input_is_a_directory/yields_each_chunk_of_the_tarred_directory.yml +194 -119
- data/spec/vcr/Docker_Container/_copy/when_the_input_is_a_file/yields_each_chunk_of_the_tarred_file.yml +127 -52
- data/spec/vcr/Docker_Container/_create/when_the_Container_does_not_yet_exist/when_the_HTTP_request_returns_a_200/sets_the_id.yml +18 -15
- data/spec/vcr/Docker_Container/_delete/deletes_the_container.yml +62 -126
- data/spec/vcr/Docker_Container/_export/yields_each_chunk.yml +49 -66
- data/spec/vcr/Docker_Container/_json/returns_the_description_as_a_Hash.yml +33 -27
- data/spec/vcr/Docker_Container/_kill/kills_the_container.yml +91 -129
- data/spec/vcr/Docker_Container/_restart/restarts_the_container.yml +116 -95
- data/spec/vcr/Docker_Container/_run/when_the_Container_s_command_does_not_return_status_code_of_0/raises_an_error.yml +50 -41
- data/spec/vcr/Docker_Container/_run/when_the_Container_s_command_returns_a_status_code_of_0/creates_a_new_container_to_run_the_specified_command.yml +135 -109
- data/spec/vcr/Docker_Container/_start/starts_the_container.yml +28 -57
- data/spec/vcr/Docker_Container/_stop/stops_the_container.yml +107 -143
- data/spec/vcr/Docker_Container/_top/returns_the_top_commands_as_an_Array.yml +78 -39
- data/spec/vcr/Docker_Container/_wait/waits_for_the_command_to_finish.yml +50 -41
- data/spec/vcr/Docker_Container/_wait/when_an_argument_is_given/and_a_command_runs_for_too_long/raises_a_ServerError.yml +35 -29
- data/spec/vcr/Docker_Container/_wait/when_an_argument_is_given/sets_the_read_timeout_to_that_amount_of_time.yml +50 -41
- data/spec/vcr/Docker_Image/_all/materializes_each_Image_into_a_Docker_Image.yml +34 -26
- data/spec/vcr/Docker_Image/_build/with_a_valid_Dockerfile/builds_an_image.yml +17 -17
- data/spec/vcr/Docker_Image/_build/with_an_invalid_Dockerfile/throws_a_UnexpectedResponseError.yml +20 -15
- data/spec/vcr/Docker_Image/_create/when_the_Image_does_not_yet_exist_and_the_body_is_a_Hash/sets_the_id.yml +19 -14
- data/spec/vcr/Docker_Image/_history/returns_the_history_of_the_Image.yml +34 -26
- data/spec/vcr/Docker_Image/_insert/inserts_the_url_s_file_into_a_new_Image.yml +134 -95
- data/spec/vcr/Docker_Image/_insert_local/when_the_local_file_does_exist/creates_a_new_Image_that_has_that_file.yml +29 -29
- data/spec/vcr/Docker_Image/_insert_local/when_the_local_file_does_not_exist/raises_an_error.yml +5 -5
- data/spec/vcr/Docker_Image/_insert_local/when_there_are_multiple_files_passed/creates_a_new_Image_that_has_each_file.yml +30 -30
- data/spec/vcr/Docker_Image/_json/returns_additional_information_about_image_image.yml +34 -26
- data/spec/vcr/Docker_Image/_remove/removes_the_Image.yml +49 -38
- data/spec/vcr/Docker_Image/_run/when_the_argument_is_a_String/splits_the_String_by_spaces_and_creates_a_new_Container.yml +64 -51
- data/spec/vcr/Docker_Image/_run/when_the_argument_is_an_Array/creates_a_new_Container.yml +64 -51
- data/spec/vcr/Docker_Image/_search/materializes_each_Image_into_a_Docker_Image.yml +20 -14
- data/spec/vcr/Docker_Image/_tag/tags_the_image_with_the_repo_name.yml +33 -25
- metadata +29 -54
- 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 +0 -30
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: post
|
5
|
-
uri: http://
|
5
|
+
uri: http://unix/v1.4/build
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
8
|
string: !binary |-
|
@@ -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.4
|
58
58
|
Content-Type:
|
59
59
|
- application/json
|
60
60
|
response:
|
@@ -67,7 +67,7 @@ http_interactions:
|
|
67
67
|
dGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOA==
|
68
68
|
!binary "RGF0ZQ==":
|
69
69
|
- !binary |-
|
70
|
-
|
70
|
+
TW9uLCAwNyBPY3QgMjAxMyAwMDo0Nzo0NyBHTVQ=
|
71
71
|
!binary "VHJhbnNmZXItRW5jb2Rpbmc=":
|
72
72
|
- !binary |-
|
73
73
|
Y2h1bmtlZA==
|
@@ -75,10 +75,10 @@ http_interactions:
|
|
75
75
|
encoding: US-ASCII
|
76
76
|
string: ! "Step 1 : FROM base\n ---> b750fe79269d\nSuccessfully built b750fe79269d\n"
|
77
77
|
http_version:
|
78
|
-
recorded_at:
|
78
|
+
recorded_at: Mon, 07 Oct 2013 00:47:47 GMT
|
79
79
|
- request:
|
80
80
|
method: post
|
81
|
-
uri: http://
|
81
|
+
uri: http://unix/v1.4/build
|
82
82
|
body:
|
83
83
|
encoding: UTF-8
|
84
84
|
string: !binary |-
|
@@ -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.4
|
157
157
|
Content-Type:
|
158
158
|
- application/json
|
159
159
|
response:
|
@@ -166,25 +166,25 @@ http_interactions:
|
|
166
166
|
dGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOA==
|
167
167
|
!binary "RGF0ZQ==":
|
168
168
|
- !binary |-
|
169
|
-
|
169
|
+
TW9uLCAwNyBPY3QgMjAxMyAwMDo0Nzo0NyBHTVQ=
|
170
170
|
!binary "VHJhbnNmZXItRW5jb2Rpbmc=":
|
171
171
|
- !binary |-
|
172
172
|
Y2h1bmtlZA==
|
173
173
|
body:
|
174
174
|
encoding: US-ASCII
|
175
175
|
string: ! "Step 1 : FROM b750fe79269d\n ---> b750fe79269d\nStep 2 : ADD Gemfile
|
176
|
-
/\n --->
|
176
|
+
/\n ---> 4c38b908954d\nSuccessfully built 4c38b908954d\n"
|
177
177
|
http_version:
|
178
|
-
recorded_at:
|
178
|
+
recorded_at: Mon, 07 Oct 2013 00:47:47 GMT
|
179
179
|
- request:
|
180
180
|
method: post
|
181
|
-
uri: http://
|
181
|
+
uri: http://unix/v1.4/containers/create
|
182
182
|
body:
|
183
183
|
encoding: UTF-8
|
184
|
-
string: ! '{"Image":"
|
184
|
+
string: ! '{"Image":"4c38b908954d","Cmd":["cat","/Gemfile"]}'
|
185
185
|
headers:
|
186
186
|
User-Agent:
|
187
|
-
- Swipely/Docker-API 1.5.
|
187
|
+
- Swipely/Docker-API 1.5.4
|
188
188
|
Content-Type:
|
189
189
|
- application/json
|
190
190
|
response:
|
@@ -194,27 +194,27 @@ http_interactions:
|
|
194
194
|
headers:
|
195
195
|
!binary "Q29udGVudC1UeXBl":
|
196
196
|
- !binary |-
|
197
|
-
|
197
|
+
YXBwbGljYXRpb24vanNvbg==
|
198
198
|
!binary "Q29udGVudC1MZW5ndGg=":
|
199
199
|
- !binary |-
|
200
200
|
NjU=
|
201
201
|
!binary "RGF0ZQ==":
|
202
202
|
- !binary |-
|
203
|
-
|
203
|
+
TW9uLCAwNyBPY3QgMjAxMyAwMDo0Nzo0NyBHTVQ=
|
204
204
|
body:
|
205
205
|
encoding: US-ASCII
|
206
|
-
string: ! '{"Id":"
|
206
|
+
string: ! '{"Id":"64a321e9691b","Warnings":["IPv4 forwarding is disabled."]}'
|
207
207
|
http_version:
|
208
|
-
recorded_at:
|
208
|
+
recorded_at: Mon, 07 Oct 2013 00:47:47 GMT
|
209
209
|
- request:
|
210
210
|
method: post
|
211
|
-
uri: http://
|
211
|
+
uri: http://unix/v1.4/containers/64a321e9691b/start
|
212
212
|
body:
|
213
213
|
encoding: UTF-8
|
214
214
|
string: ! '{}'
|
215
215
|
headers:
|
216
216
|
User-Agent:
|
217
|
-
- Swipely/Docker-API 1.5.
|
217
|
+
- Swipely/Docker-API 1.5.4
|
218
218
|
Content-Type:
|
219
219
|
- application/json
|
220
220
|
response:
|
@@ -230,21 +230,21 @@ http_interactions:
|
|
230
230
|
MA==
|
231
231
|
!binary "RGF0ZQ==":
|
232
232
|
- !binary |-
|
233
|
-
|
233
|
+
TW9uLCAwNyBPY3QgMjAxMyAwMDo0Nzo0NyBHTVQ=
|
234
234
|
body:
|
235
235
|
encoding: US-ASCII
|
236
236
|
string: ''
|
237
237
|
http_version:
|
238
|
-
recorded_at:
|
238
|
+
recorded_at: Mon, 07 Oct 2013 00:47:47 GMT
|
239
239
|
- request:
|
240
240
|
method: post
|
241
|
-
uri: http://
|
241
|
+
uri: http://unix/v1.4/containers/64a321e9691b/start
|
242
242
|
body:
|
243
243
|
encoding: UTF-8
|
244
244
|
string: ! '{}'
|
245
245
|
headers:
|
246
246
|
User-Agent:
|
247
|
-
- Swipely/Docker-API 1.5.
|
247
|
+
- Swipely/Docker-API 1.5.4
|
248
248
|
Content-Type:
|
249
249
|
- application/json
|
250
250
|
response:
|
@@ -260,24 +260,24 @@ http_interactions:
|
|
260
260
|
MTM4
|
261
261
|
!binary "RGF0ZQ==":
|
262
262
|
- !binary |-
|
263
|
-
|
263
|
+
TW9uLCAwNyBPY3QgMjAxMyAwMDo0Nzo0NyBHTVQ=
|
264
264
|
body:
|
265
265
|
encoding: US-ASCII
|
266
|
-
string: ! 'Error starting container
|
266
|
+
string: ! 'Error starting container 64a321e9691b: The container 64a321e9691b678a13e6bc0ba733d7af1121a6e35f5ba1656c7dafe00691bf9c
|
267
267
|
is already running.
|
268
268
|
|
269
269
|
'
|
270
270
|
http_version:
|
271
|
-
recorded_at:
|
271
|
+
recorded_at: Mon, 07 Oct 2013 00:47:47 GMT
|
272
272
|
- request:
|
273
273
|
method: post
|
274
|
-
uri: http://
|
274
|
+
uri: http://unix/v1.4/containers/64a321e9691b/attach?stdout=true&stream=true
|
275
275
|
body:
|
276
276
|
encoding: US-ASCII
|
277
277
|
string: ''
|
278
278
|
headers:
|
279
279
|
User-Agent:
|
280
|
-
- Swipely/Docker-API 1.5.
|
280
|
+
- Swipely/Docker-API 1.5.4
|
281
281
|
Content-Type:
|
282
282
|
- text/plain
|
283
283
|
response:
|
@@ -297,5 +297,5 @@ http_interactions:
|
|
297
297
|
|
298
298
|
'
|
299
299
|
http_version:
|
300
|
-
recorded_at:
|
301
|
-
recorded_with: VCR 2.
|
300
|
+
recorded_at: Mon, 07 Oct 2013 00:47:47 GMT
|
301
|
+
recorded_with: VCR 2.6.0
|
data/spec/vcr/Docker_Image/_insert_local/when_the_local_file_does_not_exist/raises_an_error.yml
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: post
|
5
|
-
uri: http://
|
5
|
+
uri: http://unix/v1.4/build
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
8
|
string: !binary |-
|
@@ -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.4
|
58
58
|
Content-Type:
|
59
59
|
- application/json
|
60
60
|
response:
|
@@ -67,7 +67,7 @@ http_interactions:
|
|
67
67
|
dGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOA==
|
68
68
|
!binary "RGF0ZQ==":
|
69
69
|
- !binary |-
|
70
|
-
|
70
|
+
TW9uLCAwNyBPY3QgMjAxMyAwMDo0Nzo0NyBHTVQ=
|
71
71
|
!binary "VHJhbnNmZXItRW5jb2Rpbmc=":
|
72
72
|
- !binary |-
|
73
73
|
Y2h1bmtlZA==
|
@@ -75,5 +75,5 @@ http_interactions:
|
|
75
75
|
encoding: US-ASCII
|
76
76
|
string: ! "Step 1 : FROM base\n ---> b750fe79269d\nSuccessfully built b750fe79269d\n"
|
77
77
|
http_version:
|
78
|
-
recorded_at:
|
79
|
-
recorded_with: VCR 2.
|
78
|
+
recorded_at: Mon, 07 Oct 2013 00:47:47 GMT
|
79
|
+
recorded_with: VCR 2.6.0
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: post
|
5
|
-
uri: http://
|
5
|
+
uri: http://unix/v1.4/build
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
8
|
string: !binary |-
|
@@ -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.4
|
58
58
|
Content-Type:
|
59
59
|
- application/json
|
60
60
|
response:
|
@@ -67,7 +67,7 @@ http_interactions:
|
|
67
67
|
dGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOA==
|
68
68
|
!binary "RGF0ZQ==":
|
69
69
|
- !binary |-
|
70
|
-
|
70
|
+
TW9uLCAwNyBPY3QgMjAxMyAwMDo0Nzo0NyBHTVQ=
|
71
71
|
!binary "VHJhbnNmZXItRW5jb2Rpbmc=":
|
72
72
|
- !binary |-
|
73
73
|
Y2h1bmtlZA==
|
@@ -75,10 +75,10 @@ http_interactions:
|
|
75
75
|
encoding: US-ASCII
|
76
76
|
string: ! "Step 1 : FROM base\n ---> b750fe79269d\nSuccessfully built b750fe79269d\n"
|
77
77
|
http_version:
|
78
|
-
recorded_at:
|
78
|
+
recorded_at: Mon, 07 Oct 2013 00:47:47 GMT
|
79
79
|
- request:
|
80
80
|
method: post
|
81
|
-
uri: http://
|
81
|
+
uri: http://unix/v1.4/build
|
82
82
|
body:
|
83
83
|
encoding: UTF-8
|
84
84
|
string: !binary |-
|
@@ -176,7 +176,7 @@ http_interactions:
|
|
176
176
|
AA==
|
177
177
|
headers:
|
178
178
|
User-Agent:
|
179
|
-
- Swipely/Docker-API 1.5.
|
179
|
+
- Swipely/Docker-API 1.5.4
|
180
180
|
Content-Type:
|
181
181
|
- application/json
|
182
182
|
response:
|
@@ -189,26 +189,26 @@ http_interactions:
|
|
189
189
|
dGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOA==
|
190
190
|
!binary "RGF0ZQ==":
|
191
191
|
- !binary |-
|
192
|
-
|
192
|
+
TW9uLCAwNyBPY3QgMjAxMyAwMDo0Nzo0NyBHTVQ=
|
193
193
|
!binary "VHJhbnNmZXItRW5jb2Rpbmc=":
|
194
194
|
- !binary |-
|
195
195
|
Y2h1bmtlZA==
|
196
196
|
body:
|
197
197
|
encoding: US-ASCII
|
198
198
|
string: ! "Step 1 : FROM b750fe79269d\n ---> b750fe79269d\nStep 2 : ADD Gemfile
|
199
|
-
/\n --->
|
200
|
-
built
|
199
|
+
/\n ---> a1ed7a6a6c97\nStep 3 : ADD Rakefile /\n ---> 4c8a4cbe7f86\nSuccessfully
|
200
|
+
built 4c8a4cbe7f86\n"
|
201
201
|
http_version:
|
202
|
-
recorded_at:
|
202
|
+
recorded_at: Mon, 07 Oct 2013 00:47:47 GMT
|
203
203
|
- request:
|
204
204
|
method: post
|
205
|
-
uri: http://
|
205
|
+
uri: http://unix/v1.4/containers/create
|
206
206
|
body:
|
207
207
|
encoding: UTF-8
|
208
|
-
string: ! '{"Image":"
|
208
|
+
string: ! '{"Image":"4c8a4cbe7f86","Cmd":["cat","/Gemfile","/Rakefile"]}'
|
209
209
|
headers:
|
210
210
|
User-Agent:
|
211
|
-
- Swipely/Docker-API 1.5.
|
211
|
+
- Swipely/Docker-API 1.5.4
|
212
212
|
Content-Type:
|
213
213
|
- application/json
|
214
214
|
response:
|
@@ -218,27 +218,27 @@ http_interactions:
|
|
218
218
|
headers:
|
219
219
|
!binary "Q29udGVudC1UeXBl":
|
220
220
|
- !binary |-
|
221
|
-
|
221
|
+
YXBwbGljYXRpb24vanNvbg==
|
222
222
|
!binary "Q29udGVudC1MZW5ndGg=":
|
223
223
|
- !binary |-
|
224
224
|
NjU=
|
225
225
|
!binary "RGF0ZQ==":
|
226
226
|
- !binary |-
|
227
|
-
|
227
|
+
TW9uLCAwNyBPY3QgMjAxMyAwMDo0Nzo0NyBHTVQ=
|
228
228
|
body:
|
229
229
|
encoding: US-ASCII
|
230
|
-
string: ! '{"Id":"
|
230
|
+
string: ! '{"Id":"95de9ef14b82","Warnings":["IPv4 forwarding is disabled."]}'
|
231
231
|
http_version:
|
232
|
-
recorded_at:
|
232
|
+
recorded_at: Mon, 07 Oct 2013 00:47:47 GMT
|
233
233
|
- request:
|
234
234
|
method: post
|
235
|
-
uri: http://
|
235
|
+
uri: http://unix/v1.4/containers/95de9ef14b82/start
|
236
236
|
body:
|
237
237
|
encoding: UTF-8
|
238
238
|
string: ! '{}'
|
239
239
|
headers:
|
240
240
|
User-Agent:
|
241
|
-
- Swipely/Docker-API 1.5.
|
241
|
+
- Swipely/Docker-API 1.5.4
|
242
242
|
Content-Type:
|
243
243
|
- application/json
|
244
244
|
response:
|
@@ -254,21 +254,21 @@ http_interactions:
|
|
254
254
|
MA==
|
255
255
|
!binary "RGF0ZQ==":
|
256
256
|
- !binary |-
|
257
|
-
|
257
|
+
TW9uLCAwNyBPY3QgMjAxMyAwMDo0Nzo0NyBHTVQ=
|
258
258
|
body:
|
259
259
|
encoding: US-ASCII
|
260
260
|
string: ''
|
261
261
|
http_version:
|
262
|
-
recorded_at:
|
262
|
+
recorded_at: Mon, 07 Oct 2013 00:47:47 GMT
|
263
263
|
- request:
|
264
264
|
method: post
|
265
|
-
uri: http://
|
265
|
+
uri: http://unix/v1.4/containers/95de9ef14b82/start
|
266
266
|
body:
|
267
267
|
encoding: UTF-8
|
268
268
|
string: ! '{}'
|
269
269
|
headers:
|
270
270
|
User-Agent:
|
271
|
-
- Swipely/Docker-API 1.5.
|
271
|
+
- Swipely/Docker-API 1.5.4
|
272
272
|
Content-Type:
|
273
273
|
- application/json
|
274
274
|
response:
|
@@ -284,24 +284,24 @@ http_interactions:
|
|
284
284
|
MTM4
|
285
285
|
!binary "RGF0ZQ==":
|
286
286
|
- !binary |-
|
287
|
-
|
287
|
+
TW9uLCAwNyBPY3QgMjAxMyAwMDo0Nzo0NyBHTVQ=
|
288
288
|
body:
|
289
289
|
encoding: US-ASCII
|
290
|
-
string: ! 'Error starting container
|
290
|
+
string: ! 'Error starting container 95de9ef14b82: The container 95de9ef14b82bb279d854230a6f6bc2c851b5f223411fc9925db064ed34f44a4
|
291
291
|
is already running.
|
292
292
|
|
293
293
|
'
|
294
294
|
http_version:
|
295
|
-
recorded_at:
|
295
|
+
recorded_at: Mon, 07 Oct 2013 00:47:47 GMT
|
296
296
|
- request:
|
297
297
|
method: post
|
298
|
-
uri: http://
|
298
|
+
uri: http://unix/v1.4/containers/95de9ef14b82/attach?stdout=true&stream=true
|
299
299
|
body:
|
300
300
|
encoding: US-ASCII
|
301
301
|
string: ''
|
302
302
|
headers:
|
303
303
|
User-Agent:
|
304
|
-
- Swipely/Docker-API 1.5.
|
304
|
+
- Swipely/Docker-API 1.5.4
|
305
305
|
Content-Type:
|
306
306
|
- text/plain
|
307
307
|
response:
|
@@ -320,5 +320,5 @@ http_interactions:
|
|
320
320
|
do |t|\n t.pattern = 'spec/**/*_spec.rb'\nend\n\nCane::RakeTask.new(:quality)
|
321
321
|
do |cane|\n cane.canefile = '.cane'\nend\n"
|
322
322
|
http_version:
|
323
|
-
recorded_at:
|
324
|
-
recorded_with: VCR 2.
|
323
|
+
recorded_at: Mon, 07 Oct 2013 00:47:47 GMT
|
324
|
+
recorded_with: VCR 2.6.0
|
@@ -2,57 +2,65 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: post
|
5
|
-
uri: http://
|
5
|
+
uri: http://unix/v1.4/images/create?fromImage=base
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
|
+
User-Agent:
|
11
|
+
- Swipely/Docker-API 1.5.4
|
10
12
|
Content-Type:
|
11
13
|
- text/plain
|
12
|
-
User-Agent:
|
13
|
-
- Swipely/Docker-API 1.3.1
|
14
14
|
response:
|
15
15
|
status:
|
16
16
|
code: 200
|
17
17
|
message: ''
|
18
18
|
headers:
|
19
|
-
|
20
|
-
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
19
|
+
!binary "Q29udGVudC1UeXBl":
|
20
|
+
- !binary |-
|
21
|
+
YXBwbGljYXRpb24vanNvbg==
|
22
|
+
!binary "RGF0ZQ==":
|
23
|
+
- !binary |-
|
24
|
+
TW9uLCAwNyBPY3QgMjAxMyAwMDo0Nzo1MCBHTVQ=
|
25
|
+
!binary "VHJhbnNmZXItRW5jb2Rpbmc=":
|
26
|
+
- !binary |-
|
27
|
+
Y2h1bmtlZA==
|
25
28
|
body:
|
26
|
-
encoding:
|
27
|
-
string: '{"status":"Pulling repository base"}{"status":"Pulling
|
28
|
-
(ubuntu-quantl) from base"}
|
29
|
+
encoding: US-ASCII
|
30
|
+
string: ! '{"status":"Pulling repository base"}{"status":"Pulling","progress":"image
|
31
|
+
(ubuntu-quantl) from base","id":"b750fe79269d"}{"status":"Pulling","progress":"image
|
32
|
+
(ubuntu-quantl) from base, endpoint: https://cdn-registry-1.docker.io/v1/","id":"b750fe79269d"}{"status":"Pulling","progress":"dependend
|
33
|
+
layers","id":"b750fe79269d"}{"status":"Download","progress":"complete","id":"b750fe79269d"}{"status":"Download","progress":"complete","id":"27cf78414709"}{"status":"Download","progress":"complete","id":"b750fe79269d"}'
|
29
34
|
http_version:
|
30
|
-
recorded_at:
|
35
|
+
recorded_at: Mon, 07 Oct 2013 00:47:51 GMT
|
31
36
|
- request:
|
32
37
|
method: get
|
33
|
-
uri: http://
|
38
|
+
uri: http://unix/v1.4/images/base/json
|
34
39
|
body:
|
35
40
|
encoding: US-ASCII
|
36
41
|
string: ''
|
37
42
|
headers:
|
43
|
+
User-Agent:
|
44
|
+
- Swipely/Docker-API 1.5.4
|
38
45
|
Content-Type:
|
39
46
|
- text/plain
|
40
|
-
User-Agent:
|
41
|
-
- Swipely/Docker-API 1.3.1
|
42
47
|
response:
|
43
48
|
status:
|
44
49
|
code: 200
|
45
50
|
message: ''
|
46
51
|
headers:
|
47
|
-
|
48
|
-
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
52
|
+
!binary "Q29udGVudC1UeXBl":
|
53
|
+
- !binary |-
|
54
|
+
YXBwbGljYXRpb24vanNvbg==
|
55
|
+
!binary "Q29udGVudC1MZW5ndGg=":
|
56
|
+
- !binary |-
|
57
|
+
NjMw
|
58
|
+
!binary "RGF0ZQ==":
|
59
|
+
- !binary |-
|
60
|
+
TW9uLCAwNyBPY3QgMjAxMyAwMDo0Nzo1MSBHTVQ=
|
53
61
|
body:
|
54
|
-
encoding:
|
55
|
-
string: '{"id":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","parent":"27cf784147099545","created":"2013-03-23T22:24:18.818426-07:00","container":"3d67245a8d72ecf13f33dffac9f79dcdf70f75acb84d308770391510e0c23ad0","container_config":{"Hostname":"","User":"","Memory":0,"MemorySwap":0,"CpuShares":0,"AttachStdin":false,"AttachStdout":false,"AttachStderr":false,"PortSpecs":null,"Tty":true,"OpenStdin":true,"StdinOnce":false,"Env":null,"Cmd":["/bin/bash"],"Dns":null,"Image":"base","Volumes":null,"VolumesFrom":"","Entrypoint":null,"NetworkDisabled":false},"Size":24653}'
|
62
|
+
encoding: US-ASCII
|
63
|
+
string: ! '{"id":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","parent":"27cf784147099545","created":"2013-03-23T22:24:18.818426-07:00","container":"3d67245a8d72ecf13f33dffac9f79dcdf70f75acb84d308770391510e0c23ad0","container_config":{"Hostname":"","Domainname":"","User":"","Memory":0,"MemorySwap":0,"CpuShares":0,"AttachStdin":false,"AttachStdout":false,"AttachStderr":false,"PortSpecs":null,"Tty":true,"OpenStdin":true,"StdinOnce":false,"Env":null,"Cmd":["/bin/bash"],"Dns":null,"Image":"base","Volumes":null,"VolumesFrom":"","WorkingDir":"","Entrypoint":null,"NetworkDisabled":false,"Privileged":false},"Size":24653}'
|
56
64
|
http_version:
|
57
|
-
recorded_at:
|
58
|
-
recorded_with: VCR 2.
|
65
|
+
recorded_at: Mon, 07 Oct 2013 00:47:51 GMT
|
66
|
+
recorded_with: VCR 2.6.0
|