docker-api 1.9.1 → 1.10.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (61) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -5
  3. data/lib/docker/container.rb +20 -3
  4. data/lib/docker/image.rb +2 -2
  5. data/lib/docker/version.rb +2 -2
  6. data/spec/docker/container_spec.rb +3 -3
  7. data/spec/docker/image_spec.rb +1 -1
  8. data/spec/vcr/Docker/_authenticate_/with_valid_credentials/logs_in_and_sets_the_creds.yml +1 -1
  9. data/spec/vcr/Docker/_info/returns_the_info_as_a_Hash.yml +6 -6
  10. data/spec/vcr/Docker/_validate_version/when_nothing_is_raised/validate_version_/.yml +6 -6
  11. data/spec/vcr/Docker/_version/returns_the_version_as_a_Hash.yml +6 -6
  12. data/spec/vcr/Docker_Container/_all/when_the_HTTP_response_is_a_200/materializes_each_Container_into_a_Docker_Container.yml +63 -93
  13. data/spec/vcr/Docker_Container/_attach/with_normal_sized_chunks/yields_each_chunk.yml +12 -12
  14. data/spec/vcr/Docker_Container/_attach/with_very_small_chunks/yields_each_chunk.yml +12 -12
  15. data/spec/vcr/Docker_Container/_changes/returns_the_changes_as_an_array.yml +4 -4
  16. data/spec/vcr/Docker_Container/_commit/creates_a_new_Image_from_the_Container_s_changes.yml +14 -14
  17. data/spec/vcr/Docker_Container/_commit/if_run_is_passed_it_saves_the_command_in_the_image/saves_the_command.yml +9 -9
  18. data/spec/vcr/Docker_Container/_copy/when_the_input_is_a_directory/yields_each_chunk_of_the_tarred_directory.yml +21 -21
  19. data/spec/vcr/Docker_Container/_copy/when_the_input_is_a_file/yields_each_chunk_of_the_tarred_file.yml +22 -22
  20. data/spec/vcr/Docker_Container/_create/when_creating_a_container_named_bob/should_have_name_set_to_bob.yml +11 -11
  21. data/spec/vcr/Docker_Container/_create/when_the_Container_does_not_yet_exist/when_the_HTTP_request_returns_a_200/sets_the_id.yml +5 -5
  22. data/spec/vcr/Docker_Container/_delete/deletes_the_container.yml +17 -15
  23. data/spec/vcr/Docker_Container/_export/yields_each_chunk.yml +3 -3
  24. data/spec/vcr/Docker_Container/_get/when_the_HTTP_response_is_a_200/materializes_the_Container_into_a_Docker_Container.yml +11 -11
  25. data/spec/vcr/Docker_Container/_json/returns_the_description_as_a_Hash.yml +11 -11
  26. data/spec/vcr/Docker_Container/_kill/kills_the_container.yml +34 -47
  27. data/spec/vcr/Docker_Container/_restart/restarts_the_container.yml +39 -35
  28. data/spec/vcr/Docker_Container/_run/when_the_Container_s_command_does_not_return_status_code_of_0/raises_an_error.yml +15 -15
  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 +37 -37
  30. data/spec/vcr/Docker_Container/_start/starts_the_container.yml +20 -19
  31. data/spec/vcr/Docker_Container/_stop/stops_the_container.yml +37 -50
  32. data/spec/vcr/Docker_Container/_top/returns_the_top_commands_as_an_Array.yml +26 -115
  33. data/spec/vcr/Docker_Container/_wait/waits_for_the_command_to_finish.yml +15 -15
  34. data/spec/vcr/Docker_Container/_wait/when_an_argument_is_given/and_a_command_runs_for_too_long/raises_a_ServerError.yml +9 -9
  35. data/spec/vcr/Docker_Container/_wait/when_an_argument_is_given/sets_the_read_timeout_to_that_amount_of_time.yml +13 -13
  36. data/spec/vcr/Docker_Image/_all/materializes_each_Image_into_a_Docker_Image.yml +29 -15
  37. data/spec/vcr/Docker_Image/_build/with_a_valid_Dockerfile/with_a_block_capturing_build_output/calls_the_block_and_passes_build_output.yml +5 -5
  38. data/spec/vcr/Docker_Image/_build/with_a_valid_Dockerfile/with_specifying_a_repo_in_the_query_parameters/builds_an_image_and_tags_it.yml +28 -20
  39. data/spec/vcr/Docker_Image/_build/with_a_valid_Dockerfile/without_query_parameters/builds_an_image.yml +5 -5
  40. data/spec/vcr/Docker_Image/_build/with_an_invalid_Dockerfile/throws_a_UnexpectedResponseError.yml +5 -5
  41. data/spec/vcr/Docker_Image/_build_from_dir/with_a_valid_Dockerfile/with_a_block_capturing_build_output/calls_the_block_and_passes_build_output.yml +6 -6
  42. data/spec/vcr/Docker_Image/_build_from_dir/with_a_valid_Dockerfile/with_no_query_parameters/builds_the_image.yml +18 -19
  43. data/spec/vcr/Docker_Image/_build_from_dir/with_a_valid_Dockerfile/with_specifying_a_repo_in_the_query_parameters/builds_the_image_and_tags_it.yml +39 -31
  44. data/spec/vcr/Docker_Image/_create/when_the_Image_does_not_yet_exist_and_the_body_is_a_Hash/sets_the_id.yml +4 -4
  45. data/spec/vcr/Docker_Image/_get/when_the_image_does_exist/returns_the_new_image.yml +4 -4
  46. data/spec/vcr/Docker_Image/_history/returns_the_history_of_the_Image.yml +8 -8
  47. data/spec/vcr/Docker_Image/_insert/inserts_the_url_s_file_into_a_new_Image.yml +26 -209
  48. data/spec/vcr/Docker_Image/_insert_local/when_removing_intermediate_containers/creates_a_new_image.yml +51 -35
  49. data/spec/vcr/Docker_Image/_insert_local/when_removing_intermediate_containers/leave_no_intermediate_containers.yml +90 -40
  50. data/spec/vcr/Docker_Image/_insert_local/when_the_local_file_does_exist/creates_a_new_Image_that_has_that_file.yml +26 -26
  51. data/spec/vcr/Docker_Image/_insert_local/when_the_local_file_does_not_exist/raises_an_error.yml +5 -5
  52. data/spec/vcr/Docker_Image/_insert_local/when_there_are_multiple_files_passed/creates_a_new_Image_that_has_each_file.yml +28 -28
  53. data/spec/vcr/Docker_Image/_json/returns_additional_information_about_image_image.yml +8 -8
  54. data/spec/vcr/Docker_Image/_push/pushes_the_Image.yml +49 -33
  55. data/spec/vcr/Docker_Image/_remove/removes_the_Image.yml +25 -18
  56. data/spec/vcr/Docker_Image/_run/when_the_argument_is_a_String/splits_the_String_by_spaces_and_creates_a_new_Container.yml +16 -16
  57. data/spec/vcr/Docker_Image/_run/when_the_argument_is_an_Array/creates_a_new_Container.yml +16 -16
  58. data/spec/vcr/Docker_Image/_run/when_the_argument_is_nil/no_command_configured_in_image/should_raise_an_error_if_no_command_is_specified.yml +8 -8
  59. data/spec/vcr/Docker_Image/_search/materializes_each_Image_into_a_Docker_Image.yml +24 -23
  60. data/spec/vcr/Docker_Image/_tag/tags_the_image_with_the_repo_name.yml +8 -8
  61. metadata +2 -2
