docker-api 1.18.0 → 1.19.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 +7 -7
- data/lib/docker/exec.rb +8 -2
- data/lib/docker/util.rb +11 -1
- data/lib/docker/version.rb +2 -2
- data/spec/docker/container_spec.rb +6 -5
- data/spec/docker/exec_spec.rb +29 -61
- data/spec/docker/image_spec.rb +8 -4
- data/spec/docker_spec.rb +4 -3
- data/spec/fixtures/build_from_dir/Dockerfile +1 -1
- data/spec/vcr/Docker/_authenticate_/with_valid_credentials/logs_in_and_sets_the_creds.yml +10 -9
- data/spec/vcr/Docker/_info/returns_the_info_as_a_Hash.yml +15 -9
- data/spec/vcr/Docker/_validate_version/when_nothing_is_raised/validate_version_/.yml +15 -9
- data/spec/vcr/Docker/_version/returns_the_version_as_a_Hash.yml +10 -9
- data/spec/vcr/Docker_Container/_all/when_the_HTTP_response_is_a_200/materializes_each_Container_into_a_Docker_Container.yml +45 -34
- data/spec/vcr/Docker_Container/_attach/with_normal_sized_chunks/yields_each_chunk.yml +31 -30
- data/spec/vcr/Docker_Container/_attach/with_very_small_chunks/yields_each_chunk.yml +31 -30
- data/spec/vcr/Docker_Container/_changes/returns_the_changes_as_an_array.yml +45 -42
- data/spec/vcr/Docker_Container/_commit/creates_a_new_Image_from_the_Container_s_changes.yml +66 -35
- data/spec/vcr/Docker_Container/_copy/when_the_file_does_not_exist/raises_an_error.yml +37 -35
- data/spec/vcr/Docker_Container/_copy/when_the_input_is_a_directory/yields_each_chunk_of_the_tarred_directory.yml +45 -43
- data/spec/vcr/Docker_Container/_copy/when_the_input_is_a_file/yields_each_chunk_of_the_tarred_file.yml +44 -42
- data/spec/vcr/Docker_Container/_create/when_creating_a_container_named_bob/should_have_name_set_to_bob.yml +24 -22
- data/spec/vcr/Docker_Container/_create/when_the_Container_does_not_yet_exist/when_the_HTTP_request_returns_a_200/sets_the_id.yml +15 -14
- data/spec/vcr/Docker_Container/_delete/deletes_the_container.yml +24 -22
- data/spec/vcr/Docker_Container/_exec/when_detach_is_true/returns_the_Docker_Exec_object.yml +68 -39
- data/spec/vcr/Docker_Container/_exec/when_passed_a_block/streams_the_stdout/stderr_messages.yml +68 -38
- data/spec/vcr/Docker_Container/_exec/when_passed_only_a_command/returns_the_stdout/stderr_messages_and_exit_code.yml +183 -0
- data/spec/vcr/Docker_Container/_exec/when_stdin_object_is_passed/returns_the_stdout/stderr_messages.yml +26 -25
- data/spec/vcr/Docker_Container/_exec/when_tty_is_true/returns_the_raw_stdout/stderr_output.yml +68 -38
- data/spec/vcr/Docker_Container/_export/yields_each_chunk.yml +85 -92
- data/spec/vcr/Docker_Container/_get/when_the_HTTP_response_is_a_200/materializes_the_Container_into_a_Docker_Container.yml +24 -22
- data/spec/vcr/Docker_Container/_json/returns_the_description_as_a_Hash.yml +24 -22
- data/spec/vcr/Docker_Container/_kill/kills_the_container.yml +48 -43
- data/spec/vcr/Docker_Container/_kill/with_a_kill_signal/kills_the_container.yml +83 -69
- data/spec/vcr/Docker_Container/_logs/when_not_selecting_any_stream/raises_a_client_error.yml +47 -42
- data/spec/vcr/Docker_Container/_logs/when_selecting_stdout/returns_blank_logs.yml +20 -19
- data/spec/vcr/Docker_Container/_pause/pauses_the_container.yml +45 -43
- data/spec/vcr/Docker_Container/_restart/restarts_the_container.yml +73 -65
- data/spec/vcr/Docker_Container/_run/when_the_Container_s_command_does_not_return_status_code_of_0/raises_an_error.yml +29 -27
- 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 +114 -102
- data/spec/vcr/Docker_Container/_start/starts_the_container.yml +42 -37
- data/spec/vcr/Docker_Container/_stop/stops_the_container.yml +49 -44
- data/spec/vcr/Docker_Container/_streaming_logs/when_not_selecting_any_stream/raises_a_client_error.yml +47 -42
- data/spec/vcr/Docker_Container/_streaming_logs/when_selecting_stdout/returns_blank_logs.yml +20 -19
- data/spec/vcr/Docker_Container/_top/returns_the_top_commands_as_an_Array.yml +54 -51
- data/spec/vcr/Docker_Container/_unpause/unpauses_the_container.yml +45 -43
- data/spec/vcr/Docker_Container/_wait/waits_for_the_command_to_finish.yml +29 -27
- data/spec/vcr/Docker_Container/_wait/when_an_argument_is_given/sets_the_read_timeout_to_that_amount_of_time.yml +29 -27
- data/spec/vcr/Docker_Exec/_create/when_the_HTTP_request_returns_a_201/sets_the_id.yml +35 -33
- data/spec/vcr/Docker_Exec/_json/returns_the_description_as_a_Hash.yml +207 -0
- data/spec/vcr/Docker_Exec/_start_/when_detach_is_set_to_false/block_is_passed/attaches_to_the_stream.yml +68 -38
- data/spec/vcr/Docker_Exec/_start_/when_detach_is_set_to_false/returns_the_stdout_and_stderr_messages.yml +68 -38
- data/spec/vcr/Docker_Exec/_start_/when_detach_is_set_to_true/returns_empty_stdout/stderr_messages_with_exitcode.yml +180 -0
- data/spec/vcr/Docker_Exec/_start_/when_the_HTTP_request_returns_a_201/starts_the_exec_instance.yml +67 -38
- data/spec/vcr/Docker_Exec/_start_/when_the_command_has_already_run/raises_an_error.yml +67 -38
- data/spec/vcr/Docker_Image/_all/materializes_each_Image_into_a_Docker_Image.yml +67 -87
- data/spec/vcr/Docker_Image/_build/with_a_valid_Dockerfile/with_a_block_capturing_build_output/calls_the_block_and_passes_build_output.yml +9 -9
- 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 +92 -107
- data/spec/vcr/Docker_Image/_build/with_a_valid_Dockerfile/without_query_parameters/builds_an_image.yml +9 -9
- data/spec/vcr/Docker_Image/_build/with_an_invalid_Dockerfile/throws_a_UnexpectedResponseError.yml +11 -9
- 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 +89 -38
- data/spec/vcr/Docker_Image/_build_from_dir/with_a_valid_Dockerfile/with_credentials_passed/sends_X-Registry-Config_header.yml +89 -38
- data/spec/vcr/Docker_Image/_build_from_dir/with_a_valid_Dockerfile/with_no_query_parameters/builds_the_image.yml +421 -51
- 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 +422 -140
- 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 +16 -16
- data/spec/vcr/Docker_Image/_create/with_a_block_capturing_create_output/calls_the_block_and_passes_build_output.yml +9 -7
- data/spec/vcr/Docker_Image/_exist_/when_the_image_does_exist/returns_true.yml +11 -9
- data/spec/vcr/Docker_Image/_get/when_the_image_does_exist/returns_the_new_image.yml +11 -9
- data/spec/vcr/Docker_Image/_history/returns_the_history_of_the_Image.yml +21 -18
- data/spec/vcr/Docker_Image/_import/when_the_argument_is_a_URI/when_the_URI_is_invalid/raises_an_error.yml +164 -35
- data/spec/vcr/Docker_Image/_import/when_the_argument_is_a_URI/when_the_URI_is_valid/returns_an_Image.yml +21 -23
- data/spec/vcr/Docker_Image/_import/when_the_file_does_exist/creates_the_Image.yml +15 -15
- data/spec/vcr/Docker_Image/_insert_local/when_a_direcory_is_passed/inserts_the_directory.yml +887 -840
- data/spec/vcr/Docker_Image/_insert_local/when_removing_intermediate_containers/creates_a_new_image.yml +76 -65
- data/spec/vcr/Docker_Image/_insert_local/when_removing_intermediate_containers/leave_no_intermediate_containers.yml +56 -48
- data/spec/vcr/Docker_Image/_insert_local/when_the_local_file_does_exist/creates_a_new_Image_that_has_that_file.yml +63 -61
- data/spec/vcr/Docker_Image/_insert_local/when_the_local_file_does_not_exist/raises_an_error.yml +9 -9
- data/spec/vcr/Docker_Image/_insert_local/when_there_are_multiple_files_passed/creates_a_new_Image_that_has_each_file.yml +69 -66
- data/spec/vcr/Docker_Image/_json/returns_additional_information_about_image_image.yml +19 -17
- data/spec/vcr/Docker_Image/_push/pushes_the_Image.yml +99 -113
- data/spec/vcr/Docker_Image/_push/streams_output_from_push.yml +100 -391
- data/spec/vcr/Docker_Image/_push/when_the_image_was_retrived_by_get/when_no_tag_is_specified/looks_up_the_first_repo_tag.yml +174 -708
- data/spec/vcr/Docker_Image/_push/when_there_are_no_credentials/still_pushes.yml +115 -110
- data/spec/vcr/Docker_Image/_refresh_/updates_the_info_hash.yml +77 -93
- data/spec/vcr/Docker_Image/_refresh_/with_an_explicit_connection/updates_using_the_provided_connection.yml +19 -17
- data/spec/vcr/Docker_Image/_remove/when_no_name_is_given/removes_the_Image.yml +581 -229
- data/spec/vcr/Docker_Image/_run/when_the_argument_is_a_String/splits_the_String_by_spaces_and_creates_a_new_Container.yml +52 -50
- data/spec/vcr/Docker_Image/_run/when_the_argument_is_an_Array/creates_a_new_Container.yml +42 -40
- data/spec/vcr/Docker_Image/_run/when_the_argument_is_nil/command_configured_in_image/should_normally_show_result_if_image_has_Cmd_configured.yml +52 -50
- 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 +16 -15
- data/spec/vcr/Docker_Image/_save/calls_the_class_method.yml +42 -39
- data/spec/vcr/Docker_Image/_save/when_a_filename_is_specified/exports_tarball_of_image_to_specified_file.yml +51 -63
- data/spec/vcr/Docker_Image/_save/when_no_filename_is_specified/returns_raw_binary_data_as_string.yml +51 -63
- data/spec/vcr/Docker_Image/_search/materializes_each_Image_into_a_Docker_Image.yml +48 -209
- data/spec/vcr/Docker_Image/_tag/tags_the_image_with_the_repo_name.yml +22 -22
- metadata +8 -8
- data/spec/vcr/Docker_Container/_exec/when_passed_only_a_command/returns_the_stdout/stderr_messages.yml +0 -153
- data/spec/vcr/Docker_Exec/_resize/when_exec_instance_has_TTY_enabled/returns_a_200.yml +0 -155
- data/spec/vcr/Docker_Exec/_start_/when_detach_is_set_to_true/returns_empty_stdout_and_stderr_messages.yml +0 -151
@@ -2,13 +2,13 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri:
|
5
|
+
uri: <DOCKER_HOST>/v1.16/images/json
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- Swipely/Docker-API 1.
|
11
|
+
- Swipely/Docker-API 1.18.0
|
12
12
|
Content-Type:
|
13
13
|
- text/plain
|
14
14
|
response:
|
@@ -19,33 +19,39 @@ http_interactions:
|
|
19
19
|
Content-Type:
|
20
20
|
- application/json
|
21
21
|
Date:
|
22
|
-
-
|
22
|
+
- Thu, 12 Feb 2015 00:55:16 GMT
|
23
|
+
Content-Length:
|
24
|
+
- '1881'
|
23
25
|
body:
|
24
|
-
encoding:
|
25
|
-
string:
|
26
|
-
|
27
|
-
,{"Created":
|
28
|
-
|
29
|
-
,{"Created":
|
30
|
-
|
31
|
-
,{"Created":
|
32
|
-
|
33
|
-
,{"Created":
|
34
|
-
|
35
|
-
,{"Created":
|
26
|
+
encoding: US-ASCII
|
27
|
+
string: ! '[{"Created":1423702467,"Id":"c5bc00616537c7ba0f051c7212c2a8777bb50e7e195cc8768090f9075e402f31","ParentId":"c90d655b99b2ec5b7e94d38c87f92dce015c17a313caeaae0e980d9b9bed8444","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":0,"VirtualSize":85120773}
|
28
|
+
|
29
|
+
,{"Created":1423521618,"Id":"a47c4817ef07f98471d0182715891eb87d1b015a6c9a977b1ea766a666e96f49","ParentId":"e41eb64a720e4098e29814b767a769fd2bd19222e0885d8f252c3c64318f51d8","RepoTags":["tianon/true:latest"],"Size":0,"VirtualSize":125}
|
30
|
+
|
31
|
+
,{"Created":1422480050,"Id":"c55308716b3671d8a238a6c1245a60f66d76a3e1404b7b8b6e5fe0e65bae4943","ParentId":"214c09aed08bbf283bfb334b5a0526fa7e66ccaf667a5feee66d75af6a69bc6f","RepoTags":["registry:latest"],"Size":0,"VirtualSize":418558798}
|
32
|
+
|
33
|
+
,{"Created":1422379591,"Id":"c90d655b99b2ec5b7e94d38c87f92dce015c17a313caeaae0e980d9b9bed8444","ParentId":"30d39e59ffe287f29a41a3f8bd70734afc8728329e3289945cbdc5bbf07cd980","RepoTags":["debian:wheezy"],"Size":0,"VirtualSize":85120773}
|
34
|
+
|
35
|
+
,{"Created":1420064641,"Id":"492dad4279bae5bb73648efe9bf467b2cfa8bab1d593595226e3e7a95d9f6c35","ParentId":"2982ec56c8d910121e7594ca7890b062f6d37fadf7575f6a6f3adbabbafac9f5","RepoTags":["busybox:ubuntu-12.04"],"Size":0,"VirtualSize":5454693}
|
36
|
+
|
37
|
+
,{"Created":1420064636,"Id":"4986bf8c15363d1c5d15512d5266f8777bfba4974ac56e3270e7760f6f0a8125","ParentId":"ea13149945cb6b1e746bf28032f02e9b5a793523481a0a18645fc77ad53c4ea2","RepoTags":["busybox:buildroot-2014.02","busybox:latest"],"Size":0,"VirtualSize":2433303}
|
38
|
+
|
39
|
+
,{"Created":1420064634,"Id":"2aed48a4e41d3931167146e9b7492aa5639e7f6478be9eac584726ecec6824ed","ParentId":"618b1fc306b06d11e192812ede4c685dcbf886d2a0189e9a552c550fd7663df0","RepoTags":["busybox:buildroot-2013.08.1"],"Size":0,"VirtualSize":2489301}
|
40
|
+
|
36
41
|
,{"Created":1371157430,"Id":"511136ea3c5a64f264b78b5433614aec563103b4d4702f3ba7d4d2698e22c158","ParentId":"","RepoTags":["scratch:latest"],"Size":0,"VirtualSize":0}
|
37
|
-
|
42
|
+
|
43
|
+
]'
|
38
44
|
http_version:
|
39
|
-
recorded_at:
|
45
|
+
recorded_at: Thu, 12 Feb 2015 00:55:16 GMT
|
40
46
|
- request:
|
41
47
|
method: post
|
42
|
-
uri:
|
48
|
+
uri: <DOCKER_HOST>/v1.16/images/create?fromImage=debian%3Awheezy
|
43
49
|
body:
|
44
50
|
encoding: US-ASCII
|
45
51
|
string: ''
|
46
52
|
headers:
|
47
53
|
User-Agent:
|
48
|
-
- Swipely/Docker-API 1.
|
54
|
+
- Swipely/Docker-API 1.18.0
|
49
55
|
Content-Type:
|
50
56
|
- text/plain
|
51
57
|
response:
|
@@ -56,26 +62,26 @@ http_interactions:
|
|
56
62
|
Content-Type:
|
57
63
|
- application/json
|
58
64
|
Date:
|
59
|
-
-
|
65
|
+
- Thu, 12 Feb 2015 00:55:16 GMT
|
60
66
|
body:
|
61
|
-
encoding:
|
62
|
-
string: "{\"status\":\"The image you are pulling has been verified\",\"id\":\"debian:wheezy\"}\r\n{\"status\":\"Already
|
67
|
+
encoding: US-ASCII
|
68
|
+
string: ! "{\"status\":\"The image you are pulling has been verified\",\"id\":\"debian:wheezy\"}\r\n{\"status\":\"Already
|
63
69
|
exists\",\"progressDetail\":{},\"id\":\"511136ea3c5a\"}{\"status\":\"Already
|
64
|
-
exists\",\"progressDetail\":{},\"id\":\"
|
65
|
-
exists\",\"progressDetail\":{},\"id\":\"
|
70
|
+
exists\",\"progressDetail\":{},\"id\":\"30d39e59ffe2\"}{\"status\":\"Already
|
71
|
+
exists\",\"progressDetail\":{},\"id\":\"c90d655b99b2\"}{\"status\":\"Status:
|
66
72
|
Image is up to date for debian:wheezy\"}\r\n"
|
67
73
|
http_version:
|
68
|
-
recorded_at:
|
74
|
+
recorded_at: Thu, 12 Feb 2015 00:55:16 GMT
|
69
75
|
- request:
|
70
76
|
method: post
|
71
|
-
uri:
|
77
|
+
uri: <DOCKER_HOST>/v1.16/build?rm=true
|
72
78
|
body:
|
73
79
|
encoding: UTF-8
|
74
80
|
string: !binary |-
|
75
81
|
R2VtZmlsZQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
76
82
|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
77
83
|
AAAAAAAAAAAAADAwMDA2NDAAMDAwMDAwMAAwMDAwMDAwADAwMDAwMDAwMDQ2
|
78
|
-
|
84
|
+
ADAwMDAwMDAwMDAwADAxMjU0NgAgMAAAAAAAAAAAAAAAAAAAA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AAAAAAAAAAAAAAAAAAAAA
|
109
|
-
|
115
|
+
AAAAAAAAZnJvbSBjOTBkNjU1Yjk5YjIKYWRkIEdlbWZpbGUgLwoAAAAAAAAA
|
110
116
|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
111
117
|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
112
118
|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
@@ -143,7 +149,7 @@ http_interactions:
|
|
143
149
|
AAAAAAAAAAAAAAAA
|
144
150
|
headers:
|
145
151
|
User-Agent:
|
146
|
-
- Swipely/Docker-API 1.
|
152
|
+
- Swipely/Docker-API 1.18.0
|
147
153
|
Content-Type:
|
148
154
|
- application/json
|
149
155
|
response:
|
@@ -154,24 +160,24 @@ http_interactions:
|
|
154
160
|
Content-Type:
|
155
161
|
- application/json
|
156
162
|
Date:
|
157
|
-
-
|
163
|
+
- Thu, 12 Feb 2015 00:55:16 GMT
|
158
164
|
body:
|
159
|
-
encoding:
|
160
|
-
string: "{\"stream\":\"Step 0 : FROM
|
161
|
-
|
162
|
-
---\\u003e
|
163
|
-
|
165
|
+
encoding: US-ASCII
|
166
|
+
string: ! "{\"stream\":\"Step 0 : FROM c90d655b99b2\\n\"}\r\n{\"stream\":\"
|
167
|
+
---\\u003e c90d655b99b2\\n\"}\r\n{\"stream\":\"Step 1 : ADD Gemfile /\\n\"}\r\n{\"stream\":\"
|
168
|
+
---\\u003e cebc19981740\\n\"}\r\n{\"stream\":\"Removing intermediate container
|
169
|
+
bae109a21810\\n\"}\r\n{\"stream\":\"Successfully built cebc19981740\\n\"}\r\n"
|
164
170
|
http_version:
|
165
|
-
recorded_at:
|
171
|
+
recorded_at: Thu, 12 Feb 2015 00:55:19 GMT
|
166
172
|
- request:
|
167
173
|
method: get
|
168
|
-
uri:
|
174
|
+
uri: <DOCKER_HOST>/v1.16/images/json
|
169
175
|
body:
|
170
176
|
encoding: US-ASCII
|
171
177
|
string: ''
|
172
178
|
headers:
|
173
179
|
User-Agent:
|
174
|
-
- Swipely/Docker-API 1.
|
180
|
+
- Swipely/Docker-API 1.18.0
|
175
181
|
Content-Type:
|
176
182
|
- text/plain
|
177
183
|
response:
|
@@ -182,34 +188,39 @@ http_interactions:
|
|
182
188
|
Content-Type:
|
183
189
|
- application/json
|
184
190
|
Date:
|
185
|
-
-
|
191
|
+
- Thu, 12 Feb 2015 00:55:19 GMT
|
186
192
|
body:
|
187
|
-
encoding:
|
188
|
-
string:
|
189
|
-
|
190
|
-
,{"Created":
|
191
|
-
|
192
|
-
,{"Created":
|
193
|
-
|
194
|
-
,{"Created":
|
195
|
-
|
196
|
-
,{"Created":
|
197
|
-
|
198
|
-
,{"Created":
|
199
|
-
|
193
|
+
encoding: US-ASCII
|
194
|
+
string: ! '[{"Created":1423702517,"Id":"cebc19981740e155d7816a409997c84175a828132d6c57eb22b4f631cc6a6e2f","ParentId":"c90d655b99b2ec5b7e94d38c87f92dce015c17a313caeaae0e980d9b9bed8444","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":38,"VirtualSize":85120811}
|
195
|
+
|
196
|
+
,{"Created":1423702467,"Id":"c5bc00616537c7ba0f051c7212c2a8777bb50e7e195cc8768090f9075e402f31","ParentId":"c90d655b99b2ec5b7e94d38c87f92dce015c17a313caeaae0e980d9b9bed8444","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":0,"VirtualSize":85120773}
|
197
|
+
|
198
|
+
,{"Created":1423521618,"Id":"a47c4817ef07f98471d0182715891eb87d1b015a6c9a977b1ea766a666e96f49","ParentId":"e41eb64a720e4098e29814b767a769fd2bd19222e0885d8f252c3c64318f51d8","RepoTags":["tianon/true:latest"],"Size":0,"VirtualSize":125}
|
199
|
+
|
200
|
+
,{"Created":1422480050,"Id":"c55308716b3671d8a238a6c1245a60f66d76a3e1404b7b8b6e5fe0e65bae4943","ParentId":"214c09aed08bbf283bfb334b5a0526fa7e66ccaf667a5feee66d75af6a69bc6f","RepoTags":["registry:latest"],"Size":0,"VirtualSize":418558798}
|
201
|
+
|
202
|
+
,{"Created":1422379591,"Id":"c90d655b99b2ec5b7e94d38c87f92dce015c17a313caeaae0e980d9b9bed8444","ParentId":"30d39e59ffe287f29a41a3f8bd70734afc8728329e3289945cbdc5bbf07cd980","RepoTags":["debian:wheezy"],"Size":0,"VirtualSize":85120773}
|
203
|
+
|
204
|
+
,{"Created":1420064641,"Id":"492dad4279bae5bb73648efe9bf467b2cfa8bab1d593595226e3e7a95d9f6c35","ParentId":"2982ec56c8d910121e7594ca7890b062f6d37fadf7575f6a6f3adbabbafac9f5","RepoTags":["busybox:ubuntu-12.04"],"Size":0,"VirtualSize":5454693}
|
205
|
+
|
206
|
+
,{"Created":1420064636,"Id":"4986bf8c15363d1c5d15512d5266f8777bfba4974ac56e3270e7760f6f0a8125","ParentId":"ea13149945cb6b1e746bf28032f02e9b5a793523481a0a18645fc77ad53c4ea2","RepoTags":["busybox:buildroot-2014.02","busybox:latest"],"Size":0,"VirtualSize":2433303}
|
207
|
+
|
208
|
+
,{"Created":1420064634,"Id":"2aed48a4e41d3931167146e9b7492aa5639e7f6478be9eac584726ecec6824ed","ParentId":"618b1fc306b06d11e192812ede4c685dcbf886d2a0189e9a552c550fd7663df0","RepoTags":["busybox:buildroot-2013.08.1"],"Size":0,"VirtualSize":2489301}
|
209
|
+
|
200
210
|
,{"Created":1371157430,"Id":"511136ea3c5a64f264b78b5433614aec563103b4d4702f3ba7d4d2698e22c158","ParentId":"","RepoTags":["scratch:latest"],"Size":0,"VirtualSize":0}
|
201
|
-
|
211
|
+
|
212
|
+
]'
|
202
213
|
http_version:
|
203
|
-
recorded_at:
|
214
|
+
recorded_at: Thu, 12 Feb 2015 00:55:19 GMT
|
204
215
|
- request:
|
205
216
|
method: delete
|
206
|
-
uri:
|
217
|
+
uri: <DOCKER_HOST>/v1.16/images/cebc19981740
|
207
218
|
body:
|
208
219
|
encoding: US-ASCII
|
209
220
|
string: ''
|
210
221
|
headers:
|
211
222
|
User-Agent:
|
212
|
-
- Swipely/Docker-API 1.
|
223
|
+
- Swipely/Docker-API 1.18.0
|
213
224
|
Content-Type:
|
214
225
|
- text/plain
|
215
226
|
response:
|
@@ -220,14 +231,14 @@ http_interactions:
|
|
220
231
|
Content-Type:
|
221
232
|
- application/json
|
222
233
|
Date:
|
223
|
-
-
|
234
|
+
- Thu, 12 Feb 2015 00:55:19 GMT
|
224
235
|
Content-Length:
|
225
236
|
- '81'
|
226
237
|
body:
|
227
|
-
encoding:
|
228
|
-
string:
|
229
|
-
|
230
|
-
]
|
238
|
+
encoding: US-ASCII
|
239
|
+
string: ! '[{"Deleted":"cebc19981740e155d7816a409997c84175a828132d6c57eb22b4f631cc6a6e2f"}
|
240
|
+
|
241
|
+
]'
|
231
242
|
http_version:
|
232
|
-
recorded_at:
|
233
|
-
recorded_with: VCR 2.9.
|
243
|
+
recorded_at: Thu, 12 Feb 2015 00:55:19 GMT
|
244
|
+
recorded_with: VCR 2.9.2
|
@@ -2,13 +2,13 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri:
|
5
|
+
uri: <DOCKER_HOST>/v1.16/containers/json?all=true
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- Swipely/Docker-API 1.
|
11
|
+
- Swipely/Docker-API 1.18.0
|
12
12
|
Content-Type:
|
13
13
|
- text/plain
|
14
14
|
response:
|
@@ -19,25 +19,29 @@ http_interactions:
|
|
19
19
|
Content-Type:
|
20
20
|
- application/json
|
21
21
|
Date:
|
22
|
-
-
|
22
|
+
- Thu, 12 Feb 2015 00:55:13 GMT
|
23
23
|
Content-Length:
|
24
|
-
- '
|
24
|
+
- '491'
|
25
25
|
body:
|
26
|
-
encoding:
|
27
|
-
string:
|
28
|
-
|
29
|
-
|
26
|
+
encoding: US-ASCII
|
27
|
+
string: ! '[{"Command":"true","Created":1423702467,"Id":"ddcdf1352c0e624bba454a8957174d5f8410edce613b6ba100984fc722d8c21d","Image":"debian:wheezy","Names":["/cocky_goodall"],"Ports":[],"Status":"Exited
|
28
|
+
(0) 44 seconds ago"}
|
29
|
+
|
30
|
+
,{"Command":"docker-registry","Created":1423702401,"Id":"7495fa1e6c231934f42eb34525f24a052af2a7a43ae9c85051636428a62a40ba","Image":"registry:latest","Names":["/registry"],"Ports":[{"IP":"0.0.0.0","PrivatePort":5000,"PublicPort":5000,"Type":"tcp"}],"Status":"Up
|
31
|
+
About a minute"}
|
32
|
+
|
33
|
+
]'
|
30
34
|
http_version:
|
31
|
-
recorded_at:
|
35
|
+
recorded_at: Thu, 12 Feb 2015 00:55:13 GMT
|
32
36
|
- request:
|
33
37
|
method: post
|
34
|
-
uri:
|
38
|
+
uri: <DOCKER_HOST>/v1.16/images/create?fromImage=debian%3Awheezy
|
35
39
|
body:
|
36
40
|
encoding: US-ASCII
|
37
41
|
string: ''
|
38
42
|
headers:
|
39
43
|
User-Agent:
|
40
|
-
- Swipely/Docker-API 1.
|
44
|
+
- Swipely/Docker-API 1.18.0
|
41
45
|
Content-Type:
|
42
46
|
- text/plain
|
43
47
|
response:
|
@@ -48,26 +52,26 @@ http_interactions:
|
|
48
52
|
Content-Type:
|
49
53
|
- application/json
|
50
54
|
Date:
|
51
|
-
-
|
55
|
+
- Thu, 12 Feb 2015 00:55:13 GMT
|
52
56
|
body:
|
53
|
-
encoding:
|
54
|
-
string: "{\"status\":\"The image you are pulling has been verified\",\"id\":\"debian:wheezy\"}\r\n{\"status\":\"Already
|
57
|
+
encoding: US-ASCII
|
58
|
+
string: ! "{\"status\":\"The image you are pulling has been verified\",\"id\":\"debian:wheezy\"}\r\n{\"status\":\"Already
|
55
59
|
exists\",\"progressDetail\":{},\"id\":\"511136ea3c5a\"}{\"status\":\"Already
|
56
|
-
exists\",\"progressDetail\":{},\"id\":\"
|
57
|
-
exists\",\"progressDetail\":{},\"id\":\"
|
60
|
+
exists\",\"progressDetail\":{},\"id\":\"30d39e59ffe2\"}{\"status\":\"Already
|
61
|
+
exists\",\"progressDetail\":{},\"id\":\"c90d655b99b2\"}{\"status\":\"Status:
|
58
62
|
Image is up to date for debian:wheezy\"}\r\n"
|
59
63
|
http_version:
|
60
|
-
recorded_at:
|
64
|
+
recorded_at: Thu, 12 Feb 2015 00:55:13 GMT
|
61
65
|
- request:
|
62
66
|
method: post
|
63
|
-
uri:
|
67
|
+
uri: <DOCKER_HOST>/v1.16/build?rm=true
|
64
68
|
body:
|
65
69
|
encoding: UTF-8
|
66
70
|
string: !binary |-
|
67
71
|
R2VtZmlsZQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
68
72
|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
69
73
|
AAAAAAAAAAAAADAwMDA2NDAAMDAwMDAwMAAwMDAwMDAwADAwMDAwMDAwMDQ2
|
70
|
-
|
74
|
+
ADAwMDAwMDAwMDAwADAxMjU0NgAgMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
71
75
|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
72
76
|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAB1c3RhcgAwMHdoZWVs
|
73
77
|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAd2hlZWwAAAAAAAAAAAAAAAAA
|
@@ -89,8 +93,8 @@ http_interactions:
|
|
89
93
|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAERvY2tlcmZpbGUA
|
90
94
|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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
136
140
|
headers:
|
137
141
|
User-Agent:
|
138
|
-
- Swipely/Docker-API 1.
|
142
|
+
- Swipely/Docker-API 1.18.0
|
139
143
|
Content-Type:
|
140
144
|
- application/json
|
141
145
|
response:
|
@@ -146,24 +150,24 @@ http_interactions:
|
|
146
150
|
Content-Type:
|
147
151
|
- application/json
|
148
152
|
Date:
|
149
|
-
-
|
153
|
+
- Thu, 12 Feb 2015 00:55:13 GMT
|
150
154
|
body:
|
151
|
-
encoding:
|
152
|
-
string: "{\"stream\":\"Step 0 : FROM
|
153
|
-
|
154
|
-
---\\u003e
|
155
|
-
|
155
|
+
encoding: US-ASCII
|
156
|
+
string: ! "{\"stream\":\"Step 0 : FROM c90d655b99b2\\n\"}\r\n{\"stream\":\"
|
157
|
+
---\\u003e c90d655b99b2\\n\"}\r\n{\"stream\":\"Step 1 : ADD Gemfile /\\n\"}\r\n{\"stream\":\"
|
158
|
+
---\\u003e 4b3da5a8e27b\\n\"}\r\n{\"stream\":\"Removing intermediate container
|
159
|
+
108aa140d2ec\\n\"}\r\n{\"stream\":\"Successfully built 4b3da5a8e27b\\n\"}\r\n"
|
156
160
|
http_version:
|
157
|
-
recorded_at:
|
161
|
+
recorded_at: Thu, 12 Feb 2015 00:55:15 GMT
|
158
162
|
- request:
|
159
163
|
method: get
|
160
|
-
uri:
|
164
|
+
uri: <DOCKER_HOST>/v1.16/containers/json?all=true
|
161
165
|
body:
|
162
166
|
encoding: US-ASCII
|
163
167
|
string: ''
|
164
168
|
headers:
|
165
169
|
User-Agent:
|
166
|
-
- Swipely/Docker-API 1.
|
170
|
+
- Swipely/Docker-API 1.18.0
|
167
171
|
Content-Type:
|
168
172
|
- text/plain
|
169
173
|
response:
|
@@ -174,25 +178,29 @@ http_interactions:
|
|
174
178
|
Content-Type:
|
175
179
|
- application/json
|
176
180
|
Date:
|
177
|
-
-
|
181
|
+
- Thu, 12 Feb 2015 00:55:15 GMT
|
178
182
|
Content-Length:
|
179
|
-
- '
|
183
|
+
- '491'
|
180
184
|
body:
|
181
|
-
encoding:
|
182
|
-
string:
|
183
|
-
|
184
|
-
|
185
|
+
encoding: US-ASCII
|
186
|
+
string: ! '[{"Command":"true","Created":1423702467,"Id":"ddcdf1352c0e624bba454a8957174d5f8410edce613b6ba100984fc722d8c21d","Image":"debian:wheezy","Names":["/cocky_goodall"],"Ports":[],"Status":"Exited
|
187
|
+
(0) 47 seconds ago"}
|
188
|
+
|
189
|
+
,{"Command":"docker-registry","Created":1423702401,"Id":"7495fa1e6c231934f42eb34525f24a052af2a7a43ae9c85051636428a62a40ba","Image":"registry:latest","Names":["/registry"],"Ports":[{"IP":"0.0.0.0","PrivatePort":5000,"PublicPort":5000,"Type":"tcp"}],"Status":"Up
|
190
|
+
About a minute"}
|
191
|
+
|
192
|
+
]'
|
185
193
|
http_version:
|
186
|
-
recorded_at:
|
194
|
+
recorded_at: Thu, 12 Feb 2015 00:55:15 GMT
|
187
195
|
- request:
|
188
196
|
method: delete
|
189
|
-
uri:
|
197
|
+
uri: <DOCKER_HOST>/v1.16/images/4b3da5a8e27b
|
190
198
|
body:
|
191
199
|
encoding: US-ASCII
|
192
200
|
string: ''
|
193
201
|
headers:
|
194
202
|
User-Agent:
|
195
|
-
- Swipely/Docker-API 1.
|
203
|
+
- Swipely/Docker-API 1.18.0
|
196
204
|
Content-Type:
|
197
205
|
- text/plain
|
198
206
|
response:
|
@@ -203,14 +211,14 @@ http_interactions:
|
|
203
211
|
Content-Type:
|
204
212
|
- application/json
|
205
213
|
Date:
|
206
|
-
-
|
214
|
+
- Thu, 12 Feb 2015 00:55:16 GMT
|
207
215
|
Content-Length:
|
208
216
|
- '81'
|
209
217
|
body:
|
210
|
-
encoding:
|
211
|
-
string:
|
212
|
-
|
213
|
-
]
|
218
|
+
encoding: US-ASCII
|
219
|
+
string: ! '[{"Deleted":"4b3da5a8e27b1fe2d963e39742b610f40e1f0a6de42712c8039a13b9703c0e27"}
|
220
|
+
|
221
|
+
]'
|
214
222
|
http_version:
|
215
|
-
recorded_at:
|
216
|
-
recorded_with: VCR 2.9.
|
223
|
+
recorded_at: Thu, 12 Feb 2015 00:55:16 GMT
|
224
|
+
recorded_with: VCR 2.9.2
|