docker-api 1.11.2 → 1.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/docker/image.rb +10 -10
- data/lib/docker/version.rb +2 -2
- data/spec/docker/container_spec.rb +0 -8
- data/spec/docker/image_spec.rb +3 -3
- data/spec/docker_spec.rb +6 -4
- data/spec/vcr/Docker/_authenticate_/with_valid_credentials/logs_in_and_sets_the_creds.yml +6 -6
- data/spec/vcr/Docker/_info/returns_the_info_as_a_Hash.yml +7 -7
- data/spec/vcr/Docker/_validate_version/when_nothing_is_raised/validate_version_/.yml +7 -7
- data/spec/vcr/Docker/_version/returns_the_version_as_a_Hash.yml +7 -7
- data/spec/vcr/Docker_Container/_all/when_the_HTTP_response_is_a_200/materializes_each_Container_into_a_Docker_Container.yml +77 -65
- data/spec/vcr/Docker_Container/_attach/with_normal_sized_chunks/yields_each_chunk.yml +15 -15
- data/spec/vcr/Docker_Container/_attach/with_very_small_chunks/yields_each_chunk.yml +15 -15
- data/spec/vcr/Docker_Container/_changes/returns_the_changes_as_an_array.yml +22 -24
- data/spec/vcr/Docker_Container/_commit/creates_a_new_Image_from_the_Container_s_changes.yml +17 -17
- data/spec/vcr/Docker_Container/_commit/if_run_is_passed_it_saves_the_command_in_the_image/saves_the_command.yml +12 -12
- data/spec/vcr/Docker_Container/_copy/when_the_input_is_a_directory/yields_each_chunk_of_the_tarred_directory.yml +41 -41
- data/spec/vcr/Docker_Container/_copy/when_the_input_is_a_file/yields_each_chunk_of_the_tarred_file.yml +26 -26
- data/spec/vcr/Docker_Container/_create/when_creating_a_container_named_bob/should_have_name_set_to_bob.yml +13 -13
- data/spec/vcr/Docker_Container/_create/when_the_Container_does_not_yet_exist/when_the_HTTP_request_returns_a_200/sets_the_id.yml +7 -7
- data/spec/vcr/Docker_Container/_delete/deletes_the_container.yml +17 -17
- data/spec/vcr/Docker_Container/_export/yields_each_chunk.yml +453693 -17
- data/spec/vcr/Docker_Container/_get/when_the_HTTP_response_is_a_200/materializes_the_Container_into_a_Docker_Container.yml +13 -13
- data/spec/vcr/Docker_Container/_json/returns_the_description_as_a_Hash.yml +13 -13
- data/spec/vcr/Docker_Container/_kill/kills_the_container.yml +41 -35
- 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 +11 -11
- data/spec/vcr/Docker_Container/_restart/restarts_the_container.yml +42 -42
- data/spec/vcr/Docker_Container/_run/when_the_Container_s_command_does_not_return_status_code_of_0/raises_an_error.yml +16 -16
- 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 +46 -47
- data/spec/vcr/Docker_Container/_start/starts_the_container.yml +23 -23
- data/spec/vcr/Docker_Container/_stop/stops_the_container.yml +45 -39
- data/spec/vcr/Docker_Container/_top/returns_the_top_commands_as_an_Array.yml +27 -23
- data/spec/vcr/Docker_Container/_wait/waits_for_the_command_to_finish.yml +16 -16
- data/spec/vcr/Docker_Container/_wait/when_an_argument_is_given/and_a_command_runs_for_too_long/raises_a_ServerError.yml +12 -12
- data/spec/vcr/Docker_Container/_wait/when_an_argument_is_given/sets_the_read_timeout_to_that_amount_of_time.yml +16 -16
- data/spec/vcr/Docker_Image/_all/materializes_each_Image_into_a_Docker_Image.yml +13 -33
- data/spec/vcr/Docker_Image/_build/with_a_valid_Dockerfile/with_a_block_capturing_build_output/calls_the_block_and_passes_build_output.yml +6 -6
- data/spec/vcr/Docker_Image/_build/with_a_valid_Dockerfile/with_specifying_a_repo_in_the_query_parameters/builds_an_image_and_tags_it.yml +25 -27
- data/spec/vcr/Docker_Image/_build/with_a_valid_Dockerfile/without_query_parameters/builds_an_image.yml +6 -6
- data/spec/vcr/Docker_Image/_build/with_an_invalid_Dockerfile/throws_a_UnexpectedResponseError.yml +6 -6
- 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 +11 -7
- data/spec/vcr/Docker_Image/_build_from_dir/with_a_valid_Dockerfile/with_credentials_passed/sends_Docker_creds.yml +8 -196
- data/spec/vcr/Docker_Image/_build_from_dir/with_a_valid_Dockerfile/with_no_query_parameters/builds_the_image.yml +24 -20
- 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 +46 -30
- 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 +21 -669
- data/spec/vcr/Docker_Image/_get/when_the_image_does_exist/returns_the_new_image.yml +7 -7
- data/spec/vcr/Docker_Image/_history/returns_the_history_of_the_Image.yml +9 -9
- data/spec/vcr/Docker_Image/_import/when_the_argument_is_a_URI/when_the_URI_is_invalid/raises_an_error.yml +27 -25
- data/spec/vcr/Docker_Image/_import/when_the_argument_is_a_URI/when_the_URI_is_valid/returns_an_Image.yml +12 -12
- data/spec/vcr/Docker_Image/_import/when_the_file_does_exist/creates_the_Image.yml +6 -6
- data/spec/vcr/Docker_Image/_insert/inserts_the_url_s_file_into_a_new_Image.yml +27 -33
- data/spec/vcr/Docker_Image/_insert_local/when_a_direcory_is_passed/inserts_the_directory.yml +29 -878
- data/spec/vcr/Docker_Image/_insert_local/when_removing_intermediate_containers/creates_a_new_image.yml +29 -45
- data/spec/vcr/Docker_Image/_insert_local/when_removing_intermediate_containers/leave_no_intermediate_containers.yml +29 -51
- data/spec/vcr/Docker_Image/_insert_local/when_the_local_file_does_exist/creates_a_new_Image_that_has_that_file.yml +29 -28
- data/spec/vcr/Docker_Image/_insert_local/when_the_local_file_does_not_exist/raises_an_error.yml +6 -6
- data/spec/vcr/Docker_Image/_insert_local/when_there_are_multiple_files_passed/creates_a_new_Image_that_has_each_file.yml +32 -31
- data/spec/vcr/Docker_Image/_json/returns_additional_information_about_image_image.yml +11 -11
- data/spec/vcr/Docker_Image/_push/pushes_the_Image.yml +67 -227
- data/spec/vcr/Docker_Image/_push/when_there_are_no_credentials/still_pushes.yml +61 -43
- data/spec/vcr/Docker_Image/_refresh_/updates_the_info_hash.yml +40 -203
- data/spec/vcr/Docker_Image/_remove/removes_the_Image.yml +22 -23
- data/spec/vcr/Docker_Image/_run/when_the_argument_is_a_String/splits_the_String_by_spaces_and_creates_a_new_Container.yml +19 -19
- data/spec/vcr/Docker_Image/_run/when_the_argument_is_an_Array/creates_a_new_Container.yml +19 -19
- 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 +77 -72
- data/spec/vcr/Docker_Image/_tag/tags_the_image_with_the_repo_name.yml +9 -9
- metadata +3 -3
@@ -2,13 +2,13 @@
|
|
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.11/containers/create
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
|
-
string:
|
8
|
+
string: '{"Cmd":["lol","not","a","real","command"],"Image":"base"}'
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- Swipely/Docker-API 1.
|
11
|
+
- Swipely/Docker-API 1.11.1
|
12
12
|
Content-Type:
|
13
13
|
- application/json
|
14
14
|
response:
|
@@ -19,7 +19,7 @@ http_interactions:
|
|
19
19
|
Content-Type:
|
20
20
|
- application/json
|
21
21
|
Date:
|
22
|
-
-
|
22
|
+
- Fri, 06 Jun 2014 13:36:54 GMT
|
23
23
|
Content-Length:
|
24
24
|
- '90'
|
25
25
|
Connection:
|
@@ -27,18 +27,18 @@ http_interactions:
|
|
27
27
|
body:
|
28
28
|
encoding: UTF-8
|
29
29
|
string: |
|
30
|
-
{"Id":"
|
30
|
+
{"Id":"e54a107e5ceda43c339a39ed8024a96f25acf5d52bffcc241e664bb12f7f8d18","Warnings":null}
|
31
31
|
http_version:
|
32
|
-
recorded_at:
|
32
|
+
recorded_at: Fri, 06 Jun 2014 13:36:54 GMT
|
33
33
|
- request:
|
34
34
|
method: post
|
35
|
-
uri: unix:///var/run/docker.sock/v1.
|
35
|
+
uri: unix:///var/run/docker.sock/v1.11/containers/e54a107e5ceda43c339a39ed8024a96f25acf5d52bffcc241e664bb12f7f8d18/start
|
36
36
|
body:
|
37
37
|
encoding: UTF-8
|
38
|
-
string:
|
38
|
+
string: '{}'
|
39
39
|
headers:
|
40
40
|
User-Agent:
|
41
|
-
- Swipely/Docker-API 1.
|
41
|
+
- Swipely/Docker-API 1.11.1
|
42
42
|
Content-Type:
|
43
43
|
- application/json
|
44
44
|
response:
|
@@ -47,7 +47,7 @@ http_interactions:
|
|
47
47
|
message:
|
48
48
|
headers:
|
49
49
|
Date:
|
50
|
-
-
|
50
|
+
- Fri, 06 Jun 2014 13:36:54 GMT
|
51
51
|
Content-Length:
|
52
52
|
- '0'
|
53
53
|
Content-Type:
|
@@ -58,16 +58,16 @@ http_interactions:
|
|
58
58
|
encoding: UTF-8
|
59
59
|
string: ''
|
60
60
|
http_version:
|
61
|
-
recorded_at:
|
61
|
+
recorded_at: Fri, 06 Jun 2014 13:36:54 GMT
|
62
62
|
- request:
|
63
63
|
method: post
|
64
|
-
uri: unix:///var/run/docker.sock/v1.
|
64
|
+
uri: unix:///var/run/docker.sock/v1.11/containers/e54a107e5ceda43c339a39ed8024a96f25acf5d52bffcc241e664bb12f7f8d18/wait
|
65
65
|
body:
|
66
66
|
encoding: US-ASCII
|
67
67
|
string: ''
|
68
68
|
headers:
|
69
69
|
User-Agent:
|
70
|
-
- Swipely/Docker-API 1.
|
70
|
+
- Swipely/Docker-API 1.11.1
|
71
71
|
Content-Type:
|
72
72
|
- text/plain
|
73
73
|
response:
|
@@ -78,7 +78,7 @@ http_interactions:
|
|
78
78
|
Content-Type:
|
79
79
|
- application/json
|
80
80
|
Date:
|
81
|
-
-
|
81
|
+
- Fri, 06 Jun 2014 13:36:54 GMT
|
82
82
|
Content-Length:
|
83
83
|
- '17'
|
84
84
|
Connection:
|
@@ -88,5 +88,5 @@ http_interactions:
|
|
88
88
|
string: |
|
89
89
|
{"StatusCode":1}
|
90
90
|
http_version:
|
91
|
-
recorded_at:
|
92
|
-
recorded_with: VCR 2.
|
91
|
+
recorded_at: Fri, 06 Jun 2014 13:36:54 GMT
|
92
|
+
recorded_with: VCR 2.9.2
|
@@ -2,13 +2,13 @@
|
|
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.11/containers/create
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
|
-
string:
|
8
|
+
string: '{"Cmd":["pwd"],"Image":"base"}'
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- Swipely/Docker-API 1.
|
11
|
+
- Swipely/Docker-API 1.11.1
|
12
12
|
Content-Type:
|
13
13
|
- application/json
|
14
14
|
response:
|
@@ -19,7 +19,7 @@ http_interactions:
|
|
19
19
|
Content-Type:
|
20
20
|
- application/json
|
21
21
|
Date:
|
22
|
-
-
|
22
|
+
- Fri, 06 Jun 2014 13:36:55 GMT
|
23
23
|
Content-Length:
|
24
24
|
- '90'
|
25
25
|
Connection:
|
@@ -27,18 +27,18 @@ http_interactions:
|
|
27
27
|
body:
|
28
28
|
encoding: UTF-8
|
29
29
|
string: |
|
30
|
-
{"Id":"
|
30
|
+
{"Id":"e069285efbe59702426c48608bd49e0e50ead091b8e97ad425e215ad9e6b3f7a","Warnings":null}
|
31
31
|
http_version:
|
32
|
-
recorded_at:
|
32
|
+
recorded_at: Fri, 06 Jun 2014 13:36:55 GMT
|
33
33
|
- request:
|
34
34
|
method: post
|
35
|
-
uri: unix:///var/run/docker.sock/v1.
|
35
|
+
uri: unix:///var/run/docker.sock/v1.11/containers/e069285efbe59702426c48608bd49e0e50ead091b8e97ad425e215ad9e6b3f7a/start
|
36
36
|
body:
|
37
37
|
encoding: UTF-8
|
38
|
-
string:
|
38
|
+
string: '{}'
|
39
39
|
headers:
|
40
40
|
User-Agent:
|
41
|
-
- Swipely/Docker-API 1.
|
41
|
+
- Swipely/Docker-API 1.11.1
|
42
42
|
Content-Type:
|
43
43
|
- application/json
|
44
44
|
response:
|
@@ -47,7 +47,7 @@ http_interactions:
|
|
47
47
|
message:
|
48
48
|
headers:
|
49
49
|
Date:
|
50
|
-
-
|
50
|
+
- Fri, 06 Jun 2014 13:36:55 GMT
|
51
51
|
Content-Length:
|
52
52
|
- '0'
|
53
53
|
Content-Type:
|
@@ -58,16 +58,16 @@ http_interactions:
|
|
58
58
|
encoding: UTF-8
|
59
59
|
string: ''
|
60
60
|
http_version:
|
61
|
-
recorded_at:
|
61
|
+
recorded_at: Fri, 06 Jun 2014 13:36:55 GMT
|
62
62
|
- request:
|
63
63
|
method: post
|
64
|
-
uri: unix:///var/run/docker.sock/v1.
|
64
|
+
uri: unix:///var/run/docker.sock/v1.11/containers/e069285efbe59702426c48608bd49e0e50ead091b8e97ad425e215ad9e6b3f7a/wait
|
65
65
|
body:
|
66
66
|
encoding: US-ASCII
|
67
67
|
string: ''
|
68
68
|
headers:
|
69
69
|
User-Agent:
|
70
|
-
- Swipely/Docker-API 1.
|
70
|
+
- Swipely/Docker-API 1.11.1
|
71
71
|
Content-Type:
|
72
72
|
- text/plain
|
73
73
|
response:
|
@@ -78,7 +78,7 @@ http_interactions:
|
|
78
78
|
Content-Type:
|
79
79
|
- application/json
|
80
80
|
Date:
|
81
|
-
-
|
81
|
+
- Fri, 06 Jun 2014 13:36:55 GMT
|
82
82
|
Content-Length:
|
83
83
|
- '17'
|
84
84
|
Connection:
|
@@ -88,16 +88,16 @@ http_interactions:
|
|
88
88
|
string: |
|
89
89
|
{"StatusCode":0}
|
90
90
|
http_version:
|
91
|
-
recorded_at:
|
91
|
+
recorded_at: Fri, 06 Jun 2014 13:36:55 GMT
|
92
92
|
- request:
|
93
93
|
method: post
|
94
|
-
uri: unix:///var/run/docker.sock/v1.
|
94
|
+
uri: unix:///var/run/docker.sock/v1.11/commit?container=e069285e
|
95
95
|
body:
|
96
96
|
encoding: UTF-8
|
97
97
|
string: 'null'
|
98
98
|
headers:
|
99
99
|
User-Agent:
|
100
|
-
- Swipely/Docker-API 1.
|
100
|
+
- Swipely/Docker-API 1.11.1
|
101
101
|
Content-Type:
|
102
102
|
- application/json
|
103
103
|
response:
|
@@ -108,7 +108,7 @@ http_interactions:
|
|
108
108
|
Content-Type:
|
109
109
|
- application/json
|
110
110
|
Date:
|
111
|
-
-
|
111
|
+
- Fri, 06 Jun 2014 13:36:56 GMT
|
112
112
|
Content-Length:
|
113
113
|
- '74'
|
114
114
|
Connection:
|
@@ -116,18 +116,18 @@ http_interactions:
|
|
116
116
|
body:
|
117
117
|
encoding: UTF-8
|
118
118
|
string: |
|
119
|
-
{"Id":"
|
119
|
+
{"Id":"7364e1f83f7b954283072e0bf10b43b92c992940ae639cf71a74e31f4a93e75f"}
|
120
120
|
http_version:
|
121
|
-
recorded_at:
|
121
|
+
recorded_at: Fri, 06 Jun 2014 13:36:56 GMT
|
122
122
|
- request:
|
123
123
|
method: post
|
124
|
-
uri: unix:///var/run/docker.sock/v1.
|
124
|
+
uri: unix:///var/run/docker.sock/v1.11/containers/create
|
125
125
|
body:
|
126
126
|
encoding: UTF-8
|
127
|
-
string:
|
127
|
+
string: '{"Image":"7364e1f83f7b954283072e0bf10b43b92c992940ae639cf71a74e31f4a93e75f","Cmd":["ls"]}'
|
128
128
|
headers:
|
129
129
|
User-Agent:
|
130
|
-
- Swipely/Docker-API 1.
|
130
|
+
- Swipely/Docker-API 1.11.1
|
131
131
|
Content-Type:
|
132
132
|
- application/json
|
133
133
|
response:
|
@@ -138,7 +138,7 @@ http_interactions:
|
|
138
138
|
Content-Type:
|
139
139
|
- application/json
|
140
140
|
Date:
|
141
|
-
-
|
141
|
+
- Fri, 06 Jun 2014 13:36:57 GMT
|
142
142
|
Content-Length:
|
143
143
|
- '90'
|
144
144
|
Connection:
|
@@ -146,18 +146,18 @@ http_interactions:
|
|
146
146
|
body:
|
147
147
|
encoding: UTF-8
|
148
148
|
string: |
|
149
|
-
{"Id":"
|
149
|
+
{"Id":"cdf087a3327652217345367963fa0c16177c742c13107b1702bcf3d21cf0591d","Warnings":null}
|
150
150
|
http_version:
|
151
|
-
recorded_at:
|
151
|
+
recorded_at: Fri, 06 Jun 2014 13:36:57 GMT
|
152
152
|
- request:
|
153
153
|
method: post
|
154
|
-
uri: unix:///var/run/docker.sock/v1.
|
154
|
+
uri: unix:///var/run/docker.sock/v1.11/containers/cdf087a3327652217345367963fa0c16177c742c13107b1702bcf3d21cf0591d/start
|
155
155
|
body:
|
156
156
|
encoding: UTF-8
|
157
|
-
string:
|
157
|
+
string: '{}'
|
158
158
|
headers:
|
159
159
|
User-Agent:
|
160
|
-
- Swipely/Docker-API 1.
|
160
|
+
- Swipely/Docker-API 1.11.1
|
161
161
|
Content-Type:
|
162
162
|
- application/json
|
163
163
|
response:
|
@@ -166,7 +166,7 @@ http_interactions:
|
|
166
166
|
message:
|
167
167
|
headers:
|
168
168
|
Date:
|
169
|
-
-
|
169
|
+
- Fri, 06 Jun 2014 13:36:57 GMT
|
170
170
|
Content-Length:
|
171
171
|
- '0'
|
172
172
|
Content-Type:
|
@@ -177,46 +177,45 @@ http_interactions:
|
|
177
177
|
encoding: UTF-8
|
178
178
|
string: ''
|
179
179
|
http_version:
|
180
|
-
recorded_at:
|
180
|
+
recorded_at: Fri, 06 Jun 2014 13:36:57 GMT
|
181
181
|
- request:
|
182
182
|
method: post
|
183
|
-
uri: unix:///var/run/docker.sock/v1.
|
183
|
+
uri: unix:///var/run/docker.sock/v1.11/containers/cdf087a3327652217345367963fa0c16177c742c13107b1702bcf3d21cf0591d/start
|
184
184
|
body:
|
185
185
|
encoding: UTF-8
|
186
|
-
string:
|
186
|
+
string: '{}'
|
187
187
|
headers:
|
188
188
|
User-Agent:
|
189
|
-
- Swipely/Docker-API 1.
|
189
|
+
- Swipely/Docker-API 1.11.1
|
190
190
|
Content-Type:
|
191
191
|
- application/json
|
192
192
|
response:
|
193
193
|
status:
|
194
|
-
code:
|
194
|
+
code: 204
|
195
195
|
message:
|
196
196
|
headers:
|
197
|
-
Content-Type:
|
198
|
-
- text/plain; charset=utf-8
|
199
197
|
Date:
|
200
|
-
-
|
198
|
+
- Fri, 06 Jun 2014 13:36:57 GMT
|
201
199
|
Content-Length:
|
202
|
-
- '
|
200
|
+
- '0'
|
201
|
+
Content-Type:
|
202
|
+
- text/plain; charset=utf-8
|
203
203
|
Connection:
|
204
204
|
- close
|
205
205
|
body:
|
206
206
|
encoding: UTF-8
|
207
|
-
string:
|
208
|
-
Cannot start container cab0110ae90373f3f6790a2305bef7b040581dabbc98adbebeb3368f436eee71: The container cab0110ae90373f3f6790a2305bef7b040581dabbc98adbebeb3368f436eee71 is already running.
|
207
|
+
string: ''
|
209
208
|
http_version:
|
210
|
-
recorded_at:
|
209
|
+
recorded_at: Fri, 06 Jun 2014 13:36:57 GMT
|
211
210
|
- request:
|
212
211
|
method: post
|
213
|
-
uri: unix:///var/run/docker.sock/v1.
|
212
|
+
uri: unix:///var/run/docker.sock/v1.11/containers/cdf087a3327652217345367963fa0c16177c742c13107b1702bcf3d21cf0591d/wait
|
214
213
|
body:
|
215
214
|
encoding: US-ASCII
|
216
215
|
string: ''
|
217
216
|
headers:
|
218
217
|
User-Agent:
|
219
|
-
- Swipely/Docker-API 1.
|
218
|
+
- Swipely/Docker-API 1.11.1
|
220
219
|
Content-Type:
|
221
220
|
- text/plain
|
222
221
|
response:
|
@@ -227,7 +226,7 @@ http_interactions:
|
|
227
226
|
Content-Type:
|
228
227
|
- application/json
|
229
228
|
Date:
|
230
|
-
-
|
229
|
+
- Fri, 06 Jun 2014 13:36:57 GMT
|
231
230
|
Content-Length:
|
232
231
|
- '17'
|
233
232
|
Connection:
|
@@ -237,5 +236,5 @@ http_interactions:
|
|
237
236
|
string: |
|
238
237
|
{"StatusCode":0}
|
239
238
|
http_version:
|
240
|
-
recorded_at:
|
241
|
-
recorded_with: VCR 2.
|
239
|
+
recorded_at: Fri, 06 Jun 2014 13:36:57 GMT
|
240
|
+
recorded_with: VCR 2.9.2
|
@@ -2,13 +2,13 @@
|
|
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.11/containers/create
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
|
-
string:
|
8
|
+
string: '{"Cmd":["test","-d","/foo"],"Image":"base","Volumes":{"/foo":{}}}'
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- Swipely/Docker-API 1.
|
11
|
+
- Swipely/Docker-API 1.11.1
|
12
12
|
Content-Type:
|
13
13
|
- application/json
|
14
14
|
response:
|
@@ -19,7 +19,7 @@ http_interactions:
|
|
19
19
|
Content-Type:
|
20
20
|
- application/json
|
21
21
|
Date:
|
22
|
-
-
|
22
|
+
- Fri, 06 Jun 2014 13:36:44 GMT
|
23
23
|
Content-Length:
|
24
24
|
- '90'
|
25
25
|
Connection:
|
@@ -27,18 +27,18 @@ http_interactions:
|
|
27
27
|
body:
|
28
28
|
encoding: UTF-8
|
29
29
|
string: |
|
30
|
-
{"Id":"
|
30
|
+
{"Id":"931f5a5a5c2b4fad7b87e7348d08278321467f83bacf32c8c8a397f08c51646d","Warnings":null}
|
31
31
|
http_version:
|
32
|
-
recorded_at:
|
32
|
+
recorded_at: Fri, 06 Jun 2014 13:36:44 GMT
|
33
33
|
- request:
|
34
34
|
method: post
|
35
|
-
uri: unix:///var/run/docker.sock/v1.
|
35
|
+
uri: unix:///var/run/docker.sock/v1.11/containers/931f5a5a5c2b4fad7b87e7348d08278321467f83bacf32c8c8a397f08c51646d/start
|
36
36
|
body:
|
37
37
|
encoding: UTF-8
|
38
|
-
string:
|
38
|
+
string: '{"Binds":["/tmp:/foo"]}'
|
39
39
|
headers:
|
40
40
|
User-Agent:
|
41
|
-
- Swipely/Docker-API 1.
|
41
|
+
- Swipely/Docker-API 1.11.1
|
42
42
|
Content-Type:
|
43
43
|
- application/json
|
44
44
|
response:
|
@@ -47,7 +47,7 @@ http_interactions:
|
|
47
47
|
message:
|
48
48
|
headers:
|
49
49
|
Date:
|
50
|
-
-
|
50
|
+
- Fri, 06 Jun 2014 13:36:44 GMT
|
51
51
|
Content-Length:
|
52
52
|
- '0'
|
53
53
|
Content-Type:
|
@@ -58,16 +58,16 @@ http_interactions:
|
|
58
58
|
encoding: UTF-8
|
59
59
|
string: ''
|
60
60
|
http_version:
|
61
|
-
recorded_at:
|
61
|
+
recorded_at: Fri, 06 Jun 2014 13:36:44 GMT
|
62
62
|
- request:
|
63
63
|
method: get
|
64
|
-
uri: unix:///var/run/docker.sock/v1.
|
64
|
+
uri: unix:///var/run/docker.sock/v1.11/containers/json
|
65
65
|
body:
|
66
66
|
encoding: US-ASCII
|
67
67
|
string: ''
|
68
68
|
headers:
|
69
69
|
User-Agent:
|
70
|
-
- Swipely/Docker-API 1.
|
70
|
+
- Swipely/Docker-API 1.11.1
|
71
71
|
Content-Type:
|
72
72
|
- text/plain
|
73
73
|
response:
|
@@ -78,28 +78,28 @@ http_interactions:
|
|
78
78
|
Content-Type:
|
79
79
|
- application/json
|
80
80
|
Date:
|
81
|
-
-
|
81
|
+
- Fri, 06 Jun 2014 13:36:44 GMT
|
82
82
|
Content-Length:
|
83
|
-
- '
|
83
|
+
- '412'
|
84
84
|
Connection:
|
85
85
|
- close
|
86
86
|
body:
|
87
87
|
encoding: UTF-8
|
88
88
|
string: |-
|
89
|
-
[{"Command":"test -d /foo","Created":
|
90
|
-
,{"Command":"/while","Created":
|
89
|
+
[{"Command":"test -d /foo","Created":1402061803,"Id":"931f5a5a5c2b4fad7b87e7348d08278321467f83bacf32c8c8a397f08c51646d","Image":"base:latest","Names":["/cranky_curie"],"Ports":[],"Status":"Up Less than a second"}
|
90
|
+
,{"Command":"/while","Created":1402061799,"Id":"74553200d912dda35c0f8641028d3e42faaf6e41b4337a4e202328414bb2da5e","Image":"5964d75bfbd2","Names":["/angry_brown"],"Ports":[],"Status":"Up 4 seconds"}
|
91
91
|
]
|
92
92
|
http_version:
|
93
|
-
recorded_at:
|
93
|
+
recorded_at: Fri, 06 Jun 2014 13:36:44 GMT
|
94
94
|
- request:
|
95
95
|
method: post
|
96
|
-
uri: unix:///var/run/docker.sock/v1.
|
96
|
+
uri: unix:///var/run/docker.sock/v1.11/containers/931f5a5a5c2b4fad7b87e7348d08278321467f83bacf32c8c8a397f08c51646d/wait
|
97
97
|
body:
|
98
98
|
encoding: US-ASCII
|
99
99
|
string: ''
|
100
100
|
headers:
|
101
101
|
User-Agent:
|
102
|
-
- Swipely/Docker-API 1.
|
102
|
+
- Swipely/Docker-API 1.11.1
|
103
103
|
Content-Type:
|
104
104
|
- text/plain
|
105
105
|
response:
|
@@ -110,7 +110,7 @@ http_interactions:
|
|
110
110
|
Content-Type:
|
111
111
|
- application/json
|
112
112
|
Date:
|
113
|
-
-
|
113
|
+
- Fri, 06 Jun 2014 13:36:44 GMT
|
114
114
|
Content-Length:
|
115
115
|
- '17'
|
116
116
|
Connection:
|
@@ -120,5 +120,5 @@ http_interactions:
|
|
120
120
|
string: |
|
121
121
|
{"StatusCode":0}
|
122
122
|
http_version:
|
123
|
-
recorded_at:
|
124
|
-
recorded_with: VCR 2.
|
123
|
+
recorded_at: Fri, 06 Jun 2014 13:36:44 GMT
|
124
|
+
recorded_with: VCR 2.9.2
|