docker-client 0.1.1 → 0.1.2
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.
- data/.gitignore +1 -0
- data/README.md +3 -1
- data/Rakefile +18 -0
- data/lib/docker/error.rb +1 -0
- data/lib/docker/error/image_not_found.rb +7 -0
- data/lib/docker/resource/container.rb +10 -0
- data/lib/docker/resource/image.rb +43 -0
- data/lib/docker/version.rb +1 -1
- data/spec/cassettes/Docker_Connection/returns_a_stream.yml +171 -0
- data/spec/cassettes/Docker_Connection/returns_a_valid_response_for_a_basic_request.yml +3 -12
- data/spec/cassettes/Docker_Connection/returns_a_valid_response_for_get_request.yml +3 -77
- data/spec/cassettes/Docker_Connection/returns_a_valid_response_for_post_request.yml +189 -0
- data/spec/cassettes/Docker_Connection/returns_status_404_for_non_existent_path.yml +2 -2
- data/spec/cassettes/Docker_Connection/sets_given_query_parameters.yml +2 -2
- data/spec/cassettes/Docker_Connection/sets_given_request_headers.yml +2 -2
- data/spec/cassettes/Docker_Resource_Container/attach/raises_an_exception_for_an_unknown_container.yml +30 -0
- data/spec/cassettes/Docker_Resource_Container/changes/inspects_the_container_s_filesystem_changes.yml +210 -0
- data/spec/cassettes/Docker_Resource_Container/commit/creates_a_new_image_from_the_container_s_changes.yml +199 -0
- data/spec/cassettes/Docker_Resource_Container/commit/raises_an_exception_for_an_unknown_container.yml +31 -0
- data/spec/cassettes/Docker_Resource_Container/create/raises_an_exception_when_called_with_invalid_options.yml +2 -2
- data/spec/cassettes/Docker_Resource_Container/create/with_many_settings.yml +3 -3
- data/spec/cassettes/Docker_Resource_Container/create/with_minimal_settings.yml +3 -3
- data/spec/cassettes/Docker_Resource_Container/kill/raises_an_exception_for_an_unknow_container.yml +2 -2
- data/spec/cassettes/Docker_Resource_Container/kill/the_container.yml +189 -0
- data/spec/cassettes/Docker_Resource_Container/lists/all_running_containers.yml +7 -17
- data/spec/cassettes/Docker_Resource_Container/lists/limit_last_created_containers.yml +5 -5
- data/spec/cassettes/Docker_Resource_Container/lists/non-running_processes_too.yml +10 -85
- data/spec/cassettes/Docker_Resource_Container/lists/processes_before_a_certain_created_container.yml +303 -0
- data/spec/cassettes/Docker_Resource_Container/lists/processes_since_a_certain_created_container.yml +217 -0
- data/spec/cassettes/Docker_Resource_Container/logs/raises_an_exception_for_an_unknown_container.yml +31 -0
- data/spec/cassettes/Docker_Resource_Container/logs/returns_the_stderr_of_a_container.yml +154 -0
- data/spec/cassettes/Docker_Resource_Container/logs/returns_the_stdout_of_a_container.yml +154 -0
- data/spec/cassettes/Docker_Resource_Container/remove/deletes_the_container.yml +189 -0
- data/spec/cassettes/Docker_Resource_Container/remove/raises_an_exception_with_an_invalid_container.yml +2 -2
- data/spec/cassettes/Docker_Resource_Container/restarts/raises_an_exception_for_an_unknown_container.yml +2 -2
- data/spec/cassettes/Docker_Resource_Container/restarts/the_container.yml +189 -0
- data/spec/cassettes/Docker_Resource_Container/shows/the_low_level_details.yml +315 -0
- data/spec/cassettes/Docker_Resource_Container/start/brings_a_container_into_state_running.yml +189 -0
- data/spec/cassettes/Docker_Resource_Container/start/raises_an_exception_for_an_unknown_container.yml +2 -2
- data/spec/cassettes/Docker_Resource_Container/stop/halts_a_container.yml +189 -0
- data/spec/cassettes/Docker_Resource_Container/stop/raises_an_exception_for_an_unknown_container.yml +2 -2
- data/spec/cassettes/Docker_Resource_Container/wait/blocks_until_the_container_stops.yml +196 -0
- data/spec/cassettes/Docker_Resource_Container/wait/raises_an_exception_for_an_unknown_container.yml +2 -2
- data/spec/cassettes/Docker_Resource_Image/history/.yml +33 -0
- data/spec/cassettes/Docker_Resource_Image/history/size/.yml +33 -0
- data/spec/cassettes/Docker_Resource_Image/history/step/.yml +33 -0
- data/spec/cassettes/Docker_Resource_Image/list/.yml +44 -0
- data/spec/cassettes/Docker_Resource_Image/list/includes_latest_base_image.yml +44 -0
- data/spec/cassettes/Docker_Resource_Image/list/size/.yml +44 -0
- data/spec/cassettes/Docker_Resource_Image/remove/deletes_the_image.yml +192 -0
- data/spec/cassettes/Docker_Resource_Image/remove/raises_an_exception_for_an_unknown_image.yml +31 -0
- data/spec/cassettes/Docker_Resource_Image/show/.yml +42 -0
- data/spec/cassettes/Docker_Resource_Image/show/raises_an_exception_for_an_unknown_image.yml +31 -0
- data/spec/cassettes/Docker_Resource_Image/tag/an_image_into_a_repository.yml +30 -0
- data/spec/cassettes/Docker_Resource_Image/tag/raises_an_exception_for_an_unknown_image.yml +31 -0
- data/spec/cassettes/test_setup/commit_container.yml +423 -0
- data/spec/cassettes/test_setup/create_container__command_/bin/sh_-c_while_true_do_echo_hello_world_sleep_1_done_.yml +33 -0
- data/spec/cassettes/test_setup/create_container_connection_post.yml +3 -3
- data/spec/cassettes/test_setup/create_container_container_attach.yml +34 -0
- data/spec/cassettes/test_setup/create_container_container_changes.yml +3 -3
- data/spec/cassettes/test_setup/create_container_container_commit.yml +33 -0
- data/spec/cassettes/test_setup/create_container_container_kill.yml +3 -3
- data/spec/cassettes/test_setup/create_container_container_lists1.yml +3 -3
- data/spec/cassettes/test_setup/create_container_container_lists2.yml +3 -3
- data/spec/cassettes/test_setup/create_container_container_logs.yml +3 -3
- data/spec/cassettes/test_setup/create_container_container_remove.yml +3 -3
- data/spec/cassettes/test_setup/create_container_container_restarts.yml +3 -3
- data/spec/cassettes/test_setup/create_container_container_shows.yml +3 -3
- data/spec/cassettes/test_setup/create_container_container_start.yml +3 -3
- data/spec/cassettes/test_setup/create_container_container_stop.yml +3 -3
- data/spec/cassettes/test_setup/create_container_container_wait.yml +3 -3
- data/spec/cassettes/test_setup/create_container_test-image.yml +33 -0
- data/spec/cassettes/test_setup/create_container_test-returns-a-stream.yml +34 -0
- data/spec/cassettes/test_setup/create_container_test-tag.yml +33 -0
- data/spec/cassettes/test_setup/delete_container.yml +3727 -0
- data/spec/cassettes/test_setup/delete_image.yml +409 -0
- data/spec/cassettes/test_setup/start_container.yml +2813 -0
- data/spec/cassettes/test_setup/wait_on_container.yml +1080 -0
- data/spec/docker/connection_spec.rb +1 -1
- data/spec/docker/resource/container_spec.rb +26 -11
- data/spec/docker/resource/image_spec.rb +104 -0
- data/spec/helpers.rb +31 -2
- metadata +55 -2
data/spec/cassettes/Docker_Resource_Container/start/brings_a_container_into_state_running.yml
CHANGED
@@ -27,4 +27,193 @@ http_interactions:
|
|
27
27
|
string: !binary ""
|
28
28
|
http_version:
|
29
29
|
recorded_at: Sat, 25 May 2013 16:05:27 GMT
|
30
|
+
- request:
|
31
|
+
method: post
|
32
|
+
uri: http://10.0.5.5:4243/containers/bb8a8de1c715/start
|
33
|
+
body:
|
34
|
+
encoding: US-ASCII
|
35
|
+
string: ''
|
36
|
+
headers: {}
|
37
|
+
response:
|
38
|
+
status:
|
39
|
+
code: 204
|
40
|
+
message: !binary |-
|
41
|
+
Tm8gQ29udGVudA==
|
42
|
+
headers:
|
43
|
+
!binary "RGF0ZQ==":
|
44
|
+
- !binary |-
|
45
|
+
TW9uLCAwMyBKdW4gMjAxMyAyMTowMDowNCBHTVQ=
|
46
|
+
!binary "VHJhbnNmZXItRW5jb2Rpbmc=":
|
47
|
+
- !binary |-
|
48
|
+
Y2h1bmtlZA==
|
49
|
+
!binary "Q29udGVudC1UeXBl":
|
50
|
+
- !binary |-
|
51
|
+
dGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOA==
|
52
|
+
body:
|
53
|
+
encoding: ASCII-8BIT
|
54
|
+
string: !binary ""
|
55
|
+
http_version:
|
56
|
+
recorded_at: Mon, 03 Jun 2013 21:00:04 GMT
|
57
|
+
- request:
|
58
|
+
method: post
|
59
|
+
uri: http://10.0.5.5:4243/containers/895b4609a603/start
|
60
|
+
body:
|
61
|
+
encoding: US-ASCII
|
62
|
+
string: ''
|
63
|
+
headers: {}
|
64
|
+
response:
|
65
|
+
status:
|
66
|
+
code: 204
|
67
|
+
message: !binary |-
|
68
|
+
Tm8gQ29udGVudA==
|
69
|
+
headers:
|
70
|
+
!binary "RGF0ZQ==":
|
71
|
+
- !binary |-
|
72
|
+
TW9uLCAwMyBKdW4gMjAxMyAyMTowNDozMyBHTVQ=
|
73
|
+
!binary "VHJhbnNmZXItRW5jb2Rpbmc=":
|
74
|
+
- !binary |-
|
75
|
+
Y2h1bmtlZA==
|
76
|
+
!binary "Q29udGVudC1UeXBl":
|
77
|
+
- !binary |-
|
78
|
+
dGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOA==
|
79
|
+
body:
|
80
|
+
encoding: ASCII-8BIT
|
81
|
+
string: !binary ""
|
82
|
+
http_version:
|
83
|
+
recorded_at: Mon, 03 Jun 2013 21:04:33 GMT
|
84
|
+
- request:
|
85
|
+
method: post
|
86
|
+
uri: http://10.0.5.5:4243/containers/f1950c0652bf/start
|
87
|
+
body:
|
88
|
+
encoding: US-ASCII
|
89
|
+
string: ''
|
90
|
+
headers: {}
|
91
|
+
response:
|
92
|
+
status:
|
93
|
+
code: 204
|
94
|
+
message: !binary |-
|
95
|
+
Tm8gQ29udGVudA==
|
96
|
+
headers:
|
97
|
+
!binary "RGF0ZQ==":
|
98
|
+
- !binary |-
|
99
|
+
TW9uLCAwMyBKdW4gMjAxMyAyMToxMDoxNCBHTVQ=
|
100
|
+
!binary "VHJhbnNmZXItRW5jb2Rpbmc=":
|
101
|
+
- !binary |-
|
102
|
+
Y2h1bmtlZA==
|
103
|
+
!binary "Q29udGVudC1UeXBl":
|
104
|
+
- !binary |-
|
105
|
+
dGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOA==
|
106
|
+
body:
|
107
|
+
encoding: ASCII-8BIT
|
108
|
+
string: !binary ""
|
109
|
+
http_version:
|
110
|
+
recorded_at: Mon, 03 Jun 2013 21:10:14 GMT
|
111
|
+
- request:
|
112
|
+
method: post
|
113
|
+
uri: http://10.0.5.5:4243/containers/8d866bd7c49a/start
|
114
|
+
body:
|
115
|
+
encoding: US-ASCII
|
116
|
+
string: ''
|
117
|
+
headers: {}
|
118
|
+
response:
|
119
|
+
status:
|
120
|
+
code: 204
|
121
|
+
message: !binary |-
|
122
|
+
Tm8gQ29udGVudA==
|
123
|
+
headers:
|
124
|
+
!binary "RGF0ZQ==":
|
125
|
+
- !binary |-
|
126
|
+
TW9uLCAwMyBKdW4gMjAxMyAyMToyMTo0MyBHTVQ=
|
127
|
+
!binary "VHJhbnNmZXItRW5jb2Rpbmc=":
|
128
|
+
- !binary |-
|
129
|
+
Y2h1bmtlZA==
|
130
|
+
!binary "Q29udGVudC1UeXBl":
|
131
|
+
- !binary |-
|
132
|
+
dGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOA==
|
133
|
+
body:
|
134
|
+
encoding: ASCII-8BIT
|
135
|
+
string: !binary ""
|
136
|
+
http_version:
|
137
|
+
recorded_at: Mon, 03 Jun 2013 21:21:43 GMT
|
138
|
+
- request:
|
139
|
+
method: post
|
140
|
+
uri: http://10.0.5.5:4243/containers/26511584ad6e/start
|
141
|
+
body:
|
142
|
+
encoding: US-ASCII
|
143
|
+
string: ''
|
144
|
+
headers: {}
|
145
|
+
response:
|
146
|
+
status:
|
147
|
+
code: 204
|
148
|
+
message: !binary |-
|
149
|
+
Tm8gQ29udGVudA==
|
150
|
+
headers:
|
151
|
+
!binary "RGF0ZQ==":
|
152
|
+
- !binary |-
|
153
|
+
TW9uLCAwMyBKdW4gMjAxMyAyMToyNTozMyBHTVQ=
|
154
|
+
!binary "VHJhbnNmZXItRW5jb2Rpbmc=":
|
155
|
+
- !binary |-
|
156
|
+
Y2h1bmtlZA==
|
157
|
+
!binary "Q29udGVudC1UeXBl":
|
158
|
+
- !binary |-
|
159
|
+
dGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOA==
|
160
|
+
body:
|
161
|
+
encoding: ASCII-8BIT
|
162
|
+
string: !binary ""
|
163
|
+
http_version:
|
164
|
+
recorded_at: Mon, 03 Jun 2013 21:25:33 GMT
|
165
|
+
- request:
|
166
|
+
method: post
|
167
|
+
uri: http://10.0.5.5:4243/containers/9b067cf86c9f/start
|
168
|
+
body:
|
169
|
+
encoding: US-ASCII
|
170
|
+
string: ''
|
171
|
+
headers: {}
|
172
|
+
response:
|
173
|
+
status:
|
174
|
+
code: 204
|
175
|
+
message: !binary |-
|
176
|
+
Tm8gQ29udGVudA==
|
177
|
+
headers:
|
178
|
+
!binary "RGF0ZQ==":
|
179
|
+
- !binary |-
|
180
|
+
TW9uLCAwMyBKdW4gMjAxMyAyMToyNjo1NCBHTVQ=
|
181
|
+
!binary "VHJhbnNmZXItRW5jb2Rpbmc=":
|
182
|
+
- !binary |-
|
183
|
+
Y2h1bmtlZA==
|
184
|
+
!binary "Q29udGVudC1UeXBl":
|
185
|
+
- !binary |-
|
186
|
+
dGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOA==
|
187
|
+
body:
|
188
|
+
encoding: ASCII-8BIT
|
189
|
+
string: !binary ""
|
190
|
+
http_version:
|
191
|
+
recorded_at: Mon, 03 Jun 2013 21:26:54 GMT
|
192
|
+
- request:
|
193
|
+
method: post
|
194
|
+
uri: http://10.0.5.5:4243/containers/5b2016d02699/start
|
195
|
+
body:
|
196
|
+
encoding: US-ASCII
|
197
|
+
string: ''
|
198
|
+
headers: {}
|
199
|
+
response:
|
200
|
+
status:
|
201
|
+
code: 204
|
202
|
+
message: !binary |-
|
203
|
+
Tm8gQ29udGVudA==
|
204
|
+
headers:
|
205
|
+
!binary "RGF0ZQ==":
|
206
|
+
- !binary |-
|
207
|
+
TW9uLCAwMyBKdW4gMjAxMyAyMTozNzozMCBHTVQ=
|
208
|
+
!binary "VHJhbnNmZXItRW5jb2Rpbmc=":
|
209
|
+
- !binary |-
|
210
|
+
Y2h1bmtlZA==
|
211
|
+
!binary "Q29udGVudC1UeXBl":
|
212
|
+
- !binary |-
|
213
|
+
dGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOA==
|
214
|
+
body:
|
215
|
+
encoding: ASCII-8BIT
|
216
|
+
string: !binary ""
|
217
|
+
http_version:
|
218
|
+
recorded_at: Mon, 03 Jun 2013 21:37:30 GMT
|
30
219
|
recorded_with: VCR 2.5.0
|
data/spec/cassettes/Docker_Resource_Container/start/raises_an_exception_for_an_unknown_container.yml
CHANGED
@@ -18,7 +18,7 @@ http_interactions:
|
|
18
18
|
dGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOA==
|
19
19
|
!binary "RGF0ZQ==":
|
20
20
|
- !binary |-
|
21
|
-
|
21
|
+
TW9uLCAwMyBKdW4gMjAxMyAyMTozNzozMCBHTVQ=
|
22
22
|
!binary "VHJhbnNmZXItRW5jb2Rpbmc=":
|
23
23
|
- !binary |-
|
24
24
|
Y2h1bmtlZA==
|
@@ -27,5 +27,5 @@ http_interactions:
|
|
27
27
|
string: !binary |-
|
28
28
|
Tm8gc3VjaCBjb250YWluZXI6IGludmFsaWRfaWQK
|
29
29
|
http_version:
|
30
|
-
recorded_at:
|
30
|
+
recorded_at: Mon, 03 Jun 2013 21:37:30 GMT
|
31
31
|
recorded_with: VCR 2.5.0
|
@@ -27,4 +27,193 @@ http_interactions:
|
|
27
27
|
string: !binary ""
|
28
28
|
http_version:
|
29
29
|
recorded_at: Sat, 25 May 2013 16:05:33 GMT
|
30
|
+
- request:
|
31
|
+
method: post
|
32
|
+
uri: http://10.0.5.5:4243/containers/8eafcad28adf/stop?t=5
|
33
|
+
body:
|
34
|
+
encoding: US-ASCII
|
35
|
+
string: ''
|
36
|
+
headers: {}
|
37
|
+
response:
|
38
|
+
status:
|
39
|
+
code: 204
|
40
|
+
message: !binary |-
|
41
|
+
Tm8gQ29udGVudA==
|
42
|
+
headers:
|
43
|
+
!binary "RGF0ZQ==":
|
44
|
+
- !binary |-
|
45
|
+
TW9uLCAwMyBKdW4gMjAxMyAyMDo1OTo1MyBHTVQ=
|
46
|
+
!binary "VHJhbnNmZXItRW5jb2Rpbmc=":
|
47
|
+
- !binary |-
|
48
|
+
Y2h1bmtlZA==
|
49
|
+
!binary "Q29udGVudC1UeXBl":
|
50
|
+
- !binary |-
|
51
|
+
dGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOA==
|
52
|
+
body:
|
53
|
+
encoding: ASCII-8BIT
|
54
|
+
string: !binary ""
|
55
|
+
http_version:
|
56
|
+
recorded_at: Mon, 03 Jun 2013 20:59:53 GMT
|
57
|
+
- request:
|
58
|
+
method: post
|
59
|
+
uri: http://10.0.5.5:4243/containers/53bb7eda24d9/stop?t=5
|
60
|
+
body:
|
61
|
+
encoding: US-ASCII
|
62
|
+
string: ''
|
63
|
+
headers: {}
|
64
|
+
response:
|
65
|
+
status:
|
66
|
+
code: 204
|
67
|
+
message: !binary |-
|
68
|
+
Tm8gQ29udGVudA==
|
69
|
+
headers:
|
70
|
+
!binary "RGF0ZQ==":
|
71
|
+
- !binary |-
|
72
|
+
TW9uLCAwMyBKdW4gMjAxMyAyMTowNDozMSBHTVQ=
|
73
|
+
!binary "VHJhbnNmZXItRW5jb2Rpbmc=":
|
74
|
+
- !binary |-
|
75
|
+
Y2h1bmtlZA==
|
76
|
+
!binary "Q29udGVudC1UeXBl":
|
77
|
+
- !binary |-
|
78
|
+
dGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOA==
|
79
|
+
body:
|
80
|
+
encoding: ASCII-8BIT
|
81
|
+
string: !binary ""
|
82
|
+
http_version:
|
83
|
+
recorded_at: Mon, 03 Jun 2013 21:04:31 GMT
|
84
|
+
- request:
|
85
|
+
method: post
|
86
|
+
uri: http://10.0.5.5:4243/containers/f4d47aeeef03/stop?t=5
|
87
|
+
body:
|
88
|
+
encoding: US-ASCII
|
89
|
+
string: ''
|
90
|
+
headers: {}
|
91
|
+
response:
|
92
|
+
status:
|
93
|
+
code: 204
|
94
|
+
message: !binary |-
|
95
|
+
Tm8gQ29udGVudA==
|
96
|
+
headers:
|
97
|
+
!binary "RGF0ZQ==":
|
98
|
+
- !binary |-
|
99
|
+
TW9uLCAwMyBKdW4gMjAxMyAyMTowOTo0OCBHTVQ=
|
100
|
+
!binary "VHJhbnNmZXItRW5jb2Rpbmc=":
|
101
|
+
- !binary |-
|
102
|
+
Y2h1bmtlZA==
|
103
|
+
!binary "Q29udGVudC1UeXBl":
|
104
|
+
- !binary |-
|
105
|
+
dGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOA==
|
106
|
+
body:
|
107
|
+
encoding: ASCII-8BIT
|
108
|
+
string: !binary ""
|
109
|
+
http_version:
|
110
|
+
recorded_at: Mon, 03 Jun 2013 21:09:48 GMT
|
111
|
+
- request:
|
112
|
+
method: post
|
113
|
+
uri: http://10.0.5.5:4243/containers/f14f83768ce3/stop?t=5
|
114
|
+
body:
|
115
|
+
encoding: US-ASCII
|
116
|
+
string: ''
|
117
|
+
headers: {}
|
118
|
+
response:
|
119
|
+
status:
|
120
|
+
code: 204
|
121
|
+
message: !binary |-
|
122
|
+
Tm8gQ29udGVudA==
|
123
|
+
headers:
|
124
|
+
!binary "RGF0ZQ==":
|
125
|
+
- !binary |-
|
126
|
+
TW9uLCAwMyBKdW4gMjAxMyAyMToyMToxOCBHTVQ=
|
127
|
+
!binary "VHJhbnNmZXItRW5jb2Rpbmc=":
|
128
|
+
- !binary |-
|
129
|
+
Y2h1bmtlZA==
|
130
|
+
!binary "Q29udGVudC1UeXBl":
|
131
|
+
- !binary |-
|
132
|
+
dGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOA==
|
133
|
+
body:
|
134
|
+
encoding: ASCII-8BIT
|
135
|
+
string: !binary ""
|
136
|
+
http_version:
|
137
|
+
recorded_at: Mon, 03 Jun 2013 21:21:18 GMT
|
138
|
+
- request:
|
139
|
+
method: post
|
140
|
+
uri: http://10.0.5.5:4243/containers/a6c14f18149a/stop?t=5
|
141
|
+
body:
|
142
|
+
encoding: US-ASCII
|
143
|
+
string: ''
|
144
|
+
headers: {}
|
145
|
+
response:
|
146
|
+
status:
|
147
|
+
code: 204
|
148
|
+
message: !binary |-
|
149
|
+
Tm8gQ29udGVudA==
|
150
|
+
headers:
|
151
|
+
!binary "RGF0ZQ==":
|
152
|
+
- !binary |-
|
153
|
+
TW9uLCAwMyBKdW4gMjAxMyAyMToyNTozMCBHTVQ=
|
154
|
+
!binary "VHJhbnNmZXItRW5jb2Rpbmc=":
|
155
|
+
- !binary |-
|
156
|
+
Y2h1bmtlZA==
|
157
|
+
!binary "Q29udGVudC1UeXBl":
|
158
|
+
- !binary |-
|
159
|
+
dGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOA==
|
160
|
+
body:
|
161
|
+
encoding: ASCII-8BIT
|
162
|
+
string: !binary ""
|
163
|
+
http_version:
|
164
|
+
recorded_at: Mon, 03 Jun 2013 21:25:30 GMT
|
165
|
+
- request:
|
166
|
+
method: post
|
167
|
+
uri: http://10.0.5.5:4243/containers/14496b579347/stop?t=5
|
168
|
+
body:
|
169
|
+
encoding: US-ASCII
|
170
|
+
string: ''
|
171
|
+
headers: {}
|
172
|
+
response:
|
173
|
+
status:
|
174
|
+
code: 204
|
175
|
+
message: !binary |-
|
176
|
+
Tm8gQ29udGVudA==
|
177
|
+
headers:
|
178
|
+
!binary "RGF0ZQ==":
|
179
|
+
- !binary |-
|
180
|
+
TW9uLCAwMyBKdW4gMjAxMyAyMToyNzoxMyBHTVQ=
|
181
|
+
!binary "VHJhbnNmZXItRW5jb2Rpbmc=":
|
182
|
+
- !binary |-
|
183
|
+
Y2h1bmtlZA==
|
184
|
+
!binary "Q29udGVudC1UeXBl":
|
185
|
+
- !binary |-
|
186
|
+
dGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOA==
|
187
|
+
body:
|
188
|
+
encoding: ASCII-8BIT
|
189
|
+
string: !binary ""
|
190
|
+
http_version:
|
191
|
+
recorded_at: Mon, 03 Jun 2013 21:27:13 GMT
|
192
|
+
- request:
|
193
|
+
method: post
|
194
|
+
uri: http://10.0.5.5:4243/containers/f74308ce4972/stop?t=5
|
195
|
+
body:
|
196
|
+
encoding: US-ASCII
|
197
|
+
string: ''
|
198
|
+
headers: {}
|
199
|
+
response:
|
200
|
+
status:
|
201
|
+
code: 204
|
202
|
+
message: !binary |-
|
203
|
+
Tm8gQ29udGVudA==
|
204
|
+
headers:
|
205
|
+
!binary "RGF0ZQ==":
|
206
|
+
- !binary |-
|
207
|
+
TW9uLCAwMyBKdW4gMjAxMyAyMTozNzoyMiBHTVQ=
|
208
|
+
!binary "VHJhbnNmZXItRW5jb2Rpbmc=":
|
209
|
+
- !binary |-
|
210
|
+
Y2h1bmtlZA==
|
211
|
+
!binary "Q29udGVudC1UeXBl":
|
212
|
+
- !binary |-
|
213
|
+
dGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOA==
|
214
|
+
body:
|
215
|
+
encoding: ASCII-8BIT
|
216
|
+
string: !binary ""
|
217
|
+
http_version:
|
218
|
+
recorded_at: Mon, 03 Jun 2013 21:37:22 GMT
|
30
219
|
recorded_with: VCR 2.5.0
|
data/spec/cassettes/Docker_Resource_Container/stop/raises_an_exception_for_an_unknown_container.yml
CHANGED
@@ -18,7 +18,7 @@ http_interactions:
|
|
18
18
|
dGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOA==
|
19
19
|
!binary "RGF0ZQ==":
|
20
20
|
- !binary |-
|
21
|
-
|
21
|
+
TW9uLCAwMyBKdW4gMjAxMyAyMTozNzoyMiBHTVQ=
|
22
22
|
!binary "VHJhbnNmZXItRW5jb2Rpbmc=":
|
23
23
|
- !binary |-
|
24
24
|
Y2h1bmtlZA==
|
@@ -27,5 +27,5 @@ http_interactions:
|
|
27
27
|
string: !binary |-
|
28
28
|
Tm8gc3VjaCBjb250YWluZXI6IGludmFsaWRfaWQK
|
29
29
|
http_version:
|
30
|
-
recorded_at:
|
30
|
+
recorded_at: Mon, 03 Jun 2013 21:37:22 GMT
|
31
31
|
recorded_with: VCR 2.5.0
|
@@ -28,4 +28,200 @@ http_interactions:
|
|
28
28
|
eyJTdGF0dXNDb2RlIjowfQ==
|
29
29
|
http_version:
|
30
30
|
recorded_at: Sat, 25 May 2013 16:05:26 GMT
|
31
|
+
- request:
|
32
|
+
method: post
|
33
|
+
uri: http://10.0.5.5:4243/containers/94d197b24ff1/wait
|
34
|
+
body:
|
35
|
+
encoding: US-ASCII
|
36
|
+
string: ''
|
37
|
+
headers: {}
|
38
|
+
response:
|
39
|
+
status:
|
40
|
+
code: 200
|
41
|
+
message: !binary |-
|
42
|
+
T0s=
|
43
|
+
headers:
|
44
|
+
!binary "Q29udGVudC1UeXBl":
|
45
|
+
- !binary |-
|
46
|
+
YXBwbGljYXRpb24vanNvbg==
|
47
|
+
!binary "RGF0ZQ==":
|
48
|
+
- !binary |-
|
49
|
+
TW9uLCAwMyBKdW4gMjAxMyAyMTowMDowMyBHTVQ=
|
50
|
+
!binary "VHJhbnNmZXItRW5jb2Rpbmc=":
|
51
|
+
- !binary |-
|
52
|
+
Y2h1bmtlZA==
|
53
|
+
body:
|
54
|
+
encoding: ASCII-8BIT
|
55
|
+
string: !binary |-
|
56
|
+
eyJTdGF0dXNDb2RlIjowfQ==
|
57
|
+
http_version:
|
58
|
+
recorded_at: Mon, 03 Jun 2013 21:00:03 GMT
|
59
|
+
- request:
|
60
|
+
method: post
|
61
|
+
uri: http://10.0.5.5:4243/containers/7a87dfa1c739/wait
|
62
|
+
body:
|
63
|
+
encoding: US-ASCII
|
64
|
+
string: ''
|
65
|
+
headers: {}
|
66
|
+
response:
|
67
|
+
status:
|
68
|
+
code: 200
|
69
|
+
message: !binary |-
|
70
|
+
T0s=
|
71
|
+
headers:
|
72
|
+
!binary "Q29udGVudC1UeXBl":
|
73
|
+
- !binary |-
|
74
|
+
YXBwbGljYXRpb24vanNvbg==
|
75
|
+
!binary "RGF0ZQ==":
|
76
|
+
- !binary |-
|
77
|
+
TW9uLCAwMyBKdW4gMjAxMyAyMTowNDoxNCBHTVQ=
|
78
|
+
!binary "VHJhbnNmZXItRW5jb2Rpbmc=":
|
79
|
+
- !binary |-
|
80
|
+
Y2h1bmtlZA==
|
81
|
+
body:
|
82
|
+
encoding: ASCII-8BIT
|
83
|
+
string: !binary |-
|
84
|
+
eyJTdGF0dXNDb2RlIjowfQ==
|
85
|
+
http_version:
|
86
|
+
recorded_at: Mon, 03 Jun 2013 21:04:14 GMT
|
87
|
+
- request:
|
88
|
+
method: post
|
89
|
+
uri: http://10.0.5.5:4243/containers/20eef238da73/wait
|
90
|
+
body:
|
91
|
+
encoding: US-ASCII
|
92
|
+
string: ''
|
93
|
+
headers: {}
|
94
|
+
response:
|
95
|
+
status:
|
96
|
+
code: 200
|
97
|
+
message: !binary |-
|
98
|
+
T0s=
|
99
|
+
headers:
|
100
|
+
!binary "Q29udGVudC1UeXBl":
|
101
|
+
- !binary |-
|
102
|
+
YXBwbGljYXRpb24vanNvbg==
|
103
|
+
!binary "RGF0ZQ==":
|
104
|
+
- !binary |-
|
105
|
+
TW9uLCAwMyBKdW4gMjAxMyAyMTowOTo1OSBHTVQ=
|
106
|
+
!binary "VHJhbnNmZXItRW5jb2Rpbmc=":
|
107
|
+
- !binary |-
|
108
|
+
Y2h1bmtlZA==
|
109
|
+
body:
|
110
|
+
encoding: ASCII-8BIT
|
111
|
+
string: !binary |-
|
112
|
+
eyJTdGF0dXNDb2RlIjowfQ==
|
113
|
+
http_version:
|
114
|
+
recorded_at: Mon, 03 Jun 2013 21:09:59 GMT
|
115
|
+
- request:
|
116
|
+
method: post
|
117
|
+
uri: http://10.0.5.5:4243/containers/6055961ae1c2/wait
|
118
|
+
body:
|
119
|
+
encoding: US-ASCII
|
120
|
+
string: ''
|
121
|
+
headers: {}
|
122
|
+
response:
|
123
|
+
status:
|
124
|
+
code: 200
|
125
|
+
message: !binary |-
|
126
|
+
T0s=
|
127
|
+
headers:
|
128
|
+
!binary "Q29udGVudC1UeXBl":
|
129
|
+
- !binary |-
|
130
|
+
YXBwbGljYXRpb24vanNvbg==
|
131
|
+
!binary "RGF0ZQ==":
|
132
|
+
- !binary |-
|
133
|
+
TW9uLCAwMyBKdW4gMjAxMyAyMToyMTo0OCBHTVQ=
|
134
|
+
!binary "VHJhbnNmZXItRW5jb2Rpbmc=":
|
135
|
+
- !binary |-
|
136
|
+
Y2h1bmtlZA==
|
137
|
+
body:
|
138
|
+
encoding: ASCII-8BIT
|
139
|
+
string: !binary |-
|
140
|
+
eyJTdGF0dXNDb2RlIjowfQ==
|
141
|
+
http_version:
|
142
|
+
recorded_at: Mon, 03 Jun 2013 21:21:48 GMT
|
143
|
+
- request:
|
144
|
+
method: post
|
145
|
+
uri: http://10.0.5.5:4243/containers/e5d440ced9b6/wait
|
146
|
+
body:
|
147
|
+
encoding: US-ASCII
|
148
|
+
string: ''
|
149
|
+
headers: {}
|
150
|
+
response:
|
151
|
+
status:
|
152
|
+
code: 200
|
153
|
+
message: !binary |-
|
154
|
+
T0s=
|
155
|
+
headers:
|
156
|
+
!binary "Q29udGVudC1UeXBl":
|
157
|
+
- !binary |-
|
158
|
+
YXBwbGljYXRpb24vanNvbg==
|
159
|
+
!binary "RGF0ZQ==":
|
160
|
+
- !binary |-
|
161
|
+
TW9uLCAwMyBKdW4gMjAxMyAyMToyNjowMyBHTVQ=
|
162
|
+
!binary "VHJhbnNmZXItRW5jb2Rpbmc=":
|
163
|
+
- !binary |-
|
164
|
+
Y2h1bmtlZA==
|
165
|
+
body:
|
166
|
+
encoding: ASCII-8BIT
|
167
|
+
string: !binary |-
|
168
|
+
eyJTdGF0dXNDb2RlIjowfQ==
|
169
|
+
http_version:
|
170
|
+
recorded_at: Mon, 03 Jun 2013 21:26:03 GMT
|
171
|
+
- request:
|
172
|
+
method: post
|
173
|
+
uri: http://10.0.5.5:4243/containers/6ce4822278dc/wait
|
174
|
+
body:
|
175
|
+
encoding: US-ASCII
|
176
|
+
string: ''
|
177
|
+
headers: {}
|
178
|
+
response:
|
179
|
+
status:
|
180
|
+
code: 200
|
181
|
+
message: !binary |-
|
182
|
+
T0s=
|
183
|
+
headers:
|
184
|
+
!binary "Q29udGVudC1UeXBl":
|
185
|
+
- !binary |-
|
186
|
+
YXBwbGljYXRpb24vanNvbg==
|
187
|
+
!binary "RGF0ZQ==":
|
188
|
+
- !binary |-
|
189
|
+
TW9uLCAwMyBKdW4gMjAxMyAyMToyNzoyNCBHTVQ=
|
190
|
+
!binary "VHJhbnNmZXItRW5jb2Rpbmc=":
|
191
|
+
- !binary |-
|
192
|
+
Y2h1bmtlZA==
|
193
|
+
body:
|
194
|
+
encoding: ASCII-8BIT
|
195
|
+
string: !binary |-
|
196
|
+
eyJTdGF0dXNDb2RlIjowfQ==
|
197
|
+
http_version:
|
198
|
+
recorded_at: Mon, 03 Jun 2013 21:27:24 GMT
|
199
|
+
- request:
|
200
|
+
method: post
|
201
|
+
uri: http://10.0.5.5:4243/containers/363927f645aa/wait
|
202
|
+
body:
|
203
|
+
encoding: US-ASCII
|
204
|
+
string: ''
|
205
|
+
headers: {}
|
206
|
+
response:
|
207
|
+
status:
|
208
|
+
code: 200
|
209
|
+
message: !binary |-
|
210
|
+
T0s=
|
211
|
+
headers:
|
212
|
+
!binary "Q29udGVudC1UeXBl":
|
213
|
+
- !binary |-
|
214
|
+
YXBwbGljYXRpb24vanNvbg==
|
215
|
+
!binary "RGF0ZQ==":
|
216
|
+
- !binary |-
|
217
|
+
TW9uLCAwMyBKdW4gMjAxMyAyMTozNzo1MCBHTVQ=
|
218
|
+
!binary "VHJhbnNmZXItRW5jb2Rpbmc=":
|
219
|
+
- !binary |-
|
220
|
+
Y2h1bmtlZA==
|
221
|
+
body:
|
222
|
+
encoding: ASCII-8BIT
|
223
|
+
string: !binary |-
|
224
|
+
eyJTdGF0dXNDb2RlIjowfQ==
|
225
|
+
http_version:
|
226
|
+
recorded_at: Mon, 03 Jun 2013 21:37:50 GMT
|
31
227
|
recorded_with: VCR 2.5.0
|