docker-api 1.5.4 → 1.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (52) hide show
  1. checksums.yaml +7 -0
  2. data/README.md +19 -10
  3. data/docker-api.gemspec +1 -1
  4. data/lib/docker.rb +14 -7
  5. data/lib/docker/connection.rb +6 -1
  6. data/lib/docker/image.rb +6 -5
  7. data/lib/docker/version.rb +1 -1
  8. data/spec/docker/connection_spec.rb +14 -6
  9. data/spec/docker/container_spec.rb +27 -8
  10. data/spec/docker/image_spec.rb +23 -5
  11. data/spec/docker_spec.rb +36 -28
  12. data/spec/vcr/Docker/_info/returns_the_info_as_a_Hash.yml +16 -13
  13. data/spec/vcr/Docker/_validate_version/when_nothing_is_raised/validate_version_/.yml +16 -13
  14. data/spec/vcr/Docker/_version/returns_the_version_as_a_Hash.yml +16 -13
  15. data/spec/vcr/Docker_Container/_all/when_the_HTTP_response_is_a_200/materializes_each_Container_into_a_Docker_Container.yml +120 -211
  16. data/spec/vcr/Docker_Container/_attach/yields_each_chunk.yml +46 -38
  17. data/spec/vcr/Docker_Container/_changes/returns_the_changes_as_an_array.yml +65 -53
  18. data/spec/vcr/Docker_Container/_commit/creates_a_new_Image_from_the_Container_s_changes.yml +50 -41
  19. data/spec/vcr/Docker_Container/_copy/when_the_file_does_not_exist/raises_an_error.yml +62 -48
  20. data/spec/vcr/Docker_Container/_copy/when_the_input_is_a_directory/yields_each_chunk_of_the_tarred_directory.yml +194 -119
  21. data/spec/vcr/Docker_Container/_copy/when_the_input_is_a_file/yields_each_chunk_of_the_tarred_file.yml +127 -52
  22. data/spec/vcr/Docker_Container/_create/when_the_Container_does_not_yet_exist/when_the_HTTP_request_returns_a_200/sets_the_id.yml +18 -15
  23. data/spec/vcr/Docker_Container/_delete/deletes_the_container.yml +62 -126
  24. data/spec/vcr/Docker_Container/_export/yields_each_chunk.yml +49 -66
  25. data/spec/vcr/Docker_Container/_json/returns_the_description_as_a_Hash.yml +33 -27
  26. data/spec/vcr/Docker_Container/_kill/kills_the_container.yml +91 -129
  27. data/spec/vcr/Docker_Container/_restart/restarts_the_container.yml +116 -95
  28. data/spec/vcr/Docker_Container/_run/when_the_Container_s_command_does_not_return_status_code_of_0/raises_an_error.yml +50 -41
  29. data/spec/vcr/Docker_Container/_run/when_the_Container_s_command_returns_a_status_code_of_0/creates_a_new_container_to_run_the_specified_command.yml +135 -109
  30. data/spec/vcr/Docker_Container/_start/starts_the_container.yml +28 -57
  31. data/spec/vcr/Docker_Container/_stop/stops_the_container.yml +107 -143
  32. data/spec/vcr/Docker_Container/_top/returns_the_top_commands_as_an_Array.yml +78 -39
  33. data/spec/vcr/Docker_Container/_wait/waits_for_the_command_to_finish.yml +50 -41
  34. data/spec/vcr/Docker_Container/_wait/when_an_argument_is_given/and_a_command_runs_for_too_long/raises_a_ServerError.yml +35 -29
  35. data/spec/vcr/Docker_Container/_wait/when_an_argument_is_given/sets_the_read_timeout_to_that_amount_of_time.yml +50 -41
  36. data/spec/vcr/Docker_Image/_all/materializes_each_Image_into_a_Docker_Image.yml +34 -26
  37. data/spec/vcr/Docker_Image/_build/with_a_valid_Dockerfile/builds_an_image.yml +17 -17
  38. data/spec/vcr/Docker_Image/_build/with_an_invalid_Dockerfile/throws_a_UnexpectedResponseError.yml +20 -15
  39. data/spec/vcr/Docker_Image/_create/when_the_Image_does_not_yet_exist_and_the_body_is_a_Hash/sets_the_id.yml +19 -14
  40. data/spec/vcr/Docker_Image/_history/returns_the_history_of_the_Image.yml +34 -26
  41. data/spec/vcr/Docker_Image/_insert/inserts_the_url_s_file_into_a_new_Image.yml +134 -95
  42. data/spec/vcr/Docker_Image/_insert_local/when_the_local_file_does_exist/creates_a_new_Image_that_has_that_file.yml +29 -29
  43. data/spec/vcr/Docker_Image/_insert_local/when_the_local_file_does_not_exist/raises_an_error.yml +5 -5
  44. data/spec/vcr/Docker_Image/_insert_local/when_there_are_multiple_files_passed/creates_a_new_Image_that_has_each_file.yml +30 -30
  45. data/spec/vcr/Docker_Image/_json/returns_additional_information_about_image_image.yml +34 -26
  46. data/spec/vcr/Docker_Image/_remove/removes_the_Image.yml +49 -38
  47. data/spec/vcr/Docker_Image/_run/when_the_argument_is_a_String/splits_the_String_by_spaces_and_creates_a_new_Container.yml +64 -51
  48. data/spec/vcr/Docker_Image/_run/when_the_argument_is_an_Array/creates_a_new_Container.yml +64 -51
  49. data/spec/vcr/Docker_Image/_search/materializes_each_Image_into_a_Docker_Image.yml +20 -14
  50. data/spec/vcr/Docker_Image/_tag/tags_the_image_with_the_repo_name.yml +33 -25
  51. metadata +29 -54
  52. data/spec/vcr/Docker_Container/_create/when_the_Container_does_not_yet_exist_and_the_body_is_a_Hash/when_the_HTTP_request_returns_a_200/sets_the_id.yml +0 -30
