docker-api 1.7.6 → 1.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (66) hide show
  1. checksums.yaml +7 -0
  2. data/lib/docker.rb +9 -9
  3. data/lib/docker/connection.rb +1 -1
  4. data/lib/docker/container.rb +1 -2
  5. data/lib/docker/image.rb +7 -6
  6. data/lib/docker/version.rb +2 -2
  7. data/spec/docker/connection_spec.rb +2 -2
  8. data/spec/docker/container_spec.rb +12 -10
  9. data/spec/docker/image_spec.rb +13 -13
  10. data/spec/docker_spec.rb +5 -4
  11. data/spec/vcr/Docker/_authenticate_/with_valid_credentials/logs_in_and_sets_the_creds.yml +1 -1
  12. data/spec/vcr/Docker/_info/returns_the_info_as_a_Hash.yml +17 -15
  13. data/spec/vcr/Docker/_validate_version/when_nothing_is_raised/validate_version_/.yml +17 -15
  14. data/spec/vcr/Docker/_version/returns_the_version_as_a_Hash.yml +17 -15
  15. data/spec/vcr/Docker_Container/_all/when_the_HTTP_response_is_a_200/materializes_each_Container_into_a_Docker_Container.yml +96 -46
  16. data/spec/vcr/Docker_Container/_attach/with_normal_sized_chunks/yields_each_chunk.yml +35 -37
  17. data/spec/vcr/Docker_Container/_attach/with_very_small_chunks/yields_each_chunk.yml +35 -37
  18. data/spec/vcr/Docker_Container/_changes/returns_the_changes_as_an_array.yml +60 -58
  19. data/spec/vcr/Docker_Container/_commit/creates_a_new_Image_from_the_Container_s_changes.yml +46 -47
  20. data/spec/vcr/Docker_Container/_commit/if_run_is_passed_it_saves_the_command_in_the_image/saves_the_command.yml +78 -81
  21. data/spec/vcr/Docker_Container/_copy/when_the_file_does_not_exist/raises_an_error.yml +77 -80
  22. data/spec/vcr/Docker_Container/_copy/when_the_input_is_a_directory/yields_each_chunk_of_the_tarred_directory.yml +91 -182
  23. data/spec/vcr/Docker_Container/_copy/when_the_input_is_a_file/yields_each_chunk_of_the_tarred_file.yml +80 -273
  24. data/spec/vcr/Docker_Container/_create/when_creating_a_container_named_bob/should_have_name_set_to_bob.yml +20 -15
  25. data/spec/vcr/Docker_Container/_create/when_the_Container_does_not_yet_exist/when_the_HTTP_request_returns_a_200/sets_the_id.yml +16 -16
  26. data/spec/vcr/Docker_Container/_delete/deletes_the_container.yml +41 -43
  27. data/spec/vcr/Docker_Container/_export/yields_each_chunk.yml +82759 -46
  28. data/spec/vcr/Docker_Container/_get/when_the_HTTP_response_is_a_200/materializes_the_Container_into_a_Docker_Container.yml +29 -30
  29. data/spec/vcr/Docker_Container/_json/returns_the_description_as_a_Hash.yml +29 -30
  30. data/spec/vcr/Docker_Container/_kill/kills_the_container.yml +69 -71
  31. data/spec/vcr/Docker_Container/_restart/restarts_the_container.yml +98 -102
  32. data/spec/vcr/Docker_Container/_run/when_the_Container_s_command_does_not_return_status_code_of_0/raises_an_error.yml +43 -44
  33. 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 +117 -122
  34. data/spec/vcr/Docker_Container/_start/starts_the_container.yml +58 -59
  35. data/spec/vcr/Docker_Container/_stop/stops_the_container.yml +81 -84
  36. data/spec/vcr/Docker_Container/_top/returns_the_top_commands_as_an_Array.yml +116 -87
  37. data/spec/vcr/Docker_Container/_wait/waits_for_the_command_to_finish.yml +43 -44
  38. data/spec/vcr/Docker_Container/_wait/when_an_argument_is_given/and_a_command_runs_for_too_long/raises_a_ServerError.yml +29 -30
  39. data/spec/vcr/Docker_Container/_wait/when_an_argument_is_given/sets_the_read_timeout_to_that_amount_of_time.yml +43 -44
  40. data/spec/vcr/Docker_Image/_all/materializes_each_Image_into_a_Docker_Image.yml +46 -32
  41. data/spec/vcr/Docker_Image/_build/with_a_valid_Dockerfile/with_a_block_capturing_build_output/calls_the_block_and_passes_build_output.yml +10 -9
  42. 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 +42 -31
  43. data/spec/vcr/Docker_Image/_build/with_a_valid_Dockerfile/without_query_parameters/builds_an_image.yml +16 -16
  44. data/spec/vcr/Docker_Image/_build/with_an_invalid_Dockerfile/throws_a_UnexpectedResponseError.yml +17 -19
  45. 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 +9 -8
  46. data/spec/vcr/Docker_Image/_build_from_dir/with_a_valid_Dockerfile/with_no_query_parameters/builds_the_image.yml +50 -52
  47. 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 +76 -66
  48. data/spec/vcr/Docker_Image/_create/when_the_Image_does_not_yet_exist_and_the_body_is_a_Hash/sets_the_id.yml +20 -18
  49. data/spec/vcr/Docker_Image/_get/when_the_image_does_exist/returns_the_new_image.yml +14 -15
  50. data/spec/vcr/Docker_Image/_history/returns_the_history_of_the_Image.yml +36 -32
  51. data/spec/vcr/Docker_Image/_insert/inserts_the_url_s_file_into_a_new_Image.yml +70 -86
  52. data/spec/vcr/Docker_Image/_insert_local/when_removing_intermediate_containers/creates_a_new_image.yml +69 -47
  53. data/spec/vcr/Docker_Image/_insert_local/when_removing_intermediate_containers/leave_no_intermediate_containers.yml +118 -47
  54. data/spec/vcr/Docker_Image/_insert_local/when_the_local_file_does_exist/creates_a_new_Image_that_has_that_file.yml +68 -70
  55. data/spec/vcr/Docker_Image/_insert_local/when_the_local_file_does_not_exist/raises_an_error.yml +16 -16
  56. data/spec/vcr/Docker_Image/_insert_local/when_there_are_multiple_files_passed/creates_a_new_Image_that_has_each_file.yml +70 -72
  57. data/spec/vcr/Docker_Image/_json/returns_additional_information_about_image_image.yml +33 -32
  58. data/spec/vcr/Docker_Image/_push/pushes_the_Image.yml +162 -105
  59. data/spec/vcr/Docker_Image/_remove/removes_the_Image.yml +53 -46
  60. data/spec/vcr/Docker_Image/_run/when_the_argument_is_a_String/splits_the_String_by_spaces_and_creates_a_new_Container.yml +54 -54
  61. data/spec/vcr/Docker_Image/_run/when_the_argument_is_an_Array/creates_a_new_Container.yml +54 -54
  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 +46 -101
  63. 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 +35 -35
  64. data/spec/vcr/Docker_Image/_search/materializes_each_Image_into_a_Docker_Image.yml +94 -35
  65. data/spec/vcr/Docker_Image/_tag/tags_the_image_with_the_repo_name.yml +32 -31
  66. metadata +29 -49
