docker-api 1.8.4 → 1.9.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 (62) hide show
  1. checksums.yaml +4 -4
  2. data/lib/docker/image.rb +4 -4
  3. data/lib/docker/util.rb +9 -1
  4. data/lib/docker/version.rb +2 -2
  5. data/spec/docker/container_spec.rb +1 -3
  6. data/spec/docker/util_spec.rb +23 -2
  7. data/spec/vcr/Docker/_authenticate_/with_valid_credentials/logs_in_and_sets_the_creds.yml +16 -16
  8. data/spec/vcr/Docker/_info/returns_the_info_as_a_Hash.yml +6 -6
  9. data/spec/vcr/Docker/_validate_version/when_nothing_is_raised/validate_version_/.yml +6 -6
  10. data/spec/vcr/Docker/_version/returns_the_version_as_a_Hash.yml +6 -6
  11. data/spec/vcr/Docker_Container/_all/when_the_HTTP_response_is_a_200/materializes_each_Container_into_a_Docker_Container.yml +97 -69
  12. data/spec/vcr/Docker_Container/_attach/with_normal_sized_chunks/yields_each_chunk.yml +12 -12
  13. data/spec/vcr/Docker_Container/_attach/with_very_small_chunks/yields_each_chunk.yml +12 -12
  14. data/spec/vcr/Docker_Container/_changes/returns_the_changes_as_an_array.yml +19 -19
  15. data/spec/vcr/Docker_Container/_commit/creates_a_new_Image_from_the_Container_s_changes.yml +14 -14
  16. data/spec/vcr/Docker_Container/_commit/if_run_is_passed_it_saves_the_command_in_the_image/saves_the_command.yml +9 -122
  17. data/spec/vcr/Docker_Container/_copy/when_the_input_is_a_directory/yields_each_chunk_of_the_tarred_directory.yml +24 -24
  18. data/spec/vcr/Docker_Container/_copy/when_the_input_is_a_file/yields_each_chunk_of_the_tarred_file.yml +24 -24
  19. data/spec/vcr/Docker_Container/_create/when_creating_a_container_named_bob/should_have_name_set_to_bob.yml +12 -12
  20. 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
  21. data/spec/vcr/Docker_Container/_delete/deletes_the_container.yml +15 -15
  22. data/spec/vcr/Docker_Container/_export/yields_each_chunk.yml +14 -82732
  23. data/spec/vcr/Docker_Container/_get/when_the_HTTP_response_is_a_200/materializes_the_Container_into_a_Docker_Container.yml +13 -13
  24. data/spec/vcr/Docker_Container/_json/returns_the_description_as_a_Hash.yml +13 -13
  25. data/spec/vcr/Docker_Container/_kill/kills_the_container.yml +49 -34
  26. data/spec/vcr/Docker_Container/_restart/restarts_the_container.yml +39 -39
  27. data/spec/vcr/Docker_Container/_run/when_the_Container_s_command_does_not_return_status_code_of_0/raises_an_error.yml +14 -14
  28. 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 +38 -38
  29. data/spec/vcr/Docker_Container/_start/starts_the_container.yml +21 -21
  30. data/spec/vcr/Docker_Container/_stop/stops_the_container.yml +52 -37
  31. data/spec/vcr/Docker_Container/_top/returns_the_top_commands_as_an_Array.yml +7 -7
  32. data/spec/vcr/Docker_Container/_wait/waits_for_the_command_to_finish.yml +15 -15
  33. data/spec/vcr/Docker_Container/_wait/when_an_argument_is_given/and_a_command_runs_for_too_long/raises_a_ServerError.yml +9 -9
  34. data/spec/vcr/Docker_Container/_wait/when_an_argument_is_given/sets_the_read_timeout_to_that_amount_of_time.yml +13 -13
  35. data/spec/vcr/Docker_Image/_all/materializes_each_Image_into_a_Docker_Image.yml +19 -22
  36. data/spec/vcr/Docker_Image/_build/with_a_valid_Dockerfile/with_a_block_capturing_build_output/calls_the_block_and_passes_build_output.yml +7 -7
  37. 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 +25 -27
  38. data/spec/vcr/Docker_Image/_build/with_a_valid_Dockerfile/without_query_parameters/builds_an_image.yml +7 -7
  39. data/spec/vcr/Docker_Image/_build/with_an_invalid_Dockerfile/throws_a_UnexpectedResponseError.yml +7 -7
  40. 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 +8 -7
  41. data/spec/vcr/Docker_Image/_build_from_dir/with_a_valid_Dockerfile/with_no_query_parameters/builds_the_image.yml +21 -20
  42. 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 +36 -38
  43. data/spec/vcr/Docker_Image/_create/when_the_Image_does_not_yet_exist_and_the_body_is_a_Hash/sets_the_id.yml +5 -5
  44. data/spec/vcr/Docker_Image/_get/when_the_image_does_exist/returns_the_new_image.yml +8 -8
  45. data/spec/vcr/Docker_Image/_history/returns_the_history_of_the_Image.yml +10 -10
  46. data/spec/vcr/Docker_Image/_insert/inserts_the_url_s_file_into_a_new_Image.yml +213 -30
  47. data/spec/vcr/Docker_Image/_insert_local/when_removing_intermediate_containers/creates_a_new_image.yml +45 -51
  48. data/spec/vcr/Docker_Image/_insert_local/when_removing_intermediate_containers/leave_no_intermediate_containers.yml +48 -100
  49. data/spec/vcr/Docker_Image/_insert_local/when_the_local_file_does_exist/creates_a_new_Image_that_has_that_file.yml +30 -30
  50. data/spec/vcr/Docker_Image/_insert_local/when_the_local_file_does_not_exist/raises_an_error.yml +7 -7
  51. data/spec/vcr/Docker_Image/_insert_local/when_there_are_multiple_files_passed/creates_a_new_Image_that_has_each_file.yml +32 -32
  52. data/spec/vcr/Docker_Image/_json/returns_additional_information_about_image_image.yml +8 -8
  53. data/spec/vcr/Docker_Image/_push/pushes_the_Image.yml +43 -102
  54. data/spec/vcr/Docker_Image/_remove/removes_the_Image.yml +9 -9
  55. data/spec/vcr/Docker_Image/_run/when_the_argument_is_a_String/splits_the_String_by_spaces_and_creates_a_new_Container.yml +18 -18
  56. data/spec/vcr/Docker_Image/_run/when_the_argument_is_an_Array/creates_a_new_Container.yml +18 -18
  57. 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 +12 -12
  58. data/spec/vcr/Docker_Image/_search/materializes_each_Image_into_a_Docker_Image.yml +34 -22
  59. data/spec/vcr/Docker_Image/_tag/tags_the_image_with_the_repo_name.yml +6 -6
  60. metadata +2 -6
  61. data/spec/vcr/Docker_Container/_copy/when_the_file_does_not_exist/raises_an_error.yml +0 -156
  62. data/spec/vcr/Docker_Image/_run/when_the_argument_is_nil/command_configured_in_image/should_normally_show_result_if_image_has_Cmd_configured.yml +0 -93
