docker-api 1.11.2 → 1.12.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 (70) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/docker/image.rb +10 -10
  4. data/lib/docker/version.rb +2 -2
  5. data/spec/docker/container_spec.rb +0 -8
  6. data/spec/docker/image_spec.rb +3 -3
  7. data/spec/docker_spec.rb +6 -4
  8. data/spec/vcr/Docker/_authenticate_/with_valid_credentials/logs_in_and_sets_the_creds.yml +6 -6
  9. data/spec/vcr/Docker/_info/returns_the_info_as_a_Hash.yml +7 -7
  10. data/spec/vcr/Docker/_validate_version/when_nothing_is_raised/validate_version_/.yml +7 -7
  11. data/spec/vcr/Docker/_version/returns_the_version_as_a_Hash.yml +7 -7
  12. data/spec/vcr/Docker_Container/_all/when_the_HTTP_response_is_a_200/materializes_each_Container_into_a_Docker_Container.yml +77 -65
  13. data/spec/vcr/Docker_Container/_attach/with_normal_sized_chunks/yields_each_chunk.yml +15 -15
  14. data/spec/vcr/Docker_Container/_attach/with_very_small_chunks/yields_each_chunk.yml +15 -15
  15. data/spec/vcr/Docker_Container/_changes/returns_the_changes_as_an_array.yml +22 -24
  16. data/spec/vcr/Docker_Container/_commit/creates_a_new_Image_from_the_Container_s_changes.yml +17 -17
  17. data/spec/vcr/Docker_Container/_commit/if_run_is_passed_it_saves_the_command_in_the_image/saves_the_command.yml +12 -12
  18. data/spec/vcr/Docker_Container/_copy/when_the_input_is_a_directory/yields_each_chunk_of_the_tarred_directory.yml +41 -41
  19. data/spec/vcr/Docker_Container/_copy/when_the_input_is_a_file/yields_each_chunk_of_the_tarred_file.yml +26 -26
  20. data/spec/vcr/Docker_Container/_create/when_creating_a_container_named_bob/should_have_name_set_to_bob.yml +13 -13
  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 +7 -7
  22. data/spec/vcr/Docker_Container/_delete/deletes_the_container.yml +17 -17
  23. data/spec/vcr/Docker_Container/_export/yields_each_chunk.yml +453693 -17
  24. data/spec/vcr/Docker_Container/_get/when_the_HTTP_response_is_a_200/materializes_the_Container_into_a_Docker_Container.yml +13 -13
  25. data/spec/vcr/Docker_Container/_json/returns_the_description_as_a_Hash.yml +13 -13
  26. data/spec/vcr/Docker_Container/_kill/kills_the_container.yml +41 -35
  27. data/spec/vcr/Docker_Container/_logs/when_not_selecting_any_stream/returns_the_error_message.yml +11 -11
  28. data/spec/vcr/Docker_Container/_logs/when_selecting_stdout/returns_blank_logs.yml +11 -11
  29. data/spec/vcr/Docker_Container/_restart/restarts_the_container.yml +42 -42
  30. data/spec/vcr/Docker_Container/_run/when_the_Container_s_command_does_not_return_status_code_of_0/raises_an_error.yml +16 -16
  31. 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 +46 -47
  32. data/spec/vcr/Docker_Container/_start/starts_the_container.yml +23 -23
  33. data/spec/vcr/Docker_Container/_stop/stops_the_container.yml +45 -39
  34. data/spec/vcr/Docker_Container/_top/returns_the_top_commands_as_an_Array.yml +27 -23
  35. data/spec/vcr/Docker_Container/_wait/waits_for_the_command_to_finish.yml +16 -16
  36. data/spec/vcr/Docker_Container/_wait/when_an_argument_is_given/and_a_command_runs_for_too_long/raises_a_ServerError.yml +12 -12
  37. data/spec/vcr/Docker_Container/_wait/when_an_argument_is_given/sets_the_read_timeout_to_that_amount_of_time.yml +16 -16
  38. data/spec/vcr/Docker_Image/_all/materializes_each_Image_into_a_Docker_Image.yml +13 -33
  39. data/spec/vcr/Docker_Image/_build/with_a_valid_Dockerfile/with_a_block_capturing_build_output/calls_the_block_and_passes_build_output.yml +6 -6
  40. 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
  41. data/spec/vcr/Docker_Image/_build/with_a_valid_Dockerfile/without_query_parameters/builds_an_image.yml +6 -6
  42. data/spec/vcr/Docker_Image/_build/with_an_invalid_Dockerfile/throws_a_UnexpectedResponseError.yml +6 -6
  43. 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 +11 -7
  44. data/spec/vcr/Docker_Image/_build_from_dir/with_a_valid_Dockerfile/with_credentials_passed/sends_Docker_creds.yml +8 -196
  45. data/spec/vcr/Docker_Image/_build_from_dir/with_a_valid_Dockerfile/with_no_query_parameters/builds_the_image.yml +24 -20
  46. 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 +46 -30
  47. data/spec/vcr/Docker_Image/_create/when_the_Image_does_not_yet_exist_and_the_body_is_a_Hash/sets_the_id_and_sends_Docker_creds.yml +21 -669
  48. data/spec/vcr/Docker_Image/_get/when_the_image_does_exist/returns_the_new_image.yml +7 -7
  49. data/spec/vcr/Docker_Image/_history/returns_the_history_of_the_Image.yml +9 -9
  50. data/spec/vcr/Docker_Image/_import/when_the_argument_is_a_URI/when_the_URI_is_invalid/raises_an_error.yml +27 -25
  51. data/spec/vcr/Docker_Image/_import/when_the_argument_is_a_URI/when_the_URI_is_valid/returns_an_Image.yml +12 -12
  52. data/spec/vcr/Docker_Image/_import/when_the_file_does_exist/creates_the_Image.yml +6 -6
  53. data/spec/vcr/Docker_Image/_insert/inserts_the_url_s_file_into_a_new_Image.yml +27 -33
  54. data/spec/vcr/Docker_Image/_insert_local/when_a_direcory_is_passed/inserts_the_directory.yml +29 -878
  55. data/spec/vcr/Docker_Image/_insert_local/when_removing_intermediate_containers/creates_a_new_image.yml +29 -45
  56. data/spec/vcr/Docker_Image/_insert_local/when_removing_intermediate_containers/leave_no_intermediate_containers.yml +29 -51
  57. data/spec/vcr/Docker_Image/_insert_local/when_the_local_file_does_exist/creates_a_new_Image_that_has_that_file.yml +29 -28
  58. data/spec/vcr/Docker_Image/_insert_local/when_the_local_file_does_not_exist/raises_an_error.yml +6 -6
  59. data/spec/vcr/Docker_Image/_insert_local/when_there_are_multiple_files_passed/creates_a_new_Image_that_has_each_file.yml +32 -31
  60. data/spec/vcr/Docker_Image/_json/returns_additional_information_about_image_image.yml +11 -11
  61. data/spec/vcr/Docker_Image/_push/pushes_the_Image.yml +67 -227
  62. data/spec/vcr/Docker_Image/_push/when_there_are_no_credentials/still_pushes.yml +61 -43
  63. data/spec/vcr/Docker_Image/_refresh_/updates_the_info_hash.yml +40 -203
  64. data/spec/vcr/Docker_Image/_remove/removes_the_Image.yml +22 -23
  65. data/spec/vcr/Docker_Image/_run/when_the_argument_is_a_String/splits_the_String_by_spaces_and_creates_a_new_Container.yml +19 -19
  66. data/spec/vcr/Docker_Image/_run/when_the_argument_is_an_Array/creates_a_new_Container.yml +19 -19
  67. 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 +10 -10
  68. data/spec/vcr/Docker_Image/_search/materializes_each_Image_into_a_Docker_Image.yml +77 -72
  69. data/spec/vcr/Docker_Image/_tag/tags_the_image_with_the_repo_name.yml +9 -9
  70. metadata +3 -3