@@ -2,13 +2,13 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: http://localhost:4243/v1.4/images/create?fromImage=base
5
+ uri: http://unix/v1.4/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.5.0
11
+ - Swipely/Docker-API 1.5.4
12
12
  Content-Type:
13
13
  - text/plain
14
14
  response:
@@ -16,29 +16,32 @@ http_interactions:
16
16
  code: 200
17
17
  message: ''
18
18
  headers:
19
- Content-Type:
20
- - application/json
21
- Date:
22
- - Thu, 29 Aug 2013 21:12:51 GMT
23
- Transfer-Encoding:
24
- - chunked
19
+ !binary "Q29udGVudC1UeXBl":
20
+ - !binary |-
21
+ YXBwbGljYXRpb24vanNvbg==
22
+ !binary "RGF0ZQ==":
23
+ - !binary |-
24
+ TW9uLCAwNyBPY3QgMjAxMyAxNDozMzo1NCBHTVQ=
25
+ !binary "VHJhbnNmZXItRW5jb2Rpbmc=":
26
+ - !binary |-
27
+ Y2h1bmtlZA==
25
28
  body:
26
- encoding: UTF-8
27
- string: '{"status":"Pulling repository base"}{"status":"Pulling","progress":"image
29
+ encoding: US-ASCII
30
+ string: ! '{"status":"Pulling repository base"}{"status":"Pulling","progress":"image
28
31
  (ubuntu-quantl) from base","id":"b750fe79269d"}{"status":"Pulling","progress":"image
29
32
  (ubuntu-quantl) from base, endpoint: https://cdn-registry-1.docker.io/v1/","id":"b750fe79269d"}{"status":"Pulling","progress":"dependend
30
33
  layers","id":"b750fe79269d"}{"status":"Download","progress":"complete","id":"b750fe79269d"}{"status":"Download","progress":"complete","id":"27cf78414709"}{"status":"Download","progress":"complete","id":"b750fe79269d"}'
31
34
  http_version:
32
- recorded_at: Thu, 29 Aug 2013 21:12:55 GMT
35
+ recorded_at: Mon, 07 Oct 2013 14:33:55 GMT
33
36
  - request:
34
37
  method: post
35
- uri: http://localhost:4243/v1.4/containers/create
38
+ uri: http://unix/v1.4/containers/create
36
39
  body:
37
40
  encoding: UTF-8
38
- string: '{"Image":"base","Cmd":["ls"]}'
41
+ string: ! '{"Image":"base","Cmd":["touch","/test"]}'
39
42
  headers:
40
43
  User-Agent:
41
- - Swipely/Docker-API 1.5.0
44
+ - Swipely/Docker-API 1.5.4
42
45
  Content-Type:
43
46
  - application/json
44
47
  response:
@@ -46,26 +49,29 @@ http_interactions:
46
49
  code: 201
47
50
  message: ''
48
51
  headers:
49
- Content-Type:
50
- - text/plain; charset=utf-8
51
- Content-Length:
52
- - '21'
53
- Date:
54
- - Thu, 29 Aug 2013 21:12:53 GMT
52
+ !binary "Q29udGVudC1UeXBl":
53
+ - !binary |-
54
+ YXBwbGljYXRpb24vanNvbg==
55
+ !binary "Q29udGVudC1MZW5ndGg=":
56
+ - !binary |-
57
+ MjE=
58
+ !binary "RGF0ZQ==":
59
+ - !binary |-
60
+ TW9uLCAwNyBPY3QgMjAxMyAxNDozMzo1NSBHTVQ=
55
61
  body:
56
- encoding: UTF-8
57
- string: '{"Id":"05de0e91d12a"}'
62
+ encoding: US-ASCII
63
+ string: ! '{"Id":"d84b7d495c7c"}'
58
64
  http_version:
59
- recorded_at: Thu, 29 Aug 2013 21:12:55 GMT
65
+ recorded_at: Mon, 07 Oct 2013 14:33:55 GMT
60
66
  - request:
61
67
  method: post
62
- uri: http://localhost:4243/v1.4/containers/05de0e91d12a/start
68
+ uri: http://unix/v1.4/containers/d84b7d495c7c/start
63
69
  body:
64
70
  encoding: UTF-8
65
- string: '{}'
71
+ string: ! '{}'
66
72
  headers:
67
73
  User-Agent:
68
- - Swipely/Docker-API 1.5.0
74
+ - Swipely/Docker-API 1.5.4
69
75
  Content-Type:
70
76
  - application/json
71
77
  response:
@@ -73,46 +79,115 @@ http_interactions:
73
79
  code: 204
74
80
  message: ''
75
81
  headers:
76
- Content-Type:
77
- - text/plain; charset=utf-8
78
- Content-Length:
79
- - '0'
80
- Date:
81
- - Thu, 29 Aug 2013 21:12:53 GMT
82
+ !binary "Q29udGVudC1UeXBl":
83
+ - !binary |-
84
+ dGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOA==
85
+ !binary "Q29udGVudC1MZW5ndGg=":
86
+ - !binary |-
87
+ MA==
88
+ !binary "RGF0ZQ==":
89
+ - !binary |-
90
+ TW9uLCAwNyBPY3QgMjAxMyAxNDozMzo1NSBHTVQ=
82
91
  body:
83
- encoding: UTF-8
92
+ encoding: US-ASCII
84
93
  string: ''
85
94
  http_version:
86
- recorded_at: Thu, 29 Aug 2013 21:12:55 GMT
95
+ recorded_at: Mon, 07 Oct 2013 14:33:55 GMT
87
96
  - request:
88
97
  method: post
89
- uri: http://localhost:4243/v1.4/containers/05de0e91d12a/copy
98
+ uri: http://unix/v1.4/containers/d84b7d495c7c/start
90
99
  body:
91
100
  encoding: UTF-8
92
- string: '{"Resource":"/etc/vim"}'
101
+ string: ! '{}'
93
102
  headers:
94
103
  User-Agent:
95
- - Swipely/Docker-API 1.5.0
104
+ - Swipely/Docker-API 1.5.4
96
105
  Content-Type:
97
106
  - application/json
98
107
  response:
99
108
  status:
100
- code: 200
109
+ code: 500
101
110
  message: ''
102
111
  headers:
112
+ !binary "Q29udGVudC1UeXBl":
113
+ - !binary |-
114
+ dGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOA==
115
+ !binary "Q29udGVudC1MZW5ndGg=":
116
+ - !binary |-
117
+ MTM4
118
+ !binary "RGF0ZQ==":
119
+ - !binary |-
120
+ TW9uLCAwNyBPY3QgMjAxMyAxNDozMzo1NSBHTVQ=
121
+ body:
122
+ encoding: US-ASCII
123
+ string: ! 'Error starting container d84b7d495c7c: The container d84b7d495c7c63aff8bf1eaac366c37d8aaededdf58166f8d014ca534f15fe3d
124
+ is already running.
125
+
126
+ '
127
+ http_version:
128
+ recorded_at: Mon, 07 Oct 2013 14:33:55 GMT
129
+ - request:
130
+ method: post
131
+ uri: http://unix/v1.4/containers/d84b7d495c7c/wait
132
+ body:
133
+ encoding: US-ASCII
134
+ string: ''
135
+ headers:
136
+ User-Agent:
137
+ - Swipely/Docker-API 1.5.4
103
138
  Content-Type:
104
- - application/octet-stream
105
- Date:
106
- - Thu, 29 Aug 2013 21:12:53 GMT
107
- Transfer-Encoding:
108
- - chunked
139
+ - text/plain
140
+ response:
141
+ status:
142
+ code: 200
143
+ message: ''
144
+ headers:
145
+ !binary "Q29udGVudC1UeXBl":
146
+ - !binary |-
147
+ YXBwbGljYXRpb24vanNvbg==
148
+ !binary "Q29udGVudC1MZW5ndGg=":
149
+ - !binary |-
150
+ MTY=
151
+ !binary "RGF0ZQ==":
152
+ - !binary |-
153
+ TW9uLCAwNyBPY3QgMjAxMyAxNDozMzo1NSBHTVQ=
154
+ body:
155
+ encoding: US-ASCII
156
+ string: ! '{"StatusCode":0}'
157
+ http_version:
158
+ recorded_at: Mon, 07 Oct 2013 14:33:55 GMT
159
+ - request:
160
+ method: post
161
+ uri: http://unix/v1.4/containers/d84b7d495c7c/copy
109
162
  body:
110
163
  encoding: UTF-8
164
+ string: ! '{"Resource":"/etc/vim"}'
165
+ headers:
166
+ User-Agent:
167
+ - Swipely/Docker-API 1.5.4
168
+ Content-Type:
169
+ - application/json
170
+ response:
171
+ status:
172
+ code: 200
173
+ message: ''
174
+ headers:
175
+ !binary "Q29udGVudC1UeXBl":
176
+ - !binary |-
177
+ YXBwbGljYXRpb24vb2N0ZXQtc3RyZWFt
178
+ !binary "RGF0ZQ==":
179
+ - !binary |-
180
+ TW9uLCAwNyBPY3QgMjAxMyAxNDozMzo1NSBHTVQ=
181
+ !binary "VHJhbnNmZXItRW5jb2Rpbmc=":
182
+ - !binary |-
183
+ Y2h1bmtlZA==
184
+ body:
185
+ encoding: US-ASCII
111
186
  string: !binary |-
112
187
  dmltLwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
113
188
  AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
114
189
  AAAAAAAAAAAAADAwMDA3NTUAMDAwMDAwMAAwMDAwMDAwADAwMDAwMDAwMDAw
115
- ADEyMTc0NTE3NjYyADAwNjU1MgAgNQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
190
+ ADEyMjEwMjEyMzc1ADAwNjUzMgAgNQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
116
191
  AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
