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.
- checksums.yaml +4 -4
- data/lib/docker/container.rb +15 -0
- data/lib/docker/image.rb +0 -10
- data/lib/docker/version.rb +2 -2
- data/spec/docker/container_spec.rb +26 -1
- data/spec/docker/image_spec.rb +0 -11
- data/spec/vcr/Docker/_authenticate_/with_valid_credentials/logs_in_and_sets_the_creds.yml +4 -4
- data/spec/vcr/Docker/_info/returns_the_info_as_a_Hash.yml +6 -6
- data/spec/vcr/Docker/_validate_version/when_nothing_is_raised/validate_version_/.yml +6 -6
- data/spec/vcr/Docker/_version/returns_the_version_as_a_Hash.yml +4 -4
- data/spec/vcr/Docker_Container/_all/when_the_HTTP_response_is_a_200/materializes_each_Container_into_a_Docker_Container.yml +127 -75
- data/spec/vcr/Docker_Container/_attach/with_normal_sized_chunks/yields_each_chunk.yml +12 -16
- data/spec/vcr/Docker_Container/_attach/with_very_small_chunks/yields_each_chunk.yml +12 -16
- data/spec/vcr/Docker_Container/_changes/returns_the_changes_as_an_array.yml +17 -21
- data/spec/vcr/Docker_Container/_commit/creates_a_new_Image_from_the_Container_s_changes.yml +14 -18
- data/spec/vcr/Docker_Container/_commit/if_run_is_passed_it_saves_the_command_in_the_image/saves_the_command.yml +9 -13
- data/spec/vcr/Docker_Container/_copy/when_the_input_is_a_directory/yields_each_chunk_of_the_tarred_directory.yml +39 -43
- data/spec/vcr/Docker_Container/_copy/when_the_input_is_a_file/yields_each_chunk_of_the_tarred_file.yml +22 -26
- data/spec/vcr/Docker_Container/_create/when_creating_a_container_named_bob/should_have_name_set_to_bob.yml +12 -11
- 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
- data/spec/vcr/Docker_Container/_delete/deletes_the_container.yml +15 -19
- data/spec/vcr/Docker_Container/_export/yields_each_chunk.yml +15 -453687
- data/spec/vcr/Docker_Container/_get/when_the_HTTP_response_is_a_200/materializes_the_Container_into_a_Docker_Container.yml +12 -11
- data/spec/vcr/Docker_Container/_json/returns_the_description_as_a_Hash.yml +12 -11
- data/spec/vcr/Docker_Container/_kill/kills_the_container.yml +64 -42
- data/spec/vcr/Docker_Container/_logs/when_not_selecting_any_stream/returns_the_error_message.yml +11 -11
- data/spec/vcr/Docker_Container/_logs/when_selecting_stdout/returns_blank_logs.yml +9 -9
- data/spec/vcr/Docker_Container/_pause/pauses_the_container.yml +121 -0
- data/spec/vcr/Docker_Container/_restart/restarts_the_container.yml +37 -49
- data/spec/vcr/Docker_Container/_run/when_the_Container_s_command_does_not_return_status_code_of_0/raises_an_error.yml +13 -17
- 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
- data/spec/vcr/Docker_Container/_start/starts_the_container.yml +20 -24
- data/spec/vcr/Docker_Container/_stop/stops_the_container.yml +67 -49
- data/spec/vcr/Docker_Container/_top/returns_the_top_commands_as_an_Array.yml +23 -26
- data/spec/vcr/Docker_Container/_unpause/unpauses_the_container.yml +150 -0
- data/spec/vcr/Docker_Container/_wait/waits_for_the_command_to_finish.yml +13 -17
- data/spec/vcr/Docker_Container/_wait/when_an_argument_is_given/and_a_command_runs_for_too_long/raises_a_ServerError.yml +9 -13
- data/spec/vcr/Docker_Container/_wait/when_an_argument_is_given/sets_the_read_timeout_to_that_amount_of_time.yml +13 -17
- data/spec/vcr/Docker_Image/_all/materializes_each_Image_into_a_Docker_Image.yml +10 -11
- 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
- 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
- data/spec/vcr/Docker_Image/_build/with_a_valid_Dockerfile/without_query_parameters/builds_an_image.yml +4 -4
- data/spec/vcr/Docker_Image/_build/with_an_invalid_Dockerfile/throws_a_UnexpectedResponseError.yml +4 -4
- 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
- data/spec/vcr/Docker_Image/_build_from_dir/with_a_valid_Dockerfile/with_credentials_passed/sends_Docker_creds.yml +6 -6
- data/spec/vcr/Docker_Image/_build_from_dir/with_a_valid_Dockerfile/with_no_query_parameters/builds_the_image.yml +21 -24
- 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
- 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
- data/spec/vcr/Docker_Image/_get/when_the_image_does_exist/returns_the_new_image.yml +7 -6
- data/spec/vcr/Docker_Image/_history/returns_the_history_of_the_Image.yml +10 -10
- data/spec/vcr/Docker_Image/_import/when_the_argument_is_a_URI/when_the_URI_is_invalid/raises_an_error.yml +18 -24
- data/spec/vcr/Docker_Image/_import/when_the_argument_is_a_URI/when_the_URI_is_valid/returns_an_Image.yml +9 -9
- data/spec/vcr/Docker_Image/_import/when_the_file_does_exist/creates_the_Image.yml +5 -5
- data/spec/vcr/Docker_Image/_insert_local/when_a_direcory_is_passed/inserts_the_directory.yml +23 -27
- data/spec/vcr/Docker_Image/_insert_local/when_removing_intermediate_containers/creates_a_new_image.yml +20 -20
- data/spec/vcr/Docker_Image/_insert_local/when_removing_intermediate_containers/leave_no_intermediate_containers.yml +18 -18
- data/spec/vcr/Docker_Image/_insert_local/when_the_local_file_does_exist/creates_a_new_Image_that_has_that_file.yml +23 -27
- data/spec/vcr/Docker_Image/_insert_local/when_the_local_file_does_not_exist/raises_an_error.yml +4 -4
- data/spec/vcr/Docker_Image/_insert_local/when_there_are_multiple_files_passed/creates_a_new_Image_that_has_each_file.yml +25 -28
- data/spec/vcr/Docker_Image/_json/returns_additional_information_about_image_image.yml +13 -12
- data/spec/vcr/Docker_Image/_push/pushes_the_Image.yml +32 -71
- data/spec/vcr/Docker_Image/_push/when_there_are_no_credentials/still_pushes.yml +28 -28
- data/spec/vcr/Docker_Image/_refresh_/updates_the_info_hash.yml +35 -34
- data/spec/vcr/Docker_Image/_remove/removes_the_Image.yml +50 -21
- 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
- data/spec/vcr/Docker_Image/_run/when_the_argument_is_an_Array/creates_a_new_Container.yml +16 -20
- 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
- data/spec/vcr/Docker_Image/_search/materializes_each_Image_into_a_Docker_Image.yml +66 -34
- data/spec/vcr/Docker_Image/_tag/tags_the_image_with_the_repo_name.yml +8 -8
- metadata +8 -5
- 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: get
|
5
|
-
uri: unix:///var/run/docker.sock/v1.
|
5
|
+
uri: unix:///var/run/docker.sock/v1.12/images/json
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- Swipely/Docker-API 1.11.
|
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
|
-
-
|
22
|
+
- Thu, 26 Jun 2014 20:08:16 GMT
|
23
23
|
Content-Length:
|
24
24
|
- '251'
|
25
25
|
Connection:
|
@@ -30,10 +30,10 @@ http_interactions:
|
|
30
30
|
[{"Created":1364102658,"Id":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","ParentId":"27cf784147099545","RepoTags":["base:latest","base:ubuntu-12.10","base:ubuntu-quantal","base:ubuntu-quantl"],"Size":77,"VirtualSize":175307035}
|
31
31
|
]
|
32
32
|
http_version:
|
33
|
-
recorded_at:
|
33
|
+
recorded_at: Thu, 26 Jun 2014 20:08:16 GMT
|
34
34
|
- request:
|
35
35
|
method: post
|
36
|
-
uri: unix:///var/run/docker.sock/v1.
|
36
|
+
uri: unix:///var/run/docker.sock/v1.12/build
|
37
37
|
body:
|
38
38
|
encoding: UTF-8
|
39
39
|
string: !binary |-
|
@@ -85,7 +85,7 @@ http_interactions:
|
|
85
85
|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=
|
86
86
|
headers:
|
87
87
|
User-Agent:
|
88
|
-
- Swipely/Docker-API 1.11.
|
88
|
+
- Swipely/Docker-API 1.11.2
|
89
89
|
Content-Type:
|
90
90
|
- application/json
|
91
91
|
response:
|
@@ -96,7 +96,7 @@ http_interactions:
|
|
96
96
|
Content-Type:
|
97
97
|
- application/json
|
98
98
|
Date:
|
99
|
-
-
|
99
|
+
- Thu, 26 Jun 2014 20:08:16 GMT
|
100
100
|
Connection:
|
101
101
|
- close
|
102
102
|
Transfer-Encoding:
|
@@ -106,10 +106,10 @@ http_interactions:
|
|
106
106
|
string: "{\"stream\":\"Step 0 : from base\\n\"}\r\n{\"stream\":\" ---\\u003e
|
107
107
|
b750fe79269d\\n\"}\r\n{\"stream\":\"Successfully built b750fe79269d\\n\"}\r\n"
|
108
108
|
http_version:
|
109
|
-
recorded_at:
|
109
|
+
recorded_at: Thu, 26 Jun 2014 20:08:16 GMT
|
110
110
|
- request:
|
111
111
|
method: post
|
112
|
-
uri: unix:///var/run/docker.sock/v1.
|
112
|
+
uri: unix:///var/run/docker.sock/v1.12/build?rm=true
|
113
113
|
body:
|
114
114
|
encoding: UTF-8
|
115
115
|
string: !binary |-
|
@@ -184,7 +184,7 @@ http_interactions:
|
|
184
184
|
AAAAAAAAAAAAAAAA
|
185
185
|
headers:
|
186
186
|
User-Agent:
|
187
|
-
- Swipely/Docker-API 1.11.
|
187
|
+
- Swipely/Docker-API 1.11.2
|
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
|
-
-
|
198
|
+
- Thu, 26 Jun 2014 20:08:16 GMT
|
199
199
|
Connection:
|
200
200
|
- close
|
201
201
|
Transfer-Encoding:
|
@@ -204,19 +204,19 @@ http_interactions:
|
|
204
204
|
encoding: UTF-8
|
205
205
|
string: "{\"stream\":\"Step 0 : from b750fe79269d\\n\"}\r\n{\"stream\":\" ---\\u003e
|
206
206
|
b750fe79269d\\n\"}\r\n{\"stream\":\"Step 1 : add Gemfile /\\n\"}\r\n{\"stream\":\"
|
207
|
-
---\\u003e
|
208
|
-
|
207
|
+
---\\u003e 6ed87cdb001d\\n\"}\r\n{\"stream\":\"Removing intermediate container
|
208
|
+
c49761e484c3\\n\"}\r\n{\"stream\":\"Successfully built 6ed87cdb001d\\n\"}\r\n"
|
209
209
|
http_version:
|
210
|
-
recorded_at:
|
210
|
+
recorded_at: Thu, 26 Jun 2014 20:08:19 GMT
|
211
211
|
- request:
|
212
212
|
method: get
|
213
|
-
uri: unix:///var/run/docker.sock/v1.
|
213
|
+
uri: unix:///var/run/docker.sock/v1.12/images/json
|
214
214
|
body:
|
215
215
|
encoding: US-ASCII
|
216
216
|
string: ''
|
217
217
|
headers:
|
218
218
|
User-Agent:
|
219
|
-
- Swipely/Docker-API 1.11.
|
219
|
+
- Swipely/Docker-API 1.11.2
|
220
220
|
Content-Type:
|
221
221
|
- text/plain
|
222
222
|
response:
|
@@ -227,7 +227,7 @@ http_interactions:
|
|
227
227
|
Content-Type:
|
228
228
|
- application/json
|
229
229
|
Date:
|
230
|
-
-
|
230
|
+
- Thu, 26 Jun 2014 20:08:19 GMT
|
231
231
|
Content-Length:
|
232
232
|
- '508'
|
233
233
|
Connection:
|
@@ -235,9 +235,9 @@ http_interactions:
|
|
235
235
|
body:
|
236
236
|
encoding: UTF-8
|
237
237
|
string: |-
|
238
|
-
[{"Created":
|
239
|
-
,{"Created":1364102658,"Id":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","ParentId":"27cf784147099545","RepoTags":["base:
|
238
|
+
[{"Created":1403813297,"Id":"6ed87cdb001d21ca678a37123e814334e2e447d63d2cb6a21d8877c583995975","ParentId":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":38,"VirtualSize":175307073}
|
239
|
+
,{"Created":1364102658,"Id":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","ParentId":"27cf784147099545","RepoTags":["base:ubuntu-12.10","base:ubuntu-quantal","base:ubuntu-quantl","base:latest"],"Size":77,"VirtualSize":175307035}
|
240
240
|
]
|
241
241
|
http_version:
|
242
|
-
recorded_at:
|
242
|
+
recorded_at: Thu, 26 Jun 2014 20:08:19 GMT
|
243
243
|
recorded_with: VCR 2.9.2
|
@@ -2,13 +2,13 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: unix:///var/run/docker.sock/v1.
|
5
|
+
uri: unix:///var/run/docker.sock/v1.12/containers/json?all=true
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- Swipely/Docker-API 1.11.
|
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
|
-
-
|
22
|
+
- Thu, 26 Jun 2014 21:07:27 GMT
|
23
23
|
Content-Length:
|
24
24
|
- '2'
|
25
25
|
Connection:
|
@@ -28,10 +28,10 @@ http_interactions:
|
|
28
28
|
encoding: UTF-8
|
29
29
|
string: '[]'
|
30
30
|
http_version:
|
31
|
-
recorded_at:
|
31
|
+
recorded_at: Thu, 26 Jun 2014 21:07:27 GMT
|
32
32
|
- request:
|
33
33
|
method: post
|
34
|
-
uri: unix:///var/run/docker.sock/v1.
|
34
|
+
uri: unix:///var/run/docker.sock/v1.12/build
|
35
35
|
body:
|
36
36
|
encoding: UTF-8
|
37
37
|
string: !binary |-
|
@@ -83,7 +83,7 @@ http_interactions:
|
|
83
83
|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=
|
84
84
|
headers:
|
85
85
|
User-Agent:
|
86
|
-
- Swipely/Docker-API 1.11.
|
86
|
+
- Swipely/Docker-API 1.11.2
|
87
87
|
Content-Type:
|
88
88
|
- application/json
|
89
89
|
response:
|
@@ -94,7 +94,7 @@ http_interactions:
|
|
94
94
|
Content-Type:
|
95
95
|
- application/json
|
96
96
|
Date:
|
97
|
-
-
|
97
|
+
- Thu, 26 Jun 2014 21:07:27 GMT
|
98
98
|
Connection:
|
99
99
|
- close
|
100
100
|
Transfer-Encoding:
|
@@ -104,10 +104,10 @@ http_interactions:
|
|
104
104
|
string: "{\"stream\":\"Step 0 : from base\\n\"}\r\n{\"stream\":\" ---\\u003e
|
105
105
|
b750fe79269d\\n\"}\r\n{\"stream\":\"Successfully built b750fe79269d\\n\"}\r\n"
|
106
106
|
http_version:
|
107
|
-
recorded_at:
|
107
|
+
recorded_at: Thu, 26 Jun 2014 21:07:27 GMT
|
108
108
|
- request:
|
109
109
|
method: post
|
110
|
-
uri: unix:///var/run/docker.sock/v1.
|
110
|
+
uri: unix:///var/run/docker.sock/v1.12/build?rm=true
|
111
111
|
body:
|
112
112
|
encoding: UTF-8
|
113
113
|
string: !binary |-
|
@@ -182,7 +182,7 @@ http_interactions:
|
|
182
182
|
AAAAAAAAAAAAAAAA
|
183
183
|
headers:
|
184
184
|
User-Agent:
|
185
|
-
- Swipely/Docker-API 1.11.
|
185
|
+
- Swipely/Docker-API 1.11.2
|
186
186
|
Content-Type:
|
187
187
|
- application/json
|
188
188
|
response:
|
@@ -193,7 +193,7 @@ http_interactions:
|
|
193
193
|
Content-Type:
|
194
194
|
- application/json
|
195
195
|
Date:
|
196
|
-
-
|
196
|
+
- Thu, 26 Jun 2014 21:07:27 GMT
|
197
197
|
Connection:
|
198
198
|
- close
|
199
199
|
Transfer-Encoding:
|
@@ -202,19 +202,19 @@ http_interactions:
|
|
202
202
|
encoding: UTF-8
|
203
203
|
string: "{\"stream\":\"Step 0 : from b750fe79269d\\n\"}\r\n{\"stream\":\" ---\\u003e
|
204
204
|
b750fe79269d\\n\"}\r\n{\"stream\":\"Step 1 : add Gemfile /\\n\"}\r\n{\"stream\":\"
|
205
|
-
---\\u003e
|
206
|
-
built
|
205
|
+
---\\u003e 24a327c5c3e7\\n\"}\r\n{\"stream\":\"Removing intermediate container
|
206
|
+
b4d4a08ebc67\\n\"}\r\n{\"stream\":\"Successfully built 24a327c5c3e7\\n\"}\r\n"
|
207
207
|
http_version:
|
208
|
-
recorded_at:
|
208
|
+
recorded_at: Thu, 26 Jun 2014 21:07:31 GMT
|
209
209
|
- request:
|
210
210
|
method: get
|
211
|
-
uri: unix:///var/run/docker.sock/v1.
|
211
|
+
uri: unix:///var/run/docker.sock/v1.12/containers/json?all=true
|
212
212
|
body:
|
213
213
|
encoding: US-ASCII
|
214
214
|
string: ''
|
215
215
|
headers:
|
216
216
|
User-Agent:
|
217
|
-
- Swipely/Docker-API 1.11.
|
217
|
+
- Swipely/Docker-API 1.11.2
|
218
218
|
Content-Type:
|
219
219
|
- text/plain
|
220
220
|
response:
|
@@ -225,7 +225,7 @@ http_interactions:
|
|
225
225
|
Content-Type:
|
226
226
|
- application/json
|
227
227
|
Date:
|
228
|
-
-
|
228
|
+
- Thu, 26 Jun 2014 21:07:31 GMT
|
229
229
|
Content-Length:
|
230
230
|
- '2'
|
231
231
|
Connection:
|
@@ -234,5 +234,5 @@ http_interactions:
|
|
234
234
|
encoding: UTF-8
|
235
235
|
string: '[]'
|
236
236
|
http_version:
|
237
|
-
recorded_at:
|
237
|
+
recorded_at: Thu, 26 Jun 2014 21:07:31 GMT
|
238
238
|
recorded_with: VCR 2.9.2
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: post
|
5
|
-
uri: unix:///var/run/docker.sock/v1.
|
5
|
+
uri: unix:///var/run/docker.sock/v1.12/build
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
8
|
string: !binary |-
|
@@ -54,7 +54,7 @@ http_interactions:
|
|
54
54
|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=
|
55
55
|
headers:
|
56
56
|
User-Agent:
|
57
|
-
- Swipely/Docker-API 1.11.
|
57
|
+
- Swipely/Docker-API 1.11.2
|
58
58
|
Content-Type:
|
59
59
|
- application/json
|
60
60
|
response:
|
@@ -65,7 +65,7 @@ http_interactions:
|
|
65
65
|
Content-Type:
|
66
66
|
- application/json
|
67
67
|
Date:
|
68
|
-
-
|
68
|
+
- Thu, 26 Jun 2014 19:56:10 GMT
|
69
69
|
Connection:
|
70
70
|
- close
|
71
71
|
Transfer-Encoding:
|
@@ -75,10 +75,10 @@ http_interactions:
|
|
75
75
|
string: "{\"stream\":\"Step 0 : from base\\n\"}\r\n{\"stream\":\" ---\\u003e
|
76
76
|
b750fe79269d\\n\"}\r\n{\"stream\":\"Successfully built b750fe79269d\\n\"}\r\n"
|
77
77
|
http_version:
|
78
|
-
recorded_at:
|
78
|
+
recorded_at: Thu, 26 Jun 2014 19:56:10 GMT
|
79
79
|
- request:
|
80
80
|
method: post
|
81
|
-
uri: unix:///var/run/docker.sock/v1.
|
81
|
+
uri: unix:///var/run/docker.sock/v1.12/build
|
82
82
|
body:
|
83
83
|
encoding: UTF-8
|
84
84
|
string: !binary |-
|
@@ -153,7 +153,7 @@ http_interactions:
|
|
153
153
|
AAAAAAAAAAAAAAAA
|
154
154
|
headers:
|
155
155
|
User-Agent:
|
156
|
-
- Swipely/Docker-API 1.11.
|
156
|
+
- Swipely/Docker-API 1.11.2
|
157
157
|
Content-Type:
|
158
158
|
- application/json
|
159
159
|
response:
|
@@ -164,7 +164,7 @@ http_interactions:
|
|
164
164
|
Content-Type:
|
165
165
|
- application/json
|
166
166
|
Date:
|
167
|
-
-
|
167
|
+
- Thu, 26 Jun 2014 19:56:10 GMT
|
168
168
|
Connection:
|
169
169
|
- close
|
170
170
|
Transfer-Encoding:
|
@@ -173,19 +173,19 @@ http_interactions:
|
|
173
173
|
encoding: UTF-8
|
174
174
|
string: "{\"stream\":\"Step 0 : from b750fe79269d\\n\"}\r\n{\"stream\":\" ---\\u003e
|
175
175
|
b750fe79269d\\n\"}\r\n{\"stream\":\"Step 1 : add Gemfile /\\n\"}\r\n{\"stream\":\"
|
176
|
-
---\\u003e
|
177
|
-
built
|
176
|
+
---\\u003e 628c73a117a7\\n\"}\r\n{\"stream\":\"Removing intermediate container
|
177
|
+
9fec430e60b6\\n\"}\r\n{\"stream\":\"Successfully built 628c73a117a7\\n\"}\r\n"
|
178
178
|
http_version:
|
179
|
-
recorded_at:
|
179
|
+
recorded_at: Thu, 26 Jun 2014 19:56:13 GMT
|
180
180
|
- request:
|
181
181
|
method: post
|
182
|
-
uri: unix:///var/run/docker.sock/v1.
|
182
|
+
uri: unix:///var/run/docker.sock/v1.12/containers/create
|
183
183
|
body:
|
184
184
|
encoding: UTF-8
|
185
|
-
string: '{"Image":"
|
185
|
+
string: '{"Image":"628c73a117a7","Cmd":["cat","/Gemfile"]}'
|
186
186
|
headers:
|
187
187
|
User-Agent:
|
188
|
-
- Swipely/Docker-API 1.11.
|
188
|
+
- Swipely/Docker-API 1.11.2
|
189
189
|
Content-Type:
|
190
190
|
- application/json
|
191
191
|
response:
|
@@ -196,7 +196,7 @@ http_interactions:
|
|
196
196
|
Content-Type:
|
197
197
|
- application/json
|
198
198
|
Date:
|
199
|
-
-
|
199
|
+
- Thu, 26 Jun 2014 19:56:13 GMT
|
200
200
|
Content-Length:
|
201
201
|
- '90'
|
202
202
|
Connection:
|
@@ -204,18 +204,18 @@ http_interactions:
|
|
204
204
|
body:
|
205
205
|
encoding: UTF-8
|
206
206
|
string: |
|
207
|
-
{"Id":"
|
207
|
+
{"Id":"2ad91eded28e81b32aca7b5cd076803826f4e82aac7c633223f6e25ad33b46ce","Warnings":null}
|
208
208
|
http_version:
|
209
|
-
recorded_at:
|
209
|
+
recorded_at: Thu, 26 Jun 2014 19:56:13 GMT
|
210
210
|
- request:
|
211
211
|
method: post
|
212
|
-
uri: unix:///var/run/docker.sock/v1.
|
212
|
+
uri: unix:///var/run/docker.sock/v1.12/containers/2ad91eded28e81b32aca7b5cd076803826f4e82aac7c633223f6e25ad33b46ce/start
|
213
213
|
body:
|
214
214
|
encoding: UTF-8
|
215
215
|
string: '{}'
|
216
216
|
headers:
|
217
217
|
User-Agent:
|
218
|
-
- Swipely/Docker-API 1.11.
|
218
|
+
- Swipely/Docker-API 1.11.2
|
219
219
|
Content-Type:
|
220
220
|
- application/json
|
221
221
|
response:
|
@@ -224,27 +224,23 @@ http_interactions:
|
|
224
224
|
message:
|
225
225
|
headers:
|
226
226
|
Date:
|
227
|
-
-
|
228
|
-
Content-Length:
|
229
|
-
- '0'
|
230
|
-
Content-Type:
|
231
|
-
- text/plain; charset=utf-8
|
227
|
+
- Thu, 26 Jun 2014 19:56:13 GMT
|
232
228
|
Connection:
|
233
229
|
- close
|
234
230
|
body:
|
235
231
|
encoding: UTF-8
|
236
232
|
string: ''
|
237
233
|
http_version:
|
238
|
-
recorded_at:
|
234
|
+
recorded_at: Thu, 26 Jun 2014 19:56:13 GMT
|
239
235
|
- request:
|
240
236
|
method: post
|
241
|
-
uri: unix:///var/run/docker.sock/v1.
|
237
|
+
uri: unix:///var/run/docker.sock/v1.12/containers/2ad91eded28e81b32aca7b5cd076803826f4e82aac7c633223f6e25ad33b46ce/attach?stderr=true&stdout=true&stream=true
|
242
238
|
body:
|
243
239
|
encoding: US-ASCII
|
244
240
|
string: ''
|
245
241
|
headers:
|
246
242
|
User-Agent:
|
247
|
-
- Swipely/Docker-API 1.11.
|
243
|
+
- Swipely/Docker-API 1.11.2
|
248
244
|
Content-Type:
|
249
245
|
- text/plain
|
250
246
|
response:
|
@@ -260,5 +256,5 @@ http_interactions:
|
|
260
256
|
AQAAAAAAACZzb3VyY2UgJ2h0dHA6Ly9ydWJ5Z2Vtcy5vcmcnCgpnZW1zcGVj
|
261
257
|
Cg==
|
262
258
|
http_version:
|
263
|
-
recorded_at:
|
259
|
+
recorded_at: Thu, 26 Jun 2014 19:56:13 GMT
|
264
260
|
recorded_with: VCR 2.9.2
|
data/spec/vcr/Docker_Image/_insert_local/when_the_local_file_does_not_exist/raises_an_error.yml
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: post
|
5
|
-
uri: unix:///var/run/docker.sock/v1.
|
5
|
+
uri: unix:///var/run/docker.sock/v1.12/build
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
8
|
string: !binary |-
|
@@ -54,7 +54,7 @@ http_interactions:
|
|
54
54
|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=
|
55
55
|
headers:
|
56
56
|
User-Agent:
|
57
|
-
- Swipely/Docker-API 1.11.
|
57
|
+
- Swipely/Docker-API 1.11.2
|
58
58
|
Content-Type:
|
59
59
|
- application/json
|
60
60
|
response:
|
@@ -65,7 +65,7 @@ http_interactions:
|
|
65
65
|
Content-Type:
|
66
66
|
- application/json
|
67
67
|
Date:
|
68
|
-
-
|
68
|
+
- Thu, 26 Jun 2014 19:56:06 GMT
|
69
69
|
Connection:
|
70
70
|
- close
|
71
71
|
Transfer-Encoding:
|
@@ -75,5 +75,5 @@ http_interactions:
|
|
75
75
|
string: "{\"stream\":\"Step 0 : from base\\n\"}\r\n{\"stream\":\" ---\\u003e
|
76
76
|
b750fe79269d\\n\"}\r\n{\"stream\":\"Successfully built b750fe79269d\\n\"}\r\n"
|
77
77
|
http_version:
|
78
|
-
recorded_at:
|
78
|
+
recorded_at: Thu, 26 Jun 2014 19:56:06 GMT
|
79
79
|
recorded_with: VCR 2.9.2
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: post
|
5
|
-
uri: unix:///var/run/docker.sock/v1.
|
5
|
+
uri: unix:///var/run/docker.sock/v1.12/build
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
8
|
string: !binary |-
|
@@ -54,7 +54,7 @@ http_interactions:
|
|
54
54
|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=
|
55
55
|
headers:
|
56
56
|
User-Agent:
|
57
|
-
- Swipely/Docker-API 1.11.
|
57
|
+
- Swipely/Docker-API 1.11.2
|
58
58
|
Content-Type:
|
59
59
|
- application/json
|
60
60
|
response:
|
@@ -65,7 +65,7 @@ http_interactions:
|
|
65
65
|
Content-Type:
|
66
66
|
- application/json
|
67
67
|
Date:
|
68
|
-
-
|
68
|
+
- Thu, 26 Jun 2014 19:56:27 GMT
|
69
69
|
Connection:
|
70
70
|
- close
|
71
71
|
Transfer-Encoding:
|
@@ -75,10 +75,10 @@ http_interactions:
|
|
75
75
|
string: "{\"stream\":\"Step 0 : from base\\n\"}\r\n{\"stream\":\" ---\\u003e
|
76
76
|
b750fe79269d\\n\"}\r\n{\"stream\":\"Successfully built b750fe79269d\\n\"}\r\n"
|
77
77
|
http_version:
|
78
|
-
recorded_at:
|
78
|
+
recorded_at: Thu, 26 Jun 2014 19:56:27 GMT
|
79
79
|
- request:
|
80
80
|
method: post
|
81
|
-
uri: unix:///var/run/docker.sock/v1.
|
81
|
+
uri: unix:///var/run/docker.sock/v1.12/build
|
82
82
|
body:
|
83
83
|
encoding: UTF-8
|
84
84
|
string: !binary |-
|
@@ -187,7 +187,7 @@ http_interactions:
|
|
187
187
|
AAAAAAAAAAAAAAAAAAAAAAAA
|
188
188
|
headers:
|
189
189
|
User-Agent:
|
190
|
-
- Swipely/Docker-API 1.11.
|
190
|
+
- Swipely/Docker-API 1.11.2
|
191
191
|
Content-Type:
|
192
192
|
- application/json
|
193
193
|
response:
|
@@ -198,7 +198,7 @@ http_interactions:
|
|
198
198
|
Content-Type:
|
199
199
|
- application/json
|
200
200
|
Date:
|
201
|
-
-
|
201
|
+
- Thu, 26 Jun 2014 19:56:27 GMT
|
202
202
|
Connection:
|
203
203
|
- close
|
204
204
|
Transfer-Encoding:
|
@@ -207,20 +207,21 @@ http_interactions:
|
|
207
207
|
encoding: UTF-8
|
208
208
|
string: "{\"stream\":\"Step 0 : from b750fe79269d\\n\"}\r\n{\"stream\":\" ---\\u003e
|
209
209
|
b750fe79269d\\n\"}\r\n{\"stream\":\"Step 1 : add Gemfile /\\n\"}\r\n{\"stream\":\"
|
210
|
-
---\\u003e Using cache\\n\"}\r\n{\"stream\":\" ---\\u003e
|
211
|
-
2 : add Rakefile /\\n\"}\r\n{\"stream\":\" ---\\u003e
|
212
|
-
|
210
|
+
---\\u003e Using cache\\n\"}\r\n{\"stream\":\" ---\\u003e 628c73a117a7\\n\"}\r\n{\"stream\":\"Step
|
211
|
+
2 : add Rakefile /\\n\"}\r\n{\"stream\":\" ---\\u003e ef06c0531438\\n\"}\r\n{\"stream\":\"Removing
|
212
|
+
intermediate container 68299ac3261c\\n\"}\r\n{\"stream\":\"Successfully built
|
213
|
+
ef06c0531438\\n\"}\r\n"
|
213
214
|
http_version:
|
214
|
-
recorded_at:
|
215
|
+
recorded_at: Thu, 26 Jun 2014 19:56:30 GMT
|
215
216
|
- request:
|
216
217
|
method: post
|
217
|
-
uri: unix:///var/run/docker.sock/v1.
|
218
|
+
uri: unix:///var/run/docker.sock/v1.12/containers/create
|
218
219
|
body:
|
219
220
|
encoding: UTF-8
|
220
|
-
string: '{"Image":"
|
221
|
+
string: '{"Image":"ef06c0531438","Cmd":["cat","/Gemfile","/Rakefile"]}'
|
221
222
|
headers:
|
222
223
|
User-Agent:
|
223
|
-
- Swipely/Docker-API 1.11.
|
224
|
+
- Swipely/Docker-API 1.11.2
|
224
225
|
Content-Type:
|
225
226
|
- application/json
|
226
227
|
response:
|
@@ -231,7 +232,7 @@ http_interactions:
|
|
231
232
|
Content-Type:
|
232
233
|
- application/json
|
233
234
|
Date:
|
234
|
-
-
|
235
|
+
- Thu, 26 Jun 2014 19:56:30 GMT
|
235
236
|
Content-Length:
|
236
237
|
- '90'
|
237
238
|
Connection:
|
@@ -239,18 +240,18 @@ http_interactions:
|
|
239
240
|
body:
|
240
241
|
encoding: UTF-8
|
241
242
|
string: |
|
242
|
-
{"Id":"
|
243
|
+
{"Id":"a7b21660a2dcaeac92c7a428c982624744827288a031c54e897d98029bab7847","Warnings":null}
|
243
244
|
http_version:
|
244
|
-
recorded_at:
|
245
|
+
recorded_at: Thu, 26 Jun 2014 19:56:30 GMT
|
245
246
|
- request:
|
246
247
|
method: post
|
247
|
-
uri: unix:///var/run/docker.sock/v1.
|
248
|
+
uri: unix:///var/run/docker.sock/v1.12/containers/a7b21660a2dcaeac92c7a428c982624744827288a031c54e897d98029bab7847/start
|
248
249
|
body:
|
249
250
|
encoding: UTF-8
|
250
251
|
string: '{}'
|
251
252
|
headers:
|
252
253
|
User-Agent:
|
253
|
-
- Swipely/Docker-API 1.11.
|
254
|
+
- Swipely/Docker-API 1.11.2
|
254
255
|
Content-Type:
|
255
256
|
- application/json
|
256
257
|
response:
|
@@ -259,27 +260,23 @@ http_interactions:
|
|
259
260
|
message:
|
260
261
|
headers:
|
261
262
|
Date:
|
262
|
-
-
|
263
|
-
Content-Length:
|
264
|
-
- '0'
|
265
|
-
Content-Type:
|
266
|
-
- text/plain; charset=utf-8
|
263
|
+
- Thu, 26 Jun 2014 19:56:30 GMT
|
267
264
|
Connection:
|
268
265
|
- close
|
269
266
|
body:
|
270
267
|
encoding: UTF-8
|
271
268
|
string: ''
|
272
269
|
http_version:
|
273
|
-
recorded_at:
|
270
|
+
recorded_at: Thu, 26 Jun 2014 19:56:30 GMT
|
274
271
|
- request:
|
275
272
|
method: post
|
276
|
-
uri: unix:///var/run/docker.sock/v1.
|
273
|
+
uri: unix:///var/run/docker.sock/v1.12/containers/a7b21660a2dcaeac92c7a428c982624744827288a031c54e897d98029bab7847/attach?stderr=true&stdout=true&stream=true
|
277
274
|
body:
|
278
275
|
encoding: US-ASCII
|
279
276
|
string: ''
|
280
277
|
headers:
|
281
278
|
User-Agent:
|
282
|
-
- Swipely/Docker-API 1.11.
|
279
|
+
- Swipely/Docker-API 1.11.2
|
283
280
|
Content-Type:
|
284
281
|
- text/plain
|
285
282
|
response:
|
@@ -307,5 +304,5 @@ http_interactions:
|
|
307
304
|
IHB1dHMgIlB1bGxlZCB1YnVudHU6MTMuMTAsIGltYWdlIGlkOiAje2ltYWdl
|
308
305
|
LmlkfSIKZW5kCg==
|
309
306
|
http_version:
|
310
|
-
recorded_at:
|
307
|
+
recorded_at: Thu, 26 Jun 2014 19:56:31 GMT
|
311
308
|
recorded_with: VCR 2.9.2
|