docker-api 1.12.0 → 1.13.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (71) hide show
  1. checksums.yaml +4 -4
  2. data/lib/docker/container.rb +15 -0
  3. data/lib/docker/image.rb +0 -10
  4. data/lib/docker/version.rb +2 -2
  5. data/spec/docker/container_spec.rb +26 -1
  6. data/spec/docker/image_spec.rb +0 -11
  7. data/spec/vcr/Docker/_authenticate_/with_valid_credentials/logs_in_and_sets_the_creds.yml +4 -4
  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 +4 -4
  11. data/spec/vcr/Docker_Container/_all/when_the_HTTP_response_is_a_200/materializes_each_Container_into_a_Docker_Container.yml +127 -75
  12. data/spec/vcr/Docker_Container/_attach/with_normal_sized_chunks/yields_each_chunk.yml +12 -16
  13. data/spec/vcr/Docker_Container/_attach/with_very_small_chunks/yields_each_chunk.yml +12 -16
  14. data/spec/vcr/Docker_Container/_changes/returns_the_changes_as_an_array.yml +17 -21
  15. data/spec/vcr/Docker_Container/_commit/creates_a_new_Image_from_the_Container_s_changes.yml +14 -18
  16. data/spec/vcr/Docker_Container/_commit/if_run_is_passed_it_saves_the_command_in_the_image/saves_the_command.yml +9 -13
  17. data/spec/vcr/Docker_Container/_copy/when_the_input_is_a_directory/yields_each_chunk_of_the_tarred_directory.yml +39 -43
  18. data/spec/vcr/Docker_Container/_copy/when_the_input_is_a_file/yields_each_chunk_of_the_tarred_file.yml +22 -26
  19. data/spec/vcr/Docker_Container/_create/when_creating_a_container_named_bob/should_have_name_set_to_bob.yml +12 -11
  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 -19
  22. data/spec/vcr/Docker_Container/_export/yields_each_chunk.yml +15 -453687
  23. data/spec/vcr/Docker_Container/_get/when_the_HTTP_response_is_a_200/materializes_the_Container_into_a_Docker_Container.yml +12 -11
  24. data/spec/vcr/Docker_Container/_json/returns_the_description_as_a_Hash.yml +12 -11
  25. data/spec/vcr/Docker_Container/_kill/kills_the_container.yml +64 -42
  26. data/spec/vcr/Docker_Container/_logs/when_not_selecting_any_stream/returns_the_error_message.yml +11 -11
  27. data/spec/vcr/Docker_Container/_logs/when_selecting_stdout/returns_blank_logs.yml +9 -9
  28. data/spec/vcr/Docker_Container/_pause/pauses_the_container.yml +121 -0
  29. data/spec/vcr/Docker_Container/_restart/restarts_the_container.yml +37 -49
  30. data/spec/vcr/Docker_Container/_run/when_the_Container_s_command_does_not_return_status_code_of_0/raises_an_error.yml +13 -17
  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 +36 -48
  32. data/spec/vcr/Docker_Container/_start/starts_the_container.yml +20 -24
  33. data/spec/vcr/Docker_Container/_stop/stops_the_container.yml +67 -49
  34. data/spec/vcr/Docker_Container/_top/returns_the_top_commands_as_an_Array.yml +23 -26
  35. data/spec/vcr/Docker_Container/_unpause/unpauses_the_container.yml +150 -0
  36. data/spec/vcr/Docker_Container/_wait/waits_for_the_command_to_finish.yml +13 -17
  37. data/spec/vcr/Docker_Container/_wait/when_an_argument_is_given/and_a_command_runs_for_too_long/raises_a_ServerError.yml +9 -13
  38. data/spec/vcr/Docker_Container/_wait/when_an_argument_is_given/sets_the_read_timeout_to_that_amount_of_time.yml +13 -17
  39. data/spec/vcr/Docker_Image/_all/materializes_each_Image_into_a_Docker_Image.yml +10 -11
  40. data/spec/vcr/Docker_Image/_build/with_a_valid_Dockerfile/with_a_block_capturing_build_output/calls_the_block_and_passes_build_output.yml +4 -4
  41. 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 -24
  42. data/spec/vcr/Docker_Image/_build/with_a_valid_Dockerfile/without_query_parameters/builds_an_image.yml +4 -4
  43. data/spec/vcr/Docker_Image/_build/with_an_invalid_Dockerfile/throws_a_UnexpectedResponseError.yml +4 -4
  44. 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 -8
  45. data/spec/vcr/Docker_Image/_build_from_dir/with_a_valid_Dockerfile/with_credentials_passed/sends_Docker_creds.yml +6 -6
  46. data/spec/vcr/Docker_Image/_build_from_dir/with_a_valid_Dockerfile/with_no_query_parameters/builds_the_image.yml +21 -24
  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 +39 -43
  48. 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 +68 -18
  49. data/spec/vcr/Docker_Image/_get/when_the_image_does_exist/returns_the_new_image.yml +7 -6
  50. data/spec/vcr/Docker_Image/_history/returns_the_history_of_the_Image.yml +10 -10
  51. data/spec/vcr/Docker_Image/_import/when_the_argument_is_a_URI/when_the_URI_is_invalid/raises_an_error.yml +18 -24
  52. data/spec/vcr/Docker_Image/_import/when_the_argument_is_a_URI/when_the_URI_is_valid/returns_an_Image.yml +9 -9
  53. data/spec/vcr/Docker_Image/_import/when_the_file_does_exist/creates_the_Image.yml +5 -5
  54. data/spec/vcr/Docker_Image/_insert_local/when_a_direcory_is_passed/inserts_the_directory.yml +23 -27
  55. data/spec/vcr/Docker_Image/_insert_local/when_removing_intermediate_containers/creates_a_new_image.yml +20 -20
  56. data/spec/vcr/Docker_Image/_insert_local/when_removing_intermediate_containers/leave_no_intermediate_containers.yml +18 -18
  57. data/spec/vcr/Docker_Image/_insert_local/when_the_local_file_does_exist/creates_a_new_Image_that_has_that_file.yml +23 -27
  58. data/spec/vcr/Docker_Image/_insert_local/when_the_local_file_does_not_exist/raises_an_error.yml +4 -4
  59. data/spec/vcr/Docker_Image/_insert_local/when_there_are_multiple_files_passed/creates_a_new_Image_that_has_each_file.yml +25 -28
  60. data/spec/vcr/Docker_Image/_json/returns_additional_information_about_image_image.yml +13 -12
  61. data/spec/vcr/Docker_Image/_push/pushes_the_Image.yml +32 -71
  62. data/spec/vcr/Docker_Image/_push/when_there_are_no_credentials/still_pushes.yml +28 -28
  63. data/spec/vcr/Docker_Image/_refresh_/updates_the_info_hash.yml +35 -34
  64. data/spec/vcr/Docker_Image/_remove/removes_the_Image.yml +50 -21
  65. data/spec/vcr/Docker_Image/_run/when_the_argument_is_a_String/splits_the_String_by_spaces_and_creates_a_new_Container.yml +16 -20
  66. data/spec/vcr/Docker_Image/_run/when_the_argument_is_an_Array/creates_a_new_Container.yml +16 -20
  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 +66 -34
  69. data/spec/vcr/Docker_Image/_tag/tags_the_image_with_the_repo_name.yml +8 -8
  70. metadata +8 -5
  71. data/spec/vcr/Docker_Image/_insert/inserts_the_url_s_file_into_a_new_Image.yml +0 -194
