docker-api 1.8.4 → 1.9.0

Sign up to get free protection for your applications and to get access to all the features.
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,14 +2,14 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: unix:///var/run/docker.sock/v1.8/build
5
+ uri: unix:///var/run/docker.sock/v1.9/build
6
6
  body:
7
7
  encoding: UTF-8
8
8
  string: !binary |-
9
9
  RG9ja2VyZmlsZQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
10
10
  AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
11
11
  AAAAAAAAAAAAADAwMDA2NDAAMDAwMDAwMAAwMDAwMDAwADAwMDAwMDAwMDEx
12
- ADEyMjc2NzI0NzcwADAxMzMxMgAgMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
12
+ ADEyMzA0MTc3NzA0ADAxMzMwMQAgMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
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.7.6
57
+ - Swipely/Docker-API 1.8.4
58
58
  Content-Type:
59
59
  - application/json
60
60
  response:
@@ -65,27 +65,27 @@ http_interactions:
65
65
  Content-Type:
66
66
  - application/json
67
67
  Date:
68
- - Wed, 12 Feb 2014 17:06:00 GMT
68
+ - Fri, 28 Feb 2014 21:29:40 GMT
69
69
  Connection:
70
70
  - close
71
71
  Transfer-Encoding:
72
72
  - ''
73
73
  body:
74
74
  encoding: UTF-8
75
- string: "{\"stream\":\"Step 0 : from base\\n\"}{\"stream\":\" ---\\u003e b750fe79269d\\n\"}{\"stream\":\"Successfully
76
- built b750fe79269d\\n\"}"
75
+ string: "{\"stream\":\"Step 0 : from base\\n\"}\r\n{\"stream\":\" ---\\u003e
76
+ b750fe79269d\\n\"}\r\n{\"stream\":\"Successfully built b750fe79269d\\n\"}\r\n"
77
77
  http_version:
78
- recorded_at: Wed, 12 Feb 2014 17:06:00 GMT
78
+ recorded_at: Fri, 28 Feb 2014 21:29:40 GMT
79
79
  - request:
80
80
  method: post
81
- uri: unix:///var/run/docker.sock/v1.8/build
81
+ uri: unix:///var/run/docker.sock/v1.9/build
82
82
  body:
83
83
  encoding: UTF-8
84
84
  string: !binary |-
85
85
  R2VtZmlsZQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
86
86
  AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
87
87
  AAAAAAAAAAAAADAwMDA2NDAAMDAwMDAwMAAwMDAwMDAwADAwMDAwMDAwMDQ2
88
- ADEyMjc2NzI0NzcwADAxMjYyMwAgMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
88
+ ADEyMzA0MTc3NzA0ADAxMjYxMgAgMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
89
89
  AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
90
90
  AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAB1c3RhcgAwMHdoZWVs
91
91
  AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAd2hlZWwAAAAAAAAAAAAAAAAA
@@ -107,8 +107,8 @@ http_interactions:
107
107
  AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAERvY2tlcmZpbGUA
108
108
  AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
109
109
  AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAw
110
- MDAwNjQwADAwMDAwMDAAMDAwMDAwMAAwMDAwMDAwMDA0MAAxMjI3NjcyNDc3
111
- MAAwMTMzMTQAIDAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
110
+ MDAwNjQwADAwMDAwMDAAMDAwMDAwMAAwMDAwMDAwMDA0MAAxMjMwNDE3Nzcw
111
+ NAAwMTMzMDMAIDAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
112
112
  AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
113
113
  AAAAAAAAAAAAAAAAAAAAAAAAAAAAdXN0YXIAMDB3aGVlbAAAAAAAAAAAAAAA
114
114
  AAAAAAAAAAAAAAAAAAAAAHdoZWVsAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
@@ -153,7 +153,7 @@ http_interactions:
153
153
  AAAAAAAAAAAAAAAA
154
154
  headers:
155
155
  User-Agent:
156
- - Swipely/Docker-API 1.7.6
156
+ - Swipely/Docker-API 1.8.4
157
157
  Content-Type:
158
158
  - application/json
159
159
  response:
@@ -164,27 +164,27 @@ http_interactions:
164
164
  Content-Type:
165
165
  - application/json
166
166
  Date:
167
- - Wed, 12 Feb 2014 17:06:00 GMT
167
+ - Fri, 28 Feb 2014 21:29:40 GMT
168
168
  Connection:
169
169
  - close
170
170
  Transfer-Encoding:
171
171
  - ''
172
172
  body:
173
173
  encoding: UTF-8
174
- string: "{\"stream\":\"Step 0 : from b750fe79269d\\n\"}{\"stream\":\" ---\\u003e
175
- b750fe79269d\\n\"}{\"stream\":\"Step 1 : add Gemfile /\\n\"}{\"stream\":\"
176
- ---\\u003e 53f8b4e63bb8\\n\"}{\"stream\":\"Successfully built 53f8b4e63bb8\\n\"}"
174
+ string: "{\"stream\":\"Step 0 : from b750fe79269d\\n\"}\r\n{\"stream\":\" ---\\u003e
175
+ b750fe79269d\\n\"}\r\n{\"stream\":\"Step 1 : add Gemfile /\\n\"}\r\n{\"stream\":\"
176
+ ---\\u003e 3a016dd557a7\\n\"}\r\n{\"stream\":\"Successfully built 3a016dd557a7\\n\"}\r\n"
177
177
  http_version:
178
- recorded_at: Wed, 12 Feb 2014 17:06:03 GMT
178
+ recorded_at: Fri, 28 Feb 2014 21:29:42 GMT
179
179
  - request:
180
180
  method: post
181
- uri: unix:///var/run/docker.sock/v1.8/containers/create
181
+ uri: unix:///var/run/docker.sock/v1.9/containers/create
182
182
  body:
183
183
  encoding: UTF-8
184
- string: "{\"Image\":\"53f8b4e63bb8\",\"Cmd\":[\"cat\",\"/Gemfile\"]}"
184
+ string: "{\"Image\":\"3a016dd557a7\",\"Cmd\":[\"cat\",\"/Gemfile\"]}"
185
185
  headers:
186
186
  User-Agent:
187
- - Swipely/Docker-API 1.7.6
187
+ - Swipely/Docker-API 1.8.4
188
188
  Content-Type:
189
189
  - application/json
190
190
  response:
@@ -195,7 +195,7 @@ http_interactions:
195
195
  Content-Type:
196
196
  - application/json
197
197
  Date:
198
- - Wed, 12 Feb 2014 17:06:04 GMT
198
+ - Fri, 28 Feb 2014 21:29:42 GMT
199
199
  Content-Length:
200
200
  - '90'
201
201
  Connection:
@@ -203,18 +203,18 @@ http_interactions:
203
203
  body:
204
204
  encoding: UTF-8
205
205
  string: |
206
- {"Id":"1a3f256ff568cfe00b921c3dd91167acdaedbd09156f6c07cd7acae0dcf666ca","Warnings":null}
206
+ {"Id":"a06f29d105bfeecd9738b51b6ba74374c191e85c1969eaa33945054ee522ce4a","Warnings":null}
207
207
  http_version:
208
- recorded_at: Wed, 12 Feb 2014 17:06:04 GMT
208
+ recorded_at: Fri, 28 Feb 2014 21:29:42 GMT
209
209
  - request:
210
210
  method: post
211
- uri: unix:///var/run/docker.sock/v1.8/containers/1a3f256ff568cfe00b921c3dd91167acdaedbd09156f6c07cd7acae0dcf666ca/start
211
+ uri: unix:///var/run/docker.sock/v1.9/containers/a06f29d105bfeecd9738b51b6ba74374c191e85c1969eaa33945054ee522ce4a/start
212
212
  body:
213
213
  encoding: UTF-8
214
214
  string: "{}"
215
215
  headers:
216
216
  User-Agent:
217
- - Swipely/Docker-API 1.7.6
217
+ - Swipely/Docker-API 1.8.4
218
218
  Content-Type:
219
219
  - application/json
220
220
  response:
@@ -223,7 +223,7 @@ http_interactions:
223
223
  message:
224
224
  headers:
225
225
  Date:
226
- - Wed, 12 Feb 2014 17:06:04 GMT
226
+ - Fri, 28 Feb 2014 21:29:43 GMT
227
227
  Content-Length:
228
228
  - '0'
229
229
  Content-Type:
@@ -234,16 +234,16 @@ http_interactions:
234
234
  encoding: UTF-8
235
235
  string: ''
236
236
  http_version:
237
- recorded_at: Wed, 12 Feb 2014 17:06:04 GMT
237
+ recorded_at: Fri, 28 Feb 2014 21:29:43 GMT
238
238
  - request:
239
239
  method: post
240
- uri: unix:///var/run/docker.sock/v1.8/containers/1a3f256ff568cfe00b921c3dd91167acdaedbd09156f6c07cd7acae0dcf666ca/attach?stderr=true&stdout=true&stream=true
240
+ uri: unix:///var/run/docker.sock/v1.9/containers/a06f29d105bfeecd9738b51b6ba74374c191e85c1969eaa33945054ee522ce4a/attach?stderr=true&stdout=true&stream=true
241
241
  body:
242
242
  encoding: US-ASCII
243
243
  string: ''
244
244
  headers:
245
245
  User-Agent:
246
- - Swipely/Docker-API 1.7.6
246
+ - Swipely/Docker-API 1.8.4
247
247
  Content-Type:
248
248
  - text/plain
249
249
  response:
@@ -259,5 +259,5 @@ http_interactions:
259
259
  AQAAAAAAACZzb3VyY2UgJ2h0dHA6Ly9ydWJ5Z2Vtcy5vcmcnCgpnZW1zcGVj
260
260
  Cg==
261
261
  http_version:
262
- recorded_at: Wed, 12 Feb 2014 17:06:04 GMT
262
+ recorded_at: Fri, 28 Feb 2014 21:29:43 GMT
263
263
  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.8/build
5
+ uri: unix:///var/run/docker.sock/v1.9/build
6
6
  body:
7
7
  encoding: UTF-8
8
8
  string: !binary |-
9
9
  RG9ja2VyZmlsZQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
10
10
  AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
11
11
  AAAAAAAAAAAAADAwMDA2NDAAMDAwMDAwMAAwMDAwMDAwADAwMDAwMDAwMDEx
12
- ADEyMjc2NzI0NzcwADAxMzMxMgAgMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
12
+ ADEyMzA0MTc3NzA0ADAxMzMwMQAgMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
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.7.6
57
+ - Swipely/Docker-API 1.8.4
58
58
  Content-Type:
59
59
  - application/json
60
60
  response:
@@ -65,15 +65,15 @@ http_interactions:
65
65
  Content-Type:
66
66
  - application/json
67
67
  Date:
68
- - Wed, 12 Feb 2014 17:06:00 GMT
68
+ - Fri, 28 Feb 2014 21:29:40 GMT
69
69
  Connection:
70
70
  - close
71
71
  Transfer-Encoding:
72
72
  - ''
73
73
  body:
74
74
  encoding: UTF-8
75
- string: "{\"stream\":\"Step 0 : from base\\n\"}{\"stream\":\" ---\\u003e b750fe79269d\\n\"}{\"stream\":\"Successfully
76
- built b750fe79269d\\n\"}"
75
+ string: "{\"stream\":\"Step 0 : from base\\n\"}\r\n{\"stream\":\" ---\\u003e
76
+ b750fe79269d\\n\"}\r\n{\"stream\":\"Successfully built b750fe79269d\\n\"}\r\n"
77
77
  http_version:
78
- recorded_at: Wed, 12 Feb 2014 17:06:00 GMT
78
+ recorded_at: Fri, 28 Feb 2014 21:29:40 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.8/build
5
+ uri: unix:///var/run/docker.sock/v1.9/build
6
6
  body:
7
7
  encoding: UTF-8
8
8
  string: !binary |-
9
9
  RG9ja2VyZmlsZQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
10
10
  AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
11
11
  AAAAAAAAAAAAADAwMDA2NDAAMDAwMDAwMAAwMDAwMDAwADAwMDAwMDAwMDEx