@@ -2,13 +2,13 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: unix:///var/run/docker.sock/v1.8/containers/create
5
+ uri: unix:///var/run/docker.sock/v1.9/containers/create
6
6
  body:
7
7
  encoding: UTF-8
8
8
  string: "{\"Cmd\":[\"lol\",\"not\",\"a\",\"real\",\"command\"],\"Image\":\"base\"}"
9
9
  headers:
10
10
  User-Agent:
11
- - Swipely/Docker-API 1.7.6
11
+ - Swipely/Docker-API 1.8.4
12
12
  Content-Type:
13
13
  - application/json
14
14
  response:
@@ -19,7 +19,7 @@ http_interactions:
19
19
  Content-Type:
20
20
  - application/json
21
21
  Date:
22
- - Wed, 12 Feb 2014 17:05:41 GMT
22
+ - Fri, 28 Feb 2014 21:42:21 GMT
23
23
  Content-Length:
24
24
  - '90'
25
25
  Connection:
@@ -27,18 +27,18 @@ http_interactions:
27
27
  body:
28
28
  encoding: UTF-8
29
29
  string: |
30
- {"Id":"ff01ea70677f91c239614d06d5594bee143047e2a8144b60ee012f5cd4619729","Warnings":null}
30
+ {"Id":"1a437c19966fe2cbd1eb5c5a85d34042f657259a72ad5043d078c39b3e8a7d60","Warnings":null}
31
31
  http_version:
32
- recorded_at: Wed, 12 Feb 2014 17:05:41 GMT
32
+ recorded_at: Fri, 28 Feb 2014 21:42:21 GMT
33
33
  - request:
34
34
  method: post
35
- uri: unix:///var/run/docker.sock/v1.8/containers/ff01ea70677f91c239614d06d5594bee143047e2a8144b60ee012f5cd4619729/start
35
+ uri: unix:///var/run/docker.sock/v1.9/containers/1a437c19966fe2cbd1eb5c5a85d34042f657259a72ad5043d078c39b3e8a7d60/start
36
36
  body:
37
37
  encoding: UTF-8
38
38
  string: "{}"
39
39
  headers:
40
40
  User-Agent:
41
- - Swipely/Docker-API 1.7.6
41
+ - Swipely/Docker-API 1.8.4
42
42
  Content-Type:
43
43
  - application/json
44
44
  response:
@@ -47,7 +47,7 @@ http_interactions:
47
47
  message:
48
48
  headers:
49
49
  Date:
50
- - Wed, 12 Feb 2014 17:05:41 GMT
50
+ - Fri, 28 Feb 2014 21:42:22 GMT
51
51
  Content-Length:
52
52
  - '0'
53
53
  Content-Type:
@@ -58,16 +58,16 @@ http_interactions:
58
58
  encoding: UTF-8
59
59
  string: ''
60
60
  http_version:
61
- recorded_at: Wed, 12 Feb 2014 17:05:41 GMT
61
+ recorded_at: Fri, 28 Feb 2014 21:42:22 GMT
62
62
  - request:
63
63
  method: post
64
- uri: unix:///var/run/docker.sock/v1.8/containers/ff01ea70677f91c239614d06d5594bee143047e2a8144b60ee012f5cd4619729/wait
64
+ uri: unix:///var/run/docker.sock/v1.9/containers/1a437c19966fe2cbd1eb5c5a85d34042f657259a72ad5043d078c39b3e8a7d60/wait
65
65
  body:
66
66
  encoding: US-ASCII
67
67
  string: ''
68
68
  headers:
69
69
  User-Agent:
70
- - Swipely/Docker-API 1.7.6
70
+ - Swipely/Docker-API 1.8.4
71
71
  Content-Type:
72
72
  - text/plain
73
73
  response:
@@ -78,7 +78,7 @@ http_interactions:
78
78
  Content-Type:
79
79
  - application/json
80
80
  Date:
81
- - Wed, 12 Feb 2014 17:05:42 GMT
81
+ - Fri, 28 Feb 2014 21:42:23 GMT
82
82
  Content-Length:
83
83
  - '19'
84
84
  Connection:
@@ -86,7 +86,7 @@ http_interactions:
86
86
  body:
87
87
  encoding: UTF-8
88
88
  string: |
89
- {"StatusCode":127}
89
+ {"StatusCode":255}
90
90
  http_version:
91
- recorded_at: Wed, 12 Feb 2014 17:05:42 GMT
91
+ recorded_at: Fri, 28 Feb 2014 21:42:23 GMT
92
92
  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.8/containers/create
5
+ uri: unix:///var/run/docker.sock/v1.9/containers/create
6
6
  body:
7
7
  encoding: UTF-8
8
8
  string: "{\"Cmd\":[\"pwd\"],\"Image\":\"base\"}"
9
9
  headers:
10
10
  User-Agent:
11
- - Swipely/Docker-API 1.7.6
11
+ - Swipely/Docker-API 1.8.4
12
12
  Content-Type:
13
13
  - application/json
14
14
  response:
@@ -19,7 +19,7 @@ http_interactions:
19
19
  Content-Type:
20
20
  - application/json
21
21
  Date:
22
- - Wed, 12 Feb 2014 17:05:42 GMT
22
+ - Fri, 28 Feb 2014 21:42:23 GMT
23
23
  Content-Length:
24
24
  - '90'
25
25
  Connection:
@@ -27,18 +27,18 @@ http_interactions:
27
27
  body:
28
28
  encoding: UTF-8
29
29
  string: |
30
- {"Id":"d062ac41f03d49177f1500f219a91ad4e2f51a168b9737f5066965941a52debe","Warnings":null}
30
+ {"Id":"4389860f19097b16954f3c64cfdf5180cca3f52ad824b2bd794c804e9f0ac8a1","Warnings":null}
31
31
  http_version:
32
- recorded_at: Wed, 12 Feb 2014 17:05:42 GMT
32
+ recorded_at: Fri, 28 Feb 2014 21:42:23 GMT
33
33
  - request:
34
34
  method: post
35
- uri: unix:///var/run/docker.sock/v1.8/containers/d062ac41f03d49177f1500f219a91ad4e2f51a168b9737f5066965941a52debe/start
35
+ uri: unix:///var/run/docker.sock/v1.9/containers/4389860f19097b16954f3c64cfdf5180cca3f52ad824b2bd794c804e9f0ac8a1/start
36
36
  body:
37
37
  encoding: UTF-8
38
38
  string: "{}"
39
39
  headers:
40
40
  User-Agent:
41
- - Swipely/Docker-API 1.7.6
41
+ - Swipely/Docker-API 1.8.4
42
42
  Content-Type:
43
43
  - application/json
44
44
  response:
@@ -47,7 +47,7 @@ http_interactions:
47
47
  message:
48
48
  headers:
49
49
  Date:
50
- - Wed, 12 Feb 2014 17:05:43 GMT
50
+ - Fri, 28 Feb 2014 21:42:24 GMT
51
51
  Content-Length:
52
52
  - '0'
53
53
  Content-Type:
@@ -58,16 +58,16 @@ http_interactions:
58
58
  encoding: UTF-8
59
59
  string: ''
60
60
  http_version:
61
- recorded_at: Wed, 12 Feb 2014 17:05:43 GMT
61
+ recorded_at: Fri, 28 Feb 2014 21:42:24 GMT
62
62
  - request:
63
63
  method: post
64
- uri: unix:///var/run/docker.sock/v1.8/containers/d062ac41f03d49177f1500f219a91ad4e2f51a168b9737f5066965941a52debe/wait
64
+ uri: unix:///var/run/docker.sock/v1.9/containers/4389860f19097b16954f3c64cfdf5180cca3f52ad824b2bd794c804e9f0ac8a1/wait
65
65
  body:
66
66
  encoding: US-ASCII
67
67
  string: ''
68
68
  headers:
69
69
  User-Agent:
70
- - Swipely/Docker-API 1.7.6
70
+ - Swipely/Docker-API 1.8.4
71
71
  Content-Type:
72
72
  - text/plain
73
73
  response:
@@ -78,7 +78,7 @@ http_interactions:
78
78
  Content-Type:
79
79
  - application/json
80
80
  Date:
81
- - Wed, 12 Feb 2014 17:05:43 GMT
81
+ - Fri, 28 Feb 2014 21:42:25 GMT
82
82
  Content-Length:
83
83
  - '17'
84
84
  Connection:
@@ -88,16 +88,16 @@ http_interactions:
88
88
  string: |
89
89
  {"StatusCode":0}
90
90
  http_version:
91
- recorded_at: Wed, 12 Feb 2014 17:05:43 GMT
91
+ recorded_at: Fri, 28 Feb 2014 21:42:25 GMT
92
92
  - request:
93
93
  method: post
94
- uri: unix:///var/run/docker.sock/v1.8/commit?container=d062ac41
94
+ uri: unix:///var/run/docker.sock/v1.9/commit?container=4389860f
95
95
  body:
96
96
  encoding: UTF-8
97
97
  string: 'null'
98
98
  headers:
99
99
  User-Agent:
100
- - Swipely/Docker-API 1.7.6
100
+ - Swipely/Docker-API 1.8.4
101
101
  Content-Type:
102
102
  - application/json
103
103
  response:
@@ -108,7 +108,7 @@ http_interactions:
108
108
  Content-Type:
109
109
  - application/json
110
110
  Date:
111
- - Wed, 12 Feb 2014 17:05:46 GMT
111
+ - Fri, 28 Feb 2014 21:42:26 GMT
112
112
  Content-Length:
113
113
  - '74'
114
114
  Connection:
@@ -116,18 +116,18 @@ http_interactions:
116
116
  body:
117
117
  encoding: UTF-8
118
118
  string: |
119
- {"Id":"328de6c59bef1db641600ea40668bbd57f6966a146bebe9640030dea13d0008c"}
119
+ {"Id":"4238b606070bae466c03d5c8d80709882159b5b0bb7ed6997de3268616ddcbaf"}
120
120
  http_version:
121
- recorded_at: Wed, 12 Feb 2014 17:05:46 GMT
121
+ recorded_at: Fri, 28 Feb 2014 21:42:26 GMT
122
122
  - request:
123
123
  method: post
124
- uri: unix:///var/run/docker.sock/v1.8/containers/create
124
+ uri: unix:///var/run/docker.sock/v1.9/containers/create
125
125
  body:
126
126
  encoding: UTF-8
127
- string: "{\"Image\":\"328de6c59bef1db641600ea40668bbd57f6966a146bebe9640030dea13d0008c\",\"Cmd\":[\"ls\"]}"
127
+ string: "{\"Image\":\"4238b606070bae466c03d5c8d80709882159b5b0bb7ed6997de3268616ddcbaf\",\"Cmd\":[\"ls\"]}"
128
128
  headers:
129
129
  User-Agent:
130
- - Swipely/Docker-API 1.7.6
130
+ - Swipely/Docker-API 1.8.4
131
131
  Content-Type:
132
132
  - application/json
133
133
  response:
@@ -138,7 +138,7 @@ http_interactions:
138
138
  Content-Type:
139
139
  - application/json
140
140
  Date:
141
- - Wed, 12 Feb 2014 17:05:47 GMT
141
+ - Fri, 28 Feb 2014 21:42:26 GMT
142
142
  Content-Length:
143
143
  - '90'
144
144
  Connection:
@@ -146,18 +146,18 @@ http_interactions:
146
146
  body:
147
147
  encoding: UTF-8
148
148
  string: |
149
- {"Id":"28d003c06e3f52d738615f1d36e6f5495d55be378f3c3d855957c5b52eadb476","Warnings":null}
149
+ {"Id":"e0f9a937835c13023e5283a6a5ab0ef5b3e8e25301f5f50c6352fa9c58248dbf","Warnings":null}
150
150
  http_version:
151
- recorded_at: Wed, 12 Feb 2014 17:05:47 GMT
151
+ recorded_at: Fri, 28 Feb 2014 21:42:26 GMT
152
152
  - request:
153
153
  method: post
154
- uri: unix:///var/run/docker.sock/v1.8/containers/28d003c06e3f52d738615f1d36e6f5495d55be378f3c3d855957c5b52eadb476/start
154
+ uri: unix:///var/run/docker.sock/v1.9/containers/e0f9a937835c13023e5283a6a5ab0ef5b3e8e25301f5f50c6352fa9c58248dbf/start
155
155
  body:
156
156
  encoding: UTF-8
157
157
  string: "{}"
158
158
  headers:
159
159
  User-Agent:
160
- - Swipely/Docker-API 1.7.6
160
+ - Swipely/Docker-API 1.8.4
161
161
  Content-Type:
162
162
  - application/json
163
163
  response:
@@ -166,7 +166,7 @@ http_interactions:
166
166
  message:
167
167
  headers:
168
168
  Date:
169
- - Wed, 12 Feb 2014 17:05:47 GMT
169
+ - Fri, 28 Feb 2014 21:42:28 GMT
170
170
  Content-Length:
171
171
  - '0'
172
172
  Content-Type:
@@ -177,16 +177,16 @@ http_interactions:
177
177
  encoding: UTF-8
178
178
  string: ''
179
179
  http_version:
180
- recorded_at: Wed, 12 Feb 2014 17:05:47 GMT
180
+ recorded_at: Fri, 28 Feb 2014 21:42:28 GMT
181
181
  - request:
182
182
  method: post
183
- uri: unix:///var/run/docker.sock/v1.8/containers/28d003c06e3f52d738615f1d36e6f5495d55be378f3c3d855957c5b52eadb476/start
183
+ uri: unix:///var/run/docker.sock/v1.9/containers/e0f9a937835c13023e5283a6a5ab0ef5b3e8e25301f5f50c6352fa9c58248dbf/start
184
184
  body:
185
185
  encoding: UTF-8
186
186
  string: "{}"
187
187
  headers:
188
188
  User-Agent:
189
- - Swipely/Docker-API 1.7.6
189
+ - Swipely/Docker-API 1.8.4
190
190
  Content-Type:
191
191
  - application/json
192
192
  response:
@@ -197,26 +197,26 @@ http_interactions:
197
197
  Content-Type:
198
198
  - text/plain; charset=utf-8
199
199
  Date:
200
- - Wed, 12 Feb 2014 17:05:47 GMT
200
+ - Fri, 28 Feb 2014 21:42:28 GMT
201
201
  Content-Length:
202
- - '195'
202
+ - '188'
203
203
  Connection:
204
204
  - close
205
205
  body:
206
206
  encoding: UTF-8
207
207
  string: |
208
- start: Cannot start container 28d003c06e3f52d738615f1d36e6f5495d55be378f3c3d855957c5b52eadb476: The container 28d003c06e3f52d738615f1d36e6f5495d55be378f3c3d855957c5b52eadb476 is already running.
208
+ Cannot start container e0f9a937835c13023e5283a6a5ab0ef5b3e8e25301f5f50c6352fa9c58248dbf: The container e0f9a937835c13023e5283a6a5ab0ef5b3e8e25301f5f50c6352fa9c58248dbf is already running.
209
209
  http_version:
210
- recorded_at: Wed, 12 Feb 2014 17:05:47 GMT
210
+ recorded_at: Fri, 28 Feb 2014 21:42:28 GMT
211
211
  - request:
212
212
  method: post
213
- uri: unix:///var/run/docker.sock/v1.8/containers/28d003c06e3f52d738615f1d36e6f5495d55be378f3c3d855957c5b52eadb476/wait
213
+ uri: unix:///var/run/docker.sock/v1.9/containers/e0f9a937835c13023e5283a6a5ab0ef5b3e8e25301f5f50c6352fa9c58248dbf/wait
214
214
  body:
215
215
  encoding: US-ASCII
216
216
  string: ''
217
217
  headers:
218
218
  User-Agent:
219
- - Swipely/Docker-API 1.7.6
219
+ - Swipely/Docker-API 1.8.4
220
220
  Content-Type:
221
221
  - text/plain
222
222
  response:
@@ -227,7 +227,7 @@ http_interactions:
227
227
  Content-Type:
228
228
  - application/json
229
229
  Date:
230
- - Wed, 12 Feb 2014 17:05:47 GMT
230
+ - Fri, 28 Feb 2014 21:42:28 GMT
231
231
  Content-Length:
232
232
  - '17'
233
233
  Connection:
@@ -237,5 +237,5 @@ http_interactions:
237
237
  string: |
238
238
  {"StatusCode":0}
239
239
  http_version:
240
- recorded_at: Wed, 12 Feb 2014 17:05:47 GMT
240
+ recorded_at: Fri, 28 Feb 2014 21:42:28 GMT
241
241
  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.8/containers/create
5
+ uri: unix:///var/run/docker.sock/v1.9/containers/create
6
6
  body:
7
7
  encoding: UTF-8
8
8
  string: "{\"Cmd\":[\"test\",\"-d\",\"/foo\"],\"Image\":\"base\",\"Volumes\":{\"/foo\":{}}}"
9
9
  headers:
10
10
  User-Agent:
11
- - Swipely/Docker-API 1.7.6
11
+ - Swipely/Docker-API 1.8.4
12
12
  Content-Type:
13
13
  - application/json
14
14
  response:
@@ -19,7 +19,7 @@ http_interactions:
19
19
  Content-Type:
20
20
  - application/json
21
21
  Date:
22
- - Wed, 12 Feb 2014 17:05:30 GMT
22
+ - Fri, 28 Feb 2014 21:42:03 GMT
23
23
  Content-Length:
24
24
  - '90'
25
25
  Connection:
@@ -27,18 +27,18 @@ http_interactions:
27
27
  body:
28
28
  encoding: UTF-8
29
29
  string: |
30
- {"Id":"1d7ad40cf94fe20c7b72186afb550f742dba8d4e3c5712649202eacedc353610","Warnings":null}
30
+ {"Id":"418e67b935e1e25f7b70925e29745a490e4d5b75a9c320b6ea9d9c381a764ef7","Warnings":null}
31
31
  http_version:
32
- recorded_at: Wed, 12 Feb 2014 17:05:30 GMT
32
+ recorded_at: Fri, 28 Feb 2014 21:42:03 GMT
33
33
  - request:
34
34
  method: post
35
- uri: unix:///var/run/docker.sock/v1.8/containers/1d7ad40cf94fe20c7b72186afb550f742dba8d4e3c5712649202eacedc353610/start
35
+ uri: unix:///var/run/docker.sock/v1.9/containers/418e67b935e1e25f7b70925e29745a490e4d5b75a9c320b6ea9d9c381a764ef7/start
36
36
  body:
37
37
  encoding: UTF-8