@@ -2,14 +2,14 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: unix:///var/run/docker.sock/v1.9/build
5
+ uri: unix:///var/run/docker.sock/v1.10/build
6
6
  body:
7
7
  encoding: UTF-8
8
8
  string: !binary |-
9
9
  RG9ja2VyZmlsZQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
10
10
  AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
11
11
  AAAAAAAAAAAAADAwMDA2NDAAMDAwMDAwMAAwMDAwMDAwADAwMDAwMDAwMDEx
12
- ADEyMzA0MTc3NzA0ADAxMzMwMQAgMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
12
+ ADEyMzEwMDYwNzEwADAxMzI2MgAgMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
13
13
  AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
14
14
  AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAB1c3RhcgAwMHdoZWVs
15
15
  AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAd2hlZWwAAAAAAAAAAAAAAAAA
@@ -54,7 +54,7 @@ http_interactions:
54
54
  AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=
55
55
  headers:
56
56
  User-Agent:
57
- - Swipely/Docker-API 1.8.4
57
+ - Swipely/Docker-API 1.9.1
58
58
  Content-Type:
59
59
  - application/json
60
60
  response:
@@ -65,7 +65,7 @@ http_interactions:
65
65
  Content-Type:
66
66
  - application/json
67
67
  Date:
68
- - Fri, 28 Feb 2014 21:29:40 GMT
68
+ - Wed, 12 Mar 2014 13:31:52 GMT
69
69
  Connection:
70
70
  - close
71
71
  Transfer-Encoding:
@@ -75,5 +75,5 @@ http_interactions:
75
75
  string: "{\"stream\":\"Step 0 : from base\\n\"}\r\n{\"stream\":\" ---\\u003e
76
76
  b750fe79269d\\n\"}\r\n{\"stream\":\"Successfully built b750fe79269d\\n\"}\r\n"
77
77
  http_version:
78
- recorded_at: Fri, 28 Feb 2014 21:29:40 GMT
78
+ recorded_at: Wed, 12 Mar 2014 13:31:52 GMT
79
79
  recorded_with: VCR 2.8.0
@@ -2,14 +2,14 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: unix:///var/run/docker.sock/v1.9/build
5
+ uri: unix:///var/run/docker.sock/v1.10/build
6
6
  body:
7
7
  encoding: UTF-8
8
8
  string: !binary |-
9
9
  RG9ja2VyZmlsZQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
10
10
  AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
11
11
  AAAAAAAAAAAAADAwMDA2NDAAMDAwMDAwMAAwMDAwMDAwADAwMDAwMDAwMDEx
12
- ADEyMzA0MTc3NzA3ADAxMzMwNAAgMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
12
+ ADEyMzEwMDYwNzEyADAxMzI2NAAgMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
13
13
  AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