@@ -2,13 +2,13 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: unix:///var/run/docker.sock/v1.11/images/create?fromImage=base
5
+ uri: unix:///var/run/docker.sock/v1.12/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.11.1
11
+ - Swipely/Docker-API 1.11.2
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
- - Fri, 06 Jun 2014 14:23:17 GMT
22
+ - Thu, 26 Jun 2014 20:14:53 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: Fri, 06 Jun 2014 14:23:18 GMT
37
+ recorded_at: Thu, 26 Jun 2014 20:14:54 GMT
38
38
  - request:
39
39
  method: post
40
- uri: unix:///var/run/docker.sock/v1.11/images/b750fe79269d/tag?force=true&repo=base2
40
+ uri: unix:///var/run/docker.sock/v1.12/images/b750fe79269d/tag?force=true&repo=base2
41
41
  body:
42
42
  encoding: US-ASCII
43
43
  string: ''
44
44
  headers:
45
45
  User-Agent:
46
- - Swipely/Docker-API 1.11.1
46
+ - Swipely/Docker-API 1.11.2
47
47
  Content-Type:
48
48
  - text/plain
49
49
  response:
@@ -52,7 +52,7 @@ http_interactions:
52
52
  message:
53
53
  headers:
54
54
  Date:
55
- - Fri, 06 Jun 2014 14:23:18 GMT
55
+ - Thu, 26 Jun 2014 20:14:54 GMT
56
56
  Content-Length:
57
57
  - '0'
58
58
  Content-Type:
@@ -63,5 +63,5 @@ http_interactions:
63
63
  encoding: UTF-8
64
64
  string: ''
65
65
  http_version:
66
- recorded_at: Fri, 06 Jun 2014 14:23:18 GMT
66
+ recorded_at: Thu, 26 Jun 2014 20:14:54 GMT
67
67
  recorded_with: VCR 2.9.2
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: docker-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.12.0
4
+ version: 1.13.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Swipely, Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-06-26 00:00:00.000000000 Z
11
+ date: 2014-06-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: excon
@@ -225,12 +225,14 @@ files:
225
225
  - spec/vcr/Docker_Container/_kill/kills_the_container.yml
226
226
  - spec/vcr/Docker_Container/_logs/when_not_selecting_any_stream/returns_the_error_message.yml
227
227
  - spec/vcr/Docker_Container/_logs/when_selecting_stdout/returns_blank_logs.yml
228
+ - spec/vcr/Docker_Container/_pause/pauses_the_container.yml
228
229
  - spec/vcr/Docker_Container/_restart/restarts_the_container.yml
229
230
  - spec/vcr/Docker_Container/_run/when_the_Container_s_command_does_not_return_status_code_of_0/raises_an_error.yml
230
231
  - 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
231
232
  - spec/vcr/Docker_Container/_start/starts_the_container.yml
232
233
  - spec/vcr/Docker_Container/_stop/stops_the_container.yml
233
234
  - spec/vcr/Docker_Container/_top/returns_the_top_commands_as_an_Array.yml
235
+ - spec/vcr/Docker_Container/_unpause/unpauses_the_container.yml
234
236
  - spec/vcr/Docker_Container/_wait/waits_for_the_command_to_finish.yml
235
237
  - spec/vcr/Docker_Container/_wait/when_an_argument_is_given/and_a_command_runs_for_too_long/raises_a_ServerError.yml
236
238
  - spec/vcr/Docker_Container/_wait/when_an_argument_is_given/sets_the_read_timeout_to_that_amount_of_time.yml
@@ -249,7 +251,6 @@ files:
249
251
  - spec/vcr/Docker_Image/_import/when_the_argument_is_a_URI/when_the_URI_is_invalid/raises_an_error.yml
250
252
  - spec/vcr/Docker_Image/_import/when_the_argument_is_a_URI/when_the_URI_is_valid/returns_an_Image.yml
251
253
  - spec/vcr/Docker_Image/_import/when_the_file_does_exist/creates_the_Image.yml
252
- - spec/vcr/Docker_Image/_insert/inserts_the_url_s_file_into_a_new_Image.yml
253
254
  - spec/vcr/Docker_Image/_insert_local/when_a_direcory_is_passed/inserts_the_directory.yml
254
255
  - spec/vcr/Docker_Image/_insert_local/when_removing_intermediate_containers/creates_a_new_image.yml
255
256
  - spec/vcr/Docker_Image/_insert_local/when_removing_intermediate_containers/leave_no_intermediate_containers.yml
@@ -286,7 +287,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
286
287
  version: '0'
287
288
  requirements: []
288
289
  rubyforge_project:
289
- rubygems_version: 2.0.3
290
+ rubygems_version: 2.0.14
290
291
  signing_key:
291
292
  specification_version: 4
292
293
  summary: A simple REST client for the Docker Remote API
@@ -323,12 +324,14 @@ test_files:
323
324
  - spec/vcr/Docker_Container/_kill/kills_the_container.yml
324
325
  - spec/vcr/Docker_Container/_logs/when_not_selecting_any_stream/returns_the_error_message.yml
325
326
  - spec/vcr/Docker_Container/_logs/when_selecting_stdout/returns_blank_logs.yml
