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,14 +2,14 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: post
|
5
|
-
uri:
|
5
|
+
uri: <DOCKER_HOST>/v1.16/build
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
8
|
string: !binary |-
|
9
9
|
RG9ja2VyZmlsZQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
10
10
|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
11
11
|
AAAAAAAAAAAAADAwMDA2NDAAMDAwMDAwMAAwMDAwMDAwADAwMDAwMDAwMDIz
|
12
|
-
|
12
|
+
ADAwMDAwMDAwMDAwADAxMzI0MAAgMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
13
13
|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
14
14
|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAB1c3RhcgAwMHdoZWVs
|
15
15
|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAd2hlZWwAAAAAAAAAAAAAAAAA
|
@@ -54,7 +54,7 @@ http_interactions:
|
|
54
54
|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=
|
55
55
|
headers:
|
56
56
|
User-Agent:
|
57
|
-
- Swipely/Docker-API 1.
|
57
|
+
- Swipely/Docker-API 1.18.0
|
58
58
|
Content-Type:
|
59
59
|
- application/json
|
60
60
|
response:
|
@@ -65,11 +65,11 @@ http_interactions:
|
|
65
65
|
Content-Type:
|
66
66
|
- application/json
|
67
67
|
Date:
|
68
|
-
-
|
68
|
+
- Thu, 12 Feb 2015 00:56:05 GMT
|
69
69
|
body:
|
70
|
-
encoding:
|
71
|
-
string: "{\"stream\":\"Step 0 : FROM debian:wheezy\\n\"}\r\n{\"stream\":\"
|
72
|
-
|
70
|
+
encoding: US-ASCII
|
71
|
+
string: ! "{\"stream\":\"Step 0 : FROM debian:wheezy\\n\"}\r\n{\"stream\":\"
|
72
|
+
---\\u003e c90d655b99b2\\n\"}\r\n{\"stream\":\"Successfully built c90d655b99b2\\n\"}\r\n"
|
73
73
|
http_version:
|
74
|
-
recorded_at:
|
75
|
-
recorded_with: VCR 2.9.
|
74
|
+
recorded_at: Thu, 12 Feb 2015 00:56:05 GMT
|
75
|
+
recorded_with: VCR 2.9.2
|
@@ -2,14 +2,14 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: post
|
5
|
-
uri:
|
5
|
+
uri: <DOCKER_HOST>/v1.16/build?t=<USERNAME>%2Fdebian%3Atrue
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
8
|
string: !binary |-
|
9
9
|
RG9ja2VyZmlsZQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
10
10
|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
11
11
|
AAAAAAAAAAAAADAwMDA2NDAAMDAwMDAwMAAwMDAwMDAwADAwMDAwMDAwMDM0
|
12
|
-
|
12
|
+
ADAwMDAwMDAwMDAwADAxMzI0MgAgMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
13
13
|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
14
14
|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAB1c3RhcgAwMHdoZWVs
|
15
15
|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAd2hlZWwAAAAAAAAAAAAAAAAA
|
@@ -54,7 +54,7 @@ http_interactions:
|
|
54
54
|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=
|
55
55
|
headers:
|
56
56
|
User-Agent:
|
57
|
-
- Swipely/Docker-API 1.
|
57
|
+
- Swipely/Docker-API 1.18.0
|
58
58
|
Content-Type:
|
59
59
|
- application/json
|
60
60
|
response:
|
@@ -65,25 +65,25 @@ http_interactions:
|
|
65
65
|
Content-Type:
|
66
66
|
- application/json
|
67
67
|
Date:
|
68
|
-
-
|
68
|
+
- Thu, 12 Feb 2015 00:56:02 GMT
|
69
69
|
body:
|
70
|
-
encoding:
|
71
|
-
string: "{\"stream\":\"Step 0 : FROM debian:wheezy\\n\"}\r\n{\"stream\":\"
|
72
|
-
|
73
|
-
---\\u003e Running in
|
74
|
-
intermediate container
|
75
|
-
|
70
|
+
encoding: US-ASCII
|
71
|
+
string: ! "{\"stream\":\"Step 0 : FROM debian:wheezy\\n\"}\r\n{\"stream\":\"
|
72
|
+
---\\u003e c90d655b99b2\\n\"}\r\n{\"stream\":\"Step 1 : RUN true\\n\"}\r\n{\"stream\":\"
|
73
|
+
---\\u003e Running in c6394ed9ed6c\\n\"}\r\n{\"stream\":\" ---\\u003e 49aad40fb484\\n\"}\r\n{\"stream\":\"Removing
|
74
|
+
intermediate container c6394ed9ed6c\\n\"}\r\n{\"stream\":\"Successfully built
|
75
|
+
49aad40fb484\\n\"}\r\n"
|
76
76
|
http_version:
|
77
|
-
recorded_at:
|
77
|
+
recorded_at: Thu, 12 Feb 2015 00:56:05 GMT
|
78
78
|
- request:
|
79
79
|
method: get
|
80
|
-
uri:
|
80
|
+
uri: <DOCKER_HOST>/v1.16/images/json?all=true
|
81
81
|
body:
|
82
82
|
encoding: US-ASCII
|
83
83
|
string: ''
|
84
84
|
headers:
|
85
85
|
User-Agent:
|
86
|
-
- Swipely/Docker-API 1.
|
86
|
+
- Swipely/Docker-API 1.18.0
|
87
87
|
Content-Type:
|
88
88
|
- text/plain
|
89
89
|
response:
|
@@ -94,94 +94,77 @@ http_interactions:
|
|
94
94
|
Content-Type:
|
95
95
|
- application/json
|
96
96
|
Date:
|
97
|
-
-
|
97
|
+
- Thu, 12 Feb 2015 00:56:05 GMT
|
98
98
|
body:
|
99
|
-
encoding:
|
100
|
-
string:
|
101
|
-
|
102
|
-
,{"Created":
|
103
|
-
|
104
|
-
,{"Created":
|
105
|
-
|
106
|
-
,{"Created":
|
107
|
-
|
108
|
-
,{"Created":
|
109
|
-
|
110
|
-
,{"Created":
|
111
|
-
|
112
|
-
,{"Created":
|
113
|
-
|
114
|
-
,{"Created":
|
115
|
-
|
116
|
-
,{"Created":
|
117
|
-
|
118
|
-
,{"Created":
|
119
|
-
|
120
|
-
,{"Created":
|
121
|
-
|
122
|
-
,{"Created":
|
123
|
-
|
124
|
-
,{"Created":
|
125
|
-
|
126
|
-
,{"Created":
|
127
|
-
|
128
|
-
,{"Created":
|
129
|
-
|
130
|
-
,{"Created":
|
131
|
-
|
132
|
-
,{"Created":
|
133
|
-
|
134
|
-
,{"Created":
|
135
|
-
|
136
|
-
,{"Created":
|
137
|
-
|
138
|
-
,{"Created":
|
139
|
-
|
140
|
-
,{"Created":
|
141
|
-
|
142
|
-
,{"Created":
|
143
|
-
|
144
|
-
,{"Created":
|
145
|
-
|
146
|
-
,{"Created":
|
147
|
-
|
148
|
-
,{"Created":
|
149
|
-
|
150
|
-
,{"Created":
|
151
|
-
|
152
|
-
,{"Created":1414108438,"Id":"22093c35d77bb609b9257ffb2640845ec05018e3d96cb939f68d0e19127f1723","ParentId":"3680052c0f5cf8ecb86ddf4d6ed331c89cdb691554572a80ec04724cf6ee9436","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":6557772,"VirtualSize":199257566}
|
153
|
-
,{"Created":1414108414,"Id":"3680052c0f5cf8ecb86ddf4d6ed331c89cdb691554572a80ec04724cf6ee9436","ParentId":"e791be0477f28fd52f7609aed81733427d4cc0da620962d072e18ebcb32720a4","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":1895,"VirtualSize":192699794}
|
154
|
-
,{"Created":1414108413,"Id":"e791be0477f28fd52f7609aed81733427d4cc0da620962d072e18ebcb32720a4","ParentId":"ccb62158e97068cc05b2f0927a8acde14c64d0d363cc448238357fe221a39699","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":0,"VirtualSize":192697899}
|
155
|
-
,{"Created":1414108412,"Id":"ccb62158e97068cc05b2f0927a8acde14c64d0d363cc448238357fe221a39699","ParentId":"d497ad3926c8997e1e0de74cdd5285489bb2c4acd6db15292e04bbab07047cd0","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":194791,"VirtualSize":192697899}
|
156
|
-
,{"Created":1413872056,"Id":"d497ad3926c8997e1e0de74cdd5285489bb2c4acd6db15292e04bbab07047cd0","ParentId":"511136ea3c5a64f264b78b5433614aec563103b4d4702f3ba7d4d2698e22c158","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":192503108,"VirtualSize":192503108}
|
157
|
-
,{"Created":1412204406,"Id":"f6d75c7fe58a905c14381100921562877d06a759acc70fbda6d3863796e0f003","ParentId":"b083996910428bc46e25ad7c7c0d5dd84c8ced88fe0cceeafe01787d9abd8848","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":6614587,"VirtualSize":425509943}
|
158
|
-
,{"Created":1412204399,"Id":"b083996910428bc46e25ad7c7c0d5dd84c8ced88fe0cceeafe01787d9abd8848","ParentId":"c07f578f0911d8a712ae9e6909f8778fae749d0dabf65542aba8428c553388ac","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":10478,"VirtualSize":418895356}
|
159
|
-
,{"Created":1412204376,"Id":"c07f578f0911d8a712ae9e6909f8778fae749d0dabf65542aba8428c553388ac","ParentId":"195eb90b534950d334188c3627f860fbdf898e224d8a0a11ec54ff453175e081","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":234168708,"VirtualSize":418884878}
|
160
|
-
,{"Created":1412196370,"Id":"0dfaa2625e19b0925a9e0fc7ea2c2a7f4fd0d31ec1e9838d08bf1310965ffc75","ParentId":"df7546f9f060a2268024c8a230d8639878585defcc1bc6f79d2728a13957871b","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":5454693,"VirtualSize":5454693}
|
161
|
-
,{"Created":1412196370,"Id":"d415c60e5ea32875e4ddc7f7578bfaac3d59fb16e1334e705398b10ee91af801","ParentId":"0dfaa2625e19b0925a9e0fc7ea2c2a7f4fd0d31ec1e9838d08bf1310965ffc75","RepoTags":["busybox:ubuntu-12.04"],"Size":0,"VirtualSize":5454693}
|
162
|
-
,{"Created":1412196368,"Id":"e433a6c5b276a31aa38bf6eaba9cd1cfd69ea33f706ed72b3f20bafde5cd8644","ParentId":"df7546f9f060a2268024c8a230d8639878585defcc1bc6f79d2728a13957871b","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":2433303,"VirtualSize":2433303}
|
163
|
-
,{"Created":1412196368,"Id":"e72ac664f4f0c6a061ac4ef332557a70d69b0c624b6add35f1c181ff7fff2287","ParentId":"e433a6c5b276a31aa38bf6eaba9cd1cfd69ea33f706ed72b3f20bafde5cd8644","RepoTags":["busybox:buildroot-2014.02","busybox:latest"],"Size":0,"VirtualSize":2433303}
|
164
|
-
,{"Created":1412196367,"Id":"4b2909447dbef01f71ca476725c2dbb3af12de41aa2d7491d62c66678ede2294","ParentId":"ad8766e8635d2ae9ddd77d32b8f0fa091fb88fffed77b3a8a240bdcdc6f5aa05","RepoTags":["busybox:buildroot-2013.08.1"],"Size":0,"VirtualSize":2489301}
|
99
|
+
encoding: US-ASCII
|
100
|
+
string: ! '[{"Created":1423702563,"Id":"49aad40fb484c131ccceca244c860392efb76e1a8735bb5a56f97dd148e7e403","ParentId":"c90d655b99b2ec5b7e94d38c87f92dce015c17a313caeaae0e980d9b9bed8444","RepoTags":["<USERNAME>/debian:true"],"Size":0,"VirtualSize":85120773}
|
101
|
+
|
102
|
+
,{"Created":1423702467,"Id":"c5bc00616537c7ba0f051c7212c2a8777bb50e7e195cc8768090f9075e402f31","ParentId":"c90d655b99b2ec5b7e94d38c87f92dce015c17a313caeaae0e980d9b9bed8444","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":0,"VirtualSize":85120773}
|
103
|
+
|
104
|
+
,{"Created":1423521618,"Id":"e41eb64a720e4098e29814b767a769fd2bd19222e0885d8f252c3c64318f51d8","ParentId":"511136ea3c5a64f264b78b5433614aec563103b4d4702f3ba7d4d2698e22c158","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":125,"VirtualSize":125}
|
105
|
+
|
106
|
+
,{"Created":1423521618,"Id":"a47c4817ef07f98471d0182715891eb87d1b015a6c9a977b1ea766a666e96f49","ParentId":"e41eb64a720e4098e29814b767a769fd2bd19222e0885d8f252c3c64318f51d8","RepoTags":["tianon/true:latest"],"Size":0,"VirtualSize":125}
|
107
|
+
|
108
|
+
,{"Created":1422480050,"Id":"c55308716b3671d8a238a6c1245a60f66d76a3e1404b7b8b6e5fe0e65bae4943","ParentId":"214c09aed08bbf283bfb334b5a0526fa7e66ccaf667a5feee66d75af6a69bc6f","RepoTags":["registry:latest"],"Size":0,"VirtualSize":418558798}
|
109
|
+
|
110
|
+
,{"Created":1422480043,"Id":"214c09aed08bbf283bfb334b5a0526fa7e66ccaf667a5feee66d75af6a69bc6f","ParentId":"f054bc98768fef8ed7f20eb2a8184d0979fb63701ca85032f35d1f56bd1434dd","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":0,"VirtualSize":418558798}
|
111
|
+
|
112
|
+
,{"Created":1422480037,"Id":"f054bc98768fef8ed7f20eb2a8184d0979fb63701ca85032f35d1f56bd1434dd","ParentId":"63ad05f3af00bc944f4c42291c1120e9e568e2565a55f155e345ad0169c836cf","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":0,"VirtualSize":418558798}
|
113
|
+
|
114
|
+
,{"Created":1422480031,"Id":"63ad05f3af00bc944f4c42291c1120e9e568e2565a55f155e345ad0169c836cf","ParentId":"ecc59b06f5b7442bac27e1c269148f3a94fd4c07840a63e6171b1126c501e50c","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":0,"VirtualSize":418558798}
|
115
|
+
|
116
|
+
,{"Created":1422480025,"Id":"ecc59b06f5b7442bac27e1c269148f3a94fd4c07840a63e6171b1126c501e50c","ParentId":"8ec695ba9240c3b7096d9d661d02e4d5d879e69f82f4dd73342b6bfedb0999f8","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":50796,"VirtualSize":418558798}
|
117
|
+
|
118
|
+
,{"Created":1422480017,"Id":"8ec695ba9240c3b7096d9d661d02e4d5d879e69f82f4dd73342b6bfedb0999f8","ParentId":"eaebc036889a728ef665ae9be29dfd4a09183ff0aa2d56ace208038cd690956c","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":25397473,"VirtualSize":418508002}
|
119
|
+
|
120
|
+
,{"Created":1422479889,"Id":"eaebc036889a728ef665ae9be29dfd4a09183ff0aa2d56ace208038cd690956c","ParentId":"0e7a483810f64e4d2f4fc679d8c10d3914a975d18a2a152d26bd6655feb0af8f","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":11550557,"VirtualSize":393110529}
|
121
|
+
|
122
|
+
,{"Created":1422479878,"Id":"0e7a483810f64e4d2f4fc679d8c10d3914a975d18a2a152d26bd6655feb0af8f","ParentId":"ed34dec80489996f5b45476abc7260356dcdbf30900016041d833d6d3555d8cc","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":73,"VirtualSize":381559972}
|
123
|
+
|
124
|
+
,{"Created":1422479871,"Id":"ed34dec80489996f5b45476abc7260356dcdbf30900016041d833d6d3555d8cc","ParentId":"30e25c7b70dfe8f4f9268f613a793dfc454545c824329741c0d393c9969c9d82","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":2428766,"VirtualSize":381559899}
|
125
|
+
|
126
|
+
,{"Created":1422479860,"Id":"30e25c7b70dfe8f4f9268f613a793dfc454545c824329741c0d393c9969c9d82","ParentId":"5ba9dab47459d81c0037ca3836a368a4f8ce5050505ce89720e1fb8839ea048a","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":186447657,"VirtualSize":379131133}
|
127
|
+
|
128
|
+
,{"Created":1422470238,"Id":"5ba9dab47459d81c0037ca3836a368a4f8ce5050505ce89720e1fb8839ea048a","ParentId":"51a9c7c1f8bb2fa19bcd09789a34e63f35abb80044bc10196e304f6634cc582c","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":0,"VirtualSize":192683476}
|
129
|
+
|
130
|
+
,{"Created":1422470229,"Id":"51a9c7c1f8bb2fa19bcd09789a34e63f35abb80044bc10196e304f6634cc582c","ParentId":"5f92234dcf1e0ed2a2a4d9d4cbf13ae7ba911c52b8edcd1bcb0c755c85032ac3","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":1895,"VirtualSize":192683476}
|
131
|
+
|
132
|
+
,{"Created":1422470220,"Id":"5f92234dcf1e0ed2a2a4d9d4cbf13ae7ba911c52b8edcd1bcb0c755c85032ac3","ParentId":"27d47432a69bca5f2700e4dff7de0388ed65f9d3fb1ec645e2bc24c223dc1cc3","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":194533,"VirtualSize":192681581}
|
133
|
+
|
134
|
+
,{"Created":1422470199,"Id":"27d47432a69bca5f2700e4dff7de0388ed65f9d3fb1ec645e2bc24c223dc1cc3","ParentId":"511136ea3c5a64f264b78b5433614aec563103b4d4702f3ba7d4d2698e22c158","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":192487048,"VirtualSize":192487048}
|
135
|
+
|
136
|
+
,{"Created":1422379591,"Id":"c90d655b99b2ec5b7e94d38c87f92dce015c17a313caeaae0e980d9b9bed8444","ParentId":"30d39e59ffe287f29a41a3f8bd70734afc8728329e3289945cbdc5bbf07cd980","RepoTags":["debian:wheezy"],"Size":0,"VirtualSize":85120773}
|
137
|
+
|
138
|
+
,{"Created":1422379584,"Id":"30d39e59ffe287f29a41a3f8bd70734afc8728329e3289945cbdc5bbf07cd980","ParentId":"511136ea3c5a64f264b78b5433614aec563103b4d4702f3ba7d4d2698e22c158","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":85120773,"VirtualSize":85120773}
|
139
|
+
|
140
|
+
,{"Created":1420064641,"Id":"492dad4279bae5bb73648efe9bf467b2cfa8bab1d593595226e3e7a95d9f6c35","ParentId":"2982ec56c8d910121e7594ca7890b062f6d37fadf7575f6a6f3adbabbafac9f5","RepoTags":["busybox:ubuntu-12.04"],"Size":0,"VirtualSize":5454693}
|
141
|
+
|
142
|
+
,{"Created":1420064640,"Id":"2982ec56c8d910121e7594ca7890b062f6d37fadf7575f6a6f3adbabbafac9f5","ParentId":"df7546f9f060a2268024c8a230d8639878585defcc1bc6f79d2728a13957871b","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":5454693,"VirtualSize":5454693}
|
143
|
+
|
144
|
+
,{"Created":1420064636,"Id":"4986bf8c15363d1c5d15512d5266f8777bfba4974ac56e3270e7760f6f0a8125","ParentId":"ea13149945cb6b1e746bf28032f02e9b5a793523481a0a18645fc77ad53c4ea2","RepoTags":["busybox:buildroot-2014.02","busybox:latest"],"Size":0,"VirtualSize":2433303}
|
145
|
+
|
146
|
+
,{"Created":1420064636,"Id":"ea13149945cb6b1e746bf28032f02e9b5a793523481a0a18645fc77ad53c4ea2","ParentId":"df7546f9f060a2268024c8a230d8639878585defcc1bc6f79d2728a13957871b","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":2433303,"VirtualSize":2433303}
|
147
|
+
|
148
|
+
,{"Created":1420064634,"Id":"2aed48a4e41d3931167146e9b7492aa5639e7f6478be9eac584726ecec6824ed","ParentId":"618b1fc306b06d11e192812ede4c685dcbf886d2a0189e9a552c550fd7663df0","RepoTags":["busybox:buildroot-2013.08.1"],"Size":0,"VirtualSize":2489301}
|
149
|
+
|
150
|
+
,{"Created":1420064633,"Id":"618b1fc306b06d11e192812ede4c685dcbf886d2a0189e9a552c550fd7663df0","ParentId":"df7546f9f060a2268024c8a230d8639878585defcc1bc6f79d2728a13957871b","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":2489301,"VirtualSize":2489301}
|
151
|
+
|
165
152
|
,{"Created":1412196367,"Id":"df7546f9f060a2268024c8a230d8639878585defcc1bc6f79d2728a13957871b","ParentId":"511136ea3c5a64f264b78b5433614aec563103b4d4702f3ba7d4d2698e22c158","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":0,"VirtualSize":0}
|
166
|
-
|
167
|
-
,{"Created":1403128415,"Id":"195eb90b534950d334188c3627f860fbdf898e224d8a0a11ec54ff453175e081","ParentId":"209ea56fda6dc2fb013e4d1e40cb678b2af91d1b54a71529f7df0bd867adc961","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":4411741,"VirtualSize":184716170}
|
168
|
-
,{"Created":1403128408,"Id":"209ea56fda6dc2fb013e4d1e40cb678b2af91d1b54a71529f7df0bd867adc961","ParentId":"0f4aac48388f5d65a725ccf8e7caada42f136026c566528a5ee9b02467dac90a","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":74007417,"VirtualSize":180304429}
|
169
|
-
,{"Created":1403128396,"Id":"0f4aac48388f5d65a725ccf8e7caada42f136026c566528a5ee9b02467dac90a","ParentId":"fae16849ebe23b48f2bedcc08aaabd45408c62b531ffd8d3088592043d5e7364","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":1887,"VirtualSize":106297012}
|
170
|
-
,{"Created":1403128396,"Id":"fae16849ebe23b48f2bedcc08aaabd45408c62b531ffd8d3088592043d5e7364","ParentId":"f127542f0b6191e99bb015b672f5cf48fa79d974784ac8090b11aeac184eaaff","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":189999,"VirtualSize":106295125}
|
171
|
-
,{"Created":1403128393,"Id":"f127542f0b6191e99bb015b672f5cf48fa79d974784ac8090b11aeac184eaaff","ParentId":"511136ea3c5a64f264b78b5433614aec563103b4d4702f3ba7d4d2698e22c158","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":106105126,"VirtualSize":106105126}
|
153
|
+
|
172
154
|
,{"Created":1371157430,"Id":"511136ea3c5a64f264b78b5433614aec563103b4d4702f3ba7d4d2698e22c158","ParentId":"","RepoTags":["scratch:latest"],"Size":0,"VirtualSize":0}
|
173
|
-
|
155
|
+
|
156
|
+
]'
|
174
157
|
http_version:
|
175
|
-
recorded_at:
|
158
|
+
recorded_at: Thu, 12 Feb 2015 00:56:05 GMT
|
176
159
|
- request:
|
177
160
|
method: get
|
178
|
-
uri:
|
161
|
+
uri: <DOCKER_HOST>/v1.16/images/49aad40fb484/json
|
179
162
|
body:
|
180
163
|
encoding: US-ASCII
|
181
164
|
string: ''
|
182
165
|
headers:
|
183
166
|
User-Agent:
|
184
|
-
- Swipely/Docker-API 1.
|
167
|
+
- Swipely/Docker-API 1.18.0
|
185
168
|
Content-Type:
|
186
169
|
- text/plain
|
187
170
|
response:
|
@@ -192,24 +175,25 @@ http_interactions:
|
|
192
175
|
Content-Type:
|
193
176
|
- application/json
|
194
177
|
Date:
|
195
|
-
-
|
178
|
+
- Thu, 12 Feb 2015 00:56:05 GMT
|
196
179
|
Content-Length:
|
197
|
-
- '
|
180
|
+
- '1574'
|
198
181
|
body:
|
199
|
-
encoding:
|
200
|
-
string:
|
201
|
-
|
182
|
+
encoding: US-ASCII
|
183
|
+
string: ! '{"Architecture":"amd64","Author":"","Checksum":"tarsum.dev+sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","Comment":"","Config":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":["/bin/bash"],"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":null,"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"ExposedPorts":null,"Hostname":"dc534047acbb","Image":"c90d655b99b2ec5b7e94d38c87f92dce015c17a313caeaae0e980d9b9bed8444","MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":[],"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Container":"c6394ed9ed6c4b969570c5d8640ff0e67a16ad40f3f1d52e1132b4c62123afba","ContainerConfig":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":["/bin/sh","-c","true"],"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":null,"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"ExposedPorts":null,"Hostname":"dc534047acbb","Image":"c90d655b99b2ec5b7e94d38c87f92dce015c17a313caeaae0e980d9b9bed8444","MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":[],"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Created":"2015-02-12T00:56:03.815532919Z","DockerVersion":"1.4.1","Id":"49aad40fb484c131ccceca244c860392efb76e1a8735bb5a56f97dd148e7e403","Os":"linux","Parent":"c90d655b99b2ec5b7e94d38c87f92dce015c17a313caeaae0e980d9b9bed8444","Size":0,"VirtualSize":85120773}
|
184
|
+
|
185
|
+
'
|
202
186
|
http_version:
|
203
|
-
recorded_at:
|
187
|
+
recorded_at: Thu, 12 Feb 2015 00:56:05 GMT
|
204
188
|
- request:
|
205
189
|
method: delete
|
206
|
-
uri:
|
190
|
+
uri: <DOCKER_HOST>/v1.16/images/49aad40fb484?noprune=true
|
207
191
|
body:
|
208
192
|
encoding: US-ASCII
|
209
193
|
string: ''
|
210
194
|
headers:
|
211
195
|
User-Agent:
|
212
|
-
- Swipely/Docker-API 1.
|
196
|
+
- Swipely/Docker-API 1.18.0
|
213
197
|
Content-Type:
|
214
198
|
- text/plain
|
215
199
|
response:
|
@@ -220,15 +204,16 @@ http_interactions:
|
|
220
204
|
Content-Type:
|
221
205
|
- application/json
|
222
206
|
Date:
|
223
|
-
-
|
207
|
+
- Thu, 12 Feb 2015 00:56:05 GMT
|
224
208
|
Content-Length:
|
225
|
-
- '
|
209
|
+
- '117'
|
226
210
|
body:
|
227
|
-
encoding:
|
228
|
-
string:
|
229
|
-
|
230
|
-
,{"Deleted":"
|
231
|
-
|
211
|
+
encoding: US-ASCII
|
212
|
+
string: ! '[{"Untagged":"<USERNAME>/debian:true"}
|
213
|
+
|
214
|
+
,{"Deleted":"49aad40fb484c131ccceca244c860392efb76e1a8735bb5a56f97dd148e7e403"}
|
215
|
+
|
216
|
+
]'
|
232
217
|
http_version:
|
233
|
-
recorded_at:
|
234
|
-
recorded_with: VCR 2.9.
|
218
|
+
recorded_at: Thu, 12 Feb 2015 00:56:05 GMT
|
219
|
+
recorded_with: VCR 2.9.2
|
@@ -2,14 +2,14 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: post
|
5
|
-
uri:
|
5
|
+
uri: <DOCKER_HOST>/v1.16/build
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
8
|
string: !binary |-
|
9
9
|
RG9ja2VyZmlsZQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
10
10
|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
11
11
|
AAAAAAAAAAAAADAwMDA2NDAAMDAwMDAwMAAwMDAwMDAwADAwMDAwMDAwMDIz
|
12
|
-
|
12
|
+
ADAwMDAwMDAwMDAwADAxMzI0MAAgMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
13
13
|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
14
14
|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAB1c3RhcgAwMHdoZWVs
|
15
15
|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAd2hlZWwAAAAAAAAAAAAAAAAA
|
@@ -54,7 +54,7 @@ http_interactions:
|
|
54
54
|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=
|
55
55
|
headers:
|
56
56
|
User-Agent:
|
57
|
-
- Swipely/Docker-API 1.
|
57
|
+
- Swipely/Docker-API 1.18.0
|
58
58
|
Content-Type:
|
59
59
|
- application/json
|
60
60
|
response:
|
@@ -65,11 +65,11 @@ http_interactions:
|
|
65
65
|
Content-Type:
|
66
66
|
- application/json
|
67
67
|
Date:
|
68
|
-
-
|
68
|
+
- Thu, 12 Feb 2015 00:56:02 GMT
|
69
69
|
body:
|
70
|
-
encoding:
|
71
|
-
string: "{\"stream\":\"Step 0 : FROM debian:wheezy\\n\"}\r\n{\"stream\":\"
|
72
|
-
|
70
|
+
encoding: US-ASCII
|
71
|
+
string: ! "{\"stream\":\"Step 0 : FROM debian:wheezy\\n\"}\r\n{\"stream\":\"
|
72
|
+
---\\u003e c90d655b99b2\\n\"}\r\n{\"stream\":\"Successfully built c90d655b99b2\\n\"}\r\n"
|
73
73
|
http_version:
|
74
|
-
recorded_at:
|
75
|
-
recorded_with: VCR 2.9.
|
74
|
+
recorded_at: Thu, 12 Feb 2015 00:56:02 GMT
|
75
|
+
recorded_with: VCR 2.9.2
|
data/spec/vcr/Docker_Image/_build/with_an_invalid_Dockerfile/throws_a_UnexpectedResponseError.yml
CHANGED
@@ -2,14 +2,14 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: post
|
5
|
-
uri:
|
5
|
+
uri: <DOCKER_HOST>/v1.16/build
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
8
|
string: !binary |-
|
9
9
|
RG9ja2VyZmlsZQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
10
10
|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
11
11
|
AAAAAAAAAAAAADAwMDA2NDAAMDAwMDAwMAAwMDAwMDAwADAwMDAwMDAwMDA3
|
12
|
-
|
12
|
+
ADAwMDAwMDAwMDAwADAxMzI0MgAgMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
13
13
|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
14
14
|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAB1c3RhcgAwMHdoZWVs
|
15
15
|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAd2hlZWwAAAAAAAAAAAAAAAAA
|
@@ -54,7 +54,7 @@ http_interactions:
|
|
54
54
|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=
|
55
55
|
headers:
|
56
56
|
User-Agent:
|
57
|
-
- Swipely/Docker-API 1.
|
57
|
+
- Swipely/Docker-API 1.18.0
|
58
58
|
Content-Type:
|
59
59
|
- application/json
|
60
60
|
response:
|
@@ -65,13 +65,15 @@ http_interactions:
|
|
65
65
|
Content-Type:
|
66
66
|
- text/plain; charset=utf-8
|
67
67
|
Date:
|
68
|
-
-
|
68
|
+
- Thu, 12 Feb 2015 00:56:02 GMT
|
69
69
|
Content-Length:
|
70
70
|
- '98'
|
71
71
|
body:
|
72
|
-
encoding:
|
73
|
-
string:
|
74
|
-
|
72
|
+
encoding: US-ASCII
|
73
|
+
string: ! 'We do not understand this file. Please ensure it is a valid Dockerfile.
|
74
|
+
Parser error at "lololol"
|
75
|
+
|
76
|
+
'
|
75
77
|
http_version:
|
76
|
-
recorded_at:
|
77
|
-
recorded_with: VCR 2.9.
|
78
|
+
recorded_at: Thu, 12 Feb 2015 00:56:02 GMT
|
79
|
+
recorded_with: VCR 2.9.2
|
@@ -2,19 +2,19 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: post
|
5
|
-
uri:
|
5
|
+
uri: <DOCKER_HOST>/v1.16/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.18.0
|
12
12
|
Content-Type:
|
13
13
|
- application/tar
|
14
14
|
Transfer-Encoding:
|
15
15
|
- chunked
|
16
16
|
X-Registry-Config:
|
17
|
-
-
|
17
|
+
- eyJjb25maWdzIjp7IiI6eyJ1c2VybmFtZSI6IiIsInBhc3N3b3JkIjoiIiwiZW1haWwiOiIifX19
|
18
18
|
response:
|
19
19
|
status:
|
20
20
|
code: 200
|
@@ -23,24 +23,24 @@ http_interactions:
|
|
23
23
|
Content-Type:
|
24
24
|
- application/json
|
25
25
|
Date:
|
26
|
-
-
|
26
|
+
- Thu, 12 Feb 2015 01:21:32 GMT
|
27
27
|
body:
|
28
|
-
encoding:
|
29
|
-
string: "{\"stream\":\"Step 0 : FROM debian:wheezy\\n\"}\r\n{\"stream\":\"
|
30
|
-
|
31
|
-
---\\u003e
|
32
|
-
|
28
|
+
encoding: US-ASCII
|
29
|
+
string: ! "{\"stream\":\"Step 0 : FROM debian:wheezy\\n\"}\r\n{\"stream\":\"
|
30
|
+
---\\u003e c90d655b99b2\\n\"}\r\n{\"stream\":\"Step 1 : ADD . /\\n\"}\r\n{\"stream\":\"
|
31
|
+
---\\u003e 8c70fa9b256b\\n\"}\r\n{\"stream\":\"Removing intermediate container
|
32
|
+
4eb305f53890\\n\"}\r\n{\"stream\":\"Successfully built 8c70fa9b256b\\n\"}\r\n"
|
33
33
|
http_version:
|
34
|
-
recorded_at:
|
34
|
+
recorded_at: Thu, 12 Feb 2015 01:21:34 GMT
|
35
35
|
- request:
|
36
36
|
method: post
|
37
|
-
uri:
|
37
|
+
uri: <DOCKER_HOST>/v1.16/containers/create
|
38
38
|
body:
|
39
39
|
encoding: UTF-8
|
40
|
-
string: '{"Image":"
|
40
|
+
string: ! '{"Image":"8c70fa9b256b","Cmd":["cat","/Dockerfile"]}'
|
41
41
|
headers:
|
42
42
|
User-Agent:
|
43
|
-
- Swipely/Docker-API 1.
|
43
|
+
- Swipely/Docker-API 1.18.0
|
44
44
|
Content-Type:
|
45
45
|
- application/json
|
46
46
|
response:
|
@@ -51,24 +51,74 @@ http_interactions:
|
|
51
51
|
Content-Type:
|
52
52
|
- application/json
|
53
53
|
Date:
|
54
|
-
-
|
54
|
+
- Thu, 12 Feb 2015 01:21:35 GMT
|
55
55
|
Content-Length:
|
56
56
|
- '90'
|
57
|
+
body:
|
58
|
+
encoding: US-ASCII
|
59
|
+
string: ! '{"Id":"d5fce3f179c663072e6c5fff9b8a71f442438e4caf309b437f4a97fa6bdcaec0","Warnings":null}
|
60
|
+
|
61
|
+
'
|
62
|
+
http_version:
|
63
|
+
recorded_at: Thu, 12 Feb 2015 01:21:35 GMT
|
64
|
+
- request:
|
65
|
+
method: post
|
66
|
+
uri: <DOCKER_HOST>/v1.16/containers/d5fce3f179c663072e6c5fff9b8a71f442438e4caf309b437f4a97fa6bdcaec0/start
|
57
67
|
body:
|
58
68
|
encoding: UTF-8
|
59
|
-
string:
|
60
|
-
|
69
|
+
string: ! '{}'
|
70
|
+
headers:
|
71
|
+
User-Agent:
|
72
|
+
- Swipely/Docker-API 1.18.0
|
73
|
+
Content-Type:
|
74
|
+
- application/json
|
75
|
+
response:
|
76
|
+
status:
|
77
|
+
code: 204
|
78
|
+
message:
|
79
|
+
headers:
|
80
|
+
Date:
|
81
|
+
- Thu, 12 Feb 2015 01:21:35 GMT
|
82
|
+
body:
|
83
|
+
encoding: US-ASCII
|
84
|
+
string: ''
|
85
|
+
http_version:
|
86
|
+
recorded_at: Thu, 12 Feb 2015 01:21:35 GMT
|
87
|
+
- request:
|
88
|
+
method: get
|
89
|
+
uri: <DOCKER_HOST>/v1.16/containers/d5fce3f179c663072e6c5fff9b8a71f442438e4caf309b437f4a97fa6bdcaec0/logs?stdout=true
|
90
|
+
body:
|
91
|
+
encoding: US-ASCII
|
92
|
+
string: ''
|
93
|
+
headers:
|
94
|
+
User-Agent:
|
95
|
+
- Swipely/Docker-API 1.18.0
|
96
|
+
Content-Type:
|
97
|
+
- text/plain
|
98
|
+
response:
|
99
|
+
status:
|
100
|
+
code: 200
|
101
|
+
message:
|
102
|
+
headers:
|
103
|
+
Date:
|
104
|
+
- Thu, 12 Feb 2015 01:21:35 GMT
|
105
|
+
Content-Type:
|
106
|
+
- application/octet-stream
|
107
|
+
body:
|
108
|
+
encoding: US-ASCII
|
109
|
+
string: !binary |-
|
110
|
+
AQAAAAAAABNGUk9NIGRlYmlhbjp3aGVlenkKAQAAAAAAAAhBREQgLiAvCg==
|
61
111
|
http_version:
|
62
|
-
recorded_at:
|
112
|
+
recorded_at: Thu, 12 Feb 2015 01:21:35 GMT
|
63
113
|
- request:
|
64
114
|
method: post
|
65
|
-
uri:
|
115
|
+
uri: <DOCKER_HOST>/v1.16/containers/d5fce3f179c663072e6c5fff9b8a71f442438e4caf309b437f4a97fa6bdcaec0/wait
|
66
116
|
body:
|
67
117
|
encoding: US-ASCII
|
68
118
|
string: ''
|
69
119
|
headers:
|
70
120
|
User-Agent:
|
71
|
-
- Swipely/Docker-API 1.
|
121
|
+
- Swipely/Docker-API 1.18.0
|
72
122
|
Content-Type:
|
73
123
|
- text/plain
|
74
124
|
response:
|
@@ -79,24 +129,25 @@ http_interactions:
|
|
79
129
|
Content-Type:
|
80
130
|
- application/json
|
81
131
|
Date:
|
82
|
-
-
|
132
|
+
- Thu, 12 Feb 2015 01:21:35 GMT
|
83
133
|
Content-Length:
|
84
134
|
- '17'
|
85
135
|
body:
|
86
|
-
encoding:
|
87
|
-
string:
|
88
|
-
|
136
|
+
encoding: US-ASCII
|
137
|
+
string: ! '{"StatusCode":0}
|
138
|
+
|
139
|
+
'
|
89
140
|
http_version:
|
90
|
-
recorded_at:
|
141
|
+
recorded_at: Thu, 12 Feb 2015 01:21:35 GMT
|
91
142
|
- request:
|
92
143
|
method: delete
|
93
|
-
uri:
|
144
|
+
uri: <DOCKER_HOST>/v1.16/containers/d5fce3f179c663072e6c5fff9b8a71f442438e4caf309b437f4a97fa6bdcaec0
|
94
145
|
body:
|
95
146
|
encoding: US-ASCII
|
96
147
|
string: ''
|
97
148
|
headers:
|
98
149
|
User-Agent:
|
99
|
-
- Swipely/Docker-API 1.
|
150
|
+
- Swipely/Docker-API 1.18.0
|
100
151
|
Content-Type:
|
101
152
|
- text/plain
|
102
153
|
response:
|
@@ -105,21 +156,21 @@ http_interactions:
|
|
105
156
|
message:
|
106
157
|
headers:
|
107
158
|
Date:
|
108
|
-
-
|
159
|
+
- Thu, 12 Feb 2015 01:21:36 GMT
|
109
160
|
body:
|
110
|
-
encoding:
|
161
|
+
encoding: US-ASCII
|
111
162
|
string: ''
|
112
163
|
http_version:
|
113
|
-
recorded_at:
|
164
|
+
recorded_at: Thu, 12 Feb 2015 01:21:36 GMT
|
114
165
|
- request:
|
115
166
|
method: delete
|
116
|
-
uri:
|
167
|
+
uri: <DOCKER_HOST>/v1.16/images/8c70fa9b256b?noprune=true
|
117
168
|
body:
|
118
169
|
encoding: US-ASCII
|
119
170
|
string: ''
|
120
171
|
headers:
|
121
172
|
User-Agent:
|
122
|
-
- Swipely/Docker-API 1.
|
173
|
+
- Swipely/Docker-API 1.18.0
|
123
174
|
Content-Type:
|
124
175
|
- text/plain
|
125
176
|
response:
|
@@ -130,14 +181,14 @@ http_interactions:
|
|
130
181
|
Content-Type:
|
131
182
|
- application/json
|
132
183
|
Date:
|
133
|
-
-
|
184
|
+
- Thu, 12 Feb 2015 01:21:36 GMT
|
134
185
|
Content-Length:
|
135
186
|
- '81'
|
136
187
|
body:
|
137
|
-
encoding:
|
138
|
-
string:
|
139
|
-
|
140
|
-
]
|
188
|
+
encoding: US-ASCII
|
189
|
+
string: ! '[{"Deleted":"8c70fa9b256b114b2ae078d46f64f4809c7265991af6490782492b6bd0a3e0ca"}
|
190
|
+
|
191
|
+
]'
|
141
192
|
http_version:
|
142
|
-
recorded_at:
|
143
|
-
recorded_with: VCR 2.9.
|
193
|
+
recorded_at: Thu, 12 Feb 2015 01:21:36 GMT
|
194
|
+
recorded_with: VCR 2.9.2
|