14
14
  AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAB1c3RhcgAwMHdoZWVs
15
15
  AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAd2hlZWwAAAAAAAAAAAAAAAAA
@@ -54,7 +54,7 @@ http_interactions:
54
54
  AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=
55
55
  headers:
56
56
  User-Agent:
57
- - Swipely/Docker-API 1.8.4
57
+ - Swipely/Docker-API 1.9.1
58
58
  Content-Type:
59
59
  - application/json
60
60
  response:
@@ -65,7 +65,7 @@ http_interactions:
65
65
  Content-Type:
66
66
  - application/json
67
67
  Date:
68
- - Fri, 28 Feb 2014 21:29:43 GMT
68
+ - Wed, 12 Mar 2014 13:31:54 GMT
69
69
  Connection:
70
70
  - close
71
71
  Transfer-Encoding:
@@ -75,17 +75,17 @@ http_interactions:
75
75
  string: "{\"stream\":\"Step 0 : from base\\n\"}\r\n{\"stream\":\" ---\\u003e
76
76
  b750fe79269d\\n\"}\r\n{\"stream\":\"Successfully built b750fe79269d\\n\"}\r\n"
77
77
  http_version:
78
- recorded_at: Fri, 28 Feb 2014 21:29:43 GMT
78
+ recorded_at: Wed, 12 Mar 2014 13:31:54 GMT
79
79
  - request:
80
80
  method: post
81
- uri: unix:///var/run/docker.sock/v1.9/build
81
+ uri: unix:///var/run/docker.sock/v1.10/build
82
82
  body:
83
83
  encoding: UTF-8
84
84
  string: !binary |-
85
85
  R2VtZmlsZQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
86
86
  AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
87
87
  AAAAAAAAAAAAADAwMDA2NDAAMDAwMDAwMAAwMDAwMDAwADAwMDAwMDAwMDQ2
88
- ADEyMzA0MTc3NzA3ADAxMjYxNQAgMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
88
+ ADEyMzEwMDYwNzEyADAxMjU3NQAgMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
89
89
  AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
90
90
  AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAB1c3RhcgAwMHdoZWVs
91
91
  AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAd2hlZWwAAAAAAAAAAAAAAAAA
@@ -107,8 +107,8 @@ http_interactions:
107
107
  AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFJha2VmaWxlAAAA
108
108
  AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
109
109
  AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAw
110
- MDAwNjQwADAwMDAwMDAAMDAwMDAwMAAwMDAwMDAwMDUxMAAxMjMwNDE3Nzcw
111
- NwAwMTI3NjMAIDAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
110
+ MDAwNjQwADAwMDAwMDAAMDAwMDAwMAAwMDAwMDAwMDUxMAAxMjMxMDA2MDcx
111
+ MgAwMTI3NDMAIDAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
112
112
  AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
113
113
  AAAAAAAAAAAAAAAAAAAAAAAAAAAAdXN0YXIAMDB3aGVlbAAAAAAAAAAAAAAA
114
114
  AAAAAAAAAAAAAAAAAAAAAHdoZWVsAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
@@ -130,7 +130,7 @@ http_interactions:
130
130
  AAAAAAAAAAAAAAAAAAAAAAAAAAAAAABEb2NrZXJmaWxlAAAAAAAAAAAAAAAA
131
131
  AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
132
132
  AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMDAwMDY0MAAwMDAw
133
- MDAwADAwMDAwMDAAMDAwMDAwMDAwNTcAMTIzMDQxNzc3MDcAMDEzMzE2ACAw
133
+ MDAwADAwMDAwMDAAMDAwMDAwMDAwNTcAMTIzMTAwNjA3MTIAMDEzMjc2ACAw
134
134
  AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
135
135
  AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
136
136
  AAAAAAAAAAAAAHVzdGFyADAwd2hlZWwAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
@@ -176,7 +176,7 @@ http_interactions:
176
176
  AA==
177
177
  headers:
178
178
  User-Agent:
179
- - Swipely/Docker-API 1.8.4
179
+ - Swipely/Docker-API 1.9.1
180
180
  Content-Type:
181
181
  - application/json
182
182
  response:
@@ -187,7 +187,7 @@ http_interactions:
187
187
  Content-Type:
188
188
  - application/json
189
189
  Date:
190
- - Fri, 28 Feb 2014 21:29:43 GMT
190
+ - Wed, 12 Mar 2014 13:31:54 GMT
191
191
  Connection:
192
192
  - close
193
193
  Transfer-Encoding:
@@ -196,19 +196,19 @@ http_interactions:
196
196
  encoding: UTF-8
197
197
  string: "{\"stream\":\"Step 0 : from b750fe79269d\\n\"}\r\n{\"stream\":\" ---\\u003e
198
198
  b750fe79269d\\n\"}\r\n{\"stream\":\"Step 1 : add Gemfile /\\n\"}\r\n{\"stream\":\"