327
+ - spec/vcr/Docker_Container/_pause/pauses_the_container.yml
326
328
  - spec/vcr/Docker_Container/_restart/restarts_the_container.yml
327
329
  - spec/vcr/Docker_Container/_run/when_the_Container_s_command_does_not_return_status_code_of_0/raises_an_error.yml
328
330
  - 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
329
331
  - spec/vcr/Docker_Container/_start/starts_the_container.yml
330
332
  - spec/vcr/Docker_Container/_stop/stops_the_container.yml
331
333
  - spec/vcr/Docker_Container/_top/returns_the_top_commands_as_an_Array.yml
334
+ - spec/vcr/Docker_Container/_unpause/unpauses_the_container.yml
332
335
  - spec/vcr/Docker_Container/_wait/waits_for_the_command_to_finish.yml
333
336
  - spec/vcr/Docker_Container/_wait/when_an_argument_is_given/and_a_command_runs_for_too_long/raises_a_ServerError.yml
334
337
  - spec/vcr/Docker_Container/_wait/when_an_argument_is_given/sets_the_read_timeout_to_that_amount_of_time.yml
@@ -347,7 +350,6 @@ test_files:
347
350
  - spec/vcr/Docker_Image/_import/when_the_argument_is_a_URI/when_the_URI_is_invalid/raises_an_error.yml
348
351
  - spec/vcr/Docker_Image/_import/when_the_argument_is_a_URI/when_the_URI_is_valid/returns_an_Image.yml
349
352
  - spec/vcr/Docker_Image/_import/when_the_file_does_exist/creates_the_Image.yml
350
- - spec/vcr/Docker_Image/_insert/inserts_the_url_s_file_into_a_new_Image.yml
351
353
  - spec/vcr/Docker_Image/_insert_local/when_a_direcory_is_passed/inserts_the_directory.yml
352
354
  - spec/vcr/Docker_Image/_insert_local/when_removing_intermediate_containers/creates_a_new_image.yml
353
355
  - spec/vcr/Docker_Image/_insert_local/when_removing_intermediate_containers/leave_no_intermediate_containers.yml
@@ -364,3 +366,4 @@ test_files:
364
366
  - 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
365
367
  - spec/vcr/Docker_Image/_search/materializes_each_Image_into_a_Docker_Image.yml
366
368
  - spec/vcr/Docker_Image/_tag/tags_the_image_with_the_repo_name.yml