117
192
  AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAB1c3RhciAgAAAAAAAA
118
193
  AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
@@ -120,10 +195,10 @@ http_interactions:
120
195
  AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
121
196
  AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
122
197
  AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
123
- AAAAAAAAAAAAAAAAAAAAAAB2aW0vdmltcmMudGlueQAAAAAAAAAAA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iBFbmFibGUgbW91c2UgdXNhZ2Ug
215
- KGFsbCBtb2RlcykKCiIgU291cmNlIGEgZ2xvYmFsIGNvbmZpZ3VyYXRpb24g
216
- ZmlsZSBpZiBhdmFpbGFibGUKaWYgZmlsZXJlYWRhYmxlKCIvZXRjL3ZpbS92
217
- aW1yYy5sb2NhbCIpCiAgc291cmNlIC9ldGMvdmltL3ZpbXJjLmxvY2FsCmVu
218
- ZGlmCgoAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
219
294
  AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
220
295
  AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
221
296
  AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
@@ -338,5 +413,5 @@ http_interactions:
338
413
  AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
339
414
  AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==
340
415
  http_version:
341
- recorded_at: Thu, 29 Aug 2013 21:12:55 GMT
342
- recorded_with: VCR 2.5.0
416
+ recorded_at: Mon, 07 Oct 2013 14:33:55 GMT
417
+ recorded_with: VCR 2.6.0
@@ -2,13 +2,13 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: http://localhost:4243/v1.4/images/create?fromImage=base
5
+ uri: http://unix/v1.4/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.5.0
11
+ - Swipely/Docker-API 1.5.4
12
12
  Content-Type:
13
13
  - text/plain
14
14
  response:
@@ -16,29 +16,32 @@ http_interactions:
16
16
  code: 200
17
17
  message: ''
18
18
  headers:
19
- Content-Type:
20
- - application/json
21
- Date:
22
- - Thu, 29 Aug 2013 21:13:02 GMT
23
- Transfer-Encoding:
24
- - chunked
19
+ !binary "Q29udGVudC1UeXBl":
20
+ - !binary |-
21
+ YXBwbGljYXRpb24vanNvbg==
22
+ !binary "RGF0ZQ==":
23
+ - !binary |-
24
+ TW9uLCAwNyBPY3QgMjAxMyAxNDozMjo1NyBHTVQ=
25
+ !binary "VHJhbnNmZXItRW5jb2Rpbmc=":
26
+ - !binary |-
27
+ Y2h1bmtlZA==
25
28
  body:
26
- encoding: UTF-8
27
- string: '{"status":"Pulling repository base"}{"status":"Pulling","progress":"image
29
+ encoding: US-ASCII
30
+ string: ! '{"status":"Pulling repository base"}{"status":"Pulling","progress":"image
28
31
  (ubuntu-quantl) from base","id":"b750fe79269d"}{"status":"Pulling","progress":"image
29
32
  (ubuntu-quantl) from base, endpoint: https://cdn-registry-1.docker.io/v1/","id":"b750fe79269d"}{"status":"Pulling","progress":"dependend
30
33
  layers","id":"b750fe79269d"}{"status":"Download","progress":"complete","id":"b750fe79269d"}{"status":"Download","progress":"complete","id":"27cf78414709"}{"status":"Download","progress":"complete","id":"b750fe79269d"}'
31
34
  http_version:
32
- recorded_at: Thu, 29 Aug 2013 21:13:06 GMT
35
+ recorded_at: Mon, 07 Oct 2013 14:32:58 GMT
33
36
  - request:
34
37
  method: post
35
- uri: http://localhost:4243/v1.4/containers/create
38
+ uri: http://unix/v1.4/containers/create
36
39
  body:
37
40
  encoding: UTF-8
38
- string: '{"Image":"base","Cmd":["ls"]}'
41
+ string: ! '{"Image":"base","Cmd":["touch","/test"]}'
39
42
  headers:
40
43
  User-Agent:
41
- - Swipely/Docker-API 1.5.0
44
+ - Swipely/Docker-API 1.5.4
42
45
  Content-Type:
43
46
  - application/json
44
47
  response:
@@ -46,26 +49,29 @@ http_interactions:
46
49
  code: 201
47
50
  message: ''
48
51
  headers:
49
- Content-Type:
50
- - text/plain; charset=utf-8
51
- Content-Length:
52
- - '21'
53
- Date:
54
- - Thu, 29 Aug 2013 21:13:04 GMT
52
+ !binary "Q29udGVudC1UeXBl":
53
+ - !binary |-
54
+ YXBwbGljYXRpb24vanNvbg==
55
+ !binary "Q29udGVudC1MZW5ndGg=":
56
+ - !binary |-
57
+ MjE=
58
+ !binary "RGF0ZQ==":
59
+ - !binary |-
60
+ TW9uLCAwNyBPY3QgMjAxMyAxNDozMjo1OCBHTVQ=
55
61
  body:
56
- encoding: UTF-8
57
- string: '{"Id":"cc655deecbea"}'
62
+ encoding: US-ASCII
63
+ string: ! '{"Id":"315c7ceb04ab"}'
58
64
  http_version:
59
- recorded_at: Thu, 29 Aug 2013 21:13:06 GMT
65
+ recorded_at: Mon, 07 Oct 2013 14:32:58 GMT
60
66
  - request:
61
67
  method: post
62
- uri: http://localhost:4243/v1.4/containers/cc655deecbea/start
68
+ uri: http://unix/v1.4/containers/315c7ceb04ab/start
63
69
  body:
64
70
  encoding: UTF-8
65
- string: '{}'
71
+ string: ! '{}'
66
72
  headers:
67
73
  User-Agent:
68
- - Swipely/Docker-API 1.5.0
74
+ - Swipely/Docker-API 1.5.4
69
75
  Content-Type:
70
76
  - application/json
71
77
  response:
@@ -73,46 +79,115 @@ http_interactions:
73
79
  code: 204
74
80
  message: ''
75
81
  headers:
76
- Content-Type:
77
- - text/plain; charset=utf-8
78
- Content-Length:
79
- - '0'
80
- Date:
81
- - Thu, 29 Aug 2013 21:13:04 GMT
82
+ !binary "Q29udGVudC1UeXBl":
83
+ - !binary |-
84
+ dGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOA==
85
+ !binary "Q29udGVudC1MZW5ndGg=":
86
+ - !binary |-
87
+ MA==
88
+ !binary "RGF0ZQ==":
89
+ - !binary |-
90
+ TW9uLCAwNyBPY3QgMjAxMyAxNDozMjo1OCBHTVQ=
82
91
  body:
83
- encoding: UTF-8
92
+ encoding: US-ASCII
84
93
  string: ''
85
94
  http_version:
86
- recorded_at: Thu, 29 Aug 2013 21:13:06 GMT
95
+ recorded_at: Mon, 07 Oct 2013 14:32:58 GMT
87
96
  - request:
88
97
  method: post
89
- uri: http://localhost:4243/v1.4/containers/cc655deecbea/copy
98
+ uri: http://unix/v1.4/containers/315c7ceb04ab/start
90
99
  body:
91
100
  encoding: UTF-8
92
- string: '{"Resource":"/etc/hosts"}'
101
+ string: ! '{}'
93
102
  headers:
94
103
  User-Agent:
95
- - Swipely/Docker-API 1.5.0
104
+ - Swipely/Docker-API 1.5.4
96
105
  Content-Type:
97
106
  - application/json
98
107
  response:
99
108
  status:
100
- code: 200
109
+ code: 500
101
110
  message: ''
102
111
  headers:
112
+ !binary "Q29udGVudC1UeXBl":
113
+ - !binary |-
114
+ dGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOA==
115
+ !binary "Q29udGVudC1MZW5ndGg=":
116
+ - !binary |-
117
+ MTM4
118
+ !binary "RGF0ZQ==":
119
+ - !binary |-
120
+ TW9uLCAwNyBPY3QgMjAxMyAxNDozMjo1OCBHTVQ=
121
+ body:
122
+ encoding: US-ASCII
123
+ string: ! 'Error starting container 315c7ceb04ab: The container 315c7ceb04ab8d5c397ce58a298e5a6d07b6f9015e8cebb747edae9ace25c729
124
+ is already running.
125
+
126
+ '
127
+ http_version:
128
+ recorded_at: Mon, 07 Oct 2013 14:32:58 GMT
129
+ - request:
130
+ method: post
131
+ uri: http://unix/v1.4/containers/315c7ceb04ab/wait
132
+ body:
133
+ encoding: US-ASCII
134
+ string: ''
135
+ headers:
136
+ User-Agent:
137
+ - Swipely/Docker-API 1.5.4
103
138
  Content-Type:
104
- - application/octet-stream
105
- Date:
106
- - Thu, 29 Aug 2013 21:13:04 GMT
107
- Transfer-Encoding:
108
- - chunked
139
+ - text/plain
140
+ response:
141
+ status:
142
+ code: 200
143
+ message: ''
144
+ headers:
145
+ !binary "Q29udGVudC1UeXBl":
146
+ - !binary |-
147
+ YXBwbGljYXRpb24vanNvbg==
148
+ !binary "Q29udGVudC1MZW5ndGg=":
149
+ - !binary |-
150
+ MTY=
151
+ !binary "RGF0ZQ==":
152
+ - !binary |-
153
+ TW9uLCAwNyBPY3QgMjAxMyAxNDozMjo1OCBHTVQ=
154
+ body:
155
+ encoding: US-ASCII
156
+ string: ! '{"StatusCode":0}'
157
+ http_version:
158
+ recorded_at: Mon, 07 Oct 2013 14:32:58 GMT
159
+ - request:
160
+ method: post
161
+ uri: http://unix/v1.4/containers/315c7ceb04ab/copy
109
162
  body:
110
163
  encoding: UTF-8
164
+ string: ! '{"Resource":"/test"}'
165
+ headers:
166
+ User-Agent:
167
+ - Swipely/Docker-API 1.5.4
168
+ Content-Type:
169
+ - application/json
170
+ response:
171
+ status:
172
+ code: 200
173
+ message: ''
174
+ headers:
175
+ !binary "Q29udGVudC1UeXBl":
176
+ - !binary |-
177
+ YXBwbGljYXRpb24vb2N0ZXQtc3RyZWFt
178
+ !binary "RGF0ZQ==":
179
+ - !binary |-
180
+ TW9uLCAwNyBPY3QgMjAxMyAxNDozMjo1OCBHTVQ=
181
+ !binary "VHJhbnNmZXItRW5jb2Rpbmc=":
182
+ - !binary |-
183
+ Y2h1bmtlZA==
184
+ body:
185
+ encoding: US-ASCII
111
186
  string: !binary |-
112
- aG9zdHMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
187
+ dGVzdAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
113
188
  AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
114
- AAAAAAAAAAAAADAwMDA2NDQAMDAwMDAwMAAwMDAwMDAwADAwMDAwMDAwMjM0
115
- ADEyMTAwNDA1NjM2ADAwNzAyMwAgMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
189
+ AAAAAAAAAAAAADAwMDA2NDQAMDAwMDAwMAAwMDAwMDAwADAwMDAwMDAwMDAw
190
+ ADEyMjI0NTQzMDMyADAwNjYzMQAgMAAAAAAAAAAAAAAAAAAAAA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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
129
204
  AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
@@ -338,5 +413,5 @@ http_interactions:
338
413
  AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
339
414
  AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==
340
415
  http_version:
341
- recorded_at: Thu, 29 Aug 2013 21:13:06 GMT
342
- recorded_with: VCR 2.5.0
416
+ recorded_at: Mon, 07 Oct 2013 14:32:58 GMT
417
+ recorded_with: VCR 2.6.0