@@ -2,14 +2,14 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: unix:///var/run/docker.sock/v1.6/build
5
+ uri: unix:///var/run/docker.sock/v1.8/build
6
6
  body:
7
7
  encoding: UTF-8
8
8
  string: !binary |-
9
9
  RG9ja2VyZmlsZQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
10
10
  AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
11
11
  AAAAAAAAAAAAADAwMDA2NDAAMDAwMDAwMAAwMDAwMDAwADAwMDAwMDAwMDEx
12
- ADAwMDAwMDAwMDAwADAxMzIzNQAgMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
12
+ ADEyMjc2NzI0NzcwADAxMzMxMgAgMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
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.6.0
57
+ - Swipely/Docker-API 1.7.6
58
58
  Content-Type:
59
59
  - application/json
60
60
  response:
@@ -62,30 +62,30 @@ http_interactions:
62
62
  code: 200
63
63
  message:
64
64
  headers:
65
- !binary "Q29udGVudC1UeXBl":
66
- - !binary |-
67
- dGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOA==
68
- !binary "RGF0ZQ==":
69
- - !binary |-
70
- VGh1LCAzMSBPY3QgMjAxMyAxNjo0MzozMSBHTVQ=
71
- !binary "VHJhbnNmZXItRW5jb2Rpbmc=":
72
- - !binary |-
73
- Y2h1bmtlZA==
65
+ Content-Type:
66
+ - application/json
67
+ Date:
68
+ - Wed, 12 Feb 2014 17:06:00 GMT
69
+ Connection:
70
+ - close
71
+ Transfer-Encoding:
72
+ - ''
74
73
  body:
75
- encoding: US-ASCII
76
- string: ! "Step 1 : FROM base\n ---> b750fe79269d\nSuccessfully built b750fe79269d\n"
74
+ encoding: UTF-8
75
+ string: "{\"stream\":\"Step 0 : from base\\n\"}{\"stream\":\" ---\\u003e b750fe79269d\\n\"}{\"stream\":\"Successfully
76
+ built b750fe79269d\\n\"}"
77
77
  http_version:
78
- recorded_at: Thu, 31 Oct 2013 16:43:31 GMT
78
+ recorded_at: Wed, 12 Feb 2014 17:06:00 GMT
79
79
  - request:
80
80
  method: post
81
- uri: unix:///var/run/docker.sock/v1.6/build
81
+ uri: unix:///var/run/docker.sock/v1.8/build
82
82
  body:
83
83
  encoding: UTF-8
84
84
  string: !binary |-
85
85
  R2VtZmlsZQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
86
86
  AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
87
87
  AAAAAAAAAAAAADAwMDA2NDAAMDAwMDAwMAAwMDAwMDAwADAwMDAwMDAwMDQ2
88
- ADAwMDAwMDAwMDAwADAxMjU0NgAgMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
88
+ ADEyMjc2NzI0NzcwADAxMjYyMwAgMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
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
- MDAwNjQwADAwMDAwMDAAMDAwMDAwMAAwMDAwMDAwMDA0MAAwMDAwMDAwMDAw
111
- MAAwMTMyMzcAIDAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
110
+ MDAwNjQwADAwMDAwMDAAMDAwMDAwMAAwMDAwMDAwMDA0MAAxMjI3NjcyNDc3
111
+ MAAwMTMzMTQAIDAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
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.6.0
156
+ - Swipely/Docker-API 1.7.6
157
157
  Content-Type:
158
158
  - application/json
159
159
  response:
@@ -161,30 +161,30 @@ http_interactions:
161
161
  code: 200
162
162
  message:
163
163
  headers:
164
- !binary "Q29udGVudC1UeXBl":
165
- - !binary |-
166
- dGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOA==
167
- !binary "RGF0ZQ==":
168
- - !binary |-
169
- VGh1LCAzMSBPY3QgMjAxMyAxNjo0MzozMSBHTVQ=
170
- !binary "VHJhbnNmZXItRW5jb2Rpbmc=":
171
- - !binary |-
172
- Y2h1bmtlZA==
164
+ Content-Type:
165
+ - application/json
166
+ Date:
167
+ - Wed, 12 Feb 2014 17:06:00 GMT
168
+ Connection:
169
+ - close
170
+ Transfer-Encoding:
171
+ - ''
173
172
  body:
174
- encoding: US-ASCII
175
- string: ! "Step 1 : FROM b750fe79269d\n ---> b750fe79269d\nStep 2 : ADD Gemfile
176
- /\n ---> fa11d4ddd3db\nSuccessfully built fa11d4ddd3db\n"
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\"}"
177
177
  http_version:
178
- recorded_at: Thu, 31 Oct 2013 16:43:31 GMT
178
+ recorded_at: Wed, 12 Feb 2014 17:06:03 GMT
179
179
  - request:
180
180
  method: post
181
- uri: unix:///var/run/docker.sock/v1.6/containers/create
181
+ uri: unix:///var/run/docker.sock/v1.8/containers/create
182
182
  body:
183
183
  encoding: UTF-8
184
- string: ! '{"Image":"fa11d4ddd3db","Cmd":["cat","/Gemfile"]}'
184
+ string: "{\"Image\":\"53f8b4e63bb8\",\"Cmd\":[\"cat\",\"/Gemfile\"]}"
185
185
  headers:
186
186
  User-Agent:
187
- - Swipely/Docker-API 1.6.0
187
+ - Swipely/Docker-API 1.7.6
188
188
  Content-Type:
189
189
  - application/json
190
190
  response:
@@ -192,29 +192,29 @@ http_interactions:
192
192
  code: 201
193
193
  message:
194
194
  headers:
195
- !binary "Q29udGVudC1UeXBl":
196
- - !binary |-
197
- YXBwbGljYXRpb24vanNvbg==
198
- !binary "Q29udGVudC1MZW5ndGg=":
199
- - !binary |-
200
- MjE=
201
- !binary "RGF0ZQ==":
202
- - !binary |-
203
- VGh1LCAzMSBPY3QgMjAxMyAxNjo0MzozMSBHTVQ=
195
+ Content-Type:
196
+ - application/json
197
+ Date:
198
+ - Wed, 12 Feb 2014 17:06:04 GMT
199
+ Content-Length:
200
+ - '90'
201
+ Connection:
202
+ - close
204
203
  body:
205
- encoding: US-ASCII
206
- string: ! '{"Id":"abe127023611"}'
204
+ encoding: UTF-8
205
+ string: |
206
+ {"Id":"1a3f256ff568cfe00b921c3dd91167acdaedbd09156f6c07cd7acae0dcf666ca","Warnings":null}
207
207
  http_version:
208
- recorded_at: Thu, 31 Oct 2013 16:43:31 GMT
208
+ recorded_at: Wed, 12 Feb 2014 17:06:04 GMT
209
209
  - request:
210
210
  method: post
211
- uri: unix:///var/run/docker.sock/v1.6/containers/abe127023611/start
211
+ uri: unix:///var/run/docker.sock/v1.8/containers/1a3f256ff568cfe00b921c3dd91167acdaedbd09156f6c07cd7acae0dcf666ca/start
212
212
  body:
213
213
  encoding: UTF-8
214
- string: ! '{}'
214
+ string: "{}"
215
215
  headers:
216
216
  User-Agent:
217
- - Swipely/Docker-API 1.6.0
217
+ - Swipely/Docker-API 1.7.6
218
218
  Content-Type:
219
219
  - application/json
220
220
  response:
@@ -222,29 +222,28 @@ http_interactions:
222
222
  code: 204
223
223
  message:
224
224
  headers:
225
- !binary "Q29udGVudC1UeXBl":
226
- - !binary |-
227
- dGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOA==
228
- !binary "Q29udGVudC1MZW5ndGg=":
229
- - !binary |-
230
- MA==
231
- !binary "RGF0ZQ==":
232
- - !binary |-
233
- VGh1LCAzMSBPY3QgMjAxMyAxNjo0MzozMSBHTVQ=
225
+ Date:
226
+ - Wed, 12 Feb 2014 17:06:04 GMT
227
+ Content-Length:
228
+ - '0'
229
+ Content-Type:
230
+ - text/plain; charset=utf-8
231
+ Connection:
232
+ - close
234
233
  body:
235
- encoding: US-ASCII
234
+ encoding: UTF-8
236
235
  string: ''
237
236
  http_version:
238
- recorded_at: Thu, 31 Oct 2013 16:43:31 GMT
237
+ recorded_at: Wed, 12 Feb 2014 17:06:04 GMT
239
238
  - request:
240
239
  method: post
241
- uri: unix:///var/run/docker.sock/v1.6/containers/abe127023611/attach?stderr=true&stdout=true&stream=true
240
+ uri: unix:///var/run/docker.sock/v1.8/containers/1a3f256ff568cfe00b921c3dd91167acdaedbd09156f6c07cd7acae0dcf666ca/attach?stderr=true&stdout=true&stream=true
242
241
  body:
243
242
  encoding: US-ASCII
244
243
  string: ''
245
244
  headers:
246
245
  User-Agent:
247
- - Swipely/Docker-API 1.6.0
246
+ - Swipely/Docker-API 1.7.6
248
247
  Content-Type:
249
248
  - text/plain
250
249
  response:
@@ -252,14 +251,13 @@ http_interactions:
252
251
  code: 200
253
252
  message:
254
253
  headers:
255
- !binary "Q29udGVudC1UeXBl":
256
- - !binary |-
257
- YXBwbGljYXRpb24vdm5kLmRvY2tlci5yYXctc3RyZWFt
254
+ Content-Type:
255
+ - application/vnd.docker.raw-stream
258
256
  body:
259
- encoding: US-ASCII
257
+ encoding: UTF-8
260
258
  string: !binary |-
261
259
  AQAAAAAAACZzb3VyY2UgJ2h0dHA6Ly9ydWJ5Z2Vtcy5vcmcnCgpnZW1zcGVj
262
260
  Cg==
263
261
  http_version:
264
- recorded_at: Thu, 31 Oct 2013 16:43:31 GMT
265
- recorded_with: VCR 2.7.0
262
+ recorded_at: Wed, 12 Feb 2014 17:06:04 GMT
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.6/build
5
+ uri: unix:///var/run/docker.sock/v1.8/build
6
6
  body:
7
7
  encoding: UTF-8
8
8
  string: !binary |-
9
9
  RG9ja2VyZmlsZQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
10
10
  AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
11
11
  AAAAAAAAAAAAADAwMDA2NDAAMDAwMDAwMAAwMDAwMDAwADAwMDAwMDAwMDEx
12
- ADAwMDAwMDAwMDAwADAxMzIzNQAgMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
12
+ ADEyMjc2NzI0NzcwADAxMzMxMgAgMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
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.6.0
57
+ - Swipely/Docker-API 1.7.6
58
58
  Content-Type:
59
59
  - application/json
60
60
  response:
@@ -62,18 +62,18 @@ http_interactions:
62
62
  code: 200
63
63
  message:
64
64
  headers:
65
- !binary "Q29udGVudC1UeXBl":
66
- - !binary |-
67
- dGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOA==
68
- !binary "RGF0ZQ==":
69
- - !binary |-
70
- RnJpLCAyNSBPY3QgMjAxMyAxNjozMzo0NCBHTVQ=
71
- !binary "VHJhbnNmZXItRW5jb2Rpbmc=":
72
- - !binary |-
73
- Y2h1bmtlZA==
65
+ Content-Type:
66
+ - application/json
67
+ Date:
68
+ - Wed, 12 Feb 2014 17:06:00 GMT
69
+ Connection:
70
+ - close
71
+ Transfer-Encoding:
72
+ - ''
74
73
  body:
75
- encoding: US-ASCII
76
- string: ! "Step 1 : FROM base\n ---> b750fe79269d\nSuccessfully built b750fe79269d\n"
74
+ encoding: UTF-8
75
+ string: "{\"stream\":\"Step 0 : from base\\n\"}{\"stream\":\" ---\\u003e b750fe79269d\\n\"}{\"stream\":\"Successfully
76
+ built b750fe79269d\\n\"}"
77
77
  http_version:
78
- recorded_at: Fri, 25 Oct 2013 16:33:44 GMT
79
- recorded_with: VCR 2.6.0
78
+ recorded_at: Wed, 12 Feb 2014 17:06:00 GMT
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.6/build
5
+ uri: unix:///var/run/docker.sock/v1.8/build
6
6
  body:
7
7
  encoding: UTF-8
8
8
  string: !binary |-
9
9
  RG9ja2VyZmlsZQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
10
10
  AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
11
11
  AAAAAAAAAAAAADAwMDA2NDAAMDAwMDAwMAAwMDAwMDAwADAwMDAwMDAwMDEx
12
- ADAwMDAwMDAwMDAwADAxMzIzNQAgMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
12
+ ADEyMjc2NzI0Nzc0ADAxMzMxNgAgMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
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.6.0
57
+ - Swipely/Docker-API 1.7.6
58
58
  Content-Type:
59
59
  - application/json
60
60
  response:
@@ -62,30 +62,30 @@ http_interactions:
62
62
  code: 200
63
63
  message:
64
64
  headers:
65
- !binary "Q29udGVudC1UeXBl":
66
- - !binary |-
67
- dGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOA==
68
- !binary "RGF0ZQ==":
69
- - !binary |-
70
- VGh1LCAzMSBPY3QgMjAxMyAxNjo0MzozMSBHTVQ=
71
- !binary "VHJhbnNmZXItRW5jb2Rpbmc=":
72
- - !binary |-
73
- Y2h1bmtlZA==
65
+ Content-Type:
66
+ - application/json
67
+ Date:
68
+ - Wed, 12 Feb 2014 17:06:04 GMT
69
+ Connection:
70
+ - close
71
+ Transfer-Encoding:
72
+ - ''
74
73
  body:
75
- encoding: US-ASCII
76
- string: ! "Step 1 : FROM base\n ---> b750fe79269d\nSuccessfully built b750fe79269d\n"
74
+ encoding: UTF-8
75
+ string: "{\"stream\":\"Step 0 : from base\\n\"}{\"stream\":\" ---\\u003e b750fe79269d\\n\"}{\"stream\":\"Successfully
76
+ built b750fe79269d\\n\"}"
77
77
  http_version:
78
- recorded_at: Thu, 31 Oct 2013 16:43:31 GMT
78
+ recorded_at: Wed, 12 Feb 2014 17:06:04 GMT
79
79
  - request:
80
80
  method: post
81
- uri: unix:///var/run/docker.sock/v1.6/build
81
+ uri: unix:///var/run/docker.sock/v1.8/build
82
82
  body:
83
83
  encoding: UTF-8
84
84
  string: !binary |-
85
85
  R2VtZmlsZQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
86
86
  AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
87
87
  AAAAAAAAAAAAADAwMDA2NDAAMDAwMDAwMAAwMDAwMDAwADAwMDAwMDAwMDQ2
88
- ADAwMDAwMDAwMDAwADAxMjU0NgAgMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
88
+ ADEyMjc2NzI0Nzc0ADAxMjYyNwAgMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
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
- MDAwNjQwADAwMDAwMDAAMDAwMDAwMAAwMDAwMDAwMDUxMAAwMDAwMDAwMDAw
111
- MAAwMTI3MTQAIDAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
110
+ MDAwNjQwADAwMDAwMDAAMDAwMDAwMAAwMDAwMDAwMDUxMAAxMjI3NjcyNDc3
111
+ NAAwMTI3NzUAIDAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
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
- MDAwADAwMDAwMDAAMDAwMDAwMDAwNTcAMDAwMDAwMDAwMDAAMDEzMjQ3ACAw
133
+ MDAwADAwMDAwMDAAMDAwMDAwMDAwNTcAMTIyNzY3MjQ3NzQAMDEzMzMwACAw
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.6.0
179
+ - Swipely/Docker-API 1.7.6
180
180
  Content-Type:
181
181
  - application/json
182
182
  response:
@@ -184,31 +184,31 @@ http_interactions:
184
184
  code: 200
185
185
  message:
186
186
  headers:
187
- !binary "Q29udGVudC1UeXBl":
188
- - !binary |-
189
- dGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOA==
190
- !binary "RGF0ZQ==":
191
- - !binary |-
192
- VGh1LCAzMSBPY3QgMjAxMyAxNjo0MzozMSBHTVQ=
193
- !binary "VHJhbnNmZXItRW5jb2Rpbmc=":
194
- - !binary |-
195
- Y2h1bmtlZA==
187
+ Content-Type:
188
+ - application/json
189
+ Date:
190
+ - Wed, 12 Feb 2014 17:06:04 GMT
191
+ Connection:
192
+ - close
193
+ Transfer-Encoding:
194
+ - ''
196
195
  body:
197
- encoding: US-ASCII
198
- string: ! "Step 1 : FROM b750fe79269d\n ---> b750fe79269d\nStep 2 : ADD Gemfile
199
- /\n ---> f2dbf5dd658f\nStep 3 : ADD Rakefile /\n ---> 01de8aa2ffa8\nSuccessfully
200
- built 01de8aa2ffa8\n"
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\"}"
201
201
  http_version:
202
- recorded_at: Thu, 31 Oct 2013 16:43:31 GMT
202
+ recorded_at: Wed, 12 Feb 2014 17:06:10 GMT
203
203
  - request:
204
204
  method: post
205
- uri: unix:///var/run/docker.sock/v1.6/containers/create
205
+ uri: unix:///var/run/docker.sock/v1.8/containers/create
206
206
  body:
207
207
  encoding: UTF-8
208
- string: ! '{"Image":"01de8aa2ffa8","Cmd":["cat","/Gemfile","/Rakefile"]}'
208
+ string: "{\"Image\":\"724a85dfbc0f\",\"Cmd\":[\"cat\",\"/Gemfile\",\"/Rakefile\"]}"
209
209
  headers:
210
210
  User-Agent:
211
- - Swipely/Docker-API 1.6.0
211
+ - Swipely/Docker-API 1.7.6
212
212
  Content-Type:
213
213
  - application/json
214
214
  response:
@@ -216,29 +216,29 @@ http_interactions:
216
216
  code: 201
217
217
  message:
218
218
  headers:
219
- !binary "Q29udGVudC1UeXBl":
220
- - !binary |-
221
- YXBwbGljYXRpb24vanNvbg==
222
- !binary "Q29udGVudC1MZW5ndGg=":
223
- - !binary |-
224
- MjE=
225
- !binary "RGF0ZQ==":
226
- - !binary |-
227
- VGh1LCAzMSBPY3QgMjAxMyAxNjo0MzozMSBHTVQ=
219
+ Content-Type:
220
+ - application/json
221
+ Date:
222
+ - Wed, 12 Feb 2014 17:06:12 GMT
223
+ Content-Length:
224
+ - '90'
225
+ Connection:
226
+ - close
228
227
  body:
229
- encoding: US-ASCII
230
- string: ! '{"Id":"29b6905af512"}'
228
+ encoding: UTF-8
229
+ string: |
230
+ {"Id":"63fe9252d0af77d762fb6c79b67281bbe14a733056817e84a49605c7f7d7b1ec","Warnings":null}
231
231
  http_version:
232
- recorded_at: Thu, 31 Oct 2013 16:43:31 GMT
232
+ recorded_at: Wed, 12 Feb 2014 17:06:12 GMT
233
233
  - request:
234
234
  method: post