369
+ has_rdoc:
@@ -1,194 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: post
5
- uri: unix:///var/run/docker.sock/v1.11/build
6
- body:
7
- encoding: UTF-8
8
- string: !binary |-
9
- RG9ja2VyZmlsZQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
10
- AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
11
- AAAAAAAAAAAAADAwMDA2NDAAMDAwMDAwMAAwMDAwMDAwADAwMDAwMDAwMDEx
12
- ADAwMDAwMDAwMDAwADAxMzIzNQAgMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
13
- AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
14
- AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAB1c3RhcgAwMHdoZWVs
15
- AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAd2hlZWwAAAAAAAAAAAAAAAAA
16
- AAAAAAAAAAAAAAAAAAAwMDAwMDAwADAwMDAwMDAAAAAAAAAAAAAAAAAAAAAA
17
- AAAAAAAAAAAAAAAAAAAAAAAAA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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
50
- AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
51
- AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
52
- AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
53
- AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
54
- AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=
55
- headers:
56
- User-Agent:
57
- - Swipely/Docker-API 1.11.1
58
- Content-Type:
59
- - application/json
60
- response:
61
- status:
62
- code: 200
63
- message:
64
- headers:
65
- Content-Type:
66
- - application/json
67
- Date:
68
- - Fri, 06 Jun 2014 15:12:24 GMT
69
- Connection:
70
- - close
71
- Transfer-Encoding:
72
- - ''
73
- body:
74
- encoding: UTF-8
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
- http_version:
78
- recorded_at: Fri, 06 Jun 2014 15:12:24 GMT
79
- - request:
80
- method: post
81
- uri: unix:///var/run/docker.sock/v1.11/images/b750fe79269d/insert?path=%2Fstallman&url=http%3A%2F%2Fstallman.org
82
- body:
83
- encoding: US-ASCII
84
- string: ''
85
- headers:
86
- User-Agent:
87
- - Swipely/Docker-API 1.11.1
88
- Content-Type:
89
- - text/plain
90
- response:
91
- status:
92
- code: 200
93
- message:
94
- headers:
95
- Content-Type:
96
- - application/json
97
- Date:
98
- - Fri, 06 Jun 2014 15:12:28 GMT
99
- Content-Length:
100
- - '210'
101
- Connection:
102
- - close
103
- body:
104
- encoding: UTF-8
105
- string: "{\"status\":\"Downloading\",\"progressDetail\":{\"current\":88195,\"total\":-1,\"start\":1402067547},\"progress\":\"88.19
106
- kB\",\"id\":\"b750fe79269d\"}{\"status\":\"8487c71145e1b4d0f1b30c87c198138fd9a62a1c5c72125c0d1dda51c57d923a\"}\r\n"
107
- http_version:
108
- recorded_at: Fri, 06 Jun 2014 15:12:28 GMT
109
- - request:
110
- method: post
111
- uri: unix:///var/run/docker.sock/v1.11/containers/create
112
- body:
113
- encoding: UTF-8
114
- string: '{"Image":"8487c71145e1b4d0f1b30c87c198138fd9a62a1c5c72125c0d1dda51c57d923a","Cmd":["ls","/"]}'
115
- headers:
116
- User-Agent:
117
- - Swipely/Docker-API 1.11.1
118
- Content-Type:
119
- - application/json
120
- response:
121
- status:
122
- code: 201
123
- message:
124
- headers:
125
- Content-Type:
126
- - application/json
127
- Date:
128
- - Fri, 06 Jun 2014 15:12:30 GMT
129
- Content-Length:
130
- - '90'
131
- Connection:
132
- - close
133
- body:
134
- encoding: UTF-8
135
- string: |
136
- {"Id":"d9226b3154b6ee9e87e2d1daaa2b1d39999dafa523aa2700719689bafd2907ea","Warnings":null}
137
- http_version:
138
- recorded_at: Fri, 06 Jun 2014 15:12:30 GMT
139
- - request:
140
- method: post
141
- uri: unix:///var/run/docker.sock/v1.11/containers/d9226b3154b6ee9e87e2d1daaa2b1d39999dafa523aa2700719689bafd2907ea/start
142
- body:
143
- encoding: UTF-8
144
- string: '{}'
145
- headers:
146
- User-Agent:
147
- - Swipely/Docker-API 1.11.1
148
- Content-Type:
149
- - application/json
150
- response:
151
- status:
152
- code: 204
153
- message:
154
- headers:
155
- Date:
156
- - Fri, 06 Jun 2014 15:12:30 GMT
157
- Content-Length:
158
- - '0'
159
- Content-Type:
160
- - text/plain; charset=utf-8
161
- Connection:
162
- - close
163
- body:
164
- encoding: UTF-8
165
- string: ''
166
- http_version:
167
- recorded_at: Fri, 06 Jun 2014 15:12:30 GMT
168
- - request:
169
- method: post
170
- uri: unix:///var/run/docker.sock/v1.11/containers/d9226b3154b6ee9e87e2d1daaa2b1d39999dafa523aa2700719689bafd2907ea/attach?stderr=true&stdout=true&stream=true
171
- body:
172
- encoding: US-ASCII
173
- string: ''
174
- headers:
175
- User-Agent:
176
- - Swipely/Docker-API 1.11.1
177
- Content-Type:
178
- - text/plain
179
- response:
180
- status:
181
- code: 200
182
- message:
183
- headers:
184
- Content-Type:
185
- - application/vnd.docker.raw-stream
186
- body:
187
- encoding: UTF-8
188
- string: !binary |-
189
- AQAAAAAAAGZiaW4KYm9vdApkZXYKZXRjCmhvbWUKbGliCmxpYjY0Cm1lZGlh
190
- Cm1udApvcHQKcHJvYwpyb290CnJ1bgpzYmluCnNlbGludXgKc3J2CnN0YWxs
191
- bWFuCnN5cwp0bXAKdXNyCnZhcgo=
192
- http_version:
193
- recorded_at: Fri, 06 Jun 2014 15:12:30 GMT
194
- recorded_with: VCR 2.9.2