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: post
|
5
|
-
uri:
|
5
|
+
uri: <DOCKER_HOST>/v1.16/images/create?fromImage=debian%3Awheezy
|
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,25 @@ http_interactions:
|
|
19
19
|
Content-Type:
|
20
20
|
- application/json
|
21
21
|
Date:
|
22
|
-
-
|
22
|
+
- Thu, 12 Feb 2015 01:04:35 GMT
|
23
23
|
body:
|
24
|
-
encoding:
|
25
|
-
string: "{\"status\":\"The image you are pulling has been verified\",\"id\":\"debian:wheezy\"}\r\n{\"status\":\"Already
|
24
|
+
encoding: US-ASCII
|
25
|
+
string: ! "{\"status\":\"The image you are pulling has been verified\",\"id\":\"debian:wheezy\"}\r\n{\"status\":\"Already
|
26
26
|
exists\",\"progressDetail\":{},\"id\":\"511136ea3c5a\"}{\"status\":\"Already
|
27
|
-
exists\",\"progressDetail\":{},\"id\":\"
|
28
|
-
exists\",\"progressDetail\":{},\"id\":\"
|
27
|
+
exists\",\"progressDetail\":{},\"id\":\"30d39e59ffe2\"}{\"status\":\"Already
|
28
|
+
exists\",\"progressDetail\":{},\"id\":\"c90d655b99b2\"}{\"status\":\"Status:
|
29
29
|
Image is up to date for debian:wheezy\"}\r\n"
|
30
30
|
http_version:
|
31
|
-
recorded_at:
|
31
|
+
recorded_at: Thu, 12 Feb 2015 01:04:35 GMT
|
32
32
|
- request:
|
33
33
|
method: post
|
34
|
-
uri:
|
34
|
+
uri: <DOCKER_HOST>/v1.16/containers/create
|
35
35
|
body:
|
36
36
|
encoding: UTF-8
|
37
|
-
string: '{"Image":"
|
37
|
+
string: ! '{"Image":"c90d655b99b2","Cmd":["ls","/lib64/"]}'
|
38
38
|
headers:
|
39
39
|
User-Agent:
|
40
|
-
- Swipely/Docker-API 1.
|
40
|
+
- Swipely/Docker-API 1.18.0
|
41
41
|
Content-Type:
|
42
42
|
- application/json
|
43
43
|
response:
|
@@ -48,24 +48,25 @@ http_interactions:
|
|
48
48
|
Content-Type:
|
49
49
|
- application/json
|
50
50
|
Date:
|
51
|
-
-
|
51
|
+
- Thu, 12 Feb 2015 01:04:36 GMT
|
52
52
|
Content-Length:
|
53
53
|
- '90'
|
54
54
|
body:
|
55
|
-
encoding:
|
56
|
-
string:
|
57
|
-
|
55
|
+
encoding: US-ASCII
|
56
|
+
string: ! '{"Id":"061d1e6a57fb06cffdbac4ce4858fd7e154f53b818215b0295427ad822dd003e","Warnings":null}
|
57
|
+
|
58
|
+
'
|
58
59
|
http_version:
|
59
|
-
recorded_at:
|
60
|
+
recorded_at: Thu, 12 Feb 2015 01:04:36 GMT
|
60
61
|
- request:
|
61
62
|
method: post
|
62
|
-
uri:
|
63
|
+
uri: <DOCKER_HOST>/v1.16/containers/061d1e6a57fb06cffdbac4ce4858fd7e154f53b818215b0295427ad822dd003e/start
|
63
64
|
body:
|
64
65
|
encoding: UTF-8
|
65
|
-
string:
|
66
|
+
string: ! '{}'
|
66
67
|
headers:
|
67
68
|
User-Agent:
|
68
|
-
- Swipely/Docker-API 1.
|
69
|
+
- Swipely/Docker-API 1.18.0
|
69
70
|
Content-Type:
|
70
71
|
- application/json
|
71
72
|
response:
|
@@ -74,21 +75,21 @@ http_interactions:
|
|
74
75
|
message:
|
75
76
|
headers:
|
76
77
|
Date:
|
77
|
-
-
|
78
|
+
- Thu, 12 Feb 2015 01:04:36 GMT
|
78
79
|
body:
|
79
|
-
encoding:
|
80
|
+
encoding: US-ASCII
|
80
81
|
string: ''
|
81
82
|
http_version:
|
82
|
-
recorded_at:
|
83
|
+
recorded_at: Thu, 12 Feb 2015 01:04:36 GMT
|
83
84
|
- request:
|
84
|
-
method:
|
85
|
-
uri:
|
85
|
+
method: post
|
86
|
+
uri: <DOCKER_HOST>/v1.16/containers/061d1e6a57fb06cffdbac4ce4858fd7e154f53b818215b0295427ad822dd003e/wait
|
86
87
|
body:
|
87
88
|
encoding: US-ASCII
|
88
89
|
string: ''
|
89
90
|
headers:
|
90
91
|
User-Agent:
|
91
|
-
- Swipely/Docker-API 1.
|
92
|
+
- Swipely/Docker-API 1.18.0
|
92
93
|
Content-Type:
|
93
94
|
- text/plain
|
94
95
|
response:
|
@@ -96,25 +97,28 @@ http_interactions:
|
|
96
97
|
code: 200
|
97
98
|
message:
|
98
99
|
headers:
|
99
|
-
Date:
|
100
|
-
- Mon, 01 Dec 2014 18:08:48 GMT
|
101
100
|
Content-Type:
|
102
|
-
- application/
|
101
|
+
- application/json
|
102
|
+
Date:
|
103
|
+
- Thu, 12 Feb 2015 01:04:36 GMT
|
104
|
+
Content-Length:
|
105
|
+
- '17'
|
103
106
|
body:
|
104
|
-
encoding:
|
105
|
-
string: !
|
106
|
-
|
107
|
+
encoding: US-ASCII
|
108
|
+
string: ! '{"StatusCode":0}
|
109
|
+
|
110
|
+
'
|
107
111
|
http_version:
|
108
|
-
recorded_at:
|
112
|
+
recorded_at: Thu, 12 Feb 2015 01:04:36 GMT
|
109
113
|
- request:
|
110
|
-
method:
|
111
|
-
uri:
|
114
|
+
method: get
|
115
|
+
uri: <DOCKER_HOST>/v1.16/containers/061d1e6a57fb06cffdbac4ce4858fd7e154f53b818215b0295427ad822dd003e/logs?stdout=true
|
112
116
|
body:
|
113
117
|
encoding: US-ASCII
|
114
118
|
string: ''
|
115
119
|
headers:
|
116
120
|
User-Agent:
|
117
|
-
- Swipely/Docker-API 1.
|
121
|
+
- Swipely/Docker-API 1.18.0
|
118
122
|
Content-Type:
|
119
123
|
- text/plain
|
120
124
|
response:
|
@@ -122,27 +126,25 @@ http_interactions:
|
|
122
126
|
code: 200
|
123
127
|
message:
|
124
128
|
headers:
|
125
|
-
Content-Type:
|
126
|
-
- application/json
|
127
129
|
Date:
|
128
|
-
-
|
129
|
-
Content-
|
130
|
-
-
|
130
|
+
- Thu, 12 Feb 2015 01:04:36 GMT
|
131
|
+
Content-Type:
|
132
|
+
- application/octet-stream
|
131
133
|
body:
|
132
|
-
encoding:
|
133
|
-
string:
|
134
|
-
|
134
|
+
encoding: US-ASCII
|
135
|
+
string: !binary |-
|
136
|
+
AQAAAAAAABVsZC1saW51eC14ODYtNjQuc28uMgo=
|
135
137
|
http_version:
|
136
|
-
recorded_at:
|
138
|
+
recorded_at: Thu, 12 Feb 2015 01:04:36 GMT
|
137
139
|
- request:
|
138
140
|
method: delete
|
139
|
-
uri:
|
141
|
+
uri: <DOCKER_HOST>/v1.16/containers/061d1e6a57fb06cffdbac4ce4858fd7e154f53b818215b0295427ad822dd003e
|
140
142
|
body:
|
141
143
|
encoding: US-ASCII
|
142
144
|
string: ''
|
143
145
|
headers:
|
144
146
|
User-Agent:
|
145
|
-
- Swipely/Docker-API 1.
|
147
|
+
- Swipely/Docker-API 1.18.0
|
146
148
|
Content-Type:
|
147
149
|
- text/plain
|
148
150
|
response:
|
@@ -151,10 +153,10 @@ http_interactions:
|
|
151
153
|
message:
|
152
154
|
headers:
|
153
155
|
Date:
|
154
|
-
-
|
156
|
+
- Thu, 12 Feb 2015 01:04:37 GMT
|
155
157
|
body:
|
156
|
-
encoding:
|
158
|
+
encoding: US-ASCII
|
157
159
|
string: ''
|
158
160
|
http_version:
|
159
|
-
recorded_at:
|
160
|
-
recorded_with: VCR 2.9.
|
161
|
+
recorded_at: Thu, 12 Feb 2015 01:04:37 GMT
|
162
|
+
recorded_with: VCR 2.9.2
|
@@ -2,13 +2,13 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: post
|
5
|
-
uri:
|
5
|
+
uri: <DOCKER_HOST>/v1.16/images/create?fromImage=debian%3Awheezy
|
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,25 @@ http_interactions:
|
|
19
19
|
Content-Type:
|
20
20
|
- application/json
|
21
21
|
Date:
|
22
|
-
-
|
22
|
+
- Thu, 12 Feb 2015 00:55:51 GMT
|
23
23
|
body:
|
24
|
-
encoding:
|
25
|
-
string: "{\"status\":\"The image you are pulling has been verified\",\"id\":\"debian:wheezy\"}\r\n{\"status\":\"Already
|
24
|
+
encoding: US-ASCII
|
25
|
+
string: ! "{\"status\":\"The image you are pulling has been verified\",\"id\":\"debian:wheezy\"}\r\n{\"status\":\"Already
|
26
26
|
exists\",\"progressDetail\":{},\"id\":\"511136ea3c5a\"}{\"status\":\"Already
|
27
|
-
exists\",\"progressDetail\":{},\"id\":\"
|
28
|
-
exists\",\"progressDetail\":{},\"id\":\"
|
27
|
+
exists\",\"progressDetail\":{},\"id\":\"30d39e59ffe2\"}{\"status\":\"Already
|
28
|
+
exists\",\"progressDetail\":{},\"id\":\"c90d655b99b2\"}{\"status\":\"Status:
|
29
29
|
Image is up to date for debian:wheezy\"}\r\n"
|
30
30
|
http_version:
|
31
|
-
recorded_at:
|
31
|
+
recorded_at: Thu, 12 Feb 2015 00:55:51 GMT
|
32
32
|
- request:
|
33
33
|
method: post
|
34
|
-
uri:
|
34
|
+
uri: <DOCKER_HOST>/v1.16/containers/create
|
35
35
|
body:
|
36
36
|
encoding: UTF-8
|
37
|
-
string: '{"Image":"
|
37
|
+
string: ! '{"Image":"c90d655b99b2","Cmd":["which","pwd"]}'
|
38
38
|
headers:
|
39
39
|
User-Agent:
|
40
|
-
- Swipely/Docker-API 1.
|
40
|
+
- Swipely/Docker-API 1.18.0
|
41
41
|
Content-Type:
|
42
42
|
- application/json
|
43
43
|
response:
|
@@ -48,24 +48,25 @@ http_interactions:
|
|
48
48
|
Content-Type:
|
49
49
|
- application/json
|
50
50
|
Date:
|
51
|
-
-
|
51
|
+
- Thu, 12 Feb 2015 00:55:51 GMT
|
52
52
|
Content-Length:
|
53
53
|
- '90'
|
54
54
|
body:
|
55
|
-
encoding:
|
56
|
-
string:
|
57
|
-
|
55
|
+
encoding: US-ASCII
|
56
|
+
string: ! '{"Id":"db24de1be76557de3e0ad3bb2439038dcfa3c926716dc173671c0b18fba59506","Warnings":null}
|
57
|
+
|
58
|
+
'
|
58
59
|
http_version:
|
59
|
-
recorded_at:
|
60
|
+
recorded_at: Thu, 12 Feb 2015 00:55:51 GMT
|
60
61
|
- request:
|
61
62
|
method: post
|
62
|
-
uri:
|
63
|
+
uri: <DOCKER_HOST>/v1.16/containers/db24de1be76557de3e0ad3bb2439038dcfa3c926716dc173671c0b18fba59506/start
|
63
64
|
body:
|
64
65
|
encoding: UTF-8
|
65
|
-
string:
|
66
|
+
string: ! '{}'
|
66
67
|
headers:
|
67
68
|
User-Agent:
|
68
|
-
- Swipely/Docker-API 1.
|
69
|
+
- Swipely/Docker-API 1.18.0
|
69
70
|
Content-Type:
|
70
71
|
- application/json
|
71
72
|
response:
|
@@ -74,21 +75,21 @@ http_interactions:
|
|
74
75
|
message:
|
75
76
|
headers:
|
76
77
|
Date:
|
77
|
-
-
|
78
|
+
- Thu, 12 Feb 2015 00:55:51 GMT
|
78
79
|
body:
|
79
|
-
encoding:
|
80
|
+
encoding: US-ASCII
|
80
81
|
string: ''
|
81
82
|
http_version:
|
82
|
-
recorded_at:
|
83
|
+
recorded_at: Thu, 12 Feb 2015 00:55:51 GMT
|
83
84
|
- request:
|
84
85
|
method: get
|
85
|
-
uri:
|
86
|
+
uri: <DOCKER_HOST>/v1.16/containers/db24de1be76557de3e0ad3bb2439038dcfa3c926716dc173671c0b18fba59506/logs?stdout=true
|
86
87
|
body:
|
87
88
|
encoding: US-ASCII
|
88
89
|
string: ''
|
89
90
|
headers:
|
90
91
|
User-Agent:
|
91
|
-
- Swipely/Docker-API 1.
|
92
|
+
- Swipely/Docker-API 1.18.0
|
92
93
|
Content-Type:
|
93
94
|
- text/plain
|
94
95
|
response:
|
@@ -97,24 +98,24 @@ http_interactions:
|
|
97
98
|
message:
|
98
99
|
headers:
|
99
100
|
Date:
|
100
|
-
-
|
101
|
+
- Thu, 12 Feb 2015 00:55:51 GMT
|
101
102
|
Content-Type:
|
102
103
|
- application/octet-stream
|
103
104
|
body:
|
104
|
-
encoding:
|
105
|
+
encoding: US-ASCII
|
105
106
|
string: !binary |-
|
106
107
|
AQAAAAAAAAkvYmluL3B3ZAo=
|
107
108
|
http_version:
|
108
|
-
recorded_at:
|
109
|
+
recorded_at: Thu, 12 Feb 2015 00:55:51 GMT
|
109
110
|
- request:
|
110
111
|
method: post
|
111
|
-
uri:
|
112
|
+
uri: <DOCKER_HOST>/v1.16/containers/db24de1be76557de3e0ad3bb2439038dcfa3c926716dc173671c0b18fba59506/wait
|
112
113
|
body:
|
113
114
|
encoding: US-ASCII
|
114
115
|
string: ''
|
115
116
|
headers:
|
116
117
|
User-Agent:
|
117
|
-
- Swipely/Docker-API 1.
|
118
|
+
- Swipely/Docker-API 1.18.0
|
118
119
|
Content-Type:
|
119
120
|
- text/plain
|
120
121
|
response:
|
@@ -125,24 +126,25 @@ http_interactions:
|
|
125
126
|
Content-Type:
|
126
127
|
- application/json
|
127
128
|
Date:
|
128
|
-
-
|
129
|
+
- Thu, 12 Feb 2015 00:55:51 GMT
|
129
130
|
Content-Length:
|
130
131
|
- '17'
|
131
132
|
body:
|
132
|
-
encoding:
|
133
|
-
string:
|
134
|
-
|
133
|
+
encoding: US-ASCII
|
134
|
+
string: ! '{"StatusCode":0}
|
135
|
+
|
136
|
+
'
|
135
137
|
http_version:
|
136
|
-
recorded_at:
|
138
|
+
recorded_at: Thu, 12 Feb 2015 00:55:51 GMT
|
137
139
|
- request:
|
138
140
|
method: delete
|
139
|
-
uri:
|
141
|
+
uri: <DOCKER_HOST>/v1.16/containers/db24de1be76557de3e0ad3bb2439038dcfa3c926716dc173671c0b18fba59506
|
140
142
|
body:
|
141
143
|
encoding: US-ASCII
|
142
144
|
string: ''
|
143
145
|
headers:
|
144
146
|
User-Agent:
|
145
|
-
- Swipely/Docker-API 1.
|
147
|
+
- Swipely/Docker-API 1.18.0
|
146
148
|
Content-Type:
|
147
149
|
- text/plain
|
148
150
|
response:
|
@@ -151,10 +153,10 @@ http_interactions:
|
|
151
153
|
message:
|
152
154
|
headers:
|
153
155
|
Date:
|
154
|
-
-
|
156
|
+
- Thu, 12 Feb 2015 00:55:52 GMT
|
155
157
|
body:
|
156
|
-
encoding:
|
158
|
+
encoding: US-ASCII
|
157
159
|
string: ''
|
158
160
|
http_version:
|
159
|
-
recorded_at:
|
160
|
-
recorded_with: VCR 2.9.
|
161
|
+
recorded_at: Thu, 12 Feb 2015 00:55:52 GMT
|
162
|
+
recorded_with: VCR 2.9.2
|
@@ -2,13 +2,13 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: post
|
5
|
-
uri:
|
5
|
+
uri: <DOCKER_HOST>/v1.16/images/create?fromImage=debian%3Awheezy
|
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,25 @@ http_interactions:
|
|
19
19
|
Content-Type:
|
20
20
|
- application/json
|
21
21
|
Date:
|
22
|
-
-
|
22
|
+
- Thu, 12 Feb 2015 01:05:58 GMT
|
23
23
|
body:
|
24
|
-
encoding:
|
25
|
-
string: "{\"status\":\"The image you are pulling has been verified\",\"id\":\"debian:wheezy\"}\r\n{\"status\":\"Already
|
24
|
+
encoding: US-ASCII
|
25
|
+
string: ! "{\"status\":\"The image you are pulling has been verified\",\"id\":\"debian:wheezy\"}\r\n{\"status\":\"Already
|
26
26
|
exists\",\"progressDetail\":{},\"id\":\"511136ea3c5a\"}{\"status\":\"Already
|
27
|
-
exists\",\"progressDetail\":{},\"id\":\"
|
28
|
-
exists\",\"progressDetail\":{},\"id\":\"
|
27
|
+
exists\",\"progressDetail\":{},\"id\":\"30d39e59ffe2\"}{\"status\":\"Already
|
28
|
+
exists\",\"progressDetail\":{},\"id\":\"c90d655b99b2\"}{\"status\":\"Status:
|
29
29
|
Image is up to date for debian:wheezy\"}\r\n"
|
30
30
|
http_version:
|
31
|
-
recorded_at:
|
31
|
+
recorded_at: Thu, 12 Feb 2015 01:05:58 GMT
|
32
32
|
- request:
|
33
33
|
method: post
|
34
|
-
uri:
|
34
|
+
uri: <DOCKER_HOST>/v1.16/containers/create
|
35
35
|
body:
|
36
36
|
encoding: UTF-8
|
37
|
-
string: '{"Image":"
|
37
|
+
string: ! '{"Image":"c90d655b99b2","Cmd":["pwd"]}'
|
38
38
|
headers:
|
39
39
|
User-Agent:
|
40
|
-
- Swipely/Docker-API 1.
|
40
|
+
- Swipely/Docker-API 1.18.0
|
41
41
|
Content-Type:
|
42
42
|
- application/json
|
43
43
|
response:
|
@@ -48,24 +48,25 @@ http_interactions:
|
|
48
48
|
Content-Type:
|
49
49
|
- application/json
|
50
50
|
Date:
|
51
|
-
-
|
51
|
+
- Thu, 12 Feb 2015 01:05:59 GMT
|
52
52
|
Content-Length:
|
53
53
|
- '90'
|
54
54
|
body:
|
55
|
-
encoding:
|
56
|
-
string:
|
57
|
-
|
55
|
+
encoding: US-ASCII
|
56
|
+
string: ! '{"Id":"9264d122196041809d2a0f99ce6ff9ea14b87df11620d14226807d4f5cd1b6f2","Warnings":null}
|
57
|
+
|
58
|
+
'
|
58
59
|
http_version:
|
59
|
-
recorded_at:
|
60
|
+
recorded_at: Thu, 12 Feb 2015 01:05:59 GMT
|
60
61
|
- request:
|
61
62
|
method: post
|
62
|
-
uri:
|
63
|
+
uri: <DOCKER_HOST>/v1.16/containers/9264d122196041809d2a0f99ce6ff9ea14b87df11620d14226807d4f5cd1b6f2/start
|
63
64
|
body:
|
64
65
|
encoding: UTF-8
|
65
|
-
string:
|
66
|
+
string: ! '{}'
|
66
67
|
headers:
|
67
68
|
User-Agent:
|
68
|
-
- Swipely/Docker-API 1.
|
69
|
+
- Swipely/Docker-API 1.18.0
|
69
70
|
Content-Type:
|
70
71
|
- application/json
|
71
72
|
response:
|
@@ -74,21 +75,21 @@ http_interactions:
|
|
74
75
|
message:
|
75
76
|
headers:
|
76
77
|
Date:
|
77
|
-
-
|
78
|
+
- Thu, 12 Feb 2015 01:05:59 GMT
|
78
79
|
body:
|
79
|
-
encoding:
|
80
|
+
encoding: US-ASCII
|
80
81
|
string: ''
|
81
82
|
http_version:
|
82
|
-
recorded_at:
|
83
|
+
recorded_at: Thu, 12 Feb 2015 01:05:59 GMT
|
83
84
|
- request:
|
84
|
-
method:
|
85
|
-
uri:
|
85
|
+
method: post
|
86
|
+
uri: <DOCKER_HOST>/v1.16/containers/9264d122196041809d2a0f99ce6ff9ea14b87df11620d14226807d4f5cd1b6f2/wait
|
86
87
|
body:
|
87
88
|
encoding: US-ASCII
|
88
89
|
string: ''
|
89
90
|
headers:
|
90
91
|
User-Agent:
|
91
|
-
- Swipely/Docker-API 1.
|
92
|
+
- Swipely/Docker-API 1.18.0
|
92
93
|
Content-Type:
|
93
94
|
- text/plain
|
94
95
|
response:
|
@@ -96,25 +97,28 @@ http_interactions:
|
|
96
97
|
code: 200
|
97
98
|
message:
|
98
99
|
headers:
|
99
|
-
Date:
|
100
|
-
- Mon, 01 Dec 2014 18:08:51 GMT
|
101
100
|
Content-Type:
|
102
|
-
- application/
|
101
|
+
- application/json
|
102
|
+
Date:
|
103
|
+
- Thu, 12 Feb 2015 01:05:59 GMT
|
104
|
+
Content-Length:
|
105
|
+
- '17'
|
103
106
|
body:
|
104
|
-
encoding:
|
105
|
-
string: !
|
106
|
-
|
107
|
+
encoding: US-ASCII
|
108
|
+
string: ! '{"StatusCode":0}
|
109
|
+
|
110
|
+
'
|
107
111
|
http_version:
|
108
|
-
recorded_at:
|
112
|
+
recorded_at: Thu, 12 Feb 2015 01:05:59 GMT
|
109
113
|
- request:
|
110
|
-
method:
|
111
|
-
uri:
|
114
|
+
method: get
|
115
|
+
uri: <DOCKER_HOST>/v1.16/containers/9264d122196041809d2a0f99ce6ff9ea14b87df11620d14226807d4f5cd1b6f2/logs?stdout=true
|
112
116
|
body:
|
113
117
|
encoding: US-ASCII
|
114
118
|
string: ''
|
115
119
|
headers:
|
116
120
|
User-Agent:
|
117
|
-
- Swipely/Docker-API 1.
|
121
|
+
- Swipely/Docker-API 1.18.0
|
118
122
|
Content-Type:
|
119
123
|
- text/plain
|
120
124
|
response:
|
@@ -122,27 +126,25 @@ http_interactions:
|
|
122
126
|
code: 200
|
123
127
|
message:
|
124
128
|
headers:
|
125
|
-
Content-Type:
|
126
|
-
- application/json
|
127
129
|
Date:
|
128
|
-
-
|
129
|
-
Content-
|
130
|
-
-
|
130
|
+
- Thu, 12 Feb 2015 01:05:59 GMT
|
131
|
+
Content-Type:
|
132
|
+
- application/octet-stream
|
131
133
|
body:
|
132
|
-
encoding:
|
133
|
-
string:
|
134
|
-
|
134
|
+
encoding: US-ASCII
|
135
|
+
string: !binary |-
|
136
|
+
AQAAAAAAAAIvCg==
|
135
137
|
http_version:
|
136
|
-
recorded_at:
|
138
|
+
recorded_at: Thu, 12 Feb 2015 01:05:59 GMT
|
137
139
|
- request:
|
138
140
|
method: delete
|
139
|
-
uri:
|
141
|
+
uri: <DOCKER_HOST>/v1.16/containers/9264d122196041809d2a0f99ce6ff9ea14b87df11620d14226807d4f5cd1b6f2
|
140
142
|
body:
|
141
143
|
encoding: US-ASCII
|
142
144
|
string: ''
|
143
145
|
headers:
|
144
146
|
User-Agent:
|
145
|
-
- Swipely/Docker-API 1.
|
147
|
+
- Swipely/Docker-API 1.18.0
|
146
148
|
Content-Type:
|
147
149
|
- text/plain
|
148
150
|
response:
|
@@ -151,10 +153,10 @@ http_interactions:
|
|
151
153
|
message:
|
152
154
|
headers:
|
153
155
|
Date:
|
154
|
-
-
|
156
|
+
- Thu, 12 Feb 2015 01:06:00 GMT
|
155
157
|
body:
|
156
|
-
encoding:
|
158
|
+
encoding: US-ASCII
|
157
159
|
string: ''
|
158
160
|
http_version:
|
159
|
-
recorded_at:
|
160
|
-
recorded_with: VCR 2.9.
|
161
|
+
recorded_at: Thu, 12 Feb 2015 01:06:00 GMT
|
162
|
+
recorded_with: VCR 2.9.2
|