199
- ---\\u003e b11e84158567\\n\"}\r\n{\"stream\":\"Step 2 : add Rakefile /\\n\"}\r\n{\"stream\":\"
200
- ---\\u003e 7152d6b36451\\n\"}\r\n{\"stream\":\"Successfully built 7152d6b36451\\n\"}\r\n"
199
+ ---\\u003e 1a7d30c2eb93\\n\"}\r\n{\"stream\":\"Step 2 : add Rakefile /\\n\"}\r\n{\"stream\":\"
200
+ ---\\u003e ecc20c679879\\n\"}\r\n{\"stream\":\"Successfully built ecc20c679879\\n\"}\r\n"
201
201
  http_version:
202
- recorded_at: Fri, 28 Feb 2014 21:29:47 GMT
202
+ recorded_at: Wed, 12 Mar 2014 13:31:58 GMT
203
203
  - request:
204
204
  method: post
205
- uri: unix:///var/run/docker.sock/v1.9/containers/create
205
+ uri: unix:///var/run/docker.sock/v1.10/containers/create
206
206
  body:
207
207
  encoding: UTF-8
208
- string: "{\"Image\":\"7152d6b36451\",\"Cmd\":[\"cat\",\"/Gemfile\",\"/Rakefile\"]}"
208
+ string: "{\"Image\":\"ecc20c679879\",\"Cmd\":[\"cat\",\"/Gemfile\",\"/Rakefile\"]}"
209
209
  headers:
210
210
  User-Agent:
211
- - Swipely/Docker-API 1.8.4
211
+ - Swipely/Docker-API 1.9.1
212
212
  Content-Type:
213
213
  - application/json
214
214
  response:
@@ -219,7 +219,7 @@ http_interactions:
219
219
  Content-Type:
220
220
  - application/json
221
221
  Date:
222
- - Fri, 28 Feb 2014 21:29:47 GMT
222
+ - Wed, 12 Mar 2014 13:31:58 GMT
223
223
  Content-Length:
224
224
  - '90'
225
225
  Connection:
@@ -227,18 +227,18 @@ http_interactions:
227
227
  body:
228
228
  encoding: UTF-8
229
229
  string: |
230
- {"Id":"52d9a23cb292a4f1d7a65babf5fa94f05a3d9a79fb44e4ecdfb478f35dadcf11","Warnings":null}
230
+ {"Id":"ab4bb05a5828bcc3266f5deea36fbae1cd0f6c94fd7695c1f09af43b37b32b8c","Warnings":null}
231
231
  http_version:
232
- recorded_at: Fri, 28 Feb 2014 21:29:47 GMT
232
+ recorded_at: Wed, 12 Mar 2014 13:31:58 GMT
233
233
  - request:
234
234
  method: post
235
- uri: unix:///var/run/docker.sock/v1.9/containers/52d9a23cb292a4f1d7a65babf5fa94f05a3d9a79fb44e4ecdfb478f35dadcf11/start
235
+ uri: unix:///var/run/docker.sock/v1.10/containers/ab4bb05a5828bcc3266f5deea36fbae1cd0f6c94fd7695c1f09af43b37b32b8c/start
236
236
  body:
237
237
  encoding: UTF-8
238
238
  string: "{}"
239
239
  headers:
240
240
  User-Agent:
241
- - Swipely/Docker-API 1.8.4
241
+ - Swipely/Docker-API 1.9.1
242
242
  Content-Type:
243
243
  - application/json
244
244
  response:
@@ -247,7 +247,7 @@ http_interactions:
247
247
  message:
248
248
  headers:
249
249
  Date:
250
- - Fri, 28 Feb 2014 21:29:48 GMT
250
+ - Wed, 12 Mar 2014 13:31:58 GMT
251
251
  Content-Length:
252
252
  - '0'
253
253
  Content-Type:
@@ -258,16 +258,16 @@ http_interactions:
258
258
  encoding: UTF-8
259
259
  string: ''
260
260
  http_version:
261
- recorded_at: Fri, 28 Feb 2014 21:29:48 GMT
261
+ recorded_at: Wed, 12 Mar 2014 13:31:58 GMT
262
262
  - request:
263
263
  method: post
264
- uri: unix:///var/run/docker.sock/v1.9/containers/52d9a23cb292a4f1d7a65babf5fa94f05a3d9a79fb44e4ecdfb478f35dadcf11/attach?stderr=true&stdout=true&stream=true
264
+ uri: unix:///var/run/docker.sock/v1.10/containers/ab4bb05a5828bcc3266f5deea36fbae1cd0f6c94fd7695c1f09af43b37b32b8c/attach?stderr=true&stdout=true&stream=true
265
265
  body:
266
266
  encoding: US-ASCII
267
267
  string: ''
268
268
  headers:
269
269
  User-Agent:
270
- - Swipely/Docker-API 1.8.4
270
+ - Swipely/Docker-API 1.9.1
271
271
  Content-Type:
272
272
  - text/plain
273
273
  response:
@@ -290,5 +290,5 @@ http_interactions:
290
290
  bmU6OlJha2VUYXNrLm5ldyg6cXVhbGl0eSkgZG8gfGNhbmV8CiAgY2FuZS5j
291
291
  YW5lZmlsZSA9ICcuY2FuZScKZW5kCg==
292
292
  http_version:
293
- recorded_at: Fri, 28 Feb 2014 21:29:48 GMT
293
+ recorded_at: Wed, 12 Mar 2014 13:31:58 GMT
294
294
  recorded_with: VCR 2.8.0
