docker-api 1.7.6 → 1.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/docker.rb +9 -9
- data/lib/docker/connection.rb +1 -1
- data/lib/docker/container.rb +1 -2
- data/lib/docker/image.rb +7 -6
- data/lib/docker/version.rb +2 -2
- data/spec/docker/connection_spec.rb +2 -2
- data/spec/docker/container_spec.rb +12 -10
- data/spec/docker/image_spec.rb +13 -13
- data/spec/docker_spec.rb +5 -4
- data/spec/vcr/Docker/_authenticate_/with_valid_credentials/logs_in_and_sets_the_creds.yml +1 -1
- data/spec/vcr/Docker/_info/returns_the_info_as_a_Hash.yml +17 -15
- data/spec/vcr/Docker/_validate_version/when_nothing_is_raised/validate_version_/.yml +17 -15
- data/spec/vcr/Docker/_version/returns_the_version_as_a_Hash.yml +17 -15
- data/spec/vcr/Docker_Container/_all/when_the_HTTP_response_is_a_200/materializes_each_Container_into_a_Docker_Container.yml +96 -46
- data/spec/vcr/Docker_Container/_attach/with_normal_sized_chunks/yields_each_chunk.yml +35 -37
- data/spec/vcr/Docker_Container/_attach/with_very_small_chunks/yields_each_chunk.yml +35 -37
- data/spec/vcr/Docker_Container/_changes/returns_the_changes_as_an_array.yml +60 -58
- data/spec/vcr/Docker_Container/_commit/creates_a_new_Image_from_the_Container_s_changes.yml +46 -47
- data/spec/vcr/Docker_Container/_commit/if_run_is_passed_it_saves_the_command_in_the_image/saves_the_command.yml +78 -81
- data/spec/vcr/Docker_Container/_copy/when_the_file_does_not_exist/raises_an_error.yml +77 -80
- data/spec/vcr/Docker_Container/_copy/when_the_input_is_a_directory/yields_each_chunk_of_the_tarred_directory.yml +91 -182
- data/spec/vcr/Docker_Container/_copy/when_the_input_is_a_file/yields_each_chunk_of_the_tarred_file.yml +80 -273
- data/spec/vcr/Docker_Container/_create/when_creating_a_container_named_bob/should_have_name_set_to_bob.yml +20 -15
- data/spec/vcr/Docker_Container/_create/when_the_Container_does_not_yet_exist/when_the_HTTP_request_returns_a_200/sets_the_id.yml +16 -16
- data/spec/vcr/Docker_Container/_delete/deletes_the_container.yml +41 -43
- data/spec/vcr/Docker_Container/_export/yields_each_chunk.yml +82759 -46
- data/spec/vcr/Docker_Container/_get/when_the_HTTP_response_is_a_200/materializes_the_Container_into_a_Docker_Container.yml +29 -30
- data/spec/vcr/Docker_Container/_json/returns_the_description_as_a_Hash.yml +29 -30
- data/spec/vcr/Docker_Container/_kill/kills_the_container.yml +69 -71
- data/spec/vcr/Docker_Container/_restart/restarts_the_container.yml +98 -102
- data/spec/vcr/Docker_Container/_run/when_the_Container_s_command_does_not_return_status_code_of_0/raises_an_error.yml +43 -44
- 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 +117 -122
- data/spec/vcr/Docker_Container/_start/starts_the_container.yml +58 -59
- data/spec/vcr/Docker_Container/_stop/stops_the_container.yml +81 -84
- data/spec/vcr/Docker_Container/_top/returns_the_top_commands_as_an_Array.yml +116 -87
- data/spec/vcr/Docker_Container/_wait/waits_for_the_command_to_finish.yml +43 -44
- data/spec/vcr/Docker_Container/_wait/when_an_argument_is_given/and_a_command_runs_for_too_long/raises_a_ServerError.yml +29 -30
- data/spec/vcr/Docker_Container/_wait/when_an_argument_is_given/sets_the_read_timeout_to_that_amount_of_time.yml +43 -44
- data/spec/vcr/Docker_Image/_all/materializes_each_Image_into_a_Docker_Image.yml +46 -32
- data/spec/vcr/Docker_Image/_build/with_a_valid_Dockerfile/with_a_block_capturing_build_output/calls_the_block_and_passes_build_output.yml +10 -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 +42 -31
- data/spec/vcr/Docker_Image/_build/with_a_valid_Dockerfile/without_query_parameters/builds_an_image.yml +16 -16
- data/spec/vcr/Docker_Image/_build/with_an_invalid_Dockerfile/throws_a_UnexpectedResponseError.yml +17 -19
- 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 +9 -8
- data/spec/vcr/Docker_Image/_build_from_dir/with_a_valid_Dockerfile/with_no_query_parameters/builds_the_image.yml +50 -52
- 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 +76 -66
- data/spec/vcr/Docker_Image/_create/when_the_Image_does_not_yet_exist_and_the_body_is_a_Hash/sets_the_id.yml +20 -18
- data/spec/vcr/Docker_Image/_get/when_the_image_does_exist/returns_the_new_image.yml +14 -15
- data/spec/vcr/Docker_Image/_history/returns_the_history_of_the_Image.yml +36 -32
- data/spec/vcr/Docker_Image/_insert/inserts_the_url_s_file_into_a_new_Image.yml +70 -86
- data/spec/vcr/Docker_Image/_insert_local/when_removing_intermediate_containers/creates_a_new_image.yml +69 -47
- data/spec/vcr/Docker_Image/_insert_local/when_removing_intermediate_containers/leave_no_intermediate_containers.yml +118 -47
- data/spec/vcr/Docker_Image/_insert_local/when_the_local_file_does_exist/creates_a_new_Image_that_has_that_file.yml +68 -70
- data/spec/vcr/Docker_Image/_insert_local/when_the_local_file_does_not_exist/raises_an_error.yml +16 -16
- data/spec/vcr/Docker_Image/_insert_local/when_there_are_multiple_files_passed/creates_a_new_Image_that_has_each_file.yml +70 -72
- data/spec/vcr/Docker_Image/_json/returns_additional_information_about_image_image.yml +33 -32
- data/spec/vcr/Docker_Image/_push/pushes_the_Image.yml +162 -105
- data/spec/vcr/Docker_Image/_remove/removes_the_Image.yml +53 -46
- data/spec/vcr/Docker_Image/_run/when_the_argument_is_a_String/splits_the_String_by_spaces_and_creates_a_new_Container.yml +54 -54
- data/spec/vcr/Docker_Image/_run/when_the_argument_is_an_Array/creates_a_new_Container.yml +54 -54
- 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 +46 -101
- 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 +35 -35
- data/spec/vcr/Docker_Image/_search/materializes_each_Image_into_a_Docker_Image.yml +94 -35
- data/spec/vcr/Docker_Image/_tag/tags_the_image_with_the_repo_name.yml +32 -31
- metadata +29 -49
@@ -2,13 +2,13 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: post
|
5
|
-
uri: unix:///var/run/docker.sock/v1.
|
5
|
+
uri: unix:///var/run/docker.sock/v1.8/build?t=swipely%2Fbase2
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- Swipely/Docker-API 1.6
|
11
|
+
- Swipely/Docker-API 1.7.6
|
12
12
|
Content-Type:
|
13
13
|
- application/tar
|
14
14
|
Transfer-Encoding:
|
@@ -18,30 +18,30 @@ http_interactions:
|
|
18
18
|
code: 200
|
19
19
|
message:
|
20
20
|
headers:
|
21
|
-
|
22
|
-
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
-
|
29
|
-
Y2h1bmtlZA==
|
21
|
+
Content-Type:
|
22
|
+
- application/json
|
23
|
+
Date:
|
24
|
+
- Wed, 12 Feb 2014 17:06:43 GMT
|
25
|
+
Connection:
|
26
|
+
- close
|
27
|
+
Transfer-Encoding:
|
28
|
+
- ''
|
30
29
|
body:
|
31
|
-
encoding:
|
32
|
-
string:
|
33
|
-
|
30
|
+
encoding: UTF-8
|
31
|
+
string: "{\"stream\":\"Step 0 : from base\\n\"}{\"stream\":\" ---\\u003e b750fe79269d\\n\"}{\"stream\":\"Step
|
32
|
+
1 : add / /\\n\"}{\"stream\":\" ---\\u003e Using cache\\n\"}{\"stream\":\"
|
33
|
+
---\\u003e d6d2bf4c6746\\n\"}{\"stream\":\"Successfully built d6d2bf4c6746\\n\"}"
|
34
34
|
http_version:
|
35
|
-
recorded_at: Wed,
|
35
|
+
recorded_at: Wed, 12 Feb 2014 17:06:43 GMT
|
36
36
|
- request:
|
37
37
|
method: post
|
38
|
-
uri: unix:///var/run/docker.sock/v1.
|
38
|
+
uri: unix:///var/run/docker.sock/v1.8/containers/create
|
39
39
|
body:
|
40
40
|
encoding: UTF-8
|
41
|
-
string:
|
41
|
+
string: "{\"Image\":\"d6d2bf4c6746\",\"Cmd\":[\"cat\",\"/Dockerfile\"]}"
|
42
42
|
headers:
|
43
43
|
User-Agent:
|
44
|
-
- Swipely/Docker-API 1.6
|
44
|
+
- Swipely/Docker-API 1.7.6
|
45
45
|
Content-Type:
|
46
46
|
- application/json
|
47
47
|
response:
|
@@ -49,29 +49,29 @@ http_interactions:
|
|
49
49
|
code: 201
|
50
50
|
message:
|
51
51
|
headers:
|
52
|
-
|
53
|
-
-
|
54
|
-
|
55
|
-
|
56
|
-
-
|
57
|
-
|
58
|
-
|
59
|
-
-
|
60
|
-
V2VkLCAzMCBPY3QgMjAxMyAxNTozODo0MSBHTVQ=
|
52
|
+
Content-Type:
|
53
|
+
- application/json
|
54
|
+
Date:
|
55
|
+
- Wed, 12 Feb 2014 17:06:43 GMT
|
56
|
+
Content-Length:
|
57
|
+
- '90'
|
58
|
+
Connection:
|
59
|
+
- close
|
61
60
|
body:
|
62
|
-
encoding:
|
63
|
-
string:
|
61
|
+
encoding: UTF-8
|
62
|
+
string: |
|
63
|
+
{"Id":"32739bfdacc46888ec5cab0b2a689d812c189a369b00a9ca27e0aeacab2b3b39","Warnings":null}
|
64
64
|
http_version:
|
65
|
-
recorded_at: Wed,
|
65
|
+
recorded_at: Wed, 12 Feb 2014 17:06:43 GMT
|
66
66
|
- request:
|
67
67
|
method: post
|
68
|
-
uri: unix:///var/run/docker.sock/v1.
|
68
|
+
uri: unix:///var/run/docker.sock/v1.8/containers/32739bfdacc46888ec5cab0b2a689d812c189a369b00a9ca27e0aeacab2b3b39/start
|
69
69
|
body:
|
70
70
|
encoding: UTF-8
|
71
|
-
string:
|
71
|
+
string: "{}"
|
72
72
|
headers:
|
73
73
|
User-Agent:
|
74
|
-
- Swipely/Docker-API 1.6
|
74
|
+
- Swipely/Docker-API 1.7.6
|
75
75
|
Content-Type:
|
76
76
|
- application/json
|
77
77
|
response:
|
@@ -79,29 +79,28 @@ http_interactions:
|
|
79
79
|
code: 204
|
80
80
|
message:
|
81
81
|
headers:
|
82
|
-
|
83
|
-
-
|
84
|
-
|
85
|
-
|
86
|
-
-
|
87
|
-
|
88
|
-
|
89
|
-
-
|
90
|
-
V2VkLCAzMCBPY3QgMjAxMyAxNTozODo0MSBHTVQ=
|
82
|
+
Date:
|
83
|
+
- Wed, 12 Feb 2014 17:06:43 GMT
|
84
|
+
Content-Length:
|
85
|
+
- '0'
|
86
|
+
Content-Type:
|
87
|
+
- text/plain; charset=utf-8
|
88
|
+
Connection:
|
89
|
+
- close
|
91
90
|
body:
|
92
|
-
encoding:
|
91
|
+
encoding: UTF-8
|
93
92
|
string: ''
|
94
93
|
http_version:
|
95
|
-
recorded_at: Wed,
|
94
|
+
recorded_at: Wed, 12 Feb 2014 17:06:43 GMT
|
96
95
|
- request:
|
97
96
|
method: post
|
98
|
-
uri: unix:///var/run/docker.sock/v1.
|
97
|
+
uri: unix:///var/run/docker.sock/v1.8/containers/32739bfdacc46888ec5cab0b2a689d812c189a369b00a9ca27e0aeacab2b3b39/attach?stderr=true&stdout=true&stream=true
|
99
98
|
body:
|
100
99
|
encoding: US-ASCII
|
101
100
|
string: ''
|
102
101
|
headers:
|
103
102
|
User-Agent:
|
104
|
-
- Swipely/Docker-API 1.6
|
103
|
+
- Swipely/Docker-API 1.7.6
|
105
104
|
Content-Type:
|
106
105
|
- text/plain
|
107
106
|
response:
|
@@ -109,24 +108,23 @@ http_interactions:
|
|
109
108
|
code: 200
|
110
109
|
message:
|
111
110
|
headers:
|
112
|
-
|
113
|
-
-
|
114
|
-
YXBwbGljYXRpb24vdm5kLmRvY2tlci5yYXctc3RyZWFt
|
111
|
+
Content-Type:
|
112
|
+
- application/vnd.docker.raw-stream
|
115
113
|
body:
|
116
|
-
encoding:
|
114
|
+
encoding: UTF-8
|
117
115
|
string: !binary |-
|
118
116
|
AQAAAAAAABJmcm9tIGJhc2UKYWRkIC8gLwo=
|
119
117
|
http_version:
|
120
|
-
recorded_at: Wed,
|
118
|
+
recorded_at: Wed, 12 Feb 2014 17:06:43 GMT
|
121
119
|
- request:
|
122
120
|
method: get
|
123
|
-
uri: unix:///var/run/docker.sock/v1.
|
121
|
+
uri: unix:///var/run/docker.sock/v1.8/images/json
|
124
122
|
body:
|
125
123
|
encoding: US-ASCII
|
126
124
|
string: ''
|
127
125
|
headers:
|
128
126
|
User-Agent:
|
129
|
-
- Swipely/Docker-API 1.6
|
127
|
+
- Swipely/Docker-API 1.7.6
|
130
128
|
Content-Type:
|
131
129
|
- text/plain
|
132
130
|
response:
|
@@ -134,18 +132,30 @@ http_interactions:
|
|
134
132
|
code: 200
|
135
133
|
message:
|
136
134
|
headers:
|
137
|
-
|
138
|
-
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
-
|
145
|
-
V2VkLCAzMCBPY3QgMjAxMyAxNTozODo0MSBHTVQ=
|
135
|
+
Date:
|
136
|
+
- Wed, 12 Feb 2014 17:06:43 GMT
|
137
|
+
Content-Type:
|
138
|
+
- text/plain; charset=utf-8
|
139
|
+
Connection:
|
140
|
+
- close
|
141
|
+
Transfer-Encoding:
|
142
|
+
- ''
|
146
143
|
body:
|
147
|
-
encoding:
|
148
|
-
string:
|
144
|
+
encoding: UTF-8
|
145
|
+
string: |-
|
146
|
+
[{"Created":1392224802,"Id":"d6d2bf4c6746cd6a8695bc0710e30b4171b03627e096b5a275c4c684529186b7","ParentId":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","RepoTags":["swipely/base2:latest"],"Size":18,"VirtualSize":350613961}
|
147
|
+
,{"Created":1392224800,"Id":"fc0060ffa4342164d1184ecfaacad8016c3e81090a73b8a1a7232294ecaac521","ParentId":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","RepoTags":["swipely/base:latest"],"Size":7,"VirtualSize":350613950}
|
148
|
+
,{"Created":1392224791,"Id":"fe20982d654dc449eeca28574a5ca9a88d31214385de328e87701c7791195d38","ParentId":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":0,"VirtualSize":350613943}
|
149
|
+
,{"Created":1392224778,"Id":"e86ce037ddd754144fdbf27a5985c8ea3e542762045f0a9db2380c6a4652351d","ParentId":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":38,"VirtualSize":350613981}
|
150
|
+
,{"Created":1392224774,"Id":"1b3c75d341bd8ca014239a9a658bea02e7e01e02d10aafdca598f1aec970781d","ParentId":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":38,"VirtualSize":350613981}
|
151
|
+
,{"Created":1392224769,"Id":"724a85dfbc0f7e528ee2f30a4ff344a10f708fde454b1c7b2fe36585b42795f1","ParentId":"6b7f51d79dfdc9513b1a7429839a27f23f9c6e7fdfa8fc6ebcb061b18bd2ec8f","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":328,"VirtualSize":350614309}
|
152
|
+
,{"Created":1392224762,"Id":"53f8b4e63bb87e4ea9304f59f4b926c978d3025c3fcd255485de323ca645e1ef","ParentId":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":38,"VirtualSize":350613981}
|
153
|
+
,{"Created":1392224759,"Id":"4ba9053f199a519e1e1cdbbe1f19230c2160f77453d055a0f0d6ded82ce04946","ParentId":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":94554,"VirtualSize":350708497}
|
154
|
+
,{"Created":1392224753,"Id":"dae27da5a73f01eede1699649c42c727651b4311d2ff689810bf22c75c2d2a08","ParentId":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":7,"VirtualSize":350613950}
|
155
|
+
,{"Created":1392224748,"Id":"291b17ca54f04278c166b1313f9ec211fa27596a6f5a20855fcd8739b8f26116","ParentId":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":7,"VirtualSize":350613950}
|
156
|
+
,{"Created":1392224744,"Id":"328de6c59bef1db641600ea40668bbd57f6966a146bebe9640030dea13d0008c","ParentId":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":7,"VirtualSize":350613950}
|
157
|
+
,{"Created":1364102658,"Id":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","ParentId":"27cf784147099545","RepoTags":["base:latest","base:ubuntu-12.10","base:ubuntu-quantal","base:ubuntu-quantl","base2:latest"],"Size":175306985,"VirtualSize":350613943}
|
158
|
+
]
|
149
159
|
http_version:
|
150
|
-
recorded_at: Wed,
|
151
|
-
recorded_with: VCR 2.
|
160
|
+
recorded_at: Wed, 12 Feb 2014 17:06:43 GMT
|
161
|
+
recorded_with: VCR 2.8.0
|
@@ -2,13 +2,13 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: post
|
5
|
-
uri: unix:///var/run/docker.sock/v1.
|
5
|
+
uri: unix:///var/run/docker.sock/v1.8/images/create?fromImage=base
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- Swipely/Docker-API 1.6
|
11
|
+
- Swipely/Docker-API 1.7.6
|
12
12
|
Content-Type:
|
13
13
|
- text/plain
|
14
14
|
response:
|
@@ -16,21 +16,23 @@ http_interactions:
|
|
16
16
|
code: 200
|
17
17
|
message:
|
18
18
|
headers:
|
19
|
-
|
20
|
-
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
-
|
27
|
-
Y2h1bmtlZA==
|
19
|
+
Content-Type:
|
20
|
+
- application/json
|
21
|
+
Date:
|
22
|
+
- Wed, 12 Feb 2014 17:06:36 GMT
|
23
|
+
Connection:
|
24
|
+
- close
|
25
|
+
Transfer-Encoding:
|
26
|
+
- ''
|
28
27
|
body:
|
29
|
-
encoding:
|
30
|
-
string:
|
31
|
-
(ubuntu-quantl) from base"
|
32
|
-
(ubuntu-quantl) from base, endpoint: https://cdn-registry-1.docker.io/v1
|
33
|
-
layers"
|
28
|
+
encoding: UTF-8
|
29
|
+
string: "{\"status\":\"Pulling repository base\"}{\"status\":\"Pulling image
|
30
|
+
(ubuntu-quantl) from base\",\"progressDetail\":{},\"id\":\"b750fe79269d\"}{\"status\":\"Pulling
|
31
|
+
image (ubuntu-quantl) from base, endpoint: https://cdn-registry-1.docker.io/v1/\",\"progressDetail\":{},\"id\":\"b750fe79269d\"}{\"status\":\"Pulling
|
32
|
+
dependent layers\",\"progressDetail\":{},\"id\":\"b750fe79269d\"}{\"status\":\"Download
|
33
|
+
complete\",\"progressDetail\":{},\"id\":\"27cf78414709\"}{\"status\":\"Download
|
34
|
+
complete\",\"progressDetail\":{},\"id\":\"b750fe79269d\"}{\"status\":\"Download
|
35
|
+
complete\",\"progressDetail\":{},\"id\":\"b750fe79269d\"}"
|
34
36
|
http_version:
|
35
|
-
recorded_at:
|
36
|
-
recorded_with: VCR 2.
|
37
|
+
recorded_at: Wed, 12 Feb 2014 17:06:37 GMT
|
38
|
+
recorded_with: VCR 2.8.0
|
@@ -2,13 +2,13 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: unix:///var/run/docker.sock/v1.
|
5
|
+
uri: unix:///var/run/docker.sock/v1.8/images/base/json
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- Swipely/Docker-API 1.7.
|
11
|
+
- Swipely/Docker-API 1.7.6
|
12
12
|
Content-Type:
|
13
13
|
- text/plain
|
14
14
|
response:
|
@@ -16,18 +16,17 @@ http_interactions:
|
|
16
16
|
code: 200
|
17
17
|
message:
|
18
18
|
headers:
|
19
|
-
|
20
|
-
-
|
21
|
-
|
22
|
-
|
23
|
-
-
|
24
|
-
|
25
|
-
|
26
|
-
-
|
27
|
-
NjMx
|
19
|
+
Date:
|
20
|
+
- Wed, 12 Feb 2014 17:06:37 GMT
|
21
|
+
Content-Length:
|
22
|
+
- '650'
|
23
|
+
Content-Type:
|
24
|
+
- text/plain; charset=utf-8
|
25
|
+
Connection:
|
26
|
+
- close
|
28
27
|
body:
|
29
|
-
encoding:
|
30
|
-
string:
|
28
|
+
encoding: UTF-8
|
29
|
+
string: "{\"id\":\"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc\",\"parent\":\"27cf784147099545\",\"created\":\"2013-03-23T22:24:18.818426-07:00\",\"container\":\"3d67245a8d72ecf13f33dffac9f79dcdf70f75acb84d308770391510e0c23ad0\",\"container_config\":{\"Hostname\":\"\",\"Domainname\":\"\",\"User\":\"\",\"Memory\":0,\"MemorySwap\":0,\"CpuShares\":0,\"AttachStdin\":false,\"AttachStdout\":false,\"AttachStderr\":false,\"PortSpecs\":null,\"ExposedPorts\":null,\"Tty\":true,\"OpenStdin\":true,\"StdinOnce\":false,\"Env\":null,\"Cmd\":[\"/bin/bash\"],\"Dns\":null,\"Image\":\"base\",\"Volumes\":null,\"VolumesFrom\":\"\",\"WorkingDir\":\"\",\"Entrypoint\":null,\"NetworkDisabled\":false,\"OnBuild\":null},\"Size\":175306985}"
|
31
30
|
http_version:
|
32
|
-
recorded_at:
|
33
|
-
recorded_with: VCR 2.
|
31
|
+
recorded_at: Wed, 12 Feb 2014 17:06:37 GMT
|
32
|
+
recorded_with: VCR 2.8.0
|
@@ -2,13 +2,13 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: post
|
5
|
-
uri: unix:///var/run/docker.sock/v1.
|
5
|
+
uri: unix:///var/run/docker.sock/v1.8/images/create?fromImage=base
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- Swipely/Docker-API 1.6
|
11
|
+
- Swipely/Docker-API 1.7.6
|
12
12
|
Content-Type:
|
13
13
|
- text/plain
|
14
14
|
response:
|
@@ -16,32 +16,34 @@ http_interactions:
|
|
16
16
|
code: 200
|
17
17
|
message:
|
18
18
|
headers:
|
19
|
-
|
20
|
-
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
-
|
27
|
-
Y2h1bmtlZA==
|
19
|
+
Content-Type:
|
20
|
+
- application/json
|
21
|
+
Date:
|
22
|
+
- Wed, 12 Feb 2014 17:06:22 GMT
|
23
|
+
Connection:
|
24
|
+
- close
|
25
|
+
Transfer-Encoding:
|
26
|
+
- ''
|
28
27
|
body:
|
29
|
-
encoding:
|
30
|
-
string:
|
31
|
-
(ubuntu-quantl) from base"
|
32
|
-
(ubuntu-quantl) from base, endpoint: https://cdn-registry-1.docker.io/v1
|
33
|
-
layers"
|
28
|
+
encoding: UTF-8
|
29
|
+
string: "{\"status\":\"Pulling repository base\"}{\"status\":\"Pulling image
|
30
|
+
(ubuntu-quantl) from base\",\"progressDetail\":{},\"id\":\"b750fe79269d\"}{\"status\":\"Pulling
|
31
|
+
image (ubuntu-quantl) from base, endpoint: https://cdn-registry-1.docker.io/v1/\",\"progressDetail\":{},\"id\":\"b750fe79269d\"}{\"status\":\"Pulling
|
32
|
+
dependent layers\",\"progressDetail\":{},\"id\":\"b750fe79269d\"}{\"status\":\"Download
|
33
|
+
complete\",\"progressDetail\":{},\"id\":\"27cf78414709\"}{\"status\":\"Download
|
34
|
+
complete\",\"progressDetail\":{},\"id\":\"b750fe79269d\"}{\"status\":\"Download
|
35
|
+
complete\",\"progressDetail\":{},\"id\":\"b750fe79269d\"}"
|
34
36
|
http_version:
|
35
|
-
recorded_at:
|
37
|
+
recorded_at: Wed, 12 Feb 2014 17:06:23 GMT
|
36
38
|
- request:
|
37
39
|
method: get
|
38
|
-
uri: unix:///var/run/docker.sock/v1.
|
40
|
+
uri: unix:///var/run/docker.sock/v1.8/images/base/history
|
39
41
|
body:
|
40
42
|
encoding: US-ASCII
|
41
43
|
string: ''
|
42
44
|
headers:
|
43
45
|
User-Agent:
|
44
|
-
- Swipely/Docker-API 1.6
|
46
|
+
- Swipely/Docker-API 1.7.6
|
45
47
|
Content-Type:
|
46
48
|
- text/plain
|
47
49
|
response:
|
@@ -49,18 +51,20 @@ http_interactions:
|
|
49
51
|
code: 200
|
50
52
|
message:
|
51
53
|
headers:
|
52
|
-
|
53
|
-
-
|
54
|
-
|
55
|
-
|
56
|
-
-
|
57
|
-
|
58
|
-
|
59
|
-
-
|
60
|
-
RnJpLCAyNSBPY3QgMjAxMyAxNjozMzo0OSBHTVQ=
|
54
|
+
Date:
|
55
|
+
- Wed, 12 Feb 2014 17:06:23 GMT
|
56
|
+
Content-Length:
|
57
|
+
- '331'
|
58
|
+
Content-Type:
|
59
|
+
- text/plain; charset=utf-8
|
60
|
+
Connection:
|
61
|
+
- close
|
61
62
|
body:
|
62
|
-
encoding:
|
63
|
-
string:
|
63
|
+
encoding: UTF-8
|
64
|
+
string: |-
|
65
|
+
[{"Created":1364102658,"CreatedBy":"/bin/bash","Id":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","Size":175306985,"Tags":["base:latest","base:ubuntu-12.10","base:ubuntu-quantal","base:ubuntu-quantl","base2:latest"]}
|
66
|
+
,{"Created":1364068391,"CreatedBy":"","Id":"27cf784147099545","Size":175306958,"Tags":null}
|
67
|
+
]
|
64
68
|
http_version:
|
65
|
-
recorded_at:
|
66
|
-
recorded_with: VCR 2.
|
69
|
+
recorded_at: Wed, 12 Feb 2014 17:06:23 GMT
|
70
|
+
recorded_with: VCR 2.8.0
|
@@ -2,14 +2,14 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: post
|
5
|
-
uri: unix:///var/run/docker.sock/v1.
|
5
|
+
uri: unix:///var/run/docker.sock/v1.8/build
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
8
|
string: !binary |-
|
9
9
|
RG9ja2VyZmlsZQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
10
10
|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
11
11
|
AAAAAAAAAAAAADAwMDA2NDAAMDAwMDAwMAAwMDAwMDAwADAwMDAwMDAwMDEx
|
12
|
-
|
12
|
+
ADEyMjc2NzI0NzY0ADAxMzMxNQAgMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
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.6
|
57
|
+
- Swipely/Docker-API 1.7.6
|
58
58
|
Content-Type:
|
59
59
|
- application/json
|
60
60
|
response:
|
@@ -62,29 +62,35 @@ http_interactions:
|
|
62
62
|
code: 200
|
63
63
|
message:
|
64
64
|
headers:
|
65
|
-
|
66
|
-
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
-
|
73
|
-
Y2h1bmtlZA==
|
65
|
+
Content-Type:
|
66
|
+
- application/json
|
67
|
+
Date:
|
68
|
+
- Wed, 12 Feb 2014 17:05:56 GMT
|
69
|
+
Connection:
|
70
|
+
- close
|
71
|
+
Transfer-Encoding:
|
72
|
+
- ''
|
74
73
|
body:
|
75
|
-
encoding:
|
76
|
-
string:
|
74
|
+
encoding: UTF-8
|
75
|
+
string: "{\"stream\":\"Step 0 : from base\\n\"}{\"status\":\"Pulling repository
|
76
|
+
base\"}{\"status\":\"Pulling image (ubuntu-quantl) from base\",\"progressDetail\":{},\"id\":\"b750fe79269d\"}{\"status\":\"Pulling
|
77
|
+
image (ubuntu-quantl) from base, endpoint: https://cdn-registry-1.docker.io/v1/\",\"progressDetail\":{},\"id\":\"b750fe79269d\"}{\"status\":\"Pulling
|
78
|
+
dependent layers\",\"progressDetail\":{},\"id\":\"b750fe79269d\"}{\"status\":\"Download
|
79
|
+
complete\",\"progressDetail\":{},\"id\":\"27cf78414709\"}{\"status\":\"Download
|
80
|
+
complete\",\"progressDetail\":{},\"id\":\"b750fe79269d\"}{\"status\":\"Download
|
81
|
+
complete\",\"progressDetail\":{},\"id\":\"b750fe79269d\"}{\"stream\":\" ---\\u003e
|
82
|
+
b750fe79269d\\n\"}{\"stream\":\"Successfully built b750fe79269d\\n\"}"
|
77
83
|
http_version:
|
78
|
-
recorded_at: Wed,
|
84
|
+
recorded_at: Wed, 12 Feb 2014 17:05:57 GMT
|
79
85
|
- request:
|
80
86
|
method: post
|
81
|
-
uri: unix:///var/run/docker.sock/v1.
|
87
|
+
uri: unix:///var/run/docker.sock/v1.8/images/b750fe79269d/insert?path=%2Fstallman&url=http%3A%2F%2Fstallman.org
|
82
88
|
body:
|
83
89
|
encoding: US-ASCII
|
84
90
|
string: ''
|
85
91
|
headers:
|
86
92
|
User-Agent:
|
87
|
-
- Swipely/Docker-API 1.6
|
93
|
+
- Swipely/Docker-API 1.7.6
|
88
94
|
Content-Type:
|
89
95
|
- text/plain
|
90
96
|
response:
|
@@ -92,49 +98,29 @@ http_interactions:
|
|
92
98
|
code: 200
|
93
99
|
message:
|
94
100
|
headers:
|
95
|
-
|
96
|
-
-
|
97
|
-
|
98
|
-
|
99
|
-
-
|
100
|
-
|
101
|
-
|
102
|
-
-
|
103
|
-
Y2h1bmtlZA==
|
101
|
+
Content-Type:
|
102
|
+
- application/json
|
103
|
+
Date:
|
104
|
+
- Wed, 12 Feb 2014 17:06:00 GMT
|
105
|
+
Content-Length:
|
106
|
+
- '208'
|
107
|
+
Connection:
|
108
|
+
- close
|
104
109
|
body:
|
105
|
-
encoding:
|
106
|
-
string:
|
107
|
-
kB
|
108
|
-
kB/93.78 kB (7%)"}{"status":"Downloading","progress":"8.448 kB/93.78 kB (9%)"}{"status":"Downloading","progress":"9.896
|
109
|
-
kB/93.78 kB (11%)"}{"status":"Downloading","progress":"12.79 kB/93.78 kB (14%)"}{"status":"Downloading","progress":"15.69
|
110
|
-
kB/93.78 kB (17%)"}{"status":"Downloading","progress":"20.03 kB/93.78 kB (21%)"}{"status":"Downloading","progress":"22.93
|
111
|
-
kB/93.78 kB (24%)"}{"status":"Downloading","progress":"27.27 kB/93.78 kB (29%)"}{"status":"Downloading","progress":"31.62
|
112
|
-
kB/93.78 kB (34%)"}{"status":"Downloading","progress":"33.06 kB/93.78 kB (35%)"}{"status":"Downloading","progress":"37.41
|
113
|
-
kB/93.78 kB (40%)"}{"status":"Downloading","progress":"38.86 kB/93.78 kB (41%)"}{"status":"Downloading","progress":"
|
114
|
-
40.3 kB/93.78 kB (43%)"}{"status":"Downloading","progress":" 46.1 kB/93.78
|
115
|
-
kB (49%)"}{"status":"Downloading","progress":"50.44 kB/93.78 kB (54%)"}{"status":"Downloading","progress":"53.34
|
116
|
-
kB/93.78 kB (57%)"}{"status":"Downloading","progress":"57.68 kB/93.78 kB (62%)"}{"status":"Downloading","progress":"60.58
|
117
|
-
kB/93.78 kB (65%)"}{"status":"Downloading","progress":"62.02 kB/93.78 kB (66%)"}{"status":"Downloading","progress":"66.37
|
118
|
-
kB/93.78 kB (71%)"}{"status":"Downloading","progress":"67.82 kB/93.78 kB (72%)"}{"status":"Downloading","progress":"70.71
|
119
|
-
kB/93.78 kB (75%)"}{"status":"Downloading","progress":"72.16 kB/93.78 kB (77%)"}{"status":"Downloading","progress":"73.61
|
120
|
-
kB/93.78 kB (78%)"}{"status":"Downloading","progress":" 76.5 kB/93.78 kB (82%)"}{"status":"Downloading","progress":"77.95
|
121
|
-
kB/93.78 kB (83%)"}{"status":"Downloading","progress":" 79.4 kB/93.78 kB (85%)"}{"status":"Downloading","progress":"80.85
|
122
|
-
kB/93.78 kB (86%)"}{"status":"Downloading","progress":"83.74 kB/93.78 kB (89%)"}{"status":"Downloading","progress":"86.64
|
123
|
-
kB/93.78 kB (92%)"}{"status":"Downloading","progress":"89.54 kB/93.78 kB (95%)"}{"status":"Downloading","progress":"90.98
|
124
|
-
kB/93.78 kB (97%)"}{"status":"Downloading","progress":"92.43 kB/93.78 kB (99%)"}{"status":"Downloading","progress":"93.78
|
125
|
-
kB/93.78 kB (100%)"}{"status":"Downloading","progress":"93.78 kB/93.78 kB
|
126
|
-
(100%)"}{}{"status":"7c791b1c21969250800123515fe347db0b7c5abe1fa593897389e624e8f8dadd"}{"Id":"7c791b1c2196"}'
|
110
|
+
encoding: UTF-8
|
111
|
+
string: "{\"status\":\"Downloading\",\"progressDetail\":{\"current\":94554,\"total\":-1,\"start\":1392224758},\"progress\":\"94.55
|
112
|
+
kB\",\"id\":\"b750fe79269d\"}{\"status\":\"4ba9053f199a519e1e1cdbbe1f19230c2160f77453d055a0f0d6ded82ce04946\"}"
|
127
113
|
http_version:
|
128
|
-
recorded_at: Wed,
|
114
|
+
recorded_at: Wed, 12 Feb 2014 17:06:00 GMT
|
129
115
|
- request:
|
130
116
|
method: post
|
131
|
-
uri: unix:///var/run/docker.sock/v1.
|
117
|
+
uri: unix:///var/run/docker.sock/v1.8/containers/create
|
132
118
|
body:
|
133
119
|
encoding: UTF-8
|
134
|
-
string:
|
120
|
+
string: "{\"Image\":\"4ba9053f199a519e1e1cdbbe1f19230c2160f77453d055a0f0d6ded82ce04946\",\"Cmd\":[\"ls\",\"/\"]}"
|
135
121
|
headers:
|
136
122
|
User-Agent:
|
137
|
-
- Swipely/Docker-API 1.6
|
123
|
+
- Swipely/Docker-API 1.7.6
|
138
124
|
Content-Type:
|
139
125
|
- application/json
|
140
126
|
response:
|
@@ -142,29 +128,29 @@ http_interactions:
|
|
142
128
|
code: 201
|
143
129
|
message:
|
144
130
|
headers:
|
145
|
-
|
146
|
-
-
|
147
|
-
|
148
|
-
|
149
|
-
-
|
150
|
-
|
151
|
-
|
152
|
-
-
|
153
|
-
V2VkLCAzMCBPY3QgMjAxMyAxNjo1ODo1NSBHTVQ=
|
131
|
+
Content-Type:
|
132
|
+
- application/json
|
133
|
+
Date:
|
134
|
+
- Wed, 12 Feb 2014 17:06:00 GMT
|
135
|
+
Content-Length:
|
136
|
+
- '90'
|
137
|
+
Connection:
|
138
|
+
- close
|
154
139
|
body:
|
155
|
-
encoding:
|
156
|
-
string:
|
140
|
+
encoding: UTF-8
|
141
|
+
string: |
|
142
|
+
{"Id":"d421cfdfd73c407d2ca86338cec93fdf86a57816a7332d641461d7f36168f1ab","Warnings":null}
|
157
143
|
http_version:
|
158
|
-
recorded_at: Wed,
|
144
|
+
recorded_at: Wed, 12 Feb 2014 17:06:00 GMT
|
159
145
|
- request:
|
160
146
|
method: post
|
161
|
-
uri: unix:///var/run/docker.sock/v1.
|
147
|
+
uri: unix:///var/run/docker.sock/v1.8/containers/d421cfdfd73c407d2ca86338cec93fdf86a57816a7332d641461d7f36168f1ab/start
|
162
148
|
body:
|
163
149
|
encoding: UTF-8
|
164
|
-
string:
|
150
|
+
string: "{}"
|
165
151
|
headers:
|
166
152
|
User-Agent:
|
167
|
-
- Swipely/Docker-API 1.6
|
153
|
+
- Swipely/Docker-API 1.7.6
|
168
154
|
Content-Type:
|
169
155
|
- application/json
|
170
156
|
response:
|
@@ -172,29 +158,28 @@ http_interactions:
|
|
172
158
|
code: 204
|
173
159
|
message:
|
174
160
|
headers:
|
175
|
-
|
176
|
-
-
|
177
|
-
|
178
|
-
|
179
|
-
-
|
180
|
-
|
181
|
-
|
182
|
-
-
|
183
|
-
V2VkLCAzMCBPY3QgMjAxMyAxNjo1ODo1NSBHTVQ=
|
161
|
+
Date:
|
162
|
+
- Wed, 12 Feb 2014 17:06:00 GMT
|
163
|
+
Content-Length:
|
164
|
+
- '0'
|
165
|
+
Content-Type:
|
166
|
+
- text/plain; charset=utf-8
|
167
|
+
Connection:
|
168
|
+
- close
|
184
169
|
body:
|
185
|
-
encoding:
|
170
|
+
encoding: UTF-8
|
186
171
|
string: ''
|
187
172
|
http_version:
|
188
|
-
recorded_at: Wed,
|
173
|
+
recorded_at: Wed, 12 Feb 2014 17:06:00 GMT
|
189
174
|
- request:
|
190
175
|
method: post
|
191
|
-
uri: unix:///var/run/docker.sock/v1.
|
176
|
+
uri: unix:///var/run/docker.sock/v1.8/containers/d421cfdfd73c407d2ca86338cec93fdf86a57816a7332d641461d7f36168f1ab/attach?stderr=true&stdout=true&stream=true
|
192
177
|
body:
|
193
178
|
encoding: US-ASCII
|
194
179
|
string: ''
|
195
180
|
headers:
|
196
181
|
User-Agent:
|
197
|
-
- Swipely/Docker-API 1.6
|
182
|
+
- Swipely/Docker-API 1.7.6
|
198
183
|
Content-Type:
|
199
184
|
- text/plain
|
200
185
|
response:
|
@@ -202,15 +187,14 @@ http_interactions:
|
|
202
187
|
code: 200
|
203
188
|
message:
|
204
189
|
headers:
|
205
|
-
|
206
|
-
-
|
207
|
-
YXBwbGljYXRpb24vdm5kLmRvY2tlci5yYXctc3RyZWFt
|
190
|
+
Content-Type:
|
191
|
+
- application/vnd.docker.raw-stream
|
208
192
|
body:
|
209
|
-
encoding:
|
193
|
+
encoding: UTF-8
|
210
194
|
string: !binary |-
|
211
195
|
AQAAAAAAAGZiaW4KYm9vdApkZXYKZXRjCmhvbWUKbGliCmxpYjY0Cm1lZGlh
|
212
196
|
Cm1udApvcHQKcHJvYwpyb290CnJ1bgpzYmluCnNlbGludXgKc3J2CnN0YWxs
|
213
197
|
bWFuCnN5cwp0bXAKdXNyCnZhcgo=
|
214
198
|
http_version:
|
215
|
-
recorded_at: Wed,
|
216
|
-
recorded_with: VCR 2.
|
199
|
+
recorded_at: Wed, 12 Feb 2014 17:06:00 GMT
|
200
|
+
recorded_with: VCR 2.8.0
|