@@ -2,13 +2,13 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: unix:///var/run/docker.sock/v1.10/containers/create
5
+ uri: unix:///var/run/docker.sock/v1.11/containers/create
6
6
  body:
7
7
  encoding: UTF-8
8
- string: "{\"Cmd\":[\"lol\",\"not\",\"a\",\"real\",\"command\"],\"Image\":\"base\"}"
8
+ string: '{"Cmd":["lol","not","a","real","command"],"Image":"base"}'
9
9
  headers:
10
10
  User-Agent:
11
- - Swipely/Docker-API 1.9.1
11
+ - Swipely/Docker-API 1.11.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
- - Wed, 12 Mar 2014 13:31:42 GMT
22
+ - Fri, 06 Jun 2014 13:36:54 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":"8ae2accd54d66e14604e210feb17ba35c10bea922a66e18df8abfecebe74bb35","Warnings":null}
30
+ {"Id":"e54a107e5ceda43c339a39ed8024a96f25acf5d52bffcc241e664bb12f7f8d18","Warnings":null}
31
31
  http_version:
32
- recorded_at: Wed, 12 Mar 2014 13:31:42 GMT
32
+ recorded_at: Fri, 06 Jun 2014 13:36:54 GMT
33
33
  - request:
34
34
  method: post
35
- uri: unix:///var/run/docker.sock/v1.10/containers/8ae2accd54d66e14604e210feb17ba35c10bea922a66e18df8abfecebe74bb35/start
35
+ uri: unix:///var/run/docker.sock/v1.11/containers/e54a107e5ceda43c339a39ed8024a96f25acf5d52bffcc241e664bb12f7f8d18/start
36
36
  body:
37
37
  encoding: UTF-8
38
- string: "{}"
38
+ string: '{}'
39
39
  headers:
40
40
  User-Agent:
41
- - Swipely/Docker-API 1.9.1
41
+ - Swipely/Docker-API 1.11.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
- - Wed, 12 Mar 2014 13:31:42 GMT
50
+ - Fri, 06 Jun 2014 13:36:54 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 Mar 2014 13:31:42 GMT
61
+ recorded_at: Fri, 06 Jun 2014 13:36:54 GMT
62
62
  - request:
63
63
  method: post
64
- uri: unix:///var/run/docker.sock/v1.10/containers/8ae2accd54d66e14604e210feb17ba35c10bea922a66e18df8abfecebe74bb35/wait
64
+ uri: unix:///var/run/docker.sock/v1.11/containers/e54a107e5ceda43c339a39ed8024a96f25acf5d52bffcc241e664bb12f7f8d18/wait
65
65
  body:
66
66
  encoding: US-ASCII
67
67
  string: ''
68
68
  headers:
69
69
  User-Agent:
70
- - Swipely/Docker-API 1.9.1
70
+ - Swipely/Docker-API 1.11.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
- - Wed, 12 Mar 2014 13:31:42 GMT
81
+ - Fri, 06 Jun 2014 13:36:54 GMT
82
82
  Content-Length:
83
83
  - '17'
84
84
  Connection:
@@ -88,5 +88,5 @@ http_interactions:
88
88
  string: |
89
89
  {"StatusCode":1}
90
90
  http_version:
91
- recorded_at: Wed, 12 Mar 2014 13:31:42 GMT
92
- recorded_with: VCR 2.8.0
91
+ recorded_at: Fri, 06 Jun 2014 13:36:54 GMT
92
+ recorded_with: VCR 2.9.2
@@ -2,13 +2,13 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: unix:///var/run/docker.sock/v1.10/containers/create
5
+ uri: unix:///var/run/docker.sock/v1.11/containers/create
6
6
  body:
7
7
  encoding: UTF-8
8
- string: "{\"Cmd\":[\"pwd\"],\"Image\":\"base\"}"
8
+ string: '{"Cmd":["pwd"],"Image":"base"}'
9
9
  headers:
10
10
  User-Agent:
11
- - Swipely/Docker-API 1.9.1
11
+ - Swipely/Docker-API 1.11.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
- - Wed, 12 Mar 2014 13:31:42 GMT
22
+ - Fri, 06 Jun 2014 13:36:55 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":"c451a96c2eca033537cf7107dcaa291bbecf8ff64c27c9d2258f4d546a1c1855","Warnings":null}
30
+ {"Id":"e069285efbe59702426c48608bd49e0e50ead091b8e97ad425e215ad9e6b3f7a","Warnings":null}
31
31
  http_version:
32
- recorded_at: Wed, 12 Mar 2014 13:31:42 GMT
32
+ recorded_at: Fri, 06 Jun 2014 13:36:55 GMT
33
33
  - request:
34
34
  method: post
35
- uri: unix:///var/run/docker.sock/v1.10/containers/c451a96c2eca033537cf7107dcaa291bbecf8ff64c27c9d2258f4d546a1c1855/start
35
+ uri: unix:///var/run/docker.sock/v1.11/containers/e069285efbe59702426c48608bd49e0e50ead091b8e97ad425e215ad9e6b3f7a/start
36
36
  body:
37
37
  encoding: UTF-8
38
- string: "{}"
38
+ string: '{}'
39
39
  headers:
40
40
  User-Agent:
41
- - Swipely/Docker-API 1.9.1
41
+ - Swipely/Docker-API 1.11.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
- - Wed, 12 Mar 2014 13:31:42 GMT
50
+ - Fri, 06 Jun 2014 13:36:55 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 Mar 2014 13:31:42 GMT
61
+ recorded_at: Fri, 06 Jun 2014 13:36:55 GMT
62
62
  - request:
63
63
  method: post
64
- uri: unix:///var/run/docker.sock/v1.10/containers/c451a96c2eca033537cf7107dcaa291bbecf8ff64c27c9d2258f4d546a1c1855/wait
64
+ uri: unix:///var/run/docker.sock/v1.11/containers/e069285efbe59702426c48608bd49e0e50ead091b8e97ad425e215ad9e6b3f7a/wait
65
65
  body:
66
66
  encoding: US-ASCII
67
67
  string: ''
68
68
  headers:
69
69
  User-Agent:
70
- - Swipely/Docker-API 1.9.1
70
+ - Swipely/Docker-API 1.11.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
- - Wed, 12 Mar 2014 13:31:42 GMT
81
+ - Fri, 06 Jun 2014 13:36:55 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 Mar 2014 13:31:42 GMT
91
+ recorded_at: Fri, 06 Jun 2014 13:36:55 GMT
92
92
  - request:
93
93
  method: post
94
- uri: unix:///var/run/docker.sock/v1.10/commit?container=c451a96c
94
+ uri: unix:///var/run/docker.sock/v1.11/commit?container=e069285e
95
95
  body:
96
96
  encoding: UTF-8
97
97
  string: 'null'
98
98
  headers:
99
99
  User-Agent:
100
- - Swipely/Docker-API 1.9.1
100
+ - Swipely/Docker-API 1.11.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
- - Wed, 12 Mar 2014 13:31:44 GMT
111
+ - Fri, 06 Jun 2014 13:36:56 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":"8564cd49afd7c8c41e5230408f71d3a4214d8cb6f91004ac89fccebc98843516"}
119
+ {"Id":"7364e1f83f7b954283072e0bf10b43b92c992940ae639cf71a74e31f4a93e75f"}
120
120
  http_version:
121
- recorded_at: Wed, 12 Mar 2014 13:31:44 GMT
121
+ recorded_at: Fri, 06 Jun 2014 13:36:56 GMT
122
122
  - request:
123
123
  method: post
124
- uri: unix:///var/run/docker.sock/v1.10/containers/create
124
+ uri: unix:///var/run/docker.sock/v1.11/containers/create
125
125
  body:
126
126
  encoding: UTF-8
127
- string: "{\"Image\":\"8564cd49afd7c8c41e5230408f71d3a4214d8cb6f91004ac89fccebc98843516\",\"Cmd\":[\"ls\"]}"
127
+ string: '{"Image":"7364e1f83f7b954283072e0bf10b43b92c992940ae639cf71a74e31f4a93e75f","Cmd":["ls"]}'
128
128
  headers:
129
129
  User-Agent:
130
- - Swipely/Docker-API 1.9.1
130
+ - Swipely/Docker-API 1.11.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
- - Wed, 12 Mar 2014 13:31:44 GMT
141
+ - Fri, 06 Jun 2014 13:36:57 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":"cab0110ae90373f3f6790a2305bef7b040581dabbc98adbebeb3368f436eee71","Warnings":null}
149
+ {"Id":"cdf087a3327652217345367963fa0c16177c742c13107b1702bcf3d21cf0591d","Warnings":null}
150
150
  http_version:
151
- recorded_at: Wed, 12 Mar 2014 13:31:44 GMT
151
+ recorded_at: Fri, 06 Jun 2014 13:36:57 GMT
152
152
  - request:
153
153
  method: post
154
- uri: unix:///var/run/docker.sock/v1.10/containers/cab0110ae90373f3f6790a2305bef7b040581dabbc98adbebeb3368f436eee71/start
154
+ uri: unix:///var/run/docker.sock/v1.11/containers/cdf087a3327652217345367963fa0c16177c742c13107b1702bcf3d21cf0591d/start
155
155
  body:
156
156
  encoding: UTF-8
157
- string: "{}"
157
+ string: '{}'
158
158
  headers:
159
159
  User-Agent:
160
- - Swipely/Docker-API 1.9.1
160
+ - Swipely/Docker-API 1.11.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
- - Wed, 12 Mar 2014 13:31:44 GMT
169
+ - Fri, 06 Jun 2014 13:36:57 GMT
170
170
  Content-Length:
171
171
  - '0'
172
172
  Content-Type:
@@ -177,46 +177,45 @@ http_interactions:
177
177
  encoding: UTF-8