12
- ADEyMjc2NzI0Nzc0ADAxMzMxNgAgMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
12
+ ADEyMzA0MTc3NzA3ADAxMzMwNAAgMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
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.7.6
57
+ - Swipely/Docker-API 1.8.4
58
58
  Content-Type:
59
59
  - application/json
60
60
  response:
@@ -65,27 +65,27 @@ http_interactions:
65
65
  Content-Type:
66
66
  - application/json
67
67
  Date:
68
- - Wed, 12 Feb 2014 17:06:04 GMT
68
+ - Fri, 28 Feb 2014 21:29:43 GMT
69
69
  Connection:
70
70
  - close
71
71
  Transfer-Encoding:
72
72
  - ''
73
73
  body:
74
74
  encoding: UTF-8
75
- string: "{\"stream\":\"Step 0 : from base\\n\"}{\"stream\":\" ---\\u003e b750fe79269d\\n\"}{\"stream\":\"Successfully
76
- built b750fe79269d\\n\"}"
75
+ string: "{\"stream\":\"Step 0 : from base\\n\"}\r\n{\"stream\":\" ---\\u003e
76
+ b750fe79269d\\n\"}\r\n{\"stream\":\"Successfully built b750fe79269d\\n\"}\r\n"
77
77
  http_version:
78
- recorded_at: Wed, 12 Feb 2014 17:06:04 GMT
78
+ recorded_at: Fri, 28 Feb 2014 21:29:43 GMT
79
79
  - request:
80
80
  method: post
81
- uri: unix:///var/run/docker.sock/v1.8/build
81
+ uri: unix:///var/run/docker.sock/v1.9/build
82
82
  body:
83
83
  encoding: UTF-8
84
84
  string: !binary |-
85
85
  R2VtZmlsZQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
86
86
  AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
87
87
  AAAAAAAAAAAAADAwMDA2NDAAMDAwMDAwMAAwMDAwMDAwADAwMDAwMDAwMDQ2
88
- ADEyMjc2NzI0Nzc0ADAxMjYyNwAgMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
88
+ ADEyMzA0MTc3NzA3ADAxMjYxNQAgMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
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
- MDAwNjQwADAwMDAwMDAAMDAwMDAwMAAwMDAwMDAwMDUxMAAxMjI3NjcyNDc3
111
- NAAwMTI3NzUAIDAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
110
+ MDAwNjQwADAwMDAwMDAAMDAwMDAwMAAwMDAwMDAwMDUxMAAxMjMwNDE3Nzcw
111
+ NwAwMTI3NjMAIDAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
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
- MDAwADAwMDAwMDAAMDAwMDAwMDAwNTcAMTIyNzY3MjQ3NzQAMDEzMzMwACAw
133
+ MDAwADAwMDAwMDAAMDAwMDAwMDAwNTcAMTIzMDQxNzc3MDcAMDEzMzE2ACAw
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.7.6
179
+ - Swipely/Docker-API 1.8.4
180
180
  Content-Type:
181
181
  - application/json
182
182
  response:
@@ -187,28 +187,28 @@ http_interactions:
187
187
  Content-Type:
188
188
  - application/json
189
189
  Date:
190
- - Wed, 12 Feb 2014 17:06:04 GMT
190
+ - Fri, 28 Feb 2014 21:29:43 GMT
191
191
  Connection:
192
192
  - close
193
193
  Transfer-Encoding:
194
194
  - ''
195
195
  body:
196
196
  encoding: UTF-8
197
- string: "{\"stream\":\"Step 0 : from b750fe79269d\\n\"}{\"stream\":\" ---\\u003e
198
- b750fe79269d\\n\"}{\"stream\":\"Step 1 : add Gemfile /\\n\"}{\"stream\":\"
199
- ---\\u003e 6b7f51d79dfd\\n\"}{\"stream\":\"Step 2 : add Rakefile /\\n\"}{\"stream\":\"
200
- ---\\u003e 724a85dfbc0f\\n\"}{\"stream\":\"Successfully built 724a85dfbc0f\\n\"}"
197
+ string: "{\"stream\":\"Step 0 : from b750fe79269d\\n\"}\r\n{\"stream\":\" ---\\u003e
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"
201
201
  http_version:
202
- recorded_at: Wed, 12 Feb 2014 17:06:10 GMT
202
+ recorded_at: Fri, 28 Feb 2014 21:29:47 GMT
203
203
  - request:
204
204
  method: post
205
- uri: unix:///var/run/docker.sock/v1.8/containers/create
205
+ uri: unix:///var/run/docker.sock/v1.9/containers/create
206
206
  body:
207
207
  encoding: UTF-8
208
- string: "{\"Image\":\"724a85dfbc0f\",\"Cmd\":[\"cat\",\"/Gemfile\",\"/Rakefile\"]}"
208
+ string: "{\"Image\":\"7152d6b36451\",\"Cmd\":[\"cat\",\"/Gemfile\",\"/Rakefile\"]}"
209
209
  headers:
210
210
  User-Agent:
211
- - Swipely/Docker-API 1.7.6
211
+ - Swipely/Docker-API 1.8.4
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
- - Wed, 12 Feb 2014 17:06:12 GMT
222
+ - Fri, 28 Feb 2014 21:29:47 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":"63fe9252d0af77d762fb6c79b67281bbe14a733056817e84a49605c7f7d7b1ec","Warnings":null}
230
+ {"Id":"52d9a23cb292a4f1d7a65babf5fa94f05a3d9a79fb44e4ecdfb478f35dadcf11","Warnings":null}
231
231
  http_version:
232
- recorded_at: Wed, 12 Feb 2014 17:06:12 GMT
232
+ recorded_at: Fri, 28 Feb 2014 21:29:47 GMT
233
233
  - request:
234
234
  method: post
235
- uri: unix:///var/run/docker.sock/v1.8/containers/63fe9252d0af77d762fb6c79b67281bbe14a733056817e84a49605c7f7d7b1ec/start
235
+ uri: unix:///var/run/docker.sock/v1.9/containers/52d9a23cb292a4f1d7a65babf5fa94f05a3d9a79fb44e4ecdfb478f35dadcf11/start
236
236
  body:
237
237
  encoding: UTF-8
238
238
  string: "{}"
239
239
  headers:
240
240
  User-Agent:
241
- - Swipely/Docker-API 1.7.6
241
+ - Swipely/Docker-API 1.8.4
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
- - Wed, 12 Feb 2014 17:06:12 GMT
250
+ - Fri, 28 Feb 2014 21:29:48 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: Wed, 12 Feb 2014 17:06:12 GMT
261
+ recorded_at: Fri, 28 Feb 2014 21:29:48 GMT
262
262
  - request:
263
263
  method: post
264
- uri: unix:///var/run/docker.sock/v1.8/containers/63fe9252d0af77d762fb6c79b67281bbe14a733056817e84a49605c7f7d7b1ec/attach?stderr=true&stdout=true&stream=true
264
+ uri: unix:///var/run/docker.sock/v1.9/containers/52d9a23cb292a4f1d7a65babf5fa94f05a3d9a79fb44e4ecdfb478f35dadcf11/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.7.6
270
+ - Swipely/Docker-API 1.8.4
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: Wed, 12 Feb 2014 17:06:12 GMT
293
+ recorded_at: Fri, 28 Feb 2014 21:29:48 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.8/images/create?fromImage=base
5
+ uri: unix:///var/run/docker.sock/v1.9/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.3
11
+ - Swipely/Docker-API 1.8.4
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
- - Thu, 27 Feb 2014 21:22:22 GMT
22
+ - Fri, 28 Feb 2014 21:29:59 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: Thu, 27 Feb 2014 21:22:24 GMT
37
+ recorded_at: Fri, 28 Feb 2014 21:30:00 GMT
38
38
  - request:
39
39
  method: get
40
- uri: unix:///var/run/docker.sock/v1.8/images/b750fe79269d/json
40
+ uri: unix:///var/run/docker.sock/v1.9/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.3
46
+ - Swipely/Docker-API 1.8.4
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
- - Thu, 27 Feb 2014 21:22:24 GMT
57
+ - Fri, 28 Feb 2014 21:30:00 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: Thu, 27 Feb 2014 21:22:24 GMT
66
+ recorded_at: Fri, 28 Feb 2014 21:30:00 GMT
67
67
  recorded_with: VCR 2.8.0