docker-api 1.8.4 → 1.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/docker/image.rb +4 -4
- data/lib/docker/util.rb +9 -1
- data/lib/docker/version.rb +2 -2
- data/spec/docker/container_spec.rb +1 -3
- data/spec/docker/util_spec.rb +23 -2
- data/spec/vcr/Docker/_authenticate_/with_valid_credentials/logs_in_and_sets_the_creds.yml +16 -16
- data/spec/vcr/Docker/_info/returns_the_info_as_a_Hash.yml +6 -6
- data/spec/vcr/Docker/_validate_version/when_nothing_is_raised/validate_version_/.yml +6 -6
- data/spec/vcr/Docker/_version/returns_the_version_as_a_Hash.yml +6 -6
- data/spec/vcr/Docker_Container/_all/when_the_HTTP_response_is_a_200/materializes_each_Container_into_a_Docker_Container.yml +97 -69
- data/spec/vcr/Docker_Container/_attach/with_normal_sized_chunks/yields_each_chunk.yml +12 -12
- data/spec/vcr/Docker_Container/_attach/with_very_small_chunks/yields_each_chunk.yml +12 -12
- data/spec/vcr/Docker_Container/_changes/returns_the_changes_as_an_array.yml +19 -19
- data/spec/vcr/Docker_Container/_commit/creates_a_new_Image_from_the_Container_s_changes.yml +14 -14
- data/spec/vcr/Docker_Container/_commit/if_run_is_passed_it_saves_the_command_in_the_image/saves_the_command.yml +9 -122
- data/spec/vcr/Docker_Container/_copy/when_the_input_is_a_directory/yields_each_chunk_of_the_tarred_directory.yml +24 -24
- data/spec/vcr/Docker_Container/_copy/when_the_input_is_a_file/yields_each_chunk_of_the_tarred_file.yml +24 -24
- data/spec/vcr/Docker_Container/_create/when_creating_a_container_named_bob/should_have_name_set_to_bob.yml +12 -12
- data/spec/vcr/Docker_Container/_create/when_the_Container_does_not_yet_exist/when_the_HTTP_request_returns_a_200/sets_the_id.yml +5 -5
- data/spec/vcr/Docker_Container/_delete/deletes_the_container.yml +15 -15
- data/spec/vcr/Docker_Container/_export/yields_each_chunk.yml +14 -82732
- data/spec/vcr/Docker_Container/_get/when_the_HTTP_response_is_a_200/materializes_the_Container_into_a_Docker_Container.yml +13 -13
- data/spec/vcr/Docker_Container/_json/returns_the_description_as_a_Hash.yml +13 -13
- data/spec/vcr/Docker_Container/_kill/kills_the_container.yml +49 -34
- data/spec/vcr/Docker_Container/_restart/restarts_the_container.yml +39 -39
- data/spec/vcr/Docker_Container/_run/when_the_Container_s_command_does_not_return_status_code_of_0/raises_an_error.yml +14 -14
- 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 +38 -38
- data/spec/vcr/Docker_Container/_start/starts_the_container.yml +21 -21
- data/spec/vcr/Docker_Container/_stop/stops_the_container.yml +52 -37
- data/spec/vcr/Docker_Container/_top/returns_the_top_commands_as_an_Array.yml +7 -7
- data/spec/vcr/Docker_Container/_wait/waits_for_the_command_to_finish.yml +15 -15
- data/spec/vcr/Docker_Container/_wait/when_an_argument_is_given/and_a_command_runs_for_too_long/raises_a_ServerError.yml +9 -9
- data/spec/vcr/Docker_Container/_wait/when_an_argument_is_given/sets_the_read_timeout_to_that_amount_of_time.yml +13 -13
- data/spec/vcr/Docker_Image/_all/materializes_each_Image_into_a_Docker_Image.yml +19 -22
- data/spec/vcr/Docker_Image/_build/with_a_valid_Dockerfile/with_a_block_capturing_build_output/calls_the_block_and_passes_build_output.yml +7 -7
- 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 +25 -27
- data/spec/vcr/Docker_Image/_build/with_a_valid_Dockerfile/without_query_parameters/builds_an_image.yml +7 -7
- data/spec/vcr/Docker_Image/_build/with_an_invalid_Dockerfile/throws_a_UnexpectedResponseError.yml +7 -7
- 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 +8 -7
- data/spec/vcr/Docker_Image/_build_from_dir/with_a_valid_Dockerfile/with_no_query_parameters/builds_the_image.yml +21 -20
- 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 +36 -38
- data/spec/vcr/Docker_Image/_create/when_the_Image_does_not_yet_exist_and_the_body_is_a_Hash/sets_the_id.yml +5 -5
- data/spec/vcr/Docker_Image/_get/when_the_image_does_exist/returns_the_new_image.yml +8 -8
- data/spec/vcr/Docker_Image/_history/returns_the_history_of_the_Image.yml +10 -10
- data/spec/vcr/Docker_Image/_insert/inserts_the_url_s_file_into_a_new_Image.yml +213 -30
- data/spec/vcr/Docker_Image/_insert_local/when_removing_intermediate_containers/creates_a_new_image.yml +45 -51
- data/spec/vcr/Docker_Image/_insert_local/when_removing_intermediate_containers/leave_no_intermediate_containers.yml +48 -100
- data/spec/vcr/Docker_Image/_insert_local/when_the_local_file_does_exist/creates_a_new_Image_that_has_that_file.yml +30 -30
- data/spec/vcr/Docker_Image/_insert_local/when_the_local_file_does_not_exist/raises_an_error.yml +7 -7
- data/spec/vcr/Docker_Image/_insert_local/when_there_are_multiple_files_passed/creates_a_new_Image_that_has_each_file.yml +32 -32
- data/spec/vcr/Docker_Image/_json/returns_additional_information_about_image_image.yml +8 -8
- data/spec/vcr/Docker_Image/_push/pushes_the_Image.yml +43 -102
- data/spec/vcr/Docker_Image/_remove/removes_the_Image.yml +9 -9
- data/spec/vcr/Docker_Image/_run/when_the_argument_is_a_String/splits_the_String_by_spaces_and_creates_a_new_Container.yml +18 -18
- data/spec/vcr/Docker_Image/_run/when_the_argument_is_an_Array/creates_a_new_Container.yml +18 -18
- 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 +12 -12
- data/spec/vcr/Docker_Image/_search/materializes_each_Image_into_a_Docker_Image.yml +34 -22
- data/spec/vcr/Docker_Image/_tag/tags_the_image_with_the_repo_name.yml +6 -6
- metadata +2 -6
- data/spec/vcr/Docker_Container/_copy/when_the_file_does_not_exist/raises_an_error.yml +0 -156
- 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 +0 -93
@@ -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.9/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.
|
11
|
+
- Swipely/Docker-API 1.8.4
|
12
12
|
Content-Type:
|
13
13
|
- text/plain
|
14
14
|
response:
|
@@ -19,14 +19,14 @@ http_interactions:
|
|
19
19
|
Content-Type:
|
20
20
|
- application/json
|
21
21
|
Date:
|
22
|
-
-
|
22
|
+
- Fri, 28 Feb 2014 21:30:07 GMT
|
23
23
|
Connection:
|
24
24
|
- close
|
25
25
|
Transfer-Encoding:
|
26
26
|
- ''
|
27
27
|
body:
|
28
28
|
encoding: UTF-8
|
29
|
-
string: "{\"status\":\"Pulling repository base\"}{\"status\":\"Pulling image
|
29
|
+
string: "{\"status\":\"Pulling repository base\"}\r\n{\"status\":\"Pulling image
|
30
30
|
(ubuntu-quantl) from base\",\"progressDetail\":{},\"id\":\"b750fe79269d\"}{\"status\":\"Pulling
|
31
31
|
image (ubuntu-quantl) from base, endpoint: https://cdn-registry-1.docker.io/v1/\",\"progressDetail\":{},\"id\":\"b750fe79269d\"}{\"status\":\"Pulling
|
32
32
|
dependent layers\",\"progressDetail\":{},\"id\":\"b750fe79269d\"}{\"status\":\"Download
|
@@ -34,16 +34,16 @@ http_interactions:
|
|
34
34
|
complete\",\"progressDetail\":{},\"id\":\"b750fe79269d\"}{\"status\":\"Download
|
35
35
|
complete\",\"progressDetail\":{},\"id\":\"b750fe79269d\"}"
|
36
36
|
http_version:
|
37
|
-
recorded_at:
|
37
|
+
recorded_at: Fri, 28 Feb 2014 21:30:08 GMT
|
38
38
|
- request:
|
39
39
|
method: get
|
40
|
-
uri: unix:///var/run/docker.sock/v1.
|
40
|
+
uri: unix:///var/run/docker.sock/v1.9/images/json?all=true
|
41
41
|
body:
|
42
42
|
encoding: US-ASCII
|
43
43
|
string: ''
|
44
44
|
headers:
|
45
45
|
User-Agent:
|
46
|
-
- Swipely/Docker-API 1.
|
46
|
+
- Swipely/Docker-API 1.8.4
|
47
47
|
Content-Type:
|
48
48
|
- text/plain
|
49
49
|
response:
|
@@ -51,10 +51,10 @@ http_interactions:
|
|
51
51
|
code: 200
|
52
52
|
message:
|
53
53
|
headers:
|
54
|
-
Date:
|
55
|
-
- Wed, 12 Feb 2014 17:06:38 GMT
|
56
54
|
Content-Type:
|
57
|
-
-
|
55
|
+
- application/json
|
56
|
+
Date:
|
57
|
+
- Fri, 28 Feb 2014 21:30:08 GMT
|
58
58
|
Connection:
|
59
59
|
- close
|
60
60
|
Transfer-Encoding:
|
@@ -62,19 +62,16 @@ http_interactions:
|
|
62
62
|
body:
|
63
63
|
encoding: UTF-8
|
64
64
|
string: |-
|
65
|
-
[{"Created":
|
66
|
-
,{"Created":
|
67
|
-
,{"Created":
|
68
|
-
,{"Created":
|
69
|
-
,{"Created":
|
70
|
-
,{"Created":
|
71
|
-
,{"Created":
|
72
|
-
,{"Created":
|
73
|
-
,{"Created":1392224748,"Id":"291b17ca54f04278c166b1313f9ec211fa27596a6f5a20855fcd8739b8f26116","ParentId":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":7,"VirtualSize":350613950}
|
74
|
-
,{"Created":1392224744,"Id":"328de6c59bef1db641600ea40668bbd57f6966a146bebe9640030dea13d0008c","ParentId":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":7,"VirtualSize":350613950}
|
75
|
-
,{"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}
|
65
|
+
[{"Created":1393622997,"Id":"8eeaeb204828c986cffb38b91c9750a7e93c4d60297b30deb2ffd9d6444eb5d7","ParentId":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","RepoTags":["nahiluhmot/base2:latest"],"Size":7,"VirtualSize":175307042}
|
66
|
+
,{"Created":1393622992,"Id":"ac74549ba478cf73bfca3cfdfd5f61624859ab7a942491b4deb85f96553edddb","ParentId":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":38,"VirtualSize":175307073}
|
67
|
+
,{"Created":1393622989,"Id":"50d7d1e75f19b08e53029c4a9786c434ec6cafeca47a8625d7a72391ad08c073","ParentId":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":38,"VirtualSize":175307073}
|
68
|
+
,{"Created":1393622986,"Id":"7152d6b36451bcdbc72a150984117bf9e4d90f74ac1ea17ee53ee66083f75055","ParentId":"b11e8415856766b3d31dc90e9a01257c4eb805292e09bb28d5aeaff0d234e1db","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":328,"VirtualSize":175307401}
|
69
|
+
,{"Created":1393622984,"Id":"b11e8415856766b3d31dc90e9a01257c4eb805292e09bb28d5aeaff0d234e1db","ParentId":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":38,"VirtualSize":175307073}
|
70
|
+
,{"Created":1393622981,"Id":"3a016dd557a79d40d70ad9b41c0629fbd13e8094aa3adee1c69fec1d2891ae4b","ParentId":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":38,"VirtualSize":175307073}
|
71
|
+
,{"Created":1393622978,"Id":"ec54e7edec81632a90f1844fb706ca5f57bc476d08ffcf51cb5feb9d37a7c39b","ParentId":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":93736,"VirtualSize":175400771}
|
72
|
+
,{"Created":1364102658,"Id":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","ParentId":"27cf784147099545","RepoTags":["base:latest","base:ubuntu-12.10","base:ubuntu-quantal","base:ubuntu-quantl","base2:latest"],"Size":77,"VirtualSize":175307035}
|
76
73
|
,{"Created":1364068391,"Id":"27cf784147099545","ParentId":"","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":175306958,"VirtualSize":175306958}
|
77
74
|
]
|
78
75
|
http_version:
|
79
|
-
recorded_at:
|
76
|
+
recorded_at: Fri, 28 Feb 2014 21:30:08 GMT
|
80
77
|
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.9/build
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
8
|
string: !binary |-
|
9
9
|
RG9ja2VyZmlsZQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
10
10
|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
11
11
|
AAAAAAAAAAAAADAwMDA2NDAAMDAwMDAwMAAwMDAwMDAwADAwMDAwMDAwMDEy
|
12
|
-
|
12
|
+
ADEyMzA0MTc3NzQ0ADAxMzMwNgAgMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
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.8.4
|
58
58
|
Content-Type:
|
59
59
|
- application/json
|
60
60
|
response:
|
@@ -65,15 +65,15 @@ http_interactions:
|
|
65
65
|
Content-Type:
|
66
66
|
- application/json
|
67
67
|
Date:
|
68
|
-
-
|
68
|
+
- Fri, 28 Feb 2014 21:30:12 GMT
|
69
69
|
Connection:
|
70
70
|
- close
|
71
71
|
Transfer-Encoding:
|
72
72
|
- ''
|
73
73
|
body:
|
74
74
|
encoding: UTF-8
|
75
|
-
string: "{\"stream\":\"Step 0 : FROM base\\n\"}{\"stream\":\" ---\\u003e
|
76
|
-
built b750fe79269d\\n\"}"
|
75
|
+
string: "{\"stream\":\"Step 0 : FROM base\\n\"}\r\n{\"stream\":\" ---\\u003e
|
76
|
+
b750fe79269d\\n\"}\r\n{\"stream\":\"Successfully built b750fe79269d\\n\"}\r\n"
|
77
77
|
http_version:
|
78
|
-
recorded_at:
|
78
|
+
recorded_at: Fri, 28 Feb 2014 21:30:12 GMT
|
79
79
|
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.9/build?t=swipely%2Fbase
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
8
|
string: !binary |-
|
9
9
|
RG9ja2VyZmlsZQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
10
10
|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
11
11
|
AAAAAAAAAAAAADAwMDA2NDAAMDAwMDAwMAAwMDAwMDAwADAwMDAwMDAwMDIz
|
12
|
-
|
12
|
+
ADEyMzA0MTc3NzQxADAxMzMwNQAgMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
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.8.4
|
58
58
|
Content-Type:
|
59
59
|
- application/json
|
60
60
|
response:
|
@@ -65,27 +65,28 @@ http_interactions:
|
|
65
65
|
Content-Type:
|
66
66
|
- application/json
|
67
67
|
Date:
|
68
|
-
-
|
68
|
+
- Fri, 28 Feb 2014 21:30:09 GMT
|
69
69
|
Connection:
|
70
70
|
- close
|
71
71
|
Transfer-Encoding:
|
72
72
|
- ''
|
73
73
|
body:
|
74
74
|
encoding: UTF-8
|
75
|
-
string: "{\"stream\":\"Step 0 : from base\\n\"}{\"stream\":\" ---\\u003e
|
76
|
-
|
77
|
-
---\\u003e
|
75
|
+
string: "{\"stream\":\"Step 0 : from base\\n\"}\r\n{\"stream\":\" ---\\u003e
|
76
|
+
b750fe79269d\\n\"}\r\n{\"stream\":\"Step 1 : run true\\n\"}\r\n{\"stream\":\"
|
77
|
+
---\\u003e Running in a2640209c447\\n\"}\r\n{\"stream\":\" ---\\u003e 40995bb92b66\\n\"}\r\n{\"stream\":\"Successfully
|
78
|
+
built 40995bb92b66\\n\"}\r\n"
|
78
79
|
http_version:
|
79
|
-
recorded_at:
|
80
|
+
recorded_at: Fri, 28 Feb 2014 21:30:12 GMT
|
80
81
|
- request:
|
81
82
|
method: get
|
82
|
-
uri: unix:///var/run/docker.sock/v1.
|
83
|
+
uri: unix:///var/run/docker.sock/v1.9/images/json
|
83
84
|
body:
|
84
85
|
encoding: US-ASCII
|
85
86
|
string: ''
|
86
87
|
headers:
|
87
88
|
User-Agent:
|
88
|
-
- Swipely/Docker-API 1.
|
89
|
+
- Swipely/Docker-API 1.8.4
|
89
90
|
Content-Type:
|
90
91
|
- text/plain
|
91
92
|
response:
|
@@ -93,29 +94,26 @@ http_interactions:
|
|
93
94
|
code: 200
|
94
95
|
message:
|
95
96
|
headers:
|
96
|
-
Date:
|
97
|
-
- Wed, 12 Feb 2014 17:06:41 GMT
|
98
97
|
Content-Type:
|
99
|
-
-
|
98
|
+
- application/json
|
99
|
+
Date:
|
100
|
+
- Fri, 28 Feb 2014 21:30:12 GMT
|
101
|
+
Content-Length:
|
102
|
+
- '2043'
|
100
103
|
Connection:
|
101
104
|
- close
|
102
|
-
Transfer-Encoding:
|
103
|
-
- ''
|
104
105
|
body:
|
105
106
|
encoding: UTF-8
|
106
107
|
string: |-
|
107
|
-
[{"Created":
|
108
|
-
,{"Created":
|
109
|
-
,{"Created":
|
110
|
-
,{"Created":
|
111
|
-
,{"Created":
|
112
|
-
,{"Created":
|
113
|
-
,{"Created":
|
114
|
-
,{"Created":
|
115
|
-
,{"Created":1392224748,"Id":"291b17ca54f04278c166b1313f9ec211fa27596a6f5a20855fcd8739b8f26116","ParentId":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":7,"VirtualSize":350613950}
|
116
|
-
,{"Created":1392224744,"Id":"328de6c59bef1db641600ea40668bbd57f6966a146bebe9640030dea13d0008c","ParentId":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":7,"VirtualSize":350613950}
|
117
|
-
,{"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}
|
108
|
+
[{"Created":1393623011,"Id":"40995bb92b66862cbb6735ec5b0d2874c13c99e13d257386c763ab491a608d2c","ParentId":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","RepoTags":["swipely/base:latest"],"Size":7,"VirtualSize":175307042}
|
109
|
+
,{"Created":1393622997,"Id":"8eeaeb204828c986cffb38b91c9750a7e93c4d60297b30deb2ffd9d6444eb5d7","ParentId":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","RepoTags":["nahiluhmot/base2:latest"],"Size":7,"VirtualSize":175307042}
|
110
|
+
,{"Created":1393622992,"Id":"ac74549ba478cf73bfca3cfdfd5f61624859ab7a942491b4deb85f96553edddb","ParentId":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":38,"VirtualSize":175307073}
|
111
|
+
,{"Created":1393622989,"Id":"50d7d1e75f19b08e53029c4a9786c434ec6cafeca47a8625d7a72391ad08c073","ParentId":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":38,"VirtualSize":175307073}
|
112
|
+
,{"Created":1393622986,"Id":"7152d6b36451bcdbc72a150984117bf9e4d90f74ac1ea17ee53ee66083f75055","ParentId":"b11e8415856766b3d31dc90e9a01257c4eb805292e09bb28d5aeaff0d234e1db","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":328,"VirtualSize":175307401}
|
113
|
+
,{"Created":1393622981,"Id":"3a016dd557a79d40d70ad9b41c0629fbd13e8094aa3adee1c69fec1d2891ae4b","ParentId":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":38,"VirtualSize":175307073}
|
114
|
+
,{"Created":1393622978,"Id":"ec54e7edec81632a90f1844fb706ca5f57bc476d08ffcf51cb5feb9d37a7c39b","ParentId":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":93736,"VirtualSize":175400771}
|
115
|
+
,{"Created":1364102658,"Id":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","ParentId":"27cf784147099545","RepoTags":["base:latest","base:ubuntu-12.10","base:ubuntu-quantal","base:ubuntu-quantl","base2:latest"],"Size":77,"VirtualSize":175307035}
|
118
116
|
]
|
119
117
|
http_version:
|
120
|
-
recorded_at:
|
118
|
+
recorded_at: Fri, 28 Feb 2014 21:30:12 GMT
|
121
119
|
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.9/build
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
8
|
string: !binary |-
|
9
9
|
RG9ja2VyZmlsZQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
10
10
|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
11
11
|
AAAAAAAAAAAAADAwMDA2NDAAMDAwMDAwMAAwMDAwMDAwADAwMDAwMDAwMDEy
|
12
|
-
|
12
|
+
ADEyMzA0MTc3NzQxADAxMzMwMwAgMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
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.8.4
|
58
58
|
Content-Type:
|
59
59
|
- application/json
|
60
60
|
response:
|
@@ -65,15 +65,15 @@ http_interactions:
|
|
65
65
|
Content-Type:
|
66
66
|
- application/json
|
67
67
|
Date:
|
68
|
-
-
|
68
|
+
- Fri, 28 Feb 2014 21:30:09 GMT
|
69
69
|
Connection:
|
70
70
|
- close
|
71
71
|
Transfer-Encoding:
|
72
72
|
- ''
|
73
73
|
body:
|
74
74
|
encoding: UTF-8
|
75
|
-
string: "{\"stream\":\"Step 0 : from base\\n\"}{\"stream\":\" ---\\u003e
|
76
|
-
built b750fe79269d\\n\"}"
|
75
|
+
string: "{\"stream\":\"Step 0 : from base\\n\"}\r\n{\"stream\":\" ---\\u003e
|
76
|
+
b750fe79269d\\n\"}\r\n{\"stream\":\"Successfully built b750fe79269d\\n\"}\r\n"
|
77
77
|
http_version:
|
78
|
-
recorded_at:
|
78
|
+
recorded_at: Fri, 28 Feb 2014 21:30:09 GMT
|
79
79
|
recorded_with: VCR 2.8.0
|
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: unix:///var/run/docker.sock/v1.
|
5
|
+
uri: unix:///var/run/docker.sock/v1.9/build
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
8
|
string: !binary |-
|
9
9
|
RG9ja2VyZmlsZQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
10
10
|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
11
11
|
AAAAAAAAAAAAADAwMDA2NDAAMDAwMDAwMAAwMDAwMDAwADAwMDAwMDAwMDA3
|
12
|
-
|
12
|
+
ADEyMzA0MTc3NzQxADAxMzMwNwAgMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
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.8.4
|
58
58
|
Content-Type:
|
59
59
|
- application/json
|
60
60
|
response:
|
@@ -65,15 +65,15 @@ http_interactions:
|
|
65
65
|
Content-Type:
|
66
66
|
- application/json
|
67
67
|
Date:
|
68
|
-
-
|
68
|
+
- Fri, 28 Feb 2014 21:30:09 GMT
|
69
69
|
Connection:
|
70
70
|
- close
|
71
71
|
Transfer-Encoding:
|
72
72
|
- ''
|
73
73
|
body:
|
74
74
|
encoding: UTF-8
|
75
|
-
string: "{\"stream\":\"Step 0 : lololol\\n\"}{\"errorDetail\":{\"message\":\"
|
76
|
-
|
75
|
+
string: "{\"stream\":\"Step 0 : lololol\\n\"}\r\n{\"errorDetail\":{\"message\":\"Invalid
|
76
|
+
Dockerfile format\"},\"error\":\"Invalid Dockerfile format\"}\r\n"
|
77
77
|
http_version:
|
78
|
-
recorded_at:
|
78
|
+
recorded_at: Fri, 28 Feb 2014 21:30:09 GMT
|
79
79
|
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.9/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.8.4
|
12
12
|
Content-Type:
|
13
13
|
- application/tar
|
14
14
|
Transfer-Encoding:
|
@@ -21,16 +21,17 @@ http_interactions:
|
|
21
21
|
Content-Type:
|
22
22
|
- application/json
|
23
23
|
Date:
|
24
|
-
-
|
24
|
+
- Fri, 28 Feb 2014 21:40:09 GMT
|
25
25
|
Connection:
|
26
26
|
- close
|
27
27
|
Transfer-Encoding:
|
28
28
|
- ''
|
29
29
|
body:
|
30
30
|
encoding: UTF-8
|
31
|
-
string: "{\"stream\":\"Step 0 : from base\\n\"}{\"stream\":\" ---\\u003e
|
32
|
-
|
33
|
-
---\\u003e
|
31
|
+
string: "{\"stream\":\"Step 0 : from base\\n\"}\r\n{\"stream\":\" ---\\u003e
|
32
|
+
b750fe79269d\\n\"}\r\n{\"stream\":\"Step 1 : add / /\\n\"}\r\n{\"stream\":\"
|
33
|
+
---\\u003e Using cache\\n\"}\r\n{\"stream\":\" ---\\u003e 36729bf9cd69\\n\"}\r\n{\"stream\":\"Successfully
|
34
|
+
built 36729bf9cd69\\n\"}\r\n"
|
34
35
|
http_version:
|
35
|
-
recorded_at:
|
36
|
+
recorded_at: Fri, 28 Feb 2014 21:40:09 GMT
|
36
37
|
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.9/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.8.4
|
12
12
|
Content-Type:
|
13
13
|
- application/tar
|
14
14
|
Transfer-Encoding:
|
@@ -21,27 +21,28 @@ http_interactions:
|
|
21
21
|
Content-Type:
|
22
22
|
- application/json
|
23
23
|
Date:
|
24
|
-
-
|
24
|
+
- Fri, 28 Feb 2014 21:40:07 GMT
|
25
25
|
Connection:
|
26
26
|
- close
|
27
27
|
Transfer-Encoding:
|
28
28
|
- ''
|
29
29
|
body:
|
30
30
|
encoding: UTF-8
|
31
|
-
string: "{\"stream\":\"Step 0 : from base\\n\"}{\"stream\":\" ---\\u003e
|
32
|
-
|
33
|
-
|
31
|
+
string: "{\"stream\":\"Step 0 : from base\\n\"}\r\n{\"stream\":\" ---\\u003e
|
32
|
+
b750fe79269d\\n\"}\r\n{\"stream\":\"Step 1 : add / /\\n\"}\r\n{\"stream\":\"
|
33
|
+
---\\u003e Using cache\\n\"}\r\n{\"stream\":\" ---\\u003e 36729bf9cd69\\n\"}\r\n{\"stream\":\"Successfully
|
34
|
+
built 36729bf9cd69\\n\"}\r\n"
|
34
35
|
http_version:
|
35
|
-
recorded_at:
|
36
|
+
recorded_at: Fri, 28 Feb 2014 21:40:07 GMT
|
36
37
|
- request:
|
37
38
|
method: post
|
38
|
-
uri: unix:///var/run/docker.sock/v1.
|
39
|
+
uri: unix:///var/run/docker.sock/v1.9/containers/create
|
39
40
|
body:
|
40
41
|
encoding: UTF-8
|
41
|
-
string: "{\"Image\":\"
|
42
|
+
string: "{\"Image\":\"36729bf9cd69\",\"Cmd\":[\"cat\",\"/Dockerfile\"]}"
|
42
43
|
headers:
|
43
44
|
User-Agent:
|
44
|
-
- Swipely/Docker-API 1.
|
45
|
+
- Swipely/Docker-API 1.8.4
|
45
46
|
Content-Type:
|
46
47
|
- application/json
|
47
48
|
response:
|
@@ -52,7 +53,7 @@ http_interactions:
|
|
52
53
|
Content-Type:
|
53
54
|
- application/json
|
54
55
|
Date:
|
55
|
-
-
|
56
|
+
- Fri, 28 Feb 2014 21:40:07 GMT
|
56
57
|
Content-Length:
|
57
58
|
- '90'
|
58
59
|
Connection:
|
@@ -60,18 +61,18 @@ http_interactions:
|
|
60
61
|
body:
|
61
62
|
encoding: UTF-8
|
62
63
|
string: |
|
63
|
-
{"Id":"
|
64
|
+
{"Id":"979c4db1554a66bd9625a5d960f16203ce645037a7f63bd5d3ac0e12a4f4aa85","Warnings":null}
|
64
65
|
http_version:
|
65
|
-
recorded_at:
|
66
|
+
recorded_at: Fri, 28 Feb 2014 21:40:07 GMT
|
66
67
|
- request:
|
67
68
|
method: post
|
68
|
-
uri: unix:///var/run/docker.sock/v1.
|
69
|
+
uri: unix:///var/run/docker.sock/v1.9/containers/979c4db1554a66bd9625a5d960f16203ce645037a7f63bd5d3ac0e12a4f4aa85/start
|
69
70
|
body:
|
70
71
|
encoding: UTF-8
|
71
72
|
string: "{}"
|
72
73
|
headers:
|
73
74
|
User-Agent:
|
74
|
-
- Swipely/Docker-API 1.
|
75
|
+
- Swipely/Docker-API 1.8.4
|
75
76
|
Content-Type:
|
76
77
|
- application/json
|
77
78
|
response:
|
@@ -80,7 +81,7 @@ http_interactions:
|
|
80
81
|
message:
|
81
82
|
headers:
|
82
83
|
Date:
|
83
|
-
-
|
84
|
+
- Fri, 28 Feb 2014 21:40:08 GMT
|
84
85
|
Content-Length:
|
85
86
|
- '0'
|
86
87
|
Content-Type:
|
@@ -91,16 +92,16 @@ http_interactions:
|
|
91
92
|
encoding: UTF-8
|
92
93
|
string: ''
|
93
94
|
http_version:
|
94
|
-
recorded_at:
|
95
|
+
recorded_at: Fri, 28 Feb 2014 21:40:08 GMT
|
95
96
|
- request:
|
96
97
|
method: post
|
97
|
-
uri: unix:///var/run/docker.sock/v1.
|
98
|
+
uri: unix:///var/run/docker.sock/v1.9/containers/979c4db1554a66bd9625a5d960f16203ce645037a7f63bd5d3ac0e12a4f4aa85/attach?stderr=true&stdout=true&stream=true
|
98
99
|
body:
|
99
100
|
encoding: US-ASCII
|
100
101
|
string: ''
|
101
102
|
headers:
|
102
103
|
User-Agent:
|
103
|
-
- Swipely/Docker-API 1.
|
104
|
+
- Swipely/Docker-API 1.8.4
|
104
105
|
Content-Type:
|
105
106
|
- text/plain
|
106
107
|
response:
|
@@ -115,5 +116,5 @@ http_interactions:
|
|
115
116
|
string: !binary |-
|
116
117
|
AQAAAAAAABJmcm9tIGJhc2UKYWRkIC8gLwo=
|
117
118
|
http_version:
|
118
|
-
recorded_at:
|
119
|
+
recorded_at: Fri, 28 Feb 2014 21:40:08 GMT
|
119
120
|
recorded_with: VCR 2.8.0
|