178
178
  string: ''
179
179
  http_version:
180
- recorded_at: Wed, 12 Mar 2014 13:31:44 GMT
180
+ recorded_at: Fri, 06 Jun 2014 13:36:57 GMT
181
181
  - request:
182
182
  method: post
183
- uri: unix:///var/run/docker.sock/v1.10/containers/cab0110ae90373f3f6790a2305bef7b040581dabbc98adbebeb3368f436eee71/start
183
+ uri: unix:///var/run/docker.sock/v1.11/containers/cdf087a3327652217345367963fa0c16177c742c13107b1702bcf3d21cf0591d/start
184
184
  body:
185
185
  encoding: UTF-8
186
- string: "{}"
186
+ string: '{}'
187
187
  headers:
188
188
  User-Agent:
189
- - Swipely/Docker-API 1.9.1
189
+ - Swipely/Docker-API 1.11.1
190
190
  Content-Type:
191
191
  - application/json
192
192
  response:
193
193
  status:
194
- code: 500
194
+ code: 204
195
195
  message:
196
196
  headers:
197
- Content-Type:
198
- - text/plain; charset=utf-8
199
197
  Date:
200
- - Wed, 12 Mar 2014 13:31:44 GMT
198
+ - Fri, 06 Jun 2014 13:36:57 GMT
201
199
  Content-Length:
202
- - '188'
200
+ - '0'
201
+ Content-Type:
202
+ - text/plain; charset=utf-8
203
203
  Connection:
204
204
  - close
205
205
  body:
206
206
  encoding: UTF-8
207
- string: |
208
- Cannot start container cab0110ae90373f3f6790a2305bef7b040581dabbc98adbebeb3368f436eee71: The container cab0110ae90373f3f6790a2305bef7b040581dabbc98adbebeb3368f436eee71 is already running.
207
+ string: ''
209
208
  http_version:
210
- recorded_at: Wed, 12 Mar 2014 13:31:44 GMT
209
+ recorded_at: Fri, 06 Jun 2014 13:36:57 GMT
211
210
  - request:
212
211
  method: post
213
- uri: unix:///var/run/docker.sock/v1.10/containers/cab0110ae90373f3f6790a2305bef7b040581dabbc98adbebeb3368f436eee71/wait
212
+ uri: unix:///var/run/docker.sock/v1.11/containers/cdf087a3327652217345367963fa0c16177c742c13107b1702bcf3d21cf0591d/wait
214
213
  body:
215
214
  encoding: US-ASCII
216
215
  string: ''
217
216
  headers:
218
217
  User-Agent:
219
- - Swipely/Docker-API 1.9.1
218
+ - Swipely/Docker-API 1.11.1
220
219
  Content-Type:
221
220
  - text/plain
222
221
  response:
@@ -227,7 +226,7 @@ http_interactions:
227
226
  Content-Type:
228
227
  - application/json
229
228
  Date:
230
- - Wed, 12 Mar 2014 13:31:44 GMT
229
+ - Fri, 06 Jun 2014 13:36:57 GMT
231
230
  Content-Length:
232
231
  - '17'
233
232
  Connection:
@@ -237,5 +236,5 @@ http_interactions:
237
236
  string: |
238
237
  {"StatusCode":0}
239
238
  http_version:
240
- recorded_at: Wed, 12 Mar 2014 13:31:44 GMT
241
- recorded_with: VCR 2.8.0
239
+ recorded_at: Fri, 06 Jun 2014 13:36:57 GMT
240
+ recorded_with: VCR 2.9.2
@@ -2,13 +2,13 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: unix:///var/run/docker.sock/v1.10/containers/create
5
+ uri: unix:///var/run/docker.sock/v1.11/containers/create
6
6
  body:
7
7
  encoding: UTF-8
8
- string: "{\"Cmd\":[\"test\",\"-d\",\"/foo\"],\"Image\":\"base\",\"Volumes\":{\"/foo\":{}}}"
8
+ string: '{"Cmd":["test","-d","/foo"],"Image":"base","Volumes":{"/foo":{}}}'
9
9
  headers:
10
10
  User-Agent:
11
- - Swipely/Docker-API 1.9.1
11
+ - Swipely/Docker-API 1.11.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
- - Wed, 12 Mar 2014 13:31:31 GMT
22
+ - Fri, 06 Jun 2014 13:36:44 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":"6c3645ba631b4370d9199983b9a5133e49edaf019a5944148971b1c2db53bf79","Warnings":null}
30
+ {"Id":"931f5a5a5c2b4fad7b87e7348d08278321467f83bacf32c8c8a397f08c51646d","Warnings":null}
31
31
  http_version:
32
- recorded_at: Wed, 12 Mar 2014 13:31:31 GMT
32
+ recorded_at: Fri, 06 Jun 2014 13:36:44 GMT
33
33
  - request:
34
34
  method: post
35
- uri: unix:///var/run/docker.sock/v1.10/containers/6c3645ba631b4370d9199983b9a5133e49edaf019a5944148971b1c2db53bf79/start
35
+ uri: unix:///var/run/docker.sock/v1.11/containers/931f5a5a5c2b4fad7b87e7348d08278321467f83bacf32c8c8a397f08c51646d/start
36
36
  body:
37
37
  encoding: UTF-8
38
- string: "{\"Binds\":[\"/tmp:/foo\"]}"
38
+ string: '{"Binds":["/tmp:/foo"]}'
39
39
  headers:
40
40
  User-Agent:
41
- - Swipely/Docker-API 1.9.1
41
+ - Swipely/Docker-API 1.11.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
- - Wed, 12 Mar 2014 13:31:31 GMT
50
+ - Fri, 06 Jun 2014 13:36:44 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 Mar 2014 13:31:31 GMT
61
+ recorded_at: Fri, 06 Jun 2014 13:36:44 GMT
62
62
  - request:
63
63
  method: get
64
- uri: unix:///var/run/docker.sock/v1.10/containers/json
64
+ uri: unix:///var/run/docker.sock/v1.11/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.9.1
70
+ - Swipely/Docker-API 1.11.1
71
71
  Content-Type:
72
72
  - text/plain
73
73
  response:
@@ -78,28 +78,28 @@ http_interactions:
78
78
  Content-Type:
79
79
  - application/json
80
80
  Date:
81
- - Wed, 12 Mar 2014 13:31:31 GMT
81
+ - Fri, 06 Jun 2014 13:36:44 GMT
82
82
  Content-Length:
83
- - '414'
83
+ - '412'
84
84
  Connection:
85
85
  - close
86
86
  body:
87
87
  encoding: UTF-8
88
88
  string: |-
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"}
89
+ [{"Command":"test -d /foo","Created":1402061803,"Id":"931f5a5a5c2b4fad7b87e7348d08278321467f83bacf32c8c8a397f08c51646d","Image":"base:latest","Names":["/cranky_curie"],"Ports":[],"Status":"Up Less than a second"}
90
+ ,{"Command":"/while","Created":1402061799,"Id":"74553200d912dda35c0f8641028d3e42faaf6e41b4337a4e202328414bb2da5e","Image":"5964d75bfbd2","Names":["/angry_brown"],"Ports":[],"Status":"Up 4 seconds"}
91
91
  ]
92
92
  http_version:
93
- recorded_at: Wed, 12 Mar 2014 13:31:31 GMT
93
+ recorded_at: Fri, 06 Jun 2014 13:36:44 GMT
94
94
  - request:
95
95
  method: post
96
- uri: unix:///var/run/docker.sock/v1.10/containers/6c3645ba631b4370d9199983b9a5133e49edaf019a5944148971b1c2db53bf79/wait
96
+ uri: unix:///var/run/docker.sock/v1.11/containers/931f5a5a5c2b4fad7b87e7348d08278321467f83bacf32c8c8a397f08c51646d/wait
97
97
  body:
98
98
  encoding: US-ASCII
99
99
  string: ''
100
100
  headers:
101
101
  User-Agent:
102
- - Swipely/Docker-API 1.9.1
102
+ - Swipely/Docker-API 1.11.1
103
103
  Content-Type:
104
104
  - text/plain
105
105
  response:
@@ -110,7 +110,7 @@ http_interactions:
110
110
  Content-Type:
111
111
  - application/json
112
112
  Date:
113
- - Wed, 12 Mar 2014 13:31:32 GMT
113
+ - Fri, 06 Jun 2014 13:36:44 GMT
114
114
  Content-Length:
115
115
  - '17'
116
116
  Connection:
@@ -120,5 +120,5 @@ http_interactions:
120
120
  string: |
121
121
  {"StatusCode":0}
122
122
  http_version:
123
- recorded_at: Wed, 12 Mar 2014 13:31:32 GMT
124
- recorded_with: VCR 2.8.0
123
+ recorded_at: Fri, 06 Jun 2014 13:36:44 GMT
124
+ recorded_with: VCR 2.9.2