@@ -2,13 +2,13 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: unix:///var/run/docker.sock/v1.9/images/create?fromImage=base
5
+ uri: unix:///var/run/docker.sock/v1.10/images/create?fromImage=base
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
9
9
  headers:
10
10
  User-Agent:
11
- - Swipely/Docker-API 1.8.4
11
+ - Swipely/Docker-API 1.9.1
12
12
  Content-Type:
13
13
  - text/plain
14
14
  response:
@@ -19,7 +19,7 @@ http_interactions:
19
19
  Content-Type:
20
20
  - application/json
21
21
  Date:
22
- - Fri, 28 Feb 2014 21:29:59 GMT
22
+ - Wed, 12 Mar 2014 13:32:08 GMT
23
23
  Connection:
24
24
  - close
25
25
  Transfer-Encoding:
@@ -34,16 +34,16 @@ http_interactions:
34
34
  complete\",\"progressDetail\":{},\"id\":\"b750fe79269d\"}{\"status\":\"Download
35
35
  complete\",\"progressDetail\":{},\"id\":\"b750fe79269d\"}"
36
36
  http_version:
37
- recorded_at: Fri, 28 Feb 2014 21:30:00 GMT
37
+ recorded_at: Wed, 12 Mar 2014 13:32:09 GMT
38
38
  - request:
39
39
  method: get
40
- uri: unix:///var/run/docker.sock/v1.9/images/b750fe79269d/json
40
+ uri: unix:///var/run/docker.sock/v1.10/images/b750fe79269d/json
41
41
  body:
42
42
  encoding: US-ASCII
43
43
  string: ''
44
44
  headers:
45
45
  User-Agent:
46
- - Swipely/Docker-API 1.8.4
46
+ - Swipely/Docker-API 1.9.1
47
47
  Content-Type:
48
48
  - text/plain
49
49
  response:
@@ -54,7 +54,7 @@ http_interactions:
54
54
  Content-Type:
55
55
  - application/json
56
56
  Date:
57
- - Fri, 28 Feb 2014 21:30:00 GMT
57
+ - Wed, 12 Mar 2014 13:32:09 GMT
58
58
  Content-Length:
59
59
  - '643'
60
60
  Connection:
@@ -63,5 +63,5 @@ http_interactions:
63
63
  encoding: UTF-8
64
64
  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,\"ExposedPorts\":null,\"Tty\":true,\"OpenStdin\":true,\"StdinOnce\":false,\"Env\":null,\"Cmd\":[\"/bin/bash\"],\"Dns\":null,\"Image\":\"base\",\"Volumes\":null,\"VolumesFrom\":\"\",\"WorkingDir\":\"\",\"Entrypoint\":null,\"NetworkDisabled\":false,\"OnBuild\":null},\"Size\":77}"
65
65
  http_version:
66
- recorded_at: Fri, 28 Feb 2014 21:30:00 GMT
66
+ recorded_at: Wed, 12 Mar 2014 13:32:09 GMT
67
67
  recorded_with: VCR 2.8.0
@@ -2,13 +2,13 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: unix:///var/run/docker.sock/v1.9/images/create?fromImage=base
5
+ uri: unix:///var/run/docker.sock/v1.10/images/create?fromImage=base
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
9
9
  headers:
10
10
  User-Agent:
11
- - Swipely/Docker-API 1.8.4
11
+ - Swipely/Docker-API 1.9.1
12
12
  Content-Type:
13
13
  - text/plain
14
14
  response:
@@ -19,7 +19,7 @@ http_interactions:
19
19
  Content-Type:
20
20
  - application/json
21
21
  Date:
22
- - Fri, 28 Feb 2014 21:29:54 GMT
22
+ - Wed, 12 Mar 2014 13:32:04 GMT
23
23
  Connection:
24
24
  - close
25
25
  Transfer-Encoding:
@@ -34,16 +34,16 @@ http_interactions:
34
34
  complete\",\"progressDetail\":{},\"id\":\"b750fe79269d\"}{\"status\":\"Download
35
35
  complete\",\"progressDetail\":{},\"id\":\"b750fe79269d\"}"
36
36
  http_version:
37
- recorded_at: Fri, 28 Feb 2014 21:29:55 GMT
37
+ recorded_at: Wed, 12 Mar 2014 13:32:05 GMT
38
38
  - request:
39
39
  method: post
40
- uri: unix:///var/run/docker.sock/v1.9/containers/create
40
+ uri: unix:///var/run/docker.sock/v1.10/containers/create
41
41
  body:
42
42
  encoding: UTF-8
43
43
  string: "{\"Image\":\"b750fe79269d\",\"Cmd\":[\"true\"]}"
44
44
  headers:
45
45
  User-Agent:
46
- - Swipely/Docker-API 1.8.4
46
+ - Swipely/Docker-API 1.9.1
47
47
  Content-Type:
48
48
  - application/json
49
49
  response:
@@ -54,7 +54,7 @@ http_interactions:
54
54
  Content-Type:
55
55
  - application/json
56
56
  Date:
57
- - Fri, 28 Feb 2014 21:29:55 GMT
57
+ - Wed, 12 Mar 2014 13:32:05 GMT
58
58
  Content-Length:
59
59
  - '90'
