docker-api 1.9.1 → 1.10.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 +5 -5
- data/lib/docker/container.rb +20 -3
- data/lib/docker/image.rb +2 -2
- data/lib/docker/version.rb +2 -2
- data/spec/docker/container_spec.rb +3 -3
- data/spec/docker/image_spec.rb +1 -1
- 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 +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 +63 -93
- 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 +4 -4
- 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 -9
- data/spec/vcr/Docker_Container/_copy/when_the_input_is_a_directory/yields_each_chunk_of_the_tarred_directory.yml +21 -21
- data/spec/vcr/Docker_Container/_copy/when_the_input_is_a_file/yields_each_chunk_of_the_tarred_file.yml +22 -22
- data/spec/vcr/Docker_Container/_create/when_creating_a_container_named_bob/should_have_name_set_to_bob.yml +11 -11
- 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 +17 -15
- data/spec/vcr/Docker_Container/_export/yields_each_chunk.yml +3 -3
- data/spec/vcr/Docker_Container/_get/when_the_HTTP_response_is_a_200/materializes_the_Container_into_a_Docker_Container.yml +11 -11
- data/spec/vcr/Docker_Container/_json/returns_the_description_as_a_Hash.yml +11 -11
- data/spec/vcr/Docker_Container/_kill/kills_the_container.yml +34 -47
- data/spec/vcr/Docker_Container/_restart/restarts_the_container.yml +39 -35
- data/spec/vcr/Docker_Container/_run/when_the_Container_s_command_does_not_return_status_code_of_0/raises_an_error.yml +15 -15
- 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 +37 -37
- data/spec/vcr/Docker_Container/_start/starts_the_container.yml +20 -19
- data/spec/vcr/Docker_Container/_stop/stops_the_container.yml +37 -50
- data/spec/vcr/Docker_Container/_top/returns_the_top_commands_as_an_Array.yml +26 -115
- 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 +29 -15
- data/spec/vcr/Docker_Image/_build/with_a_valid_Dockerfile/with_a_block_capturing_build_output/calls_the_block_and_passes_build_output.yml +5 -5
- 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 +28 -20
- data/spec/vcr/Docker_Image/_build/with_a_valid_Dockerfile/without_query_parameters/builds_an_image.yml +5 -5
- data/spec/vcr/Docker_Image/_build/with_an_invalid_Dockerfile/throws_a_UnexpectedResponseError.yml +5 -5
- 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 +6 -6
- data/spec/vcr/Docker_Image/_build_from_dir/with_a_valid_Dockerfile/with_no_query_parameters/builds_the_image.yml +18 -19
- 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 +39 -31
- data/spec/vcr/Docker_Image/_create/when_the_Image_does_not_yet_exist_and_the_body_is_a_Hash/sets_the_id.yml +4 -4
- data/spec/vcr/Docker_Image/_get/when_the_image_does_exist/returns_the_new_image.yml +4 -4
- data/spec/vcr/Docker_Image/_history/returns_the_history_of_the_Image.yml +8 -8
- data/spec/vcr/Docker_Image/_insert/inserts_the_url_s_file_into_a_new_Image.yml +26 -209
- data/spec/vcr/Docker_Image/_insert_local/when_removing_intermediate_containers/creates_a_new_image.yml +51 -35
- data/spec/vcr/Docker_Image/_insert_local/when_removing_intermediate_containers/leave_no_intermediate_containers.yml +90 -40
- data/spec/vcr/Docker_Image/_insert_local/when_the_local_file_does_exist/creates_a_new_Image_that_has_that_file.yml +26 -26
- data/spec/vcr/Docker_Image/_insert_local/when_the_local_file_does_not_exist/raises_an_error.yml +5 -5
- data/spec/vcr/Docker_Image/_insert_local/when_there_are_multiple_files_passed/creates_a_new_Image_that_has_each_file.yml +28 -28
- 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 +49 -33
- data/spec/vcr/Docker_Image/_remove/removes_the_Image.yml +25 -18
- data/spec/vcr/Docker_Image/_run/when_the_argument_is_a_String/splits_the_String_by_spaces_and_creates_a_new_Container.yml +16 -16
- data/spec/vcr/Docker_Image/_run/when_the_argument_is_an_Array/creates_a_new_Container.yml +16 -16
- 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 +8 -8
- data/spec/vcr/Docker_Image/_search/materializes_each_Image_into_a_Docker_Image.yml +24 -23
- data/spec/vcr/Docker_Image/_tag/tags_the_image_with_the_repo_name.yml +8 -8
- metadata +2 -2
@@ -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.10/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.9.1
|
12
12
|
Content-Type:
|
13
13
|
- text/plain
|
14
14
|
response:
|
@@ -19,7 +19,7 @@ http_interactions:
|
|
19
19
|
Content-Type:
|
20
20
|
- application/json
|
21
21
|
Date:
|
22
|
-
-
|
22
|
+
- Wed, 12 Mar 2014 13:32:13 GMT
|
23
23
|
Connection:
|
24
24
|
- close
|
25
25
|
Transfer-Encoding:
|
@@ -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: Wed, 12 Mar 2014 13:32:14 GMT
|
38
38
|
- request:
|
39
39
|
method: get
|
40
|
-
uri: unix:///var/run/docker.sock/v1.
|
40
|
+
uri: unix:///var/run/docker.sock/v1.10/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.9.1
|
47
47
|
Content-Type:
|
48
48
|
- text/plain
|
49
49
|
response:
|
@@ -54,7 +54,7 @@ http_interactions:
|
|
54
54
|
Content-Type:
|
55
55
|
- application/json
|
56
56
|
Date:
|
57
|
-
-
|
57
|
+
- Wed, 12 Mar 2014 13:32:14 GMT
|
58
58
|
Connection:
|
59
59
|
- close
|
60
60
|
Transfer-Encoding:
|
@@ -62,16 +62,30 @@ 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":
|
65
|
+
[{"Created":1394631126,"Id":"c5d4fa6351af82e8996ee25569165bdbc02c3525fe6b3a59a527495e3f6a057e","ParentId":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","RepoTags":["nahiluhmot/base2:latest"],"Size":69,"VirtualSize":175307104}
|
66
|
+
,{"Created":1394631122,"Id":"d0942d483d0165ac12349291309b216b0b8ae653b3589bc451a26e46cdfbfa4f","ParentId":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":38,"VirtualSize":175307073}
|
67
|
+
,{"Created":1394631119,"Id":"6d2c00eb782a1de80c2466d92f573404734d567a0a18549d0a466cd7bdd12ec0","ParentId":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":38,"VirtualSize":175307073}
|
68
|
+
,{"Created":1394631117,"Id":"ecc20c6798796473052dda1b1a6fb8848297a8fc53602312780feee743170b6b","ParentId":"1a7d30c2eb9387e99941b1a777b6f4e0f27115967a21a6c6b567fae59a2735b8","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":328,"VirtualSize":175307401}
|
69
|
+
,{"Created":1394631115,"Id":"1a7d30c2eb9387e99941b1a777b6f4e0f27115967a21a6c6b567fae59a2735b8","ParentId":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":38,"VirtualSize":175307073}
|
70
|
+
,{"Created":1394631113,"Id":"2dc4b846cfcb793cfe7784086fdcc5ef8927db1004814493da8fdcfe2ee4cf5c","ParentId":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":38,"VirtualSize":175307073}
|
71
|
+
,{"Created":1394631111,"Id":"cdd6204a56c3f61206af7f7f54250ef32345239d69ed4eb5a0c33d5607ec131b","ParentId":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":87916,"VirtualSize":175394951}
|
72
|
+
,{"Created":1394631105,"Id":"11967a8e57f5a4535fc81770a3645f10ec7abf92f22308fcb15288bd30a043f7","ParentId":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":69,"VirtualSize":175307104}
|
73
|
+
,{"Created":1394631103,"Id":"8564cd49afd7c8c41e5230408f71d3a4214d8cb6f91004ac89fccebc98843516","ParentId":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":69,"VirtualSize":175307104}
|
74
|
+
,{"Created":1394631080,"Id":"2e0a9a843f663c7a7159aef66386b60e3e5db6eb48dce592844f8716b4d3f3f9","ParentId":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":104,"VirtualSize":175307139}
|
75
|
+
,{"Created":1391448676,"Id":"9f676bd305a43a931a8d98b13e5840ffbebcd908370765373315926024c7c35e","ParentId":"1c7f181e78b90d347996d754ffa38c4c6b395e7cf0388bffffbda00365b45077","RepoTags":["ubuntu:13.10","ubuntu:saucy"],"Size":182125825,"VirtualSize":182125825}
|
76
|
+
,{"Created":1391448663,"Id":"1c7f181e78b90d347996d754ffa38c4c6b395e7cf0388bffffbda00365b45077","ParentId":"511136ea3c5a64f264b78b5433614aec563103b4d4702f3ba7d4d2698e22c158","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":0,"VirtualSize":0}
|
77
|
+
,{"Created":1391448539,"Id":"eb601b8965b806e798674245307e091b8ac3cdb9fb522aebaa6ac593df8b6b3c","ParentId":"f323cf34fd7797580c96f45c6b59c4c0704e0ecbc3504e986589c4039681c4fd","RepoTags":["ubuntu:raring","ubuntu:13.04"],"Size":170192839,"VirtualSize":170192839}
|
78
|
+
,{"Created":1391448529,"Id":"f323cf34fd7797580c96f45c6b59c4c0704e0ecbc3504e986589c4039681c4fd","ParentId":"511136ea3c5a64f264b78b5433614aec563103b4d4702f3ba7d4d2698e22c158","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":0,"VirtualSize":0}
|
79
|
+
,{"Created":1391448413,"Id":"5ac751e8d62391dab7b5e795e949e74e7053eb443f819cb35e6bd23fe847a794","ParentId":"321f7f4200f444a0ba37aa7bcf35d2776f7f28958ed1cfe79b5108c62a9c1ab5","RepoTags":["ubuntu:12.10","ubuntu:quantal"],"Size":161412295,"VirtualSize":161412295}
|
80
|
+
,{"Created":1391448404,"Id":"321f7f4200f444a0ba37aa7bcf35d2776f7f28958ed1cfe79b5108c62a9c1ab5","ParentId":"511136ea3c5a64f264b78b5433614aec563103b4d4702f3ba7d4d2698e22c158","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":0,"VirtualSize":0}
|
81
|
+
,{"Created":1391448301,"Id":"9cc9ea5ea540116b89e41898dd30858107c1175260fb7ff50322b34704092232","ParentId":"7a4f8724184531b88441f95d0a12e47e0791aaedf4ef122b5464da54f38973d4","RepoTags":["ubuntu:10.04","ubuntu:lucid"],"Size":182964289,"VirtualSize":182964289}
|
82
|
+
,{"Created":1391448149,"Id":"9cd978db300e27386baa9dd791bf6dc818f13e52235b26e95703361ec3c94dc6","ParentId":"6170bb7b0ad1003a827e4dc5253ba49f6719599eac485db51eaafd507c13c311","RepoTags":["ubuntu:latest","ubuntu:12.04","ubuntu:precise"],"Size":204705001,"VirtualSize":204705001}
|
83
|
+
,{"Created":1391448134,"Id":"6170bb7b0ad1003a827e4dc5253ba49f6719599eac485db51eaafd507c13c311","ParentId":"511136ea3c5a64f264b78b5433614aec563103b4d4702f3ba7d4d2698e22c158","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":0,"VirtualSize":0}
|
84
|
+
,{"Created":1390423764,"Id":"7a4f8724184531b88441f95d0a12e47e0791aaedf4ef122b5464da54f38973d4","ParentId":"511136ea3c5a64f264b78b5433614aec563103b4d4702f3ba7d4d2698e22c158","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":0,"VirtualSize":0}
|
85
|
+
,{"Created":1371157430,"Id":"511136ea3c5a64f264b78b5433614aec563103b4d4702f3ba7d4d2698e22c158","ParentId":"","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":0,"VirtualSize":0}
|
72
86
|
,{"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}
|
73
87
|
,{"Created":1364068391,"Id":"27cf784147099545","ParentId":"","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":175306958,"VirtualSize":175306958}
|
74
88
|
]
|
75
89
|
http_version:
|
76
|
-
recorded_at:
|
90
|
+
recorded_at: Wed, 12 Mar 2014 13:32:14 GMT
|
77
91
|
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.10/build
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
8
|
string: !binary |-
|
9
9
|
RG9ja2VyZmlsZQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
10
10
|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
11
11
|
AAAAAAAAAAAAADAwMDA2NDAAMDAwMDAwMAAwMDAwMDAwADAwMDAwMDAwMDEy
|
12
|
-
|
12
|
+
ADEyMzEwMDYwNzQxADAxMzI2NwAgMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
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.9.1
|
58
58
|
Content-Type:
|
59
59
|
- application/json
|
60
60
|
response:
|
@@ -65,7 +65,7 @@ http_interactions:
|
|
65
65
|
Content-Type:
|
66
66
|
- application/json
|
67
67
|
Date:
|
68
|
-
-
|
68
|
+
- Wed, 12 Mar 2014 13:32:17 GMT
|
69
69
|
Connection:
|
70
70
|
- close
|
71
71
|
Transfer-Encoding:
|
@@ -75,5 +75,5 @@ http_interactions:
|
|
75
75
|
string: "{\"stream\":\"Step 0 : FROM base\\n\"}\r\n{\"stream\":\" ---\\u003e
|
76
76
|
b750fe79269d\\n\"}\r\n{\"stream\":\"Successfully built b750fe79269d\\n\"}\r\n"
|
77
77
|
http_version:
|
78
|
-
recorded_at:
|
78
|
+
recorded_at: Wed, 12 Mar 2014 13:32:17 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.10/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
|
+
ADEyMzEwMDYwNzM3ADAxMzI3NgAgMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
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.9.1
|
58
58
|
Content-Type:
|
59
59
|
- application/json
|
60
60
|
response:
|
@@ -65,7 +65,7 @@ http_interactions:
|
|
65
65
|
Content-Type:
|
66
66
|
- application/json
|
67
67
|
Date:
|
68
|
-
-
|
68
|
+
- Wed, 12 Mar 2014 13:32:15 GMT
|
69
69
|
Connection:
|
70
70
|
- close
|
71
71
|
Transfer-Encoding:
|
@@ -74,19 +74,19 @@ http_interactions:
|
|
74
74
|
encoding: UTF-8
|
75
75
|
string: "{\"stream\":\"Step 0 : from base\\n\"}\r\n{\"stream\":\" ---\\u003e
|
76
76
|
b750fe79269d\\n\"}\r\n{\"stream\":\"Step 1 : run true\\n\"}\r\n{\"stream\":\"
|
77
|
-
---\\u003e Running in
|
78
|
-
built
|
77
|
+
---\\u003e Running in d6b5b63d8f41\\n\"}\r\n{\"stream\":\" ---\\u003e 60ea3f3c3d1a\\n\"}\r\n{\"stream\":\"Successfully
|
78
|
+
built 60ea3f3c3d1a\\n\"}\r\n"
|
79
79
|
http_version:
|
80
|
-
recorded_at:
|
80
|
+
recorded_at: Wed, 12 Mar 2014 13:32:17 GMT
|
81
81
|
- request:
|
82
82
|
method: get
|
83
|
-
uri: unix:///var/run/docker.sock/v1.
|
83
|
+
uri: unix:///var/run/docker.sock/v1.10/images/json
|
84
84
|
body:
|
85
85
|
encoding: US-ASCII
|
86
86
|
string: ''
|
87
87
|
headers:
|
88
88
|
User-Agent:
|
89
|
-
- Swipely/Docker-API 1.
|
89
|
+
- Swipely/Docker-API 1.9.1
|
90
90
|
Content-Type:
|
91
91
|
- text/plain
|
92
92
|
response:
|
@@ -97,23 +97,31 @@ http_interactions:
|
|
97
97
|
Content-Type:
|
98
98
|
- application/json
|
99
99
|
Date:
|
100
|
-
-
|
101
|
-
Content-Length:
|
102
|
-
- '2043'
|
100
|
+
- Wed, 12 Mar 2014 13:32:17 GMT
|
103
101
|
Connection:
|
104
102
|
- close
|
103
|
+
Transfer-Encoding:
|
104
|
+
- ''
|
105
105
|
body:
|
106
106
|
encoding: UTF-8
|
107
107
|
string: |-
|
108
|
-
[{"Created":
|
109
|
-
,{"Created":
|
110
|
-
,{"Created":
|
111
|
-
,{"Created":
|
112
|
-
,{"Created":
|
113
|
-
,{"Created":
|
114
|
-
,{"Created":
|
108
|
+
[{"Created":1394631136,"Id":"60ea3f3c3d1a52caee756886cf45d289613951ce434530a80c75b999125d886d","ParentId":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","RepoTags":["swipely/base:latest"],"Size":69,"VirtualSize":175307104}
|
109
|
+
,{"Created":1394631126,"Id":"c5d4fa6351af82e8996ee25569165bdbc02c3525fe6b3a59a527495e3f6a057e","ParentId":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","RepoTags":["nahiluhmot/base2:latest"],"Size":69,"VirtualSize":175307104}
|
110
|
+
,{"Created":1394631122,"Id":"d0942d483d0165ac12349291309b216b0b8ae653b3589bc451a26e46cdfbfa4f","ParentId":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":38,"VirtualSize":175307073}
|
111
|
+
,{"Created":1394631119,"Id":"6d2c00eb782a1de80c2466d92f573404734d567a0a18549d0a466cd7bdd12ec0","ParentId":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":38,"VirtualSize":175307073}
|
112
|
+
,{"Created":1394631117,"Id":"ecc20c6798796473052dda1b1a6fb8848297a8fc53602312780feee743170b6b","ParentId":"1a7d30c2eb9387e99941b1a777b6f4e0f27115967a21a6c6b567fae59a2735b8","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":328,"VirtualSize":175307401}
|
113
|
+
,{"Created":1394631113,"Id":"2dc4b846cfcb793cfe7784086fdcc5ef8927db1004814493da8fdcfe2ee4cf5c","ParentId":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":38,"VirtualSize":175307073}
|
114
|
+
,{"Created":1394631111,"Id":"cdd6204a56c3f61206af7f7f54250ef32345239d69ed4eb5a0c33d5607ec131b","ParentId":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":87916,"VirtualSize":175394951}
|
115
|
+
,{"Created":1394631105,"Id":"11967a8e57f5a4535fc81770a3645f10ec7abf92f22308fcb15288bd30a043f7","ParentId":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":69,"VirtualSize":175307104}
|
116
|
+
,{"Created":1394631103,"Id":"8564cd49afd7c8c41e5230408f71d3a4214d8cb6f91004ac89fccebc98843516","ParentId":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":69,"VirtualSize":175307104}
|
117
|
+
,{"Created":1394631080,"Id":"2e0a9a843f663c7a7159aef66386b60e3e5db6eb48dce592844f8716b4d3f3f9","ParentId":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":104,"VirtualSize":175307139}
|
118
|
+
,{"Created":1391448676,"Id":"9f676bd305a43a931a8d98b13e5840ffbebcd908370765373315926024c7c35e","ParentId":"1c7f181e78b90d347996d754ffa38c4c6b395e7cf0388bffffbda00365b45077","RepoTags":["ubuntu:13.10","ubuntu:saucy"],"Size":182125825,"VirtualSize":182125825}
|
119
|
+
,{"Created":1391448539,"Id":"eb601b8965b806e798674245307e091b8ac3cdb9fb522aebaa6ac593df8b6b3c","ParentId":"f323cf34fd7797580c96f45c6b59c4c0704e0ecbc3504e986589c4039681c4fd","RepoTags":["ubuntu:raring","ubuntu:13.04"],"Size":170192839,"VirtualSize":170192839}
|
120
|
+
,{"Created":1391448413,"Id":"5ac751e8d62391dab7b5e795e949e74e7053eb443f819cb35e6bd23fe847a794","ParentId":"321f7f4200f444a0ba37aa7bcf35d2776f7f28958ed1cfe79b5108c62a9c1ab5","RepoTags":["ubuntu:12.10","ubuntu:quantal"],"Size":161412295,"VirtualSize":161412295}
|
121
|
+
,{"Created":1391448301,"Id":"9cc9ea5ea540116b89e41898dd30858107c1175260fb7ff50322b34704092232","ParentId":"7a4f8724184531b88441f95d0a12e47e0791aaedf4ef122b5464da54f38973d4","RepoTags":["ubuntu:10.04","ubuntu:lucid"],"Size":182964289,"VirtualSize":182964289}
|
122
|
+
,{"Created":1391448149,"Id":"9cd978db300e27386baa9dd791bf6dc818f13e52235b26e95703361ec3c94dc6","ParentId":"6170bb7b0ad1003a827e4dc5253ba49f6719599eac485db51eaafd507c13c311","RepoTags":["ubuntu:precise","ubuntu:12.04","ubuntu:latest"],"Size":204705001,"VirtualSize":204705001}
|
115
123
|
,{"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}
|
116
124
|
]
|
117
125
|
http_version:
|
118
|
-
recorded_at:
|
126
|
+
recorded_at: Wed, 12 Mar 2014 13:32:17 GMT
|
119
127
|
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.10/build
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
8
|
string: !binary |-
|
9
9
|
RG9ja2VyZmlsZQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
10
10
|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
11
11
|
AAAAAAAAAAAAADAwMDA2NDAAMDAwMDAwMAAwMDAwMDAwADAwMDAwMDAwMDEy
|
12
|
-
|
12
|
+
ADEyMzEwMDYwNzM3ADAxMzI3NAAgMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
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.9.1
|
58
58
|
Content-Type:
|
59
59
|
- application/json
|
60
60
|
response:
|
@@ -65,7 +65,7 @@ http_interactions:
|
|
65
65
|
Content-Type:
|
66
66
|
- application/json
|
67
67
|
Date:
|
68
|
-
-
|
68
|
+
- Wed, 12 Mar 2014 13:32:15 GMT
|
69
69
|
Connection:
|
70
70
|
- close
|
71
71
|
Transfer-Encoding:
|
@@ -75,5 +75,5 @@ http_interactions:
|
|
75
75
|
string: "{\"stream\":\"Step 0 : from base\\n\"}\r\n{\"stream\":\" ---\\u003e
|
76
76
|
b750fe79269d\\n\"}\r\n{\"stream\":\"Successfully built b750fe79269d\\n\"}\r\n"
|
77
77
|
http_version:
|
78
|
-
recorded_at:
|
78
|
+
recorded_at: Wed, 12 Mar 2014 13:32:15 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.10/build
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
8
|
string: !binary |-
|
9
9
|
RG9ja2VyZmlsZQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
10
10
|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
11
11
|
AAAAAAAAAAAAADAwMDA2NDAAMDAwMDAwMAAwMDAwMDAwADAwMDAwMDAwMDA3
|
12
|
-
|
12
|
+
ADEyMzEwMDYwNzM3ADAxMzMwMAAgMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
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.9.1
|
58
58
|
Content-Type:
|
59
59
|
- application/json
|
60
60
|
response:
|
@@ -65,7 +65,7 @@ http_interactions:
|
|
65
65
|
Content-Type:
|
66
66
|
- application/json
|
67
67
|
Date:
|
68
|
-
-
|
68
|
+
- Wed, 12 Mar 2014 13:32:15 GMT
|
69
69
|
Connection:
|
70
70
|
- close
|
71
71
|
Transfer-Encoding:
|
@@ -75,5 +75,5 @@ http_interactions:
|
|
75
75
|
string: "{\"stream\":\"Step 0 : lololol\\n\"}\r\n{\"errorDetail\":{\"message\":\"Invalid
|
76
76
|
Dockerfile format\"},\"error\":\"Invalid Dockerfile format\"}\r\n"
|
77
77
|
http_version:
|
78
|
-
recorded_at:
|
78
|
+
recorded_at: Wed, 12 Mar 2014 13:32:15 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.10/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.9.1
|
12
12
|
Content-Type:
|
13
13
|
- application/tar
|
14
14
|
Transfer-Encoding:
|
@@ -21,7 +21,7 @@ http_interactions:
|
|
21
21
|
Content-Type:
|
22
22
|
- application/json
|
23
23
|
Date:
|
24
|
-
-
|
24
|
+
- Wed, 12 Mar 2014 13:32:20 GMT
|
25
25
|
Connection:
|
26
26
|
- close
|
27
27
|
Transfer-Encoding:
|
@@ -30,8 +30,8 @@ http_interactions:
|
|
30
30
|
encoding: UTF-8
|
31
31
|
string: "{\"stream\":\"Step 0 : from base\\n\"}\r\n{\"stream\":\" ---\\u003e
|
32
32
|
b750fe79269d\\n\"}\r\n{\"stream\":\"Step 1 : add / /\\n\"}\r\n{\"stream\":\"
|
33
|
-
---\\u003e Using cache\\n\"}\r\n{\"stream\":\" ---\\u003e
|
34
|
-
built
|
33
|
+
---\\u003e Using cache\\n\"}\r\n{\"stream\":\" ---\\u003e 3755956b65f4\\n\"}\r\n{\"stream\":\"Successfully
|
34
|
+
built 3755956b65f4\\n\"}\r\n"
|
35
35
|
http_version:
|
36
|
-
recorded_at:
|
36
|
+
recorded_at: Wed, 12 Mar 2014 13:32:20 GMT
|
37
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.10/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.9.1
|
12
12
|
Content-Type:
|
13
13
|
- application/tar
|
14
14
|
Transfer-Encoding:
|
@@ -21,7 +21,7 @@ http_interactions:
|
|
21
21
|
Content-Type:
|
22
22
|
- application/json
|
23
23
|
Date:
|
24
|
-
-
|
24
|
+
- Wed, 12 Mar 2014 13:32:17 GMT
|
25
25
|
Connection:
|
26
26
|
- close
|
27
27
|
Transfer-Encoding:
|
@@ -30,19 +30,18 @@ http_interactions:
|
|
30
30
|
encoding: UTF-8
|
31
31
|
string: "{\"stream\":\"Step 0 : from base\\n\"}\r\n{\"stream\":\" ---\\u003e
|
32
32
|
b750fe79269d\\n\"}\r\n{\"stream\":\"Step 1 : add / /\\n\"}\r\n{\"stream\":\"
|
33
|
-
---\\u003e
|
34
|
-
built 36729bf9cd69\\n\"}\r\n"
|
33
|
+
---\\u003e 3755956b65f4\\n\"}\r\n{\"stream\":\"Successfully built 3755956b65f4\\n\"}\r\n"
|
35
34
|
http_version:
|
36
|
-
recorded_at:
|
35
|
+
recorded_at: Wed, 12 Mar 2014 13:32:19 GMT
|
37
36
|
- request:
|
38
37
|
method: post
|
39
|
-
uri: unix:///var/run/docker.sock/v1.
|
38
|
+
uri: unix:///var/run/docker.sock/v1.10/containers/create
|
40
39
|
body:
|
41
40
|
encoding: UTF-8
|
42
|
-
string: "{\"Image\":\"
|
41
|
+
string: "{\"Image\":\"3755956b65f4\",\"Cmd\":[\"cat\",\"/Dockerfile\"]}"
|
43
42
|
headers:
|
44
43
|
User-Agent:
|
45
|
-
- Swipely/Docker-API 1.
|
44
|
+
- Swipely/Docker-API 1.9.1
|
46
45
|
Content-Type:
|
47
46
|
- application/json
|
48
47
|
response:
|
@@ -53,7 +52,7 @@ http_interactions:
|
|
53
52
|
Content-Type:
|
54
53
|
- application/json
|
55
54
|
Date:
|
56
|
-
-
|
55
|
+
- Wed, 12 Mar 2014 13:32:19 GMT
|
57
56
|
Content-Length:
|
58
57
|
- '90'
|
59
58
|
Connection:
|
@@ -61,18 +60,18 @@ http_interactions:
|
|
61
60
|
body:
|
62
61
|
encoding: UTF-8
|
63
62
|
string: |
|
64
|
-
{"Id":"
|
63
|
+
{"Id":"60de55097372d9177e3b877a6c9f13267379f42294e929d28f6fcbb358181b6e","Warnings":null}
|
65
64
|
http_version:
|
66
|
-
recorded_at:
|
65
|
+
recorded_at: Wed, 12 Mar 2014 13:32:19 GMT
|
67
66
|
- request:
|
68
67
|
method: post
|
69
|
-
uri: unix:///var/run/docker.sock/v1.
|
68
|
+
uri: unix:///var/run/docker.sock/v1.10/containers/60de55097372d9177e3b877a6c9f13267379f42294e929d28f6fcbb358181b6e/start
|
70
69
|
body:
|
71
70
|
encoding: UTF-8
|
72
71
|
string: "{}"
|
73
72
|
headers:
|
74
73
|
User-Agent:
|
75
|
-
- Swipely/Docker-API 1.
|
74
|
+
- Swipely/Docker-API 1.9.1
|
76
75
|
Content-Type:
|
77
76
|
- application/json
|
78
77
|
response:
|
@@ -81,7 +80,7 @@ http_interactions:
|
|
81
80
|
message:
|
82
81
|
headers:
|
83
82
|
Date:
|
84
|
-
-
|
83
|
+
- Wed, 12 Mar 2014 13:32:19 GMT
|
85
84
|
Content-Length:
|
86
85
|
- '0'
|
87
86
|
Content-Type:
|
@@ -92,16 +91,16 @@ http_interactions:
|
|
92
91
|
encoding: UTF-8
|
93
92
|
string: ''
|
94
93
|
http_version:
|
95
|
-
recorded_at:
|
94
|
+
recorded_at: Wed, 12 Mar 2014 13:32:19 GMT
|
96
95
|
- request:
|
97
96
|
method: post
|
98
|
-
uri: unix:///var/run/docker.sock/v1.
|
97
|
+
uri: unix:///var/run/docker.sock/v1.10/containers/60de55097372d9177e3b877a6c9f13267379f42294e929d28f6fcbb358181b6e/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.
|
103
|
+
- Swipely/Docker-API 1.9.1
|
105
104
|
Content-Type:
|
106
105
|
- text/plain
|
107
106
|
response:
|
@@ -116,5 +115,5 @@ http_interactions:
|
|
116
115
|
string: !binary |-
|
117
116
|
AQAAAAAAABJmcm9tIGJhc2UKYWRkIC8gLwo=
|
118
117
|
http_version:
|
119
|
-
recorded_at:
|
118
|
+
recorded_at: Wed, 12 Mar 2014 13:32:19 GMT
|
120
119
|
recorded_with: VCR 2.8.0
|