docker-api 1.5.4 → 1.6.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.
Files changed (52) hide show
  1. checksums.yaml +7 -0
  2. data/README.md +19 -10
  3. data/docker-api.gemspec +1 -1
  4. data/lib/docker.rb +14 -7
  5. data/lib/docker/connection.rb +6 -1
  6. data/lib/docker/image.rb +6 -5
  7. data/lib/docker/version.rb +1 -1
  8. data/spec/docker/connection_spec.rb +14 -6
  9. data/spec/docker/container_spec.rb +27 -8
  10. data/spec/docker/image_spec.rb +23 -5
  11. data/spec/docker_spec.rb +36 -28
  12. data/spec/vcr/Docker/_info/returns_the_info_as_a_Hash.yml +16 -13
  13. data/spec/vcr/Docker/_validate_version/when_nothing_is_raised/validate_version_/.yml +16 -13
  14. data/spec/vcr/Docker/_version/returns_the_version_as_a_Hash.yml +16 -13
  15. data/spec/vcr/Docker_Container/_all/when_the_HTTP_response_is_a_200/materializes_each_Container_into_a_Docker_Container.yml +120 -211
  16. data/spec/vcr/Docker_Container/_attach/yields_each_chunk.yml +46 -38
  17. data/spec/vcr/Docker_Container/_changes/returns_the_changes_as_an_array.yml +65 -53
  18. data/spec/vcr/Docker_Container/_commit/creates_a_new_Image_from_the_Container_s_changes.yml +50 -41
  19. data/spec/vcr/Docker_Container/_copy/when_the_file_does_not_exist/raises_an_error.yml +62 -48
  20. data/spec/vcr/Docker_Container/_copy/when_the_input_is_a_directory/yields_each_chunk_of_the_tarred_directory.yml +194 -119
  21. data/spec/vcr/Docker_Container/_copy/when_the_input_is_a_file/yields_each_chunk_of_the_tarred_file.yml +127 -52
  22. 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
  23. data/spec/vcr/Docker_Container/_delete/deletes_the_container.yml +62 -126
  24. data/spec/vcr/Docker_Container/_export/yields_each_chunk.yml +49 -66
  25. data/spec/vcr/Docker_Container/_json/returns_the_description_as_a_Hash.yml +33 -27
  26. data/spec/vcr/Docker_Container/_kill/kills_the_container.yml +91 -129
  27. data/spec/vcr/Docker_Container/_restart/restarts_the_container.yml +116 -95
  28. data/spec/vcr/Docker_Container/_run/when_the_Container_s_command_does_not_return_status_code_of_0/raises_an_error.yml +50 -41
  29. 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
  30. data/spec/vcr/Docker_Container/_start/starts_the_container.yml +28 -57
  31. data/spec/vcr/Docker_Container/_stop/stops_the_container.yml +107 -143
  32. data/spec/vcr/Docker_Container/_top/returns_the_top_commands_as_an_Array.yml +78 -39
  33. data/spec/vcr/Docker_Container/_wait/waits_for_the_command_to_finish.yml +50 -41
  34. data/spec/vcr/Docker_Container/_wait/when_an_argument_is_given/and_a_command_runs_for_too_long/raises_a_ServerError.yml +35 -29
  35. data/spec/vcr/Docker_Container/_wait/when_an_argument_is_given/sets_the_read_timeout_to_that_amount_of_time.yml +50 -41
  36. data/spec/vcr/Docker_Image/_all/materializes_each_Image_into_a_Docker_Image.yml +34 -26
  37. data/spec/vcr/Docker_Image/_build/with_a_valid_Dockerfile/builds_an_image.yml +17 -17
  38. data/spec/vcr/Docker_Image/_build/with_an_invalid_Dockerfile/throws_a_UnexpectedResponseError.yml +20 -15
  39. 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
  40. data/spec/vcr/Docker_Image/_history/returns_the_history_of_the_Image.yml +34 -26
  41. data/spec/vcr/Docker_Image/_insert/inserts_the_url_s_file_into_a_new_Image.yml +134 -95
  42. data/spec/vcr/Docker_Image/_insert_local/when_the_local_file_does_exist/creates_a_new_Image_that_has_that_file.yml +29 -29
  43. data/spec/vcr/Docker_Image/_insert_local/when_the_local_file_does_not_exist/raises_an_error.yml +5 -5
  44. data/spec/vcr/Docker_Image/_insert_local/when_there_are_multiple_files_passed/creates_a_new_Image_that_has_each_file.yml +30 -30
  45. data/spec/vcr/Docker_Image/_json/returns_additional_information_about_image_image.yml +34 -26
  46. data/spec/vcr/Docker_Image/_remove/removes_the_Image.yml +49 -38
  47. 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
  48. data/spec/vcr/Docker_Image/_run/when_the_argument_is_an_Array/creates_a_new_Container.yml +64 -51
  49. data/spec/vcr/Docker_Image/_search/materializes_each_Image_into_a_Docker_Image.yml +20 -14
  50. data/spec/vcr/Docker_Image/_tag/tags_the_image_with_the_repo_name.yml +33 -25
  51. metadata +29 -54
  52. 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://localhost:4243/v1.4/build
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.3
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
- V2VkLCAxOCBTZXAgMjAxMyAxNTozMzowOCBHTVQ=
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: Wed, 18 Sep 2013 15:35:33 GMT
78
+ recorded_at: Mon, 07 Oct 2013 00:47:47 GMT
79
79
  - request:
80
80
  method: post
81
- uri: http://localhost:4243/v1.4/build
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.3
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
- V2VkLCAxOCBTZXAgMjAxMyAxNTozMzowOCBHTVQ=
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 ---> 764be4f5f609\nSuccessfully built 764be4f5f609\n"
176
+ /\n ---> 4c38b908954d\nSuccessfully built 4c38b908954d\n"
177
177
  http_version:
178
- recorded_at: Wed, 18 Sep 2013 15:35:33 GMT
178
+ recorded_at: Mon, 07 Oct 2013 00:47:47 GMT
179
179
  - request:
180
180
  method: post
181
- uri: http://localhost:4243/v1.4/containers/create
181
+ uri: http://unix/v1.4/containers/create
182
182
  body:
183
183
  encoding: UTF-8
184
- string: ! '{"Image":"764be4f5f609","Cmd":["cat","/Gemfile"]}'
184
+ string: ! '{"Image":"4c38b908954d","Cmd":["cat","/Gemfile"]}'
185
185
  headers:
186
186
  User-Agent:
187
- - Swipely/Docker-API 1.5.3
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
- dGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOA==
197
+ YXBwbGljYXRpb24vanNvbg==
198
198
  !binary "Q29udGVudC1MZW5ndGg=":
199
199
  - !binary |-
200
200
  NjU=
201
201
  !binary "RGF0ZQ==":
202
202
  - !binary |-
203
- V2VkLCAxOCBTZXAgMjAxMyAxNTozMzowOCBHTVQ=
203
+ TW9uLCAwNyBPY3QgMjAxMyAwMDo0Nzo0NyBHTVQ=
204
204
  body:
205
205
  encoding: US-ASCII
206
- string: ! '{"Id":"1b3e3fa0e5f2","Warnings":["IPv4 forwarding is disabled."]}'
206
+ string: ! '{"Id":"64a321e9691b","Warnings":["IPv4 forwarding is disabled."]}'
207
207
  http_version:
208
- recorded_at: Wed, 18 Sep 2013 15:35:33 GMT
208
+ recorded_at: Mon, 07 Oct 2013 00:47:47 GMT
209
209
  - request:
210
210
  method: post
211
- uri: http://localhost:4243/v1.4/containers/1b3e3fa0e5f2/start
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.3
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
- V2VkLCAxOCBTZXAgMjAxMyAxNTozMzowOCBHTVQ=
233
+ TW9uLCAwNyBPY3QgMjAxMyAwMDo0Nzo0NyBHTVQ=
234
234
  body:
235
235
  encoding: US-ASCII
236
236
  string: ''
237
237
  http_version:
238
- recorded_at: Wed, 18 Sep 2013 15:35:33 GMT
238
+ recorded_at: Mon, 07 Oct 2013 00:47:47 GMT
239
239
  - request:
240
240
  method: post
241
- uri: http://localhost:4243/v1.4/containers/1b3e3fa0e5f2/start
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.3
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
- V2VkLCAxOCBTZXAgMjAxMyAxNTozMzowOCBHTVQ=
263
+ TW9uLCAwNyBPY3QgMjAxMyAwMDo0Nzo0NyBHTVQ=
264
264
  body:
265
265
  encoding: US-ASCII
266
- string: ! 'Error starting container 1b3e3fa0e5f2: The container 1b3e3fa0e5f250dd614b82241abb0cce0b4b302d02b73426f3e116f8fe40b9a4
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: Wed, 18 Sep 2013 15:35:33 GMT
271
+ recorded_at: Mon, 07 Oct 2013 00:47:47 GMT
272
272
  - request:
273
273
  method: post
274
- uri: http://localhost:4243/v1.4/containers/1b3e3fa0e5f2/attach?stdout=true&stream=true
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.3
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: Wed, 18 Sep 2013 15:35:33 GMT
301
- recorded_with: VCR 2.5.0
300
+ recorded_at: Mon, 07 Oct 2013 00:47:47 GMT
301
+ recorded_with: VCR 2.6.0
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: http://localhost:4243/v1.4/build
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.3
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
- V2VkLCAxOCBTZXAgMjAxMyAxNTozMzowOCBHTVQ=
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: Wed, 18 Sep 2013 15:35:33 GMT
79
- recorded_with: VCR 2.5.0
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://localhost:4243/v1.4/build
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.3
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
- V2VkLCAxOCBTZXAgMjAxMyAxNTozMzowOCBHTVQ=
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: Wed, 18 Sep 2013 15:35:33 GMT
78
+ recorded_at: Mon, 07 Oct 2013 00:47:47 GMT
79
79
  - request:
80
80
  method: post