60
60
  Connection:
@@ -62,18 +62,18 @@ http_interactions:
62
62
  body:
63
63
  encoding: UTF-8
64
64
  string: |
65
- {"Id":"e4e1b2526e1cf1eae7ac3b1e1c8c29e37b24130d0fcf410916e9f8b8d61ccc27","Warnings":null}
65
+ {"Id":"5b5e1efdb5c8d64b507bf793ce5e345b741d7041b7d4f68a1a1e8ad10bf8bf2f","Warnings":null}
66
66
  http_version:
67
- recorded_at: Fri, 28 Feb 2014 21:29:55 GMT
67
+ recorded_at: Wed, 12 Mar 2014 13:32:05 GMT
68
68
  - request:
69
69
  method: post
70
- uri: unix:///var/run/docker.sock/v1.9/containers/e4e1b2526e1cf1eae7ac3b1e1c8c29e37b24130d0fcf410916e9f8b8d61ccc27/start
70
+ uri: unix:///var/run/docker.sock/v1.10/containers/5b5e1efdb5c8d64b507bf793ce5e345b741d7041b7d4f68a1a1e8ad10bf8bf2f/start
71
71
  body:
72
72
  encoding: UTF-8
73
73
  string: "{}"
74
74
  headers:
75
75
  User-Agent:
76
- - Swipely/Docker-API 1.8.4
76
+ - Swipely/Docker-API 1.9.1
77
77
  Content-Type:
78
78
  - application/json
79
79
  response:
@@ -82,7 +82,7 @@ http_interactions:
82
82
  message:
83
83
  headers:
84
84
  Date:
85
- - Fri, 28 Feb 2014 21:29:56 GMT
85
+ - Wed, 12 Mar 2014 13:32:05 GMT
86
86
  Content-Length:
87
87
  - '0'
88
88
  Content-Type:
@@ -93,16 +93,16 @@ http_interactions:
93
93
  encoding: UTF-8
94
94
  string: ''
95
95
  http_version:
96
- recorded_at: Fri, 28 Feb 2014 21:29:56 GMT
96
+ recorded_at: Wed, 12 Mar 2014 13:32:05 GMT
97
97
  - request:
98
98
  method: post
99
- uri: unix:///var/run/docker.sock/v1.9/commit?container=e4e1b252&repo=nahiluhmot%2Fbase2
99
+ uri: unix:///var/run/docker.sock/v1.10/commit?container=5b5e1efd&repo=nahiluhmot%2Fbase2
100
100
  body:
101
101
  encoding: UTF-8
102
102
  string: 'null'
103
103
  headers:
104
104
  User-Agent:
105
- - Swipely/Docker-API 1.8.4
105
+ - Swipely/Docker-API 1.9.1
106
106
  Content-Type:
107
107
  - application/json
108
108
  response:
@@ -113,7 +113,7 @@ http_interactions:
113
113
  Content-Type:
114
114
  - application/json
115
115
  Date:
116
- - Fri, 28 Feb 2014 21:29:57 GMT
116
+ - Wed, 12 Mar 2014 13:32:07 GMT
117
117
  Content-Length:
118
118
  - '74'
119
119
  Connection:
@@ -121,18 +121,18 @@ http_interactions:
121
121
  body:
122
122
  encoding: UTF-8
123
123
  string: |
124
- {"Id":"8eeaeb204828c986cffb38b91c9750a7e93c4d60297b30deb2ffd9d6444eb5d7"}
124
+ {"Id":"c5d4fa6351af82e8996ee25569165bdbc02c3525fe6b3a59a527495e3f6a057e"}
125
125
  http_version:
126
- recorded_at: Fri, 28 Feb 2014 21:29:57 GMT
126
+ recorded_at: Wed, 12 Mar 2014 13:32:07 GMT
127
127
  - request:
128
128
  method: get
129
- uri: unix:///var/run/docker.sock/v1.9/images/json?all=true
129
+ uri: unix:///var/run/docker.sock/v1.10/images/json?all=true
130
130
  body:
131
131
  encoding: US-ASCII
132
132
  string: ''
133
133
  headers:
134
134
  User-Agent:
135
- - Swipely/Docker-API 1.8.4
135
+ - Swipely/Docker-API 1.9.1
136
136
  Content-Type:
137
137
  - text/plain
138
138
  response:
@@ -143,7 +143,7 @@ http_interactions:
143
143
  Content-Type:
144
144
  - application/json
145
145
  Date:
146
- - Fri, 28 Feb 2014 21:29:57 GMT
146
+ - Wed, 12 Mar 2014 13:32:07 GMT
147
147
  Connection:
148
148
  - close
149
149
  Transfer-Encoding:
@@ -151,31 +151,47 @@ http_interactions:
151
151
  body:
152
152
  encoding: UTF-8
153
153
  string: |-
