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":["true"],"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: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":"443df8d63a3a3072d0bf8d556f798702446bb58240a20c7209943c4fd673cbb6","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/443df8d63a3a3072d0bf8d556f798702446bb58240a20c7209943c4fd673cbb6/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: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: post
|
64
|
-
uri: unix:///var/run/docker.sock/v1.
|
64
|
+
uri: unix:///var/run/docker.sock/v1.11/containers/443df8d63a3a3072d0bf8d556f798702446bb58240a20c7209943c4fd673cbb6/stop?t=10
|
65
65
|
body:
|
66
66
|
encoding: UTF-8
|
67
|
-
string:
|
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
|
- application/json
|
73
73
|
response:
|
@@ -76,7 +76,7 @@ http_interactions:
|
|
76
76
|
message:
|
77
77
|
headers:
|
78
78
|
Date:
|
79
|
-
-
|
79
|
+
- Fri, 06 Jun 2014 13:36:45 GMT
|
80
80
|
Content-Length:
|
81
81
|
- '0'
|
82
82
|
Content-Type:
|
@@ -87,16 +87,16 @@ http_interactions:
|
|
87
87
|
encoding: UTF-8
|
88
88
|
string: ''
|
89
89
|
http_version:
|
90
|
-
recorded_at:
|
90
|
+
recorded_at: Fri, 06 Jun 2014 13:36:45 GMT
|
91
91
|
- request:
|
92
92
|
method: get
|
93
|
-
uri: unix:///var/run/docker.sock/v1.
|
93
|
+
uri: unix:///var/run/docker.sock/v1.11/containers/json?all=true
|
94
94
|
body:
|
95
95
|
encoding: US-ASCII
|
96
96
|
string: ''
|
97
97
|
headers:
|
98
98
|
User-Agent:
|
99
|
-
- Swipely/Docker-API 1.
|
99
|
+
- Swipely/Docker-API 1.11.1
|
100
100
|
Content-Type:
|
101
101
|
- text/plain
|
102
102
|
response:
|
@@ -107,7 +107,7 @@ http_interactions:
|
|
107
107
|
Content-Type:
|
108
108
|
- application/json
|
109
109
|
Date:
|
110
|
-
-
|
110
|
+
- Fri, 06 Jun 2014 13:36:45 GMT
|
111
111
|
Connection:
|
112
112
|
- close
|
113
113
|
Transfer-Encoding:
|
@@ -115,30 +115,36 @@ http_interactions:
|
|
115
115
|
body:
|
116
116
|
encoding: UTF-8
|
117
117
|
string: |-
|
118
|
-
[{"Command":"true","Created":
|
119
|
-
,{"Command":"test -d /foo","Created":
|
120
|
-
,{"Command":"pwd","Created":
|
121
|
-
,{"Command":"pwd","Created":
|
122
|
-
,{"Command":"rm -rf / --no-preserve-root","Created":
|
123
|
-
,{"Command":"
|
124
|
-
,{"Command":"
|
125
|
-
,{"Command":"/
|
126
|
-
,{"Command":"
|
127
|
-
,{"Command":"
|
128
|
-
,{"Command":"
|
129
|
-
,{"Command":"true","Created":
|
118
|
+
[{"Command":"true","Created":1402061804,"Id":"443df8d63a3a3072d0bf8d556f798702446bb58240a20c7209943c4fd673cbb6","Image":"base:latest","Names":["/lonely_lumiere"],"Ports":[],"Status":"Exited (2) Less than a second ago"}
|
119
|
+
,{"Command":"test -d /foo","Created":1402061803,"Id":"931f5a5a5c2b4fad7b87e7348d08278321467f83bacf32c8c8a397f08c51646d","Image":"base:latest","Names":["/cranky_curie"],"Ports":[],"Status":"Exited (0) Less than a second ago"}
|
120
|
+
,{"Command":"pwd","Created":1402061803,"Id":"ca222127cb8b1cfd32b49f7bce67a65551ca95c06a39df9d533e526cdd6b3012","Image":"base:latest","Names":["/determined_bartik"],"Ports":[],"Status":"Exited (0) 1 seconds ago"}
|
121
|
+
,{"Command":"pwd","Created":1402061802,"Id":"1cbce47c914fad3c7d384c91cae92c025e3ef68293fcc96cb100e6f88c9a2ef2","Image":"base:latest","Names":["/berserk_sammet"],"Ports":[],"Status":"Exited (0) 1 seconds ago"}
|
122
|
+
,{"Command":"rm -rf / --no-preserve-root","Created":1402061800,"Id":"46a466141579783967dcbc035bc6399649bd43b7f4408ce4e709d233aac5ef14","Image":"base:latest","Names":["/grave_poincare"],"Ports":[],"Status":"Exited (1) 3 seconds ago"}
|
123
|
+
,{"Command":"/while","Created":1402061799,"Id":"74553200d912dda35c0f8641028d3e42faaf6e41b4337a4e202328414bb2da5e","Image":"5964d75bfbd2","Names":["/angry_brown"],"Ports":[],"Status":"Up 5 seconds"}
|
124
|
+
,{"Command":"/bin/sh -c 'printf '#! /bin/sh\nwhile true\ndo\ntrue\ndone\n' \u003e /while \u0026\u0026 chmod +x /while'","Created":1402061795,"Id":"9bae4f8c6a162a4751230b334d7a1883fc05898c5a8674fb2e5f74d13b5fd535","Image":"base:latest","Names":["/stupefied_darwin"],"Ports":[],"Status":"Exited (0) 9 seconds ago"}
|
125
|
+
,{"Command":"rm -rf /root","Created":1402061793,"Id":"e2aa3bf983f31a26fa4ea31f915f33dbb800210fe5155f3e5ec2b7ef2f6f011a","Image":"base:latest","Names":["/agitated_lumiere"],"Ports":[],"Status":"Exited (0) 11 seconds ago"}
|
126
|
+
,{"Command":"echo hello","Created":1402061792,"Id":"43a9245ac3f67d2150845dbe4bb014d1b33f6fe7755f53c0795b793abec025e6","Image":"base:latest","Names":["/nostalgic_brattain"],"Ports":[],"Status":""}
|
127
|
+
,{"Command":"true","Created":1402061792,"Id":"b2fffac62786c5b22eebc6e89dcc6146f6d5c7c2d1c87f4047c224594f9fd626","Image":"base:latest","Names":["/bob"],"Ports":[],"Status":""}
|
128
|
+
,{"Command":"echo hello","Created":1402061792,"Id":"3b94c2244b65ee461a8de220f689efc4f5139952c3acfbcc62b54754fc2d42af","Image":"base:latest","Names":["/loving_mccarthy"],"Ports":[],"Status":""}
|
129
|
+
,{"Command":"true","Created":1402061791,"Id":"9f7808dd7512fa74bd22f748b04c02694ac13f9fdb3936ddf73858cdfc667627","Image":"base:latest","Names":["/berserk_albattani"],"Ports":[],"Status":""}
|
130
|
+
,{"Command":"bash","Created":1401993112,"Id":"a4a956e5908713eeeeacd438d9b1af76aee3a2d2cfd286509879d66688a51a96","Image":"base:latest","Names":["/distracted_davinci"],"Ports":[],"Status":"Exited (0) 19 hours ago"}
|
131
|
+
,{"Command":"pwd","Created":1401992998,"Id":"84417dce0437109b3da550a5e9b26c53cd3c470a10f140665f50936c4cbc6e5c","Image":"cd20e353a62d","Names":["/nostalgic_sinoussi"],"Ports":[],"Status":"Exited (0) 19 hours ago"}
|
132
|
+
,{"Command":"bash","Created":1401992997,"Id":"3fa30cf9b82e719a9e599350e25321ead36454995621c18da0873991911b5dcf","Image":"base:latest","Names":["/jolly_leakey"],"Ports":[],"Status":"Exited (0) 19 hours ago"}
|
133
|
+
,{"Command":"true","Created":1401992995,"Id":"75b8e7c8f01a5ce68062a91fa05b7aea1a6c71a030207ae1ad266633a6cdd4cc","Image":"base:latest","Names":["/sad_wright"],"Ports":[],"Status":""}
|
134
|
+
,{"Command":"bash","Created":1401992994,"Id":"a39a9b9e48ea2a4e0e7448ce2e895284911dad63e1e4a5cf0f4ee23ea11f62a6","Image":"base:latest","Names":["/distracted_yonath"],"Ports":[],"Status":"Exited (0) 19 hours ago"}
|
135
|
+
,{"Command":"touch /test","Created":1401992992,"Id":"bbe024cccc9898f753a96119eb761d447e4d5d750b45c833a573aec71cc2392e","Image":"base:latest","Names":["/prickly_heisenberg"],"Ports":[],"Status":"Exited (0) 19 hours ago"}
|
130
136
|
]
|
131
137
|
http_version:
|
132
|
-
recorded_at:
|
138
|
+
recorded_at: Fri, 06 Jun 2014 13:36:45 GMT
|
133
139
|
- request:
|
134
140
|
method: get
|
135
|
-
uri: unix:///var/run/docker.sock/v1.
|
141
|
+
uri: unix:///var/run/docker.sock/v1.11/containers/json
|
136
142
|
body:
|
137
143
|
encoding: US-ASCII
|
138
144
|
string: ''
|
139
145
|
headers:
|
140
146
|
User-Agent:
|
141
|
-
- Swipely/Docker-API 1.
|
147
|
+
- Swipely/Docker-API 1.11.1
|
142
148
|
Content-Type:
|
143
149
|
- text/plain
|
144
150
|
response:
|
@@ -149,16 +155,16 @@ http_interactions:
|
|
149
155
|
Content-Type:
|
150
156
|
- application/json
|
151
157
|
Date:
|
152
|
-
-
|
158
|
+
- Fri, 06 Jun 2014 13:36:45 GMT
|
153
159
|
Content-Length:
|
154
|
-
- '
|
160
|
+
- '199'
|
155
161
|
Connection:
|
156
162
|
- close
|
157
163
|
body:
|
158
164
|
encoding: UTF-8
|
159
165
|
string: |-
|
160
|
-
[{"Command":"/while","Created":
|
166
|
+
[{"Command":"/while","Created":1402061799,"Id":"74553200d912dda35c0f8641028d3e42faaf6e41b4337a4e202328414bb2da5e","Image":"5964d75bfbd2","Names":["/angry_brown"],"Ports":[],"Status":"Up 5 seconds"}
|
161
167
|
]
|
162
168
|
http_version:
|
163
|
-
recorded_at:
|
164
|
-
recorded_with: VCR 2.
|
169
|
+
recorded_at: Fri, 06 Jun 2014 13:36:45 GMT
|
170
|
+
recorded_with: VCR 2.9.2
|
@@ -2,17 +2,21 @@
|
|
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/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.11.1
|
12
12
|
Content-Type:
|
13
13
|
- application/tar
|
14
14
|
Transfer-Encoding:
|
15
15
|
- chunked
|
16
|
+
X-Registry-Auth:
|
17
|
+
- e30=
|
18
|
+
X-Registry-Config:
|
19
|
+
- e30=
|
16
20
|
response:
|
17
21
|
status:
|
18
22
|
code: 200
|
@@ -21,7 +25,7 @@ http_interactions:
|
|
21
25
|
Content-Type:
|
22
26
|
- application/json
|
23
27
|
Date:
|
24
|
-
-
|
28
|
+
- Fri, 06 Jun 2014 14:16:05 GMT
|
25
29
|
Connection:
|
26
30
|
- close
|
27
31
|
Transfer-Encoding:
|
@@ -31,19 +35,19 @@ http_interactions:
|
|
31
35
|
string: "{\"stream\":\"Step 0 : from base\\n\"}\r\n{\"stream\":\" ---\\u003e
|
32
36
|
b750fe79269d\\n\"}\r\n{\"stream\":\"Step 1 : run printf '#! /bin/sh\\\\nwhile
|
33
37
|
true\\\\ndo\\\\ntrue\\\\ndone\\\\n' \\u003e /while \\u0026\\u0026 chmod +x
|
34
|
-
/while\\n\"}\r\n{\"stream\":\" ---\\u003e
|
35
|
-
---\\u003e
|
38
|
+
/while\\n\"}\r\n{\"stream\":\" ---\\u003e Using cache\\n\"}\r\n{\"stream\":\"
|
39
|
+
---\\u003e 5964d75bfbd2\\n\"}\r\n{\"stream\":\"Successfully built 5964d75bfbd2\\n\"}\r\n"
|
36
40
|
http_version:
|
37
|
-
recorded_at:
|
41
|
+
recorded_at: Fri, 06 Jun 2014 14:16:05 GMT
|
38
42
|
- request:
|
39
43
|
method: post
|
40
|
-
uri: unix:///var/run/docker.sock/v1.
|
44
|
+
uri: unix:///var/run/docker.sock/v1.11/containers/create
|
41
45
|
body:
|
42
46
|
encoding: UTF-8
|
43
|
-
string:
|
47
|
+
string: '{"Image":"5964d75bfbd2","Cmd":["/while"]}'
|
44
48
|
headers:
|
45
49
|
User-Agent:
|
46
|
-
- Swipely/Docker-API 1.
|
50
|
+
- Swipely/Docker-API 1.11.1
|
47
51
|
Content-Type:
|
48
52
|
- application/json
|
49
53
|
response:
|
@@ -54,7 +58,7 @@ http_interactions:
|
|
54
58
|
Content-Type:
|
55
59
|
- application/json
|
56
60
|
Date:
|
57
|
-
-
|
61
|
+
- Fri, 06 Jun 2014 14:16:06 GMT
|
58
62
|
Content-Length:
|
59
63
|
- '90'
|
60
64
|
Connection:
|
@@ -62,18 +66,18 @@ http_interactions:
|
|
62
66
|
body:
|
63
67
|
encoding: UTF-8
|
64
68
|
string: |
|
65
|
-
{"Id":"
|
69
|
+
{"Id":"4895cb1e1abcbbadbb5a20d43ed0b63059c4342e96b9aa154d8eb18227cefb6e","Warnings":null}
|
66
70
|
http_version:
|
67
|
-
recorded_at:
|
71
|
+
recorded_at: Fri, 06 Jun 2014 14:16:06 GMT
|
68
72
|
- request:
|
69
73
|
method: post
|
70
|
-
uri: unix:///var/run/docker.sock/v1.
|
74
|
+
uri: unix:///var/run/docker.sock/v1.11/containers/4895cb1e1abcbbadbb5a20d43ed0b63059c4342e96b9aa154d8eb18227cefb6e/start
|
71
75
|
body:
|
72
76
|
encoding: UTF-8
|
73
|
-
string:
|
77
|
+
string: '{}'
|
74
78
|
headers:
|
75
79
|
User-Agent:
|
76
|
-
- Swipely/Docker-API 1.
|
80
|
+
- Swipely/Docker-API 1.11.1
|
77
81
|
Content-Type:
|
78
82
|
- application/json
|
79
83
|
response:
|
@@ -82,7 +86,7 @@ http_interactions:
|
|
82
86
|
message:
|
83
87
|
headers:
|
84
88
|
Date:
|
85
|
-
-
|
89
|
+
- Fri, 06 Jun 2014 14:16:06 GMT
|
86
90
|
Content-Length:
|
87
91
|
- '0'
|
88
92
|
Content-Type:
|
@@ -93,16 +97,16 @@ http_interactions:
|
|
93
97
|
encoding: UTF-8
|
94
98
|
string: ''
|
95
99
|
http_version:
|
96
|
-
recorded_at:
|
100
|
+
recorded_at: Fri, 06 Jun 2014 14:16:06 GMT
|
97
101
|
- request:
|
98
102
|
method: get
|
99
|
-
uri: unix:///var/run/docker.sock/v1.
|
103
|
+
uri: unix:///var/run/docker.sock/v1.11/containers/4895cb1e1abcbbadbb5a20d43ed0b63059c4342e96b9aa154d8eb18227cefb6e/top
|
100
104
|
body:
|
101
105
|
encoding: US-ASCII
|
102
106
|
string: ''
|
103
107
|
headers:
|
104
108
|
User-Agent:
|
105
|
-
- Swipely/Docker-API 1.
|
109
|
+
- Swipely/Docker-API 1.11.1
|
106
110
|
Content-Type:
|
107
111
|
- text/plain
|
108
112
|
response:
|
@@ -113,7 +117,7 @@ http_interactions:
|
|
113
117
|
Content-Type:
|
114
118
|
- application/json
|
115
119
|
Date:
|
116
|
-
-
|
120
|
+
- Fri, 06 Jun 2014 14:16:07 GMT
|
117
121
|
Content-Length:
|
118
122
|
- '145'
|
119
123
|
Connection:
|
@@ -121,7 +125,7 @@ http_interactions:
|
|
121
125
|
body:
|
122
126
|
encoding: UTF-8
|
123
127
|
string: |
|
124
|
-
{"Processes":[["root","
|
128
|
+
{"Processes":[["root","5657","5480","95","10:16","?","00:00:00","/bin/sh /while"]],"Titles":["UID","PID","PPID","C","STIME","TTY","TIME","CMD"]}
|
125
129
|
http_version:
|
126
|
-
recorded_at:
|
127
|
-
recorded_with: VCR 2.
|
130
|
+
recorded_at: Fri, 06 Jun 2014 14:16:07 GMT
|
131
|
+
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":["tar","nonsense"],"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:47 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":"c70cfabe185292f9f8ee870411426a5f395ddff7154b0d33c4856077251ef07b","Warnings":null}
|
31
31
|
http_version:
|
32
|
-
recorded_at:
|
32
|
+
recorded_at: Fri, 06 Jun 2014 13:36:47 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/c70cfabe185292f9f8ee870411426a5f395ddff7154b0d33c4856077251ef07b/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:47 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:47 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/c70cfabe185292f9f8ee870411426a5f395ddff7154b0d33c4856077251ef07b/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:48 GMT
|
82
82
|
Content-Length:
|
83
83
|
- '18'
|
84
84
|
Connection:
|
@@ -88,5 +88,5 @@ http_interactions:
|
|
88
88
|
string: |
|
89
89
|
{"StatusCode":64}
|
90
90
|
http_version:
|
91
|
-
recorded_at:
|
92
|
-
recorded_with: VCR 2.
|
91
|
+
recorded_at: Fri, 06 Jun 2014 13:36:48 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":["sleep","5"],"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":"4725efd445a3d695fd1334972a0f09f963369f108a3823709ffe1cdadbf48635","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/4725efd445a3d695fd1334972a0f09f963369f108a3823709ffe1cdadbf48635/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,5 +58,5 @@ http_interactions:
|
|
58
58
|
encoding: UTF-8
|
59
59
|
string: ''
|
60
60
|
http_version:
|
61
|
-
recorded_at:
|
62
|
-
recorded_with: VCR 2.
|
61
|
+
recorded_at: Fri, 06 Jun 2014 13:36:54 GMT
|
62
|
+
recorded_with: VCR 2.9.2
|