38
38
  string: "{\"Binds\":[\"/tmp:/foo\"]}"
39
39
  headers:
40
40
  User-Agent:
41
- - Swipely/Docker-API 1.7.6
41
+ - Swipely/Docker-API 1.8.4
42
42
  Content-Type:
43
43
  - application/json
44
44
  response:
@@ -47,7 +47,7 @@ http_interactions:
47
47
  message:
48
48
  headers:
49
49
  Date:
50
- - Wed, 12 Feb 2014 17:05:30 GMT
50
+ - Fri, 28 Feb 2014 21:42:05 GMT
51
51
  Content-Length:
52
52
  - '0'
53
53
  Content-Type:
@@ -58,16 +58,16 @@ http_interactions:
58
58
  encoding: UTF-8
59
59
  string: ''
60
60
  http_version:
61
- recorded_at: Wed, 12 Feb 2014 17:05:30 GMT
61
+ recorded_at: Fri, 28 Feb 2014 21:42:05 GMT
62
62
  - request:
63
63
  method: get
64
- uri: unix:///var/run/docker.sock/v1.8/containers/json
64
+ uri: unix:///var/run/docker.sock/v1.9/containers/json
65
65
  body:
66
66
  encoding: US-ASCII
67
67
  string: ''
68
68
  headers:
69
69
  User-Agent:
70
- - Swipely/Docker-API 1.7.6
70
+ - Swipely/Docker-API 1.8.4
71
71
  Content-Type:
72
72
  - text/plain
73
73
  response:
@@ -75,30 +75,30 @@ http_interactions:
75
75
  code: 200
76
76
  message:
77
77
  headers:
78
+ Content-Type:
79
+ - application/json
78
80
  Date:
79
- - Wed, 12 Feb 2014 17:05:30 GMT
81
+ - Fri, 28 Feb 2014 21:42:05 GMT
80
82
  Content-Length:
81
- - '214'
82
- Content-Type:
83
- - text/plain; charset=utf-8
83
+ - '218'
84
84
  Connection:
85
85
  - close
86
86
  body:
87
87
  encoding: UTF-8
88
88
  string: |-
89
- [{"Command":"test -d /foo","Created":1392224730,"Id":"1d7ad40cf94fe20c7b72186afb550f742dba8d4e3c5712649202eacedc353610","Image":"base2:latest","Names":["/grave_brown"],"Ports":[],"Status":"Up Less than a second"}
89
+ [{"Command":"test -d /foo","Created":1393623723,"Id":"418e67b935e1e25f7b70925e29745a490e4d5b75a9c320b6ea9d9c381a764ef7","Image":"base2:latest","Names":["/berserk_lumiere"],"Ports":[],"Status":"Up Less than a second"}
90
90
  ]
91
91
  http_version:
92
- recorded_at: Wed, 12 Feb 2014 17:05:30 GMT
92
+ recorded_at: Fri, 28 Feb 2014 21:42:05 GMT
93
93
  - request:
94
94
  method: post
95
- uri: unix:///var/run/docker.sock/v1.8/containers/1d7ad40cf94fe20c7b72186afb550f742dba8d4e3c5712649202eacedc353610/wait
95
+ uri: unix:///var/run/docker.sock/v1.9/containers/418e67b935e1e25f7b70925e29745a490e4d5b75a9c320b6ea9d9c381a764ef7/wait
96
96
  body:
97
97
  encoding: US-ASCII
98
98
  string: ''
99
99
  headers:
100
100
  User-Agent:
101
- - Swipely/Docker-API 1.7.6
101
+ - Swipely/Docker-API 1.8.4
102
102
  Content-Type:
103
103
  - text/plain
104
104
  response:
@@ -109,7 +109,7 @@ http_interactions:
109
109
  Content-Type:
110
110
  - application/json
111
111
  Date:
112
- - Wed, 12 Feb 2014 17:05:30 GMT
112
+ - Fri, 28 Feb 2014 21:42:05 GMT
113
113
  Content-Length:
114
114
  - '17'
115
115
  Connection:
@@ -119,5 +119,5 @@ http_interactions:
119
119
  string: |
120
120
  {"StatusCode":0}
121
121
  http_version:
122
- recorded_at: Wed, 12 Feb 2014 17:05:30 GMT
122
+ recorded_at: Fri, 28 Feb 2014 21:42:05 GMT
123
123
  recorded_with: VCR 2.8.0