docker-api 1.9.1 → 1.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +5 -5
- data/lib/docker/container.rb +20 -3
- data/lib/docker/image.rb +2 -2
- data/lib/docker/version.rb +2 -2
- data/spec/docker/container_spec.rb +3 -3
- data/spec/docker/image_spec.rb +1 -1
- data/spec/vcr/Docker/_authenticate_/with_valid_credentials/logs_in_and_sets_the_creds.yml +1 -1
- 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 +6 -6
- data/spec/vcr/Docker_Container/_all/when_the_HTTP_response_is_a_200/materializes_each_Container_into_a_Docker_Container.yml +63 -93
- data/spec/vcr/Docker_Container/_attach/with_normal_sized_chunks/yields_each_chunk.yml +12 -12
- data/spec/vcr/Docker_Container/_attach/with_very_small_chunks/yields_each_chunk.yml +12 -12
- data/spec/vcr/Docker_Container/_changes/returns_the_changes_as_an_array.yml +4 -4
- data/spec/vcr/Docker_Container/_commit/creates_a_new_Image_from_the_Container_s_changes.yml +14 -14
- data/spec/vcr/Docker_Container/_commit/if_run_is_passed_it_saves_the_command_in_the_image/saves_the_command.yml +9 -9
- data/spec/vcr/Docker_Container/_copy/when_the_input_is_a_directory/yields_each_chunk_of_the_tarred_directory.yml +21 -21
- data/spec/vcr/Docker_Container/_copy/when_the_input_is_a_file/yields_each_chunk_of_the_tarred_file.yml +22 -22
- data/spec/vcr/Docker_Container/_create/when_creating_a_container_named_bob/should_have_name_set_to_bob.yml +11 -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 +17 -15
- data/spec/vcr/Docker_Container/_export/yields_each_chunk.yml +3 -3
- data/spec/vcr/Docker_Container/_get/when_the_HTTP_response_is_a_200/materializes_the_Container_into_a_Docker_Container.yml +11 -11
- data/spec/vcr/Docker_Container/_json/returns_the_description_as_a_Hash.yml +11 -11
- data/spec/vcr/Docker_Container/_kill/kills_the_container.yml +34 -47
- data/spec/vcr/Docker_Container/_restart/restarts_the_container.yml +39 -35
- data/spec/vcr/Docker_Container/_run/when_the_Container_s_command_does_not_return_status_code_of_0/raises_an_error.yml +15 -15
- 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 +37 -37
- data/spec/vcr/Docker_Container/_start/starts_the_container.yml +20 -19
- data/spec/vcr/Docker_Container/_stop/stops_the_container.yml +37 -50
- data/spec/vcr/Docker_Container/_top/returns_the_top_commands_as_an_Array.yml +26 -115
- data/spec/vcr/Docker_Container/_wait/waits_for_the_command_to_finish.yml +15 -15
- data/spec/vcr/Docker_Container/_wait/when_an_argument_is_given/and_a_command_runs_for_too_long/raises_a_ServerError.yml +9 -9
- data/spec/vcr/Docker_Container/_wait/when_an_argument_is_given/sets_the_read_timeout_to_that_amount_of_time.yml +13 -13
- data/spec/vcr/Docker_Image/_all/materializes_each_Image_into_a_Docker_Image.yml +29 -15
- data/spec/vcr/Docker_Image/_build/with_a_valid_Dockerfile/with_a_block_capturing_build_output/calls_the_block_and_passes_build_output.yml +5 -5
- 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 +28 -20
- data/spec/vcr/Docker_Image/_build/with_a_valid_Dockerfile/without_query_parameters/builds_an_image.yml +5 -5
- data/spec/vcr/Docker_Image/_build/with_an_invalid_Dockerfile/throws_a_UnexpectedResponseError.yml +5 -5
- 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 +6 -6
- data/spec/vcr/Docker_Image/_build_from_dir/with_a_valid_Dockerfile/with_no_query_parameters/builds_the_image.yml +18 -19
- 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 -31
- data/spec/vcr/Docker_Image/_create/when_the_Image_does_not_yet_exist_and_the_body_is_a_Hash/sets_the_id.yml +4 -4
- data/spec/vcr/Docker_Image/_get/when_the_image_does_exist/returns_the_new_image.yml +4 -4
- data/spec/vcr/Docker_Image/_history/returns_the_history_of_the_Image.yml +8 -8
- data/spec/vcr/Docker_Image/_insert/inserts_the_url_s_file_into_a_new_Image.yml +26 -209
- data/spec/vcr/Docker_Image/_insert_local/when_removing_intermediate_containers/creates_a_new_image.yml +51 -35
- data/spec/vcr/Docker_Image/_insert_local/when_removing_intermediate_containers/leave_no_intermediate_containers.yml +90 -40
- data/spec/vcr/Docker_Image/_insert_local/when_the_local_file_does_exist/creates_a_new_Image_that_has_that_file.yml +26 -26
- data/spec/vcr/Docker_Image/_insert_local/when_the_local_file_does_not_exist/raises_an_error.yml +5 -5
- data/spec/vcr/Docker_Image/_insert_local/when_there_are_multiple_files_passed/creates_a_new_Image_that_has_each_file.yml +28 -28
- data/spec/vcr/Docker_Image/_json/returns_additional_information_about_image_image.yml +8 -8
- data/spec/vcr/Docker_Image/_push/pushes_the_Image.yml +49 -33
- data/spec/vcr/Docker_Image/_remove/removes_the_Image.yml +25 -18
- data/spec/vcr/Docker_Image/_run/when_the_argument_is_a_String/splits_the_String_by_spaces_and_creates_a_new_Container.yml +16 -16
- data/spec/vcr/Docker_Image/_run/when_the_argument_is_an_Array/creates_a_new_Container.yml +16 -16
- 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 +8 -8
- data/spec/vcr/Docker_Image/_search/materializes_each_Image_into_a_Docker_Image.yml +24 -23
- data/spec/vcr/Docker_Image/_tag/tags_the_image_with_the_repo_name.yml +8 -8
- metadata +2 -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.10/build
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- Swipely/Docker-API 1.
|
11
|
+
- Swipely/Docker-API 1.9.1
|
12
12
|
Content-Type:
|
13
13
|
- application/tar
|
14
14
|
Transfer-Encoding:
|
@@ -21,29 +21,29 @@ http_interactions:
|
|
21
21
|
Content-Type:
|
22
22
|
- application/json
|
23
23
|
Date:
|
24
|
-
- Wed, 12
|
24
|
+
- Wed, 12 Mar 2014 13:31:19 GMT
|
25
25
|
Connection:
|
26
26
|
- close
|
27
27
|
Transfer-Encoding:
|
28
28
|
- ''
|
29
29
|
body:
|
30
30
|
encoding: UTF-8
|
31
|
-
string: "{\"stream\":\"Step 0 : from base\\n\"}{\"stream\":\" ---\\u003e
|
32
|
-
1 : run printf '#! /bin/sh\\\\nwhile
|
33
|
-
/while \\u0026\\u0026 chmod +x
|
34
|
-
|
35
|
-
built
|
31
|
+
string: "{\"stream\":\"Step 0 : from base\\n\"}\r\n{\"stream\":\" ---\\u003e
|
32
|
+
b750fe79269d\\n\"}\r\n{\"stream\":\"Step 1 : run printf '#! /bin/sh\\\\nwhile
|
33
|
+
true\\\\ndo\\\\ntrue\\\\ndone\\\\n' \\u003e /while \\u0026\\u0026 chmod +x
|
34
|
+
/while\\n\"}\r\n{\"stream\":\" ---\\u003e Running in 68f09ac82fcf\\n\"}\r\n{\"stream\":\"
|
35
|
+
---\\u003e 2e0a9a843f66\\n\"}\r\n{\"stream\":\"Successfully built 2e0a9a843f66\\n\"}\r\n"
|
36
36
|
http_version:
|
37
|
-
recorded_at: Wed, 12
|
37
|
+
recorded_at: Wed, 12 Mar 2014 13:31:21 GMT
|
38
38
|
- request:
|
39
39
|
method: post
|
40
|
-
uri: unix:///var/run/docker.sock/v1.
|
40
|
+
uri: unix:///var/run/docker.sock/v1.10/containers/create
|
41
41
|
body:
|
42
42
|
encoding: UTF-8
|
43
|
-
string: "{\"Image\":\"
|
43
|
+
string: "{\"Image\":\"2e0a9a843f66\",\"Cmd\":[\"/while\"]}"
|
44
44
|
headers:
|
45
45
|
User-Agent:
|
46
|
-
- Swipely/Docker-API 1.
|
46
|
+
- Swipely/Docker-API 1.9.1
|
47
47
|
Content-Type:
|
48
48
|
- application/json
|
49
49
|
response:
|
@@ -54,7 +54,7 @@ http_interactions:
|
|
54
54
|
Content-Type:
|
55
55
|
- application/json
|
56
56
|
Date:
|
57
|
-
- Wed, 12
|
57
|
+
- Wed, 12 Mar 2014 13:31:21 GMT
|
58
58
|
Content-Length:
|
59
59
|
- '90'
|
60
60
|
Connection:
|
@@ -62,18 +62,18 @@ http_interactions:
|
|
62
62
|
body:
|
63
63
|
encoding: UTF-8
|
64
64
|
string: |
|
65
|
-
{"Id":"
|
65
|
+
{"Id":"d2def324f3daa1989173223f03d22e789c4354aa99d80e7258068de9e911cb35","Warnings":null}
|
66
66
|
http_version:
|
67
|
-
recorded_at: Wed, 12
|
67
|
+
recorded_at: Wed, 12 Mar 2014 13:31:21 GMT
|
68
68
|
- request:
|
69
69
|
method: post
|
70
|
-
uri: unix:///var/run/docker.sock/v1.
|
70
|
+
uri: unix:///var/run/docker.sock/v1.10/containers/d2def324f3daa1989173223f03d22e789c4354aa99d80e7258068de9e911cb35/start
|
71
71
|
body:
|
72
72
|
encoding: UTF-8
|
73
73
|
string: "{}"
|
74
74
|
headers:
|
75
75
|
User-Agent:
|
76
|
-
- Swipely/Docker-API 1.
|
76
|
+
- Swipely/Docker-API 1.9.1
|
77
77
|
Content-Type:
|
78
78
|
- application/json
|
79
79
|
response:
|
@@ -82,7 +82,7 @@ http_interactions:
|
|
82
82
|
message:
|
83
83
|
headers:
|
84
84
|
Date:
|
85
|
-
- Wed, 12
|
85
|
+
- Wed, 12 Mar 2014 13:31:21 GMT
|
86
86
|
Content-Length:
|
87
87
|
- '0'
|
88
88
|
Content-Type:
|
@@ -93,16 +93,16 @@ http_interactions:
|
|
93
93
|
encoding: UTF-8
|
94
94
|
string: ''
|
95
95
|
http_version:
|
96
|
-
recorded_at: Wed, 12
|
96
|
+
recorded_at: Wed, 12 Mar 2014 13:31:21 GMT
|
97
97
|
- request:
|
98
98
|
method: get
|
99
|
-
uri: unix:///var/run/docker.sock/v1.
|
99
|
+
uri: unix:///var/run/docker.sock/v1.10/containers/d2def324f3daa1989173223f03d22e789c4354aa99d80e7258068de9e911cb35/top
|
100
100
|
body:
|
101
101
|
encoding: US-ASCII
|
102
102
|
string: ''
|
103
103
|
headers:
|
104
104
|
User-Agent:
|
105
|
-
- Swipely/Docker-API 1.
|
105
|
+
- Swipely/Docker-API 1.9.1
|
106
106
|
Content-Type:
|
107
107
|
- text/plain
|
108
108
|
response:
|
@@ -110,107 +110,18 @@ http_interactions:
|
|
110
110
|
code: 200
|
111
111
|
message:
|
112
112
|
headers:
|
113
|
-
Date:
|
114
|
-
- Wed, 12 Feb 2014 17:05:20 GMT
|
115
|
-
Content-Length:
|
116
|
-
- '147'
|
117
|
-
Content-Type:
|
118
|
-
- text/plain; charset=utf-8
|
119
|
-
Connection:
|
120
|
-
- close
|
121
|
-
body:
|
122
|
-
encoding: UTF-8
|
123
|
-
string: |
|
124
|
-
{"Processes":[["root","19337","19331","99","12:05","?","00:00:01","/bin/sh /while"]],"Titles":["UID","PID","PPID","C","STIME","TTY","TIME","CMD"]}
|
125
|
-
http_version:
|
126
|
-
recorded_at: Wed, 12 Feb 2014 17:05:20 GMT
|
127
|
-
- request:
|
128
|
-
method: post
|
129
|
-
uri: unix:///var/run/docker.sock/v1.9/containers/a8f25a38eae9d43dbc9fe1d20eeda7fb959ce4d0481f7bab1b5543d8ce366688/kill
|
130
|
-
body:
|
131
|
-
encoding: UTF-8
|
132
|
-
string: "{}"
|
133
|
-
headers:
|
134
|
-
User-Agent:
|
135
|
-
- Swipely/Docker-API 1.7.6
|
136
113
|
Content-Type:
|
137
114
|
- application/json
|
138
|
-
response:
|
139
|
-
status:
|
140
|
-
code: 204
|
141
|
-
message:
|
142
|
-
headers:
|
143
115
|
Date:
|
144
|
-
- Wed, 12
|
116
|
+
- Wed, 12 Mar 2014 13:31:22 GMT
|
145
117
|
Content-Length:
|
146
|
-
- '
|
147
|
-
Content-Type:
|
148
|
-
- text/plain; charset=utf-8
|
118
|
+
- '145'
|
149
119
|
Connection:
|
150
120
|
- close
|
151
121
|
body:
|
152
122
|
encoding: UTF-8
|
153
|
-
string:
|
154
|
-
|
155
|
-
recorded_at: Wed, 12 Feb 2014 17:05:21 GMT
|
156
|
-
- request:
|
157
|
-
method: delete
|
158
|
-
uri: unix:///var/run/docker.sock/v1.9/containers/a8f25a38eae9d43dbc9fe1d20eeda7fb959ce4d0481f7bab1b5543d8ce366688
|
159
|
-
body:
|
160
|
-
encoding: US-ASCII
|
161
|
-
string: ''
|
162
|
-
headers:
|
163
|
-
User-Agent:
|
164
|
-
- Swipely/Docker-API 1.7.6
|
165
|
-
Content-Type:
|
166
|
-
- text/plain
|
167
|
-
response:
|
168
|
-
status:
|
169
|
-
code: 204
|
170
|
-
message:
|
171
|
-
headers:
|
172
|
-
Date:
|
173
|
-
- Wed, 12 Feb 2014 17:05:23 GMT
|
174
|
-
Content-Length:
|
175
|
-
- '0'
|
176
|
-
Content-Type:
|
177
|
-
- text/plain; charset=utf-8
|
178
|
-
Connection:
|
179
|
-
- close
|
180
|
-
body:
|
181
|
-
encoding: UTF-8
|
182
|
-
string: ''
|
183
|
-
http_version:
|
184
|
-
recorded_at: Wed, 12 Feb 2014 17:05:23 GMT
|
185
|
-
- request:
|
186
|
-
method: delete
|
187
|
-
uri: unix:///var/run/docker.sock/v1.9/images/8c71f00445f5
|
188
|
-
body:
|
189
|
-
encoding: US-ASCII
|
190
|
-
string: ''
|
191
|
-
headers:
|
192
|
-
User-Agent:
|
193
|
-
- Swipely/Docker-API 1.7.6
|
194
|
-
Content-Type:
|
195
|
-
- text/plain
|
196
|
-
response:
|
197
|
-
status:
|
198
|
-
code: 200
|
199
|
-
message:
|
200
|
-
headers:
|
201
|
-
Date:
|
202
|
-
- Wed, 12 Feb 2014 17:05:23 GMT
|
203
|
-
Content-Length:
|
204
|
-
- '81'
|
205
|
-
Content-Type:
|
206
|
-
- text/plain; charset=utf-8
|
207
|
-
Connection:
|
208
|
-
- close
|
209
|
-
body:
|
210
|
-
encoding: UTF-8
|
211
|
-
string: |-
|
212
|
-
[{"Deleted":"8c71f00445f5285c280e6956d372aabda98a87d1e091fac8398e90ea84dc9d57"}
|
213
|
-
]
|
123
|
+
string: |
|
124
|
+
{"Processes":[["root","1574","1089","90","09:31","?","00:00:00","/bin/sh /while"]],"Titles":["UID","PID","PPID","C","STIME","TTY","TIME","CMD"]}
|
214
125
|
http_version:
|
215
|
-
recorded_at: Wed, 12
|
126
|
+
recorded_at: Wed, 12 Mar 2014 13:31:22 GMT
|
216
127
|
recorded_with: VCR 2.8.0
|
@@ -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.10/containers/create
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
8
|
string: "{\"Cmd\":[\"tar\",\"nonsense\"],\"Image\":\"base\"}"
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- Swipely/Docker-API 1.
|
11
|
+
- Swipely/Docker-API 1.9.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
|
+
- Wed, 12 Mar 2014 13:31:35 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":"38022195052bcf048579fe6e2b6631396935b97b569fa1be6d74fca8ee2fcfe4","Warnings":null}
|
31
31
|
http_version:
|
32
|
-
recorded_at:
|
32
|
+
recorded_at: Wed, 12 Mar 2014 13:31:35 GMT
|
33
33
|
- request:
|
34
34
|
method: post
|
35
|
-
uri: unix:///var/run/docker.sock/v1.
|
35
|
+
uri: unix:///var/run/docker.sock/v1.10/containers/38022195052bcf048579fe6e2b6631396935b97b569fa1be6d74fca8ee2fcfe4/start
|
36
36
|
body:
|
37
37
|
encoding: UTF-8
|
38
38
|
string: "{}"
|
39
39
|
headers:
|
40
40
|
User-Agent:
|
41
|
-
- Swipely/Docker-API 1.
|
41
|
+
- Swipely/Docker-API 1.9.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
|
+
- Wed, 12 Mar 2014 13:31:35 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: Wed, 12 Mar 2014 13:31:35 GMT
|
62
62
|
- request:
|
63
63
|
method: post
|
64
|
-
uri: unix:///var/run/docker.sock/v1.
|
64
|
+
uri: unix:///var/run/docker.sock/v1.10/containers/38022195052bcf048579fe6e2b6631396935b97b569fa1be6d74fca8ee2fcfe4/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.9.1
|
71
71
|
Content-Type:
|
72
72
|
- text/plain
|
73
73
|
response:
|
@@ -78,15 +78,15 @@ http_interactions:
|
|
78
78
|
Content-Type:
|
79
79
|
- application/json
|
80
80
|
Date:
|
81
|
-
-
|
81
|
+
- Wed, 12 Mar 2014 13:31:36 GMT
|
82
82
|
Content-Length:
|
83
|
-
- '
|
83
|
+
- '18'
|
84
84
|
Connection:
|
85
85
|
- close
|
86
86
|
body:
|
87
87
|
encoding: UTF-8
|
88
88
|
string: |
|
89
|
-
{"StatusCode":
|
89
|
+
{"StatusCode":64}
|
90
90
|
http_version:
|
91
|
-
recorded_at:
|
91
|
+
recorded_at: Wed, 12 Mar 2014 13:31:36 GMT
|
92
92
|
recorded_with: VCR 2.8.0
|
@@ -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.10/containers/create
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
8
|
string: "{\"Cmd\":[\"sleep\",\"5\"],\"Image\":\"base\"}"
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- Swipely/Docker-API 1.
|
11
|
+
- Swipely/Docker-API 1.9.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
|
+
- Wed, 12 Mar 2014 13:31:41 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":"c587a897c24942f9101238a1508953c1d0de1bbd32f99544d7f3e0d342483adb","Warnings":null}
|
31
31
|
http_version:
|
32
|
-
recorded_at:
|
32
|
+
recorded_at: Wed, 12 Mar 2014 13:31:41 GMT
|
33
33
|
- request:
|
34
34
|
method: post
|
35
|
-
uri: unix:///var/run/docker.sock/v1.
|
35
|
+
uri: unix:///var/run/docker.sock/v1.10/containers/c587a897c24942f9101238a1508953c1d0de1bbd32f99544d7f3e0d342483adb/start
|
36
36
|
body:
|
37
37
|
encoding: UTF-8
|
38
38
|
string: "{}"
|
39
39
|
headers:
|
40
40
|
User-Agent:
|
41
|
-
- Swipely/Docker-API 1.
|
41
|
+
- Swipely/Docker-API 1.9.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
|
+
- Wed, 12 Mar 2014 13:31:41 GMT
|
51
51
|
Content-Length:
|
52
52
|
- '0'
|
53
53
|
Content-Type:
|
@@ -58,5 +58,5 @@ http_interactions:
|
|
58
58
|
encoding: UTF-8
|
59
59
|
string: ''
|
60
60
|
http_version:
|
61
|
-
recorded_at:
|
61
|
+
recorded_at: Wed, 12 Mar 2014 13:31:41 GMT
|
62
62
|
recorded_with: VCR 2.8.0
|
@@ -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.10/containers/create
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
8
|
string: "{\"Cmd\":[\"sleep\",\"5\"],\"Image\":\"base\"}"
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- Swipely/Docker-API 1.
|
11
|
+
- Swipely/Docker-API 1.9.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
|
+
- Wed, 12 Mar 2014 13:31:36 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":"6a6064d6270041cae49685ab25cf48af4339e3af2f60dc1d869970deed56ef7e","Warnings":null}
|
31
31
|
http_version:
|
32
|
-
recorded_at:
|
32
|
+
recorded_at: Wed, 12 Mar 2014 13:31:36 GMT
|
33
33
|
- request:
|
34
34
|
method: post
|
35
|
-
uri: unix:///var/run/docker.sock/v1.
|
35
|
+
uri: unix:///var/run/docker.sock/v1.10/containers/6a6064d6270041cae49685ab25cf48af4339e3af2f60dc1d869970deed56ef7e/start
|
36
36
|
body:
|
37
37
|
encoding: UTF-8
|
38
38
|
string: "{}"
|
39
39
|
headers:
|
40
40
|
User-Agent:
|
41
|
-
- Swipely/Docker-API 1.
|
41
|
+
- Swipely/Docker-API 1.9.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
|
+
- Wed, 12 Mar 2014 13:31:36 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: Wed, 12 Mar 2014 13:31:36 GMT
|
62
62
|
- request:
|
63
63
|
method: post
|
64
|
-
uri: unix:///var/run/docker.sock/v1.
|
64
|
+
uri: unix:///var/run/docker.sock/v1.10/containers/6a6064d6270041cae49685ab25cf48af4339e3af2f60dc1d869970deed56ef7e/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.9.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
|
+
- Wed, 12 Mar 2014 13:31:41 GMT
|
82
82
|
Content-Length:
|
83
83
|
- '17'
|
84
84
|
Connection:
|
@@ -88,5 +88,5 @@ http_interactions:
|
|
88
88
|
string: |
|
89
89
|
{"StatusCode":0}
|
90
90
|
http_version:
|
91
|
-
recorded_at:
|
91
|
+
recorded_at: Wed, 12 Mar 2014 13:31:41 GMT
|
92
92
|
recorded_with: VCR 2.8.0
|