154
- [{"Created":1393622997,"Id":"8eeaeb204828c986cffb38b91c9750a7e93c4d60297b30deb2ffd9d6444eb5d7","ParentId":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","RepoTags":["nahiluhmot/base2:latest"],"Size":7,"VirtualSize":175307042}
155
- ,{"Created":1393622992,"Id":"ac74549ba478cf73bfca3cfdfd5f61624859ab7a942491b4deb85f96553edddb","ParentId":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":38,"VirtualSize":175307073}
156
- ,{"Created":1393622989,"Id":"50d7d1e75f19b08e53029c4a9786c434ec6cafeca47a8625d7a72391ad08c073","ParentId":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":38,"VirtualSize":175307073}
157
- ,{"Created":1393622986,"Id":"7152d6b36451bcdbc72a150984117bf9e4d90f74ac1ea17ee53ee66083f75055","ParentId":"b11e8415856766b3d31dc90e9a01257c4eb805292e09bb28d5aeaff0d234e1db","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":328,"VirtualSize":175307401}
158
- ,{"Created":1393622984,"Id":"b11e8415856766b3d31dc90e9a01257c4eb805292e09bb28d5aeaff0d234e1db","ParentId":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":38,"VirtualSize":175307073}
159
- ,{"Created":1393622981,"Id":"3a016dd557a79d40d70ad9b41c0629fbd13e8094aa3adee1c69fec1d2891ae4b","ParentId":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":38,"VirtualSize":175307073}
160
- ,{"Created":1393622978,"Id":"ec54e7edec81632a90f1844fb706ca5f57bc476d08ffcf51cb5feb9d37a7c39b","ParentId":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":93736,"VirtualSize":175400771}
154
+ [{"Created":1394631126,"Id":"c5d4fa6351af82e8996ee25569165bdbc02c3525fe6b3a59a527495e3f6a057e","ParentId":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","RepoTags":["nahiluhmot/base2:latest"],"Size":69,"VirtualSize":175307104}
155
+ ,{"Created":1394631122,"Id":"d0942d483d0165ac12349291309b216b0b8ae653b3589bc451a26e46cdfbfa4f","ParentId":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":38,"VirtualSize":175307073}
156
+ ,{"Created":1394631119,"Id":"6d2c00eb782a1de80c2466d92f573404734d567a0a18549d0a466cd7bdd12ec0","ParentId":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":38,"VirtualSize":175307073}
157
+ ,{"Created":1394631117,"Id":"ecc20c6798796473052dda1b1a6fb8848297a8fc53602312780feee743170b6b","ParentId":"1a7d30c2eb9387e99941b1a777b6f4e0f27115967a21a6c6b567fae59a2735b8","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":328,"VirtualSize":175307401}
158
+ ,{"Created":1394631115,"Id":"1a7d30c2eb9387e99941b1a777b6f4e0f27115967a21a6c6b567fae59a2735b8","ParentId":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":38,"VirtualSize":175307073}
159
+ ,{"Created":1394631113,"Id":"2dc4b846cfcb793cfe7784086fdcc5ef8927db1004814493da8fdcfe2ee4cf5c","ParentId":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":38,"VirtualSize":175307073}
160
+ ,{"Created":1394631111,"Id":"cdd6204a56c3f61206af7f7f54250ef32345239d69ed4eb5a0c33d5607ec131b","ParentId":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":87916,"VirtualSize":175394951}
161
+ ,{"Created":1394631105,"Id":"11967a8e57f5a4535fc81770a3645f10ec7abf92f22308fcb15288bd30a043f7","ParentId":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":69,"VirtualSize":175307104}
162
+ ,{"Created":1394631103,"Id":"8564cd49afd7c8c41e5230408f71d3a4214d8cb6f91004ac89fccebc98843516","ParentId":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":69,"VirtualSize":175307104}
163
+ ,{"Created":1394631080,"Id":"2e0a9a843f663c7a7159aef66386b60e3e5db6eb48dce592844f8716b4d3f3f9","ParentId":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":104,"VirtualSize":175307139}
164
+ ,{"Created":1391448676,"Id":"9f676bd305a43a931a8d98b13e5840ffbebcd908370765373315926024c7c35e","ParentId":"1c7f181e78b90d347996d754ffa38c4c6b395e7cf0388bffffbda00365b45077","RepoTags":["ubuntu:saucy","ubuntu:13.10"],"Size":182125825,"VirtualSize":182125825}
165
+ ,{"Created":1391448663,"Id":"1c7f181e78b90d347996d754ffa38c4c6b395e7cf0388bffffbda00365b45077","ParentId":"511136ea3c5a64f264b78b5433614aec563103b4d4702f3ba7d4d2698e22c158","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":0,"VirtualSize":0}
166
+ ,{"Created":1391448539,"Id":"eb601b8965b806e798674245307e091b8ac3cdb9fb522aebaa6ac593df8b6b3c","ParentId":"f323cf34fd7797580c96f45c6b59c4c0704e0ecbc3504e986589c4039681c4fd","RepoTags":["ubuntu:raring","ubuntu:13.04"],"Size":170192839,"VirtualSize":170192839}
167
+ ,{"Created":1391448529,"Id":"f323cf34fd7797580c96f45c6b59c4c0704e0ecbc3504e986589c4039681c4fd","ParentId":"511136ea3c5a64f264b78b5433614aec563103b4d4702f3ba7d4d2698e22c158","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":0,"VirtualSize":0}
168
+ ,{"Created":1391448413,"Id":"5ac751e8d62391dab7b5e795e949e74e7053eb443f819cb35e6bd23fe847a794","ParentId":"321f7f4200f444a0ba37aa7bcf35d2776f7f28958ed1cfe79b5108c62a9c1ab5","RepoTags":["ubuntu:12.10","ubuntu:quantal"],"Size":161412295,"VirtualSize":161412295}
169
+ ,{"Created":1391448404,"Id":"321f7f4200f444a0ba37aa7bcf35d2776f7f28958ed1cfe79b5108c62a9c1ab5","ParentId":"511136ea3c5a64f264b78b5433614aec563103b4d4702f3ba7d4d2698e22c158","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":0,"VirtualSize":0}
170
+ ,{"Created":1391448301,"Id":"9cc9ea5ea540116b89e41898dd30858107c1175260fb7ff50322b34704092232","ParentId":"7a4f8724184531b88441f95d0a12e47e0791aaedf4ef122b5464da54f38973d4","RepoTags":["ubuntu:10.04","ubuntu:lucid"],"Size":182964289,"VirtualSize":182964289}
171
+ ,{"Created":1391448149,"Id":"9cd978db300e27386baa9dd791bf6dc818f13e52235b26e95703361ec3c94dc6","ParentId":"6170bb7b0ad1003a827e4dc5253ba49f6719599eac485db51eaafd507c13c311","RepoTags":["ubuntu:12.04","ubuntu:latest","ubuntu:precise"],"Size":204705001,"VirtualSize":204705001}
172
+ ,{"Created":1391448134,"Id":"6170bb7b0ad1003a827e4dc5253ba49f6719599eac485db51eaafd507c13c311","ParentId":"511136ea3c5a64f264b78b5433614aec563103b4d4702f3ba7d4d2698e22c158","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":0,"VirtualSize":0}
173
+ ,{"Created":1390423764,"Id":"7a4f8724184531b88441f95d0a12e47e0791aaedf4ef122b5464da54f38973d4","ParentId":"511136ea3c5a64f264b78b5433614aec563103b4d4702f3ba7d4d2698e22c158","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":0,"VirtualSize":0}
174
+ ,{"Created":1371157430,"Id":"511136ea3c5a64f264b78b5433614aec563103b4d4702f3ba7d4d2698e22c158","ParentId":"","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":0,"VirtualSize":0}
161
175
  ,{"Created":1364102658,"Id":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","ParentId":"27cf784147099545","RepoTags":["base:latest","base:ubuntu-12.10","base:ubuntu-quantal","base:ubuntu-quantl"],"Size":77,"VirtualSize":175307035}
162
176
  ,{"Created":1364068391,"Id":"27cf784147099545","ParentId":"","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":175306958,"VirtualSize":175306958}
163
177
  ]
164
178
  http_version:
165
- recorded_at: Fri, 28 Feb 2014 21:29:57 GMT
179
+ recorded_at: Wed, 12 Mar 2014 13:32:07 GMT
166
180
  - request:
167
181
  method: post
168
- uri: unix:///var/run/docker.sock/v1.9/images/nahiluhmot/base2/push
182
+ uri: unix:///var/run/docker.sock/v1.10/images/nahiluhmot/base2/push
169
183
  body:
170
184
  encoding: US-ASCII
171
185
  string: ''
172
186
  headers:
173
187
  User-Agent:
174
- - Swipely/Docker-API 1.8.4
188
+ - Swipely/Docker-API 1.9.1
175
189
  Content-Type:
176
190
  - text/plain
177
191
  X-Registry-Auth:
178
192
  - eyJ1c2VybmFtZSI6Im5haGlsdWhtb3QiLCJwYXNzd29yZCI6IioqKioqKiIsInNlcnZlcmFkZHJlc3MiOiJodHRwczovL2luZGV4LmRvY2tlci5pby92MSIsImVtYWlsIjoidG9taHVsaWhhbkBzd2lwZWx5LmNvbSJ9
193
+ X-Registry-Config:
194
+ - eyJ1c2VybmFtZSI6Im5haGlsdWhtb3QiLCJwYXNzd29yZCI6IioqKioqKiIsInNlcnZlcmFkZHJlc3MiOiJodHRwczovL2luZGV4LmRvY2tlci5pby92MSIsImVtYWlsIjoidG9taHVsaWhhbkBzd2lwZWx5LmNvbSJ9
179
195
  response:
180
196
  status:
181
197
  code: 200
@@ -184,7 +200,7 @@ http_interactions:
184
200
  Content-Type:
185
201
  - application/json
186
202
  Date:
187
- - Fri, 28 Feb 2014 21:29:57 GMT
203
+ - Wed, 12 Mar 2014 13:32:07 GMT
188
204
  Connection:
189
205
  - close
190
206
  Transfer-Encoding:
@@ -196,5 +212,5 @@ http_interactions:
196
212
  Status 401 trying to push repository nahiluhmot/base2: \"},\"error\":\"Error:
197
213
  Status 401 trying to push repository nahiluhmot/base2: \"}\r\n"
198
214
  http_version:
199
- recorded_at: Fri, 28 Feb 2014 21:29:58 GMT
215
+ recorded_at: Wed, 12 Mar 2014 13:32:07 GMT
200
216
  recorded_with: VCR 2.8.0