81
- uri: http://localhost:4243/v1.4/build
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.3
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
- V2VkLCAxOCBTZXAgMjAxMyAxNTozMzowOCBHTVQ=
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 ---> 9a8f51ecd54e\nStep 3 : ADD Rakefile /\n ---> f7f65708771f\nSuccessfully
200
- built f7f65708771f\n"
199
+ /\n ---> a1ed7a6a6c97\nStep 3 : ADD Rakefile /\n ---> 4c8a4cbe7f86\nSuccessfully
200
+ built 4c8a4cbe7f86\n"
201
201
  http_version:
202
- recorded_at: Wed, 18 Sep 2013 15:35:33 GMT
202
+ recorded_at: Mon, 07 Oct 2013 00:47:47 GMT
203
203
  - request:
204
204
  method: post
205
- uri: http://localhost:4243/v1.4/containers/create
205
+ uri: http://unix/v1.4/containers/create
206
206
  body:
207
207
  encoding: UTF-8
208
- string: ! '{"Image":"f7f65708771f","Cmd":["cat","/Gemfile","/Rakefile"]}'
208
+ string: ! '{"Image":"4c8a4cbe7f86","Cmd":["cat","/Gemfile","/Rakefile"]}'
209
209
  headers:
210
210
  User-Agent:
211
- - Swipely/Docker-API 1.5.3
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
- dGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOA==
221
+ YXBwbGljYXRpb24vanNvbg==
222
222
  !binary "Q29udGVudC1MZW5ndGg=":
223
223
  - !binary |-
224
224
  NjU=
225
225
  !binary "RGF0ZQ==":
226
226
  - !binary |-
227
- V2VkLCAxOCBTZXAgMjAxMyAxNTozMzowOCBHTVQ=
227
+ TW9uLCAwNyBPY3QgMjAxMyAwMDo0Nzo0NyBHTVQ=
228
228
  body:
229
229
  encoding: US-ASCII
230
- string: ! '{"Id":"9fb2f8702b1c","Warnings":["IPv4 forwarding is disabled."]}'
230
+ string: ! '{"Id":"95de9ef14b82","Warnings":["IPv4 forwarding is disabled."]}'
231
231
  http_version:
232
- recorded_at: Wed, 18 Sep 2013 15:35:33 GMT
232
+ recorded_at: Mon, 07 Oct 2013 00:47:47 GMT
233
233
  - request:
234
234
  method: post
235
- uri: http://localhost:4243/v1.4/containers/9fb2f8702b1c/start
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.3
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
- V2VkLCAxOCBTZXAgMjAxMyAxNTozMzowOCBHTVQ=
257
+ TW9uLCAwNyBPY3QgMjAxMyAwMDo0Nzo0NyBHTVQ=
258
258
  body:
259
259
  encoding: US-ASCII
260
260
  string: ''
261
261
  http_version:
262
- recorded_at: Wed, 18 Sep 2013 15:35:33 GMT
262
+ recorded_at: Mon, 07 Oct 2013 00:47:47 GMT
263
263
  - request:
264
264
  method: post
265
- uri: http://localhost:4243/v1.4/containers/9fb2f8702b1c/start
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.3
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
- V2VkLCAxOCBTZXAgMjAxMyAxNTozMzowOCBHTVQ=
287
+ TW9uLCAwNyBPY3QgMjAxMyAwMDo0Nzo0NyBHTVQ=
288
288
  body:
289
289
  encoding: US-ASCII
290
- string: ! 'Error starting container 9fb2f8702b1c: The container 9fb2f8702b1c32ef25aa0f83f833a223b71f98b4a9cd79d9f8a05e85b8ea8f73
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: Wed, 18 Sep 2013 15:35:33 GMT
295
+ recorded_at: Mon, 07 Oct 2013 00:47:47 GMT
296
296
  - request:
297
297
  method: post
298
- uri: http://localhost:4243/v1.4/containers/9fb2f8702b1c/attach?stdout=true&stream=true
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.3
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: Wed, 18 Sep 2013 15:35:33 GMT
324
- recorded_with: VCR 2.5.0
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://localhost:4243/v1.4/images/create?fromImage=base
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
- Content-Type:
20
- - application/json
21
- Date:
22
- - Wed, 07 Aug 2013 16:51:39 GMT
23
- Transfer-Encoding:
24
- - chunked
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: UTF-8
27
- string: '{"status":"Pulling repository base"}{"status":"Pulling image b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc
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: Wed, 07 Aug 2013 16:51:41 GMT
35
+ recorded_at: Mon, 07 Oct 2013 00:47:51 GMT
31
36
  - request:
32
37
  method: get
33
- uri: http://localhost:4243/v1.4/images/base/json
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
- Content-Type:
48
- - application/json
49
- Content-Length:
50
- - '579'
51
- Date:
52
- - Wed, 07 Aug 2013 16:51:41 GMT
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: UTF-8
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: Wed, 07 Aug 2013 16:51:41 GMT
58
- recorded_with: VCR 2.4.0
65
+ recorded_at: Mon, 07 Oct 2013 00:47:51 GMT
66
+ recorded_with: VCR 2.6.0