docker-api 1.9.1 → 1.10.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 (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,13 +2,13 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: unix:///var/run/docker.sock/v1.9/containers/create
5
+ uri: unix:///var/run/docker.sock/v1.10/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.8.4
11
+ - Swipely/Docker-API 1.9.1
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
- - Fri, 28 Feb 2014 21:42:23 GMT
22
+ - Wed, 12 Mar 2014 13:31:42 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":"4389860f19097b16954f3c64cfdf5180cca3f52ad824b2bd794c804e9f0ac8a1","Warnings":null}
30
+ {"Id":"c451a96c2eca033537cf7107dcaa291bbecf8ff64c27c9d2258f4d546a1c1855","Warnings":null}
31
31
  http_version:
32
- recorded_at: Fri, 28 Feb 2014 21:42:23 GMT
32
+ recorded_at: Wed, 12 Mar 2014 13:31:42 GMT
33
33
  - request:
34
34
  method: post
35
- uri: unix:///var/run/docker.sock/v1.9/containers/4389860f19097b16954f3c64cfdf5180cca3f52ad824b2bd794c804e9f0ac8a1/start
35
+ uri: unix:///var/run/docker.sock/v1.10/containers/c451a96c2eca033537cf7107dcaa291bbecf8ff64c27c9d2258f4d546a1c1855/start
36
36
  body:
37
37
  encoding: UTF-8
38
38
  string: "{}"
39
39
  headers:
40
40
  User-Agent:
41
- - Swipely/Docker-API 1.8.4
41
+ - Swipely/Docker-API 1.9.1
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
- - Fri, 28 Feb 2014 21:42:24 GMT
50
+ - Wed, 12 Mar 2014 13:31:42 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: Fri, 28 Feb 2014 21:42:24 GMT
61
+ recorded_at: Wed, 12 Mar 2014 13:31:42 GMT
62
62
  - request:
63
63
  method: post
64
- uri: unix:///var/run/docker.sock/v1.9/containers/4389860f19097b16954f3c64cfdf5180cca3f52ad824b2bd794c804e9f0ac8a1/wait
64
+ uri: unix:///var/run/docker.sock/v1.10/containers/c451a96c2eca033537cf7107dcaa291bbecf8ff64c27c9d2258f4d546a1c1855/wait
65
65
  body:
66
66
  encoding: US-ASCII
67
67
  string: ''
68
68
  headers:
69
69
  User-Agent:
70
- - Swipely/Docker-API 1.8.4
70
+ - Swipely/Docker-API 1.9.1
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
- - Fri, 28 Feb 2014 21:42:25 GMT
81
+ - Wed, 12 Mar 2014 13:31:42 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: Fri, 28 Feb 2014 21:42:25 GMT
91
+ recorded_at: Wed, 12 Mar 2014 13:31:42 GMT
92
92
  - request:
93
93
  method: post
94
- uri: unix:///var/run/docker.sock/v1.9/commit?container=4389860f
94
+ uri: unix:///var/run/docker.sock/v1.10/commit?container=c451a96c
95
95
  body:
96
96
  encoding: UTF-8
97
97
  string: 'null'
98
98
  headers:
99
99
  User-Agent:
100
- - Swipely/Docker-API 1.8.4
100
+ - Swipely/Docker-API 1.9.1
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
- - Fri, 28 Feb 2014 21:42:26 GMT
111
+ - Wed, 12 Mar 2014 13:31:44 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":"4238b606070bae466c03d5c8d80709882159b5b0bb7ed6997de3268616ddcbaf"}
119
+ {"Id":"8564cd49afd7c8c41e5230408f71d3a4214d8cb6f91004ac89fccebc98843516"}
120
120
  http_version:
121
- recorded_at: Fri, 28 Feb 2014 21:42:26 GMT
121
+ recorded_at: Wed, 12 Mar 2014 13:31:44 GMT
122
122
  - request:
123
123
  method: post
124
- uri: unix:///var/run/docker.sock/v1.9/containers/create
124
+ uri: unix:///var/run/docker.sock/v1.10/containers/create
125
125
  body:
126
126
  encoding: UTF-8
127
- string: "{\"Image\":\"4238b606070bae466c03d5c8d80709882159b5b0bb7ed6997de3268616ddcbaf\",\"Cmd\":[\"ls\"]}"
127
+ string: "{\"Image\":\"8564cd49afd7c8c41e5230408f71d3a4214d8cb6f91004ac89fccebc98843516\",\"Cmd\":[\"ls\"]}"
128
128
  headers:
129
129
  User-Agent:
130
- - Swipely/Docker-API 1.8.4
130
+ - Swipely/Docker-API 1.9.1
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
- - Fri, 28 Feb 2014 21:42:26 GMT
141
+ - Wed, 12 Mar 2014 13:31:44 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":"e0f9a937835c13023e5283a6a5ab0ef5b3e8e25301f5f50c6352fa9c58248dbf","Warnings":null}
149
+ {"Id":"cab0110ae90373f3f6790a2305bef7b040581dabbc98adbebeb3368f436eee71","Warnings":null}
150
150
  http_version:
151
- recorded_at: Fri, 28 Feb 2014 21:42:26 GMT
151
+ recorded_at: Wed, 12 Mar 2014 13:31:44 GMT
152
152
  - request:
153
153
  method: post
154
- uri: unix:///var/run/docker.sock/v1.9/containers/e0f9a937835c13023e5283a6a5ab0ef5b3e8e25301f5f50c6352fa9c58248dbf/start
154
+ uri: unix:///var/run/docker.sock/v1.10/containers/cab0110ae90373f3f6790a2305bef7b040581dabbc98adbebeb3368f436eee71/start
155
155
  body:
156
156
  encoding: UTF-8
157
157
  string: "{}"
158
158
  headers:
159
159
  User-Agent:
160
- - Swipely/Docker-API 1.8.4
160
+ - Swipely/Docker-API 1.9.1
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
- - Fri, 28 Feb 2014 21:42:28 GMT
169
+ - Wed, 12 Mar 2014 13:31:44 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: Fri, 28 Feb 2014 21:42:28 GMT
180
+ recorded_at: Wed, 12 Mar 2014 13:31:44 GMT
181
181
  - request:
182
182
  method: post
183
- uri: unix:///var/run/docker.sock/v1.9/containers/e0f9a937835c13023e5283a6a5ab0ef5b3e8e25301f5f50c6352fa9c58248dbf/start
183
+ uri: unix:///var/run/docker.sock/v1.10/containers/cab0110ae90373f3f6790a2305bef7b040581dabbc98adbebeb3368f436eee71/start
184
184
  body:
185
185
  encoding: UTF-8
186
186
  string: "{}"
187
187
  headers:
188
188
  User-Agent:
189
- - Swipely/Docker-API 1.8.4
189
+ - Swipely/Docker-API 1.9.1
190
190
  Content-Type:
191
191
  - application/json
192
192
  response:
@@ -197,7 +197,7 @@ http_interactions:
197
197
  Content-Type:
198
198
  - text/plain; charset=utf-8
199
199
  Date:
200
- - Fri, 28 Feb 2014 21:42:28 GMT
200
+ - Wed, 12 Mar 2014 13:31:44 GMT
201
201
  Content-Length:
202
202
  - '188'
203
203
  Connection:
@@ -205,18 +205,18 @@ http_interactions:
205
205
  body:
206
206
  encoding: UTF-8
207
207
  string: |
208
- Cannot start container e0f9a937835c13023e5283a6a5ab0ef5b3e8e25301f5f50c6352fa9c58248dbf: The container e0f9a937835c13023e5283a6a5ab0ef5b3e8e25301f5f50c6352fa9c58248dbf is already running.
208
+ Cannot start container cab0110ae90373f3f6790a2305bef7b040581dabbc98adbebeb3368f436eee71: The container cab0110ae90373f3f6790a2305bef7b040581dabbc98adbebeb3368f436eee71 is already running.
209
209
  http_version:
210
- recorded_at: Fri, 28 Feb 2014 21:42:28 GMT
210
+ recorded_at: Wed, 12 Mar 2014 13:31:44 GMT
211
211
  - request:
212
212
  method: post
213
- uri: unix:///var/run/docker.sock/v1.9/containers/e0f9a937835c13023e5283a6a5ab0ef5b3e8e25301f5f50c6352fa9c58248dbf/wait
213
+ uri: unix:///var/run/docker.sock/v1.10/containers/cab0110ae90373f3f6790a2305bef7b040581dabbc98adbebeb3368f436eee71/wait
214
214
  body:
215
215
  encoding: US-ASCII
216
216
  string: ''
217
217
  headers:
218
218
  User-Agent:
219
- - Swipely/Docker-API 1.8.4
219
+ - Swipely/Docker-API 1.9.1
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
- - Fri, 28 Feb 2014 21:42:28 GMT
230
+ - Wed, 12 Mar 2014 13:31:44 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: Fri, 28 Feb 2014 21:42:28 GMT
240
+ recorded_at: Wed, 12 Mar 2014 13:31:44 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.9/containers/create
5
+ uri: unix:///var/run/docker.sock/v1.10/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.8.4
11
+ - Swipely/Docker-API 1.9.1
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
- - Fri, 28 Feb 2014 21:42:03 GMT
22
+ - Wed, 12 Mar 2014 13:31:31 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":"418e67b935e1e25f7b70925e29745a490e4d5b75a9c320b6ea9d9c381a764ef7","Warnings":null}
30
+ {"Id":"6c3645ba631b4370d9199983b9a5133e49edaf019a5944148971b1c2db53bf79","Warnings":null}
31
31
  http_version:
32
- recorded_at: Fri, 28 Feb 2014 21:42:03 GMT
32
+ recorded_at: Wed, 12 Mar 2014 13:31:31 GMT
33
33
  - request:
34
34
  method: post
35
- uri: unix:///var/run/docker.sock/v1.9/containers/418e67b935e1e25f7b70925e29745a490e4d5b75a9c320b6ea9d9c381a764ef7/start
35
+ uri: unix:///var/run/docker.sock/v1.10/containers/6c3645ba631b4370d9199983b9a5133e49edaf019a5944148971b1c2db53bf79/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.8.4
41
+ - Swipely/Docker-API 1.9.1
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
- - Fri, 28 Feb 2014 21:42:05 GMT
50
+ - Wed, 12 Mar 2014 13:31:31 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: Fri, 28 Feb 2014 21:42:05 GMT
61
+ recorded_at: Wed, 12 Mar 2014 13:31:31 GMT
62
62
  - request:
63
63
  method: get
64
- uri: unix:///var/run/docker.sock/v1.9/containers/json
64
+ uri: unix:///var/run/docker.sock/v1.10/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.8.4
70
+ - Swipely/Docker-API 1.9.1
71
71
  Content-Type:
72
72
  - text/plain
73
73
  response:
@@ -78,27 +78,28 @@ http_interactions:
78
78
  Content-Type:
79
79
  - application/json
80
80
  Date:
81
- - Fri, 28 Feb 2014 21:42:05 GMT
81
+ - Wed, 12 Mar 2014 13:31:31 GMT
82
82
  Content-Length:
83
- - '218'
83
+ - '414'
84
84
  Connection:
85
85
  - close
86
86
  body:
87
87
  encoding: UTF-8
88
88
  string: |-
89
- [{"Command":"test -d /foo","Created":1393623723,"Id":"418e67b935e1e25f7b70925e29745a490e4d5b75a9c320b6ea9d9c381a764ef7","Image":"base2:latest","Names":["/berserk_lumiere"],"Ports":[],"Status":"Up Less than a second"}
89
+ [{"Command":"test -d /foo","Created":1394631091,"Id":"6c3645ba631b4370d9199983b9a5133e49edaf019a5944148971b1c2db53bf79","Image":"base:latest","Names":["/angry_lumiere"],"Ports":[],"Status":"Up Less than a second"}
90
+ ,{"Command":"/while","Created":1394631081,"Id":"d2def324f3daa1989173223f03d22e789c4354aa99d80e7258068de9e911cb35","Image":"2e0a9a843f66","Names":["/stoic_brown"],"Ports":[],"Status":"Up 10 seconds"}
90
91
  ]
91
92
  http_version:
92
- recorded_at: Fri, 28 Feb 2014 21:42:05 GMT
93
+ recorded_at: Wed, 12 Mar 2014 13:31:31 GMT
93
94
  - request:
94
95
  method: post
95
- uri: unix:///var/run/docker.sock/v1.9/containers/418e67b935e1e25f7b70925e29745a490e4d5b75a9c320b6ea9d9c381a764ef7/wait
96
+ uri: unix:///var/run/docker.sock/v1.10/containers/6c3645ba631b4370d9199983b9a5133e49edaf019a5944148971b1c2db53bf79/wait
96
97
  body:
97
98
  encoding: US-ASCII
98
99
  string: ''
99
100
  headers:
100
101
  User-Agent:
101
- - Swipely/Docker-API 1.8.4
102
+ - Swipely/Docker-API 1.9.1
102
103
  Content-Type:
103
104
  - text/plain
104
105
  response:
@@ -109,7 +110,7 @@ http_interactions:
109
110
  Content-Type:
110
111
  - application/json
111
112
  Date:
112
- - Fri, 28 Feb 2014 21:42:05 GMT
113
+ - Wed, 12 Mar 2014 13:31:32 GMT
113
114
  Content-Length:
114
115
  - '17'
115
116
  Connection:
@@ -119,5 +120,5 @@ http_interactions:
119
120
  string: |
120
121
  {"StatusCode":0}
121
122
  http_version:
122
- recorded_at: Fri, 28 Feb 2014 21:42:05 GMT
123
+ recorded_at: Wed, 12 Mar 2014 13:31:32 GMT
123
124
  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/containers/create
5
+ uri: unix:///var/run/docker.sock/v1.10/containers/create
6
6
  body:
7
7
  encoding: UTF-8
8
8
  string: "{\"Cmd\":[\"true\"],\"Image\":\"base\"}"
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
  - application/json
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:42:05 GMT
22
+ - Wed, 12 Mar 2014 13:31:32 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":"6b81a0b2d2b9377b34cacadc0caab3727992025133072a6dc8cfd113d0779aa1","Warnings":null}
30
+ {"Id":"0ab853c18a2a8eaa4513a6a017dc749d5d691f689c6bdd339d9a64087aee88c1","Warnings":null}
31
31
  http_version:
32
- recorded_at: Fri, 28 Feb 2014 21:42:05 GMT
32
+ recorded_at: Wed, 12 Mar 2014 13:31:32 GMT
33
33
  - request:
34
34
  method: post
35
- uri: unix:///var/run/docker.sock/v1.9/containers/6b81a0b2d2b9377b34cacadc0caab3727992025133072a6dc8cfd113d0779aa1/start
35
+ uri: unix:///var/run/docker.sock/v1.10/containers/0ab853c18a2a8eaa4513a6a017dc749d5d691f689c6bdd339d9a64087aee88c1/start
36
36
  body:
37
37
  encoding: UTF-8
38
38
  string: "{}"
39
39
  headers:
40
40
  User-Agent:
41
- - Swipely/Docker-API 1.8.4
41
+ - Swipely/Docker-API 1.9.1
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
- - Fri, 28 Feb 2014 21:42:06 GMT
50
+ - Wed, 12 Mar 2014 13:31:32 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: Fri, 28 Feb 2014 21:42:06 GMT
61
+ recorded_at: Wed, 12 Mar 2014 13:31:32 GMT
62
62
  - request:
63
63
  method: post
64
- uri: unix:///var/run/docker.sock/v1.9/containers/6b81a0b2d2b9377b34cacadc0caab3727992025133072a6dc8cfd113d0779aa1/stop
64
+ uri: unix:///var/run/docker.sock/v1.10/containers/0ab853c18a2a8eaa4513a6a017dc749d5d691f689c6bdd339d9a64087aee88c1/stop?t=10
65
65
  body:
66
66
  encoding: UTF-8
67
67
  string: "{}"
68
68
  headers:
69
69
  User-Agent:
70
- - Swipely/Docker-API 1.8.4
70
+ - Swipely/Docker-API 1.9.1
71
71
  Content-Type:
72
72
  - application/json
73
73
  response:
@@ -76,7 +76,7 @@ http_interactions:
76
76
  message:
77
77
  headers:
78
78
  Date:
79
- - Fri, 28 Feb 2014 21:42:06 GMT
79
+ - Wed, 12 Mar 2014 13:31:32 GMT
80
80
  Content-Length:
81
81
  - '0'
82
82
  Content-Type:
@@ -87,16 +87,16 @@ http_interactions:
87
87
  encoding: UTF-8
88
88
  string: ''
89
89
  http_version:
90
- recorded_at: Fri, 28 Feb 2014 21:42:06 GMT
90
+ recorded_at: Wed, 12 Mar 2014 13:31:32 GMT
91
91
  - request:
92
92
  method: get
93
- uri: unix:///var/run/docker.sock/v1.9/containers/json?all=true
93
+ uri: unix:///var/run/docker.sock/v1.10/containers/json?all=true
94
94
  body:
95
95
  encoding: US-ASCII
96
96
  string: ''
97
97
  headers:
98
98
  User-Agent:
99
- - Swipely/Docker-API 1.8.4
99
+ - Swipely/Docker-API 1.9.1
100
100
  Content-Type:
101
101
  - text/plain
102
102
  response:
@@ -107,7 +107,7 @@ http_interactions:
107
107
  Content-Type:
108
108
  - application/json
109
109
  Date:
110
- - Fri, 28 Feb 2014 21:42:06 GMT
110
+ - Wed, 12 Mar 2014 13:31:32 GMT
111
111
  Connection:
112
112
  - close
113
113
  Transfer-Encoding:
@@ -115,45 +115,30 @@ http_interactions:
115
115
  body:
116
116
  encoding: UTF-8
117
117
  string: |-
118
- [{"Command":true,"Created":1393623725,"Id":"6b81a0b2d2b9377b34cacadc0caab3727992025133072a6dc8cfd113d0779aa1","Image":"base2:latest","Names":["/prickly_newton1"],"Ports":[],"Status":"Exit 0"}
119
- ,{"Command":"test -d /foo","Created":1393623723,"Id":"418e67b935e1e25f7b70925e29745a490e4d5b75a9c320b6ea9d9c381a764ef7","Image":"base2:latest","Names":["/berserk_lumiere"],"Ports":[],"Status":"Exit 0"}
120
- ,{"Command":"pwd ","Created":1393623722,"Id":"e1cb17367cf3237b1a4d2022048077e2632581c2bffdb72fe975d8616a7b65b8","Image":"base2:latest","Names":["/grave_galileo"],"Ports":[],"Status":"Exit 0"}
121
- ,{"Command":"pwd ","Created":1393623720,"Id":"febc9d46a787fcb7b774b578708d850960265351a9694060c8cbcf08d9103c17","Image":"base2:latest","Names":["/silly_babbage"],"Ports":[],"Status":"Exit 0"}
122
- ,{"Command":"rm -rf / --no-preserve-root","Created":1393623718,"Id":"c666534d118a485c3f340d154308857640899f10faf686f6cfbd0028d232c8ba","Image":"base2:latest","Names":["/sick_euclid"],"Ports":[],"Status":"Exit 255"}
123
- ,{"Command":"touch /test","Created":1393623716,"Id":"7c27079e7ae5aaca763c0f0ea72ef6f656409713031c8b51116de27612423912","Image":"base2:latest","Names":["/prickly_newton"],"Ports":[],"Status":"Exit 0"}
124
- ,{"Command":"touch /test","Created":1393623713,"Id":"d9ca2f0d85c136ae72d03c4053c1175b103154bba20d493812ff8d2803534b8a","Image":"base2:latest","Names":["/boring_pare"],"Ports":[],"Status":"Exit 0"}
125
- ,{"Command":"/bin/sh -c printf '#! /bin/sh\\nwhile true\\ndo\\ntrue\\ndone\\n' \u003e /while \u0026\u0026 chmod +x /while","Created":1393623705,"Id":"ec65707c842369bd6bc8ea61eee7f499e190be4a04b010370ed501d380c03317","Image":"base2:latest","Names":["/silly_pasteur"],"Ports":[],"Status":"Exit 0"}
126
- ,{"Command":"rm -rf /root","Created":1393623703,"Id":"b308381c9274c9c2e398635eeca5988c015268bf7e2a558eee0498e25629adc7","Image":"base2:latest","Names":["/thirsty_albattani"],"Ports":[],"Status":"Exit 0"}
127
- ,{"Command":true,"Created":1393623703,"Id":"1f4356ab785f38d193d074a67622f629b7f6abaa6dca0e9a415a544a91e987ce","Image":"base2:latest","Names":["/bob"],"Ports":[],"Status":"Exit 0"}
128
- ,{"Command":true,"Created":1393623703,"Id":"9c286a4bdae3f4ee5c581a26c742d80642bedc4b48a00365f5723f197c592cf2","Image":"base2:latest","Names":["/trusting_torvalds"],"Ports":[],"Status":"Exit 0"}
129
- ,{"Command":"cat /Dockerfile","Created":1393623608,"Id":"05904073890bad4e07d9d9aa50c618915abafa8f4fe69f757c4b02f18c4b1ba1","Image":"swipely/base2:latest","Names":["/pensive_davinci"],"Ports":[],"Status":"Exit 0"}
130
- ,{"Command":"cat /Dockerfile","Created":1393623607,"Id":"979c4db1554a66bd9625a5d960f16203ce645037a7f63bd5d3ac0e12a4f4aa85","Image":"swipely/base2:latest","Names":["/loving_brown"],"Ports":[],"Status":"Exit 0"}
131
- ,{"Command":"cat /Dockerfile","Created":1393623015,"Id":"14500692e1e383d1bfadcc4fac538e80a2fa38481a1e8892414034b83d25dc34","Image":"swipely/base2:latest","Names":["/trusting_thompson"],"Ports":[],"Status":"Exit 0"}
132
- ,{"Command":"cat /Dockerfile","Created":1393623014,"Id":"964080fb57a7e4694307d79acbf5e1426f39d196cd73963906f11ccb46c1170a","Image":"swipely/base2:latest","Names":["/mad_feynman"],"Ports":[],"Status":"Exit 0"}
133
- ,{"Command":"/bin/sh -c #(nop) ADD dir:1eb775e654a108ecfb3725cc351728601c0031d180071f124b1510620d5ee9b5 in /","Created":1393623012,"Id":"00d9d33e18df5c676755ebeed569a056d5fdabc9cd25acb2b9fcc44da2bd8df5","Image":"base2:latest","Names":["/agitated_curie"],"Ports":[],"Status":"Exit 0"}
134
- ,{"Command":"/bin/sh -c true","Created":1393623009,"Id":"a2640209c447eb3a54d89f0c5614ed09444fe2f1badb5c3d81cbe46f697a7974","Image":"base2:latest","Names":["/clever_pike"],"Ports":[],"Status":"Exit 0"}
135
- ,{"Command":"which pwd","Created":1393623004,"Id":"54e5d38edb25f0294cc9011e557282d71ee6c8f88f588dd4efe6ffe609287fa0","Image":"base2:latest","Names":["/jolly_morse"],"Ports":[],"Status":"Exit 0"}
136
- ,{"Command":"ls /lib64/","Created":1393623001,"Id":"93cdf928ada741f11c9535aa2de4bf7c0d69169e4309e45841efc3d54ae21fb8","Image":"base2:latest","Names":["/kickass_galileo"],"Ports":[],"Status":"Exit 0"}
137
- ,{"Command":true,"Created":1393622995,"Id":"e4e1b2526e1cf1eae7ac3b1e1c8c29e37b24130d0fcf410916e9f8b8d61ccc27","Image":"base2:latest","Names":["/kickass_newton"],"Ports":[],"Status":"Exit 0"}
138
- ,{"Command":"cat /Gemfile /Rakefile","Created":1393622987,"Id":"52d9a23cb292a4f1d7a65babf5fa94f05a3d9a79fb44e4ecdfb478f35dadcf11","Image":"7152d6b36451","Names":["/stoic_darwin"],"Ports":[],"Status":"Exit 0"}
139
- ,{"Command":"/bin/sh -c #(nop) ADD file:0da1397da130ce4eb9c66b709edc0cb80000a1d3bc890b9816b4e4da0204edb0 in /","Created":1393622985,"Id":"636b00134d64da97d41514249b527685651b1b17f396675d27f9ea3bc9dc91ef","Image":"b11e84158567","Names":["/determined_heisenberg"],"Ports":[],"Status":"Exit 0"}
140
- ,{"Command":"/bin/sh -c #(nop) ADD file:72fd941c3be8f251fffa1dc023f6335a4e8c2c7d5398b8df2f3e86d7209ab2d8 in /","Created":1393622983,"Id":"2441469640cf91420a9f7cb3f20148f1d7b4dfdda43c53500ce074d93db9e83b","Image":"base2:latest","Names":["/drunk_pasteur"],"Ports":[],"Status":"Exit 0"}
141
- ,{"Command":"cat /Gemfile","Created":1393622982,"Id":"a06f29d105bfeecd9738b51b6ba74374c191e85c1969eaa33945054ee522ce4a","Image":"3a016dd557a7","Names":["/berserk_davinci"],"Ports":[],"Status":"Exit 0"}
142
- ,{"Command":"/bin/sh -c #(nop) ADD file:39159349a16aa1373d57f522dd5a30e405346e05be85f0ef6ab65dbc8ac0b5d0 in /","Created":1393622980,"Id":"4464bf27679b679170a227944e89f98a6ba128e12879b9df199fd0765724dfe9","Image":"base2:latest","Names":["/desperate_heisenberg"],"Ports":[],"Status":"Exit 0"}
143
- ,{"Command":"ls /","Created":1393622979,"Id":"68eacec0e17645b561cecc11dcc97073f02a70a761bcb45370be154fdd210aa2","Image":"ec54e7edec81","Names":["/high_engelbart"],"Ports":[],"Status":"Exit 0"}
144
- ,{"Command":"echo insert http://stallman.org /stallman","Created":1393622977,"Id":"bad53897fd9c6e5825e33ff52e85b5989ce288441f1f6f06471273a8f445a53a","Image":"base2:latest","Names":["/dreamy_brattain"],"Ports":[],"Status":"Exit 0"}
118
+ [{"Command":"true","Created":1394631092,"Id":"0ab853c18a2a8eaa4513a6a017dc749d5d691f689c6bdd339d9a64087aee88c1","Image":"base:latest","Names":["/prickly_galileo"],"Ports":[],"Status":"Exit 2"}
119
+ ,{"Command":"test -d /foo","Created":1394631091,"Id":"6c3645ba631b4370d9199983b9a5133e49edaf019a5944148971b1c2db53bf79","Image":"base:latest","Names":["/angry_lumiere"],"Ports":[],"Status":"Exit 0"}
120
+ ,{"Command":"pwd","Created":1394631090,"Id":"345e4a1df616ce448e2d45cdb95e8a3f0560fba39ab27e816b244f003430d59f","Image":"base:latest","Names":["/desperate_darwin"],"Ports":[],"Status":"Exit 0"}
121
+ ,{"Command":"pwd","Created":1394631090,"Id":"71488237068c3873ebd7ff4cc408b7de962b2a90b7c8b8ad519483b592e282db","Image":"base:latest","Names":["/hungry_curie"],"Ports":[],"Status":"Exit 0"}
122
+ ,{"Command":"rm -rf / --no-preserve-root","Created":1394631087,"Id":"8c8e11746d819efcd1403d94058d28f20c326ad44f0f406cb86a569931f26a60","Image":"base:latest","Names":["/boring_mclean"],"Ports":[],"Status":"Exit 1"}
123
+ ,{"Command":"touch /test","Created":1394631086,"Id":"f68efa48ea8d41a0edade5d966d712133d723c910ef01b96fc3d0a9fbad368fe","Image":"base:latest","Names":["/grave_hawking"],"Ports":[],"Status":"Exit 0"}
124
+ ,{"Command":"touch /test","Created":1394631084,"Id":"2703dd3c331e8405de077d5ed9452e0fe27fe3bb9f54740dc34845e1d0ab5499","Image":"base:latest","Names":["/tender_bell"],"Ports":[],"Status":"Exit 0"}
125
+ ,{"Command":"/while","Created":1394631081,"Id":"d2def324f3daa1989173223f03d22e789c4354aa99d80e7258068de9e911cb35","Image":"2e0a9a843f66","Names":["/stoic_brown"],"Ports":[],"Status":"Up 10 seconds"}
126
+ ,{"Command":"/bin/sh -c printf '#! /bin/sh\nwhile true\ndo\ntrue\ndone\n' \u003e /while \u0026\u0026 chmod +x /while","Created":1394631079,"Id":"68f09ac82fcf7c76327180d3573d3a2b54ebe13afc528e29195642a9710d888e","Image":"base:latest","Names":["/determined_einstein"],"Ports":[],"Status":"Exit 0"}
127
+ ,{"Command":"rm -rf /root","Created":1394631078,"Id":"5584a4b00578255194eea3b885d831e6ea0da94d56529f0dab97cd972471026c","Image":"base:latest","Names":["/thirsty_bardeen"],"Ports":[],"Status":"Exit 0"}
128
+ ,{"Command":"true","Created":1394631078,"Id":"be31311878d52f79a24ae359a00d7859e80fe6bb429026a74ccbafa606b04782","Image":"base:latest","Names":["/bob"],"Ports":[],"Status":"Exit 0"}
129
+ ,{"Command":"true","Created":1394631077,"Id":"b615f325b67d6bf74b31ce94f39dea0c1a9f2707b2f610bbdbf6e5dc779b4444","Image":"base:latest","Names":["/high_pasteur"],"Ports":[],"Status":"Exit 0"}
145
130
  ]
146
131
  http_version:
147
- recorded_at: Fri, 28 Feb 2014 21:42:06 GMT
132
+ recorded_at: Wed, 12 Mar 2014 13:31:32 GMT
148
133
  - request:
149
134
  method: get
150
- uri: unix:///var/run/docker.sock/v1.9/containers/json
135
+ uri: unix:///var/run/docker.sock/v1.10/containers/json
151
136
  body:
152
137
  encoding: US-ASCII
153
138
  string: ''
154
139
  headers:
155
140
  User-Agent:
156
- - Swipely/Docker-API 1.8.4
141
+ - Swipely/Docker-API 1.9.1
157
142
  Content-Type:
158
143
  - text/plain
159
144
  response:
@@ -164,14 +149,16 @@ http_interactions:
164
149
  Content-Type:
165
150
  - application/json
166
151
  Date:
167
- - Fri, 28 Feb 2014 21:42:06 GMT
152
+ - Wed, 12 Mar 2014 13:31:32 GMT
168
153
  Content-Length:
169
- - '2'
154
+ - '200'
170
155
  Connection:
171
156
  - close
172
157
  body:
173
158
  encoding: UTF-8
174
- string: "[]"
159
+ string: |-
160
+ [{"Command":"/while","Created":1394631081,"Id":"d2def324f3daa1989173223f03d22e789c4354aa99d80e7258068de9e911cb35","Image":"2e0a9a843f66","Names":["/stoic_brown"],"Ports":[],"Status":"Up 10 seconds"}
161
+ ]
175
162
  http_version:
176
- recorded_at: Fri, 28 Feb 2014 21:42:06 GMT
163
+ recorded_at: Wed, 12 Mar 2014 13:31:32 GMT
177
164
  recorded_with: VCR 2.8.0