235
- uri: unix:///var/run/docker.sock/v1.6/containers/29b6905af512/start
235
+ uri: unix:///var/run/docker.sock/v1.8/containers/63fe9252d0af77d762fb6c79b67281bbe14a733056817e84a49605c7f7d7b1ec/start
236
236
  body:
237
237
  encoding: UTF-8
238
- string: ! '{}'
238
+ string: "{}"
239
239
  headers:
240
240
  User-Agent:
241
- - Swipely/Docker-API 1.6.0
241
+ - Swipely/Docker-API 1.7.6
242
242
  Content-Type:
243
243
  - application/json
244
244
  response:
@@ -246,29 +246,28 @@ http_interactions:
246
246
  code: 204
247
247
  message:
248
248
  headers:
249
- !binary "Q29udGVudC1UeXBl":
250
- - !binary |-
251
- dGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOA==
252
- !binary "Q29udGVudC1MZW5ndGg=":
253
- - !binary |-
254
- MA==
255
- !binary "RGF0ZQ==":
256
- - !binary |-
257
- VGh1LCAzMSBPY3QgMjAxMyAxNjo0MzozMSBHTVQ=
249
+ Date:
250
+ - Wed, 12 Feb 2014 17:06:12 GMT
251
+ Content-Length:
252
+ - '0'
253
+ Content-Type:
254
+ - text/plain; charset=utf-8
255
+ Connection:
256
+ - close
258
257
  body:
259
- encoding: US-ASCII
258
+ encoding: UTF-8
260
259
  string: ''
261
260
  http_version:
262
- recorded_at: Thu, 31 Oct 2013 16:43:31 GMT
261
+ recorded_at: Wed, 12 Feb 2014 17:06:12 GMT
263
262
  - request:
264
263
  method: post
265
- uri: unix:///var/run/docker.sock/v1.6/containers/29b6905af512/attach?stderr=true&stdout=true&stream=true
264
+ uri: unix:///var/run/docker.sock/v1.8/containers/63fe9252d0af77d762fb6c79b67281bbe14a733056817e84a49605c7f7d7b1ec/attach?stderr=true&stdout=true&stream=true
266
265
  body:
267
266
  encoding: US-ASCII
268
267
  string: ''
269
268
  headers:
270
269
  User-Agent:
271
- - Swipely/Docker-API 1.6.0
270
+ - Swipely/Docker-API 1.7.6
272
271
  Content-Type:
273
272
  - text/plain
274
273
  response:
@@ -276,11 +275,10 @@ http_interactions:
276
275
  code: 200
277
276
  message:
278
277
  headers:
279
- !binary "Q29udGVudC1UeXBl":
280
- - !binary |-
281
- YXBwbGljYXRpb24vdm5kLmRvY2tlci5yYXctc3RyZWFt
278
+ Content-Type:
279
+ - application/vnd.docker.raw-stream
282
280
  body:
283
- encoding: US-ASCII
281
+ encoding: UTF-8
284
282
  string: !binary |-
285
283
  AQAAAAAAACZzb3VyY2UgJ2h0dHA6Ly9ydWJ5Z2Vtcy5vcmcnCgpnZW1zcGVj
286
284
  CgEAAAAAAAFIJExPQURfUEFUSC51bnNoaWZ0KEZpbGUuam9pbihGaWxlLmRp
@@ -292,5 +290,5 @@ http_interactions:
292
290
  bmU6OlJha2VUYXNrLm5ldyg6cXVhbGl0eSkgZG8gfGNhbmV8CiAgY2FuZS5j
293
291
  YW5lZmlsZSA9ICcuY2FuZScKZW5kCg==
294
292
  http_version:
295
- recorded_at: Thu, 31 Oct 2013 16:43:31 GMT
296
- recorded_with: VCR 2.7.0
293
+ recorded_at: Wed, 12 Feb 2014 17:06:12 GMT
294
+ recorded_with: VCR 2.8.0