docker-api 1.11.2 → 1.12.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 +1 -1
- data/lib/docker/image.rb +10 -10
- data/lib/docker/version.rb +2 -2
- data/spec/docker/container_spec.rb +0 -8
- data/spec/docker/image_spec.rb +3 -3
- data/spec/docker_spec.rb +6 -4
- data/spec/vcr/Docker/_authenticate_/with_valid_credentials/logs_in_and_sets_the_creds.yml +6 -6
- data/spec/vcr/Docker/_info/returns_the_info_as_a_Hash.yml +7 -7
- data/spec/vcr/Docker/_validate_version/when_nothing_is_raised/validate_version_/.yml +7 -7
- data/spec/vcr/Docker/_version/returns_the_version_as_a_Hash.yml +7 -7
- data/spec/vcr/Docker_Container/_all/when_the_HTTP_response_is_a_200/materializes_each_Container_into_a_Docker_Container.yml +77 -65
- data/spec/vcr/Docker_Container/_attach/with_normal_sized_chunks/yields_each_chunk.yml +15 -15
- data/spec/vcr/Docker_Container/_attach/with_very_small_chunks/yields_each_chunk.yml +15 -15
- data/spec/vcr/Docker_Container/_changes/returns_the_changes_as_an_array.yml +22 -24
- data/spec/vcr/Docker_Container/_commit/creates_a_new_Image_from_the_Container_s_changes.yml +17 -17
- data/spec/vcr/Docker_Container/_commit/if_run_is_passed_it_saves_the_command_in_the_image/saves_the_command.yml +12 -12
- data/spec/vcr/Docker_Container/_copy/when_the_input_is_a_directory/yields_each_chunk_of_the_tarred_directory.yml +41 -41
- data/spec/vcr/Docker_Container/_copy/when_the_input_is_a_file/yields_each_chunk_of_the_tarred_file.yml +26 -26
- data/spec/vcr/Docker_Container/_create/when_creating_a_container_named_bob/should_have_name_set_to_bob.yml +13 -13
- data/spec/vcr/Docker_Container/_create/when_the_Container_does_not_yet_exist/when_the_HTTP_request_returns_a_200/sets_the_id.yml +7 -7
- data/spec/vcr/Docker_Container/_delete/deletes_the_container.yml +17 -17
- data/spec/vcr/Docker_Container/_export/yields_each_chunk.yml +453693 -17
- 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 +41 -35
- data/spec/vcr/Docker_Container/_logs/when_not_selecting_any_stream/returns_the_error_message.yml +11 -11
- data/spec/vcr/Docker_Container/_logs/when_selecting_stdout/returns_blank_logs.yml +11 -11
- data/spec/vcr/Docker_Container/_restart/restarts_the_container.yml +42 -42
- data/spec/vcr/Docker_Container/_run/when_the_Container_s_command_does_not_return_status_code_of_0/raises_an_error.yml +16 -16
- 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 +46 -47
- data/spec/vcr/Docker_Container/_start/starts_the_container.yml +23 -23
- data/spec/vcr/Docker_Container/_stop/stops_the_container.yml +45 -39
- data/spec/vcr/Docker_Container/_top/returns_the_top_commands_as_an_Array.yml +27 -23
- data/spec/vcr/Docker_Container/_wait/waits_for_the_command_to_finish.yml +16 -16
- data/spec/vcr/Docker_Container/_wait/when_an_argument_is_given/and_a_command_runs_for_too_long/raises_a_ServerError.yml +12 -12
- data/spec/vcr/Docker_Container/_wait/when_an_argument_is_given/sets_the_read_timeout_to_that_amount_of_time.yml +16 -16
- data/spec/vcr/Docker_Image/_all/materializes_each_Image_into_a_Docker_Image.yml +13 -33
- data/spec/vcr/Docker_Image/_build/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/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 +6 -6
- data/spec/vcr/Docker_Image/_build/with_an_invalid_Dockerfile/throws_a_UnexpectedResponseError.yml +6 -6
- 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 +11 -7
- data/spec/vcr/Docker_Image/_build_from_dir/with_a_valid_Dockerfile/with_credentials_passed/sends_Docker_creds.yml +8 -196
- data/spec/vcr/Docker_Image/_build_from_dir/with_a_valid_Dockerfile/with_no_query_parameters/builds_the_image.yml +24 -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 +46 -30
- 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 +21 -669
- data/spec/vcr/Docker_Image/_get/when_the_image_does_exist/returns_the_new_image.yml +7 -7
- data/spec/vcr/Docker_Image/_history/returns_the_history_of_the_Image.yml +9 -9
- data/spec/vcr/Docker_Image/_import/when_the_argument_is_a_URI/when_the_URI_is_invalid/raises_an_error.yml +27 -25
- data/spec/vcr/Docker_Image/_import/when_the_argument_is_a_URI/when_the_URI_is_valid/returns_an_Image.yml +12 -12
- data/spec/vcr/Docker_Image/_import/when_the_file_does_exist/creates_the_Image.yml +6 -6
- data/spec/vcr/Docker_Image/_insert/inserts_the_url_s_file_into_a_new_Image.yml +27 -33
- data/spec/vcr/Docker_Image/_insert_local/when_a_direcory_is_passed/inserts_the_directory.yml +29 -878
- data/spec/vcr/Docker_Image/_insert_local/when_removing_intermediate_containers/creates_a_new_image.yml +29 -45
- data/spec/vcr/Docker_Image/_insert_local/when_removing_intermediate_containers/leave_no_intermediate_containers.yml +29 -51
- data/spec/vcr/Docker_Image/_insert_local/when_the_local_file_does_exist/creates_a_new_Image_that_has_that_file.yml +29 -28
- data/spec/vcr/Docker_Image/_insert_local/when_the_local_file_does_not_exist/raises_an_error.yml +6 -6
- data/spec/vcr/Docker_Image/_insert_local/when_there_are_multiple_files_passed/creates_a_new_Image_that_has_each_file.yml +32 -31
- data/spec/vcr/Docker_Image/_json/returns_additional_information_about_image_image.yml +11 -11
- data/spec/vcr/Docker_Image/_push/pushes_the_Image.yml +67 -227
- data/spec/vcr/Docker_Image/_push/when_there_are_no_credentials/still_pushes.yml +61 -43
- data/spec/vcr/Docker_Image/_refresh_/updates_the_info_hash.yml +40 -203
- data/spec/vcr/Docker_Image/_remove/removes_the_Image.yml +22 -23
- data/spec/vcr/Docker_Image/_run/when_the_argument_is_a_String/splits_the_String_by_spaces_and_creates_a_new_Container.yml +19 -19
- data/spec/vcr/Docker_Image/_run/when_the_argument_is_an_Array/creates_a_new_Container.yml +19 -19
- 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 +10 -10
- data/spec/vcr/Docker_Image/_search/materializes_each_Image_into_a_Docker_Image.yml +77 -72
- data/spec/vcr/Docker_Image/_tag/tags_the_image_with_the_repo_name.yml +9 -9
- metadata +3 -3
@@ -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.11/containers/create
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
|
-
string:
|
8
|
+
string: '{"Cmd":["sleep","5"],"Image":"base"}'
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- Swipely/Docker-API 1.
|
11
|
+
- Swipely/Docker-API 1.11.1
|
12
12
|
Content-Type:
|
13
13
|
- application/json
|
14
14
|
response:
|
@@ -19,7 +19,7 @@ http_interactions:
|
|
19
19
|
Content-Type:
|
20
20
|
- application/json
|
21
21
|
Date:
|
22
|
-
-
|
22
|
+
- Fri, 06 Jun 2014 13:36:48 GMT
|
23
23
|
Content-Length:
|
24
24
|
- '90'
|
25
25
|
Connection:
|
@@ -27,18 +27,18 @@ http_interactions:
|
|
27
27
|
body:
|
28
28
|
encoding: UTF-8
|
29
29
|
string: |
|
30
|
-
{"Id":"
|
30
|
+
{"Id":"aa7e2ecdf17a537bebbb26ebf03bb737a44e73ad3e0bc0c4291f70f5a788f561","Warnings":null}
|
31
31
|
http_version:
|
32
|
-
recorded_at:
|
32
|
+
recorded_at: Fri, 06 Jun 2014 13:36:48 GMT
|
33
33
|
- request:
|
34
34
|
method: post
|
35
|
-
uri: unix:///var/run/docker.sock/v1.
|
35
|
+
uri: unix:///var/run/docker.sock/v1.11/containers/aa7e2ecdf17a537bebbb26ebf03bb737a44e73ad3e0bc0c4291f70f5a788f561/start
|
36
36
|
body:
|
37
37
|
encoding: UTF-8
|
38
|
-
string:
|
38
|
+
string: '{}'
|
39
39
|
headers:
|
40
40
|
User-Agent:
|
41
|
-
- Swipely/Docker-API 1.
|
41
|
+
- Swipely/Docker-API 1.11.1
|
42
42
|
Content-Type:
|
43
43
|
- application/json
|
44
44
|
response:
|
@@ -47,7 +47,7 @@ http_interactions:
|
|
47
47
|
message:
|
48
48
|
headers:
|
49
49
|
Date:
|
50
|
-
-
|
50
|
+
- Fri, 06 Jun 2014 13:36:48 GMT
|
51
51
|
Content-Length:
|
52
52
|
- '0'
|
53
53
|
Content-Type:
|
@@ -58,16 +58,16 @@ http_interactions:
|
|
58
58
|
encoding: UTF-8
|
59
59
|
string: ''
|
60
60
|
http_version:
|
61
|
-
recorded_at:
|
61
|
+
recorded_at: Fri, 06 Jun 2014 13:36:48 GMT
|
62
62
|
- request:
|
63
63
|
method: post
|
64
|
-
uri: unix:///var/run/docker.sock/v1.
|
64
|
+
uri: unix:///var/run/docker.sock/v1.11/containers/aa7e2ecdf17a537bebbb26ebf03bb737a44e73ad3e0bc0c4291f70f5a788f561/wait
|
65
65
|
body:
|
66
66
|
encoding: US-ASCII
|
67
67
|
string: ''
|
68
68
|
headers:
|
69
69
|
User-Agent:
|
70
|
-
- Swipely/Docker-API 1.
|
70
|
+
- Swipely/Docker-API 1.11.1
|
71
71
|
Content-Type:
|
72
72
|
- text/plain
|
73
73
|
response:
|
@@ -78,7 +78,7 @@ http_interactions:
|
|
78
78
|
Content-Type:
|
79
79
|
- application/json
|
80
80
|
Date:
|
81
|
-
-
|
81
|
+
- Fri, 06 Jun 2014 13:36:53 GMT
|
82
82
|
Content-Length:
|
83
83
|
- '17'
|
84
84
|
Connection:
|
@@ -88,5 +88,5 @@ http_interactions:
|
|
88
88
|
string: |
|
89
89
|
{"StatusCode":0}
|
90
90
|
http_version:
|
91
|
-
recorded_at:
|
92
|
-
recorded_with: VCR 2.
|
91
|
+
recorded_at: Fri, 06 Jun 2014 13:36:53 GMT
|
92
|
+
recorded_with: VCR 2.9.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.11/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.11.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
|
+
- Fri, 06 Jun 2014 14:36:55 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: Fri, 06 Jun 2014 14:36:56 GMT
|
38
38
|
- request:
|
39
39
|
method: get
|
40
|
-
uri: unix:///var/run/docker.sock/v1.
|
40
|
+
uri: unix:///var/run/docker.sock/v1.11/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.11.1
|
47
47
|
Content-Type:
|
48
48
|
- text/plain
|
49
49
|
response:
|
@@ -54,38 +54,18 @@ http_interactions:
|
|
54
54
|
Content-Type:
|
55
55
|
- application/json
|
56
56
|
Date:
|
57
|
-
-
|
57
|
+
- Fri, 06 Jun 2014 14:36:56 GMT
|
58
|
+
Content-Length:
|
59
|
+
- '660'
|
58
60
|
Connection:
|
59
61
|
- close
|
60
|
-
Transfer-Encoding:
|
61
|
-
- ''
|
62
62
|
body:
|
63
63
|
encoding: UTF-8
|
64
64
|
string: |-
|
65
|
-
[{"Created":
|
66
|
-
,{"Created":
|
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}
|
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}
|
65
|
+
[{"Created":1402065294,"Id":"05e7e1d523ff92976daa0b5515b6ba16da8e9a033e7ee528bf4cb0123e089873","ParentId":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":38,"VirtualSize":175307073}
|
66
|
+
,{"Created":1364102658,"Id":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","ParentId":"27cf784147099545","RepoTags":["base:latest","base:ubuntu-12.10","base:ubuntu-quantal","base:ubuntu-quantl"],"Size":77,"VirtualSize":175307035}
|
87
67
|
,{"Created":1364068391,"Id":"27cf784147099545","ParentId":"","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":175306958,"VirtualSize":175306958}
|
88
68
|
]
|
89
69
|
http_version:
|
90
|
-
recorded_at:
|
91
|
-
recorded_with: VCR 2.
|
70
|
+
recorded_at: Fri, 06 Jun 2014 14:36:56 GMT
|
71
|
+
recorded_with: VCR 2.9.2
|
@@ -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.11/build
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
8
|
string: !binary |-
|
9
9
|
RG9ja2VyZmlsZQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
10
10
|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
11
11
|
AAAAAAAAAAAAADAwMDA2NDAAMDAwMDAwMAAwMDAwMDAwADAwMDAwMDAwMDEy
|
12
|
-
|
12
|
+
ADAwMDAwMDAwMDAwADAxMzIzNgAgMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
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.11.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
|
+
- Fri, 06 Jun 2014 14:25:07 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:
|
79
|
-
recorded_with: VCR 2.
|
78
|
+
recorded_at: Fri, 06 Jun 2014 14:25:07 GMT
|
79
|
+
recorded_with: VCR 2.9.2
|
@@ -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.11/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
|
+
ADAwMDAwMDAwMDAwADAxMzI0MAAgMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
13
13
|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
14
14
|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAB1c3RhcgAwMHdoZWVs
|
15
15
|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAd2hlZWwAAAAAAAAAAAAAAAAA
|
@@ -54,7 +54,7 @@ http_interactions:
|
|
54
54
|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=
|
55
55
|
headers:
|
56
56
|
User-Agent:
|
57
|
-
- Swipely/Docker-API 1.
|
57
|
+
- Swipely/Docker-API 1.11.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
|
+
- Fri, 06 Jun 2014 14:25:04 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 463595fdd76e\\n\"}\r\n{\"stream\":\" ---\\u003e a54d5f69c625\\n\"}\r\n{\"stream\":\"Successfully
|
78
|
+
built a54d5f69c625\\n\"}\r\n"
|
79
79
|
http_version:
|
80
|
-
recorded_at:
|
80
|
+
recorded_at: Fri, 06 Jun 2014 14:25:07 GMT
|
81
81
|
- request:
|
82
82
|
method: get
|
83
|
-
uri: unix:///var/run/docker.sock/v1.
|
83
|
+
uri: unix:///var/run/docker.sock/v1.11/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.11.1
|
90
90
|
Content-Type:
|
91
91
|
- text/plain
|
92
92
|
response:
|
@@ -97,7 +97,7 @@ http_interactions:
|
|
97
97
|
Content-Type:
|
98
98
|
- application/json
|
99
99
|
Date:
|
100
|
-
-
|
100
|
+
- Fri, 06 Jun 2014 14:25:07 GMT
|
101
101
|
Connection:
|
102
102
|
- close
|
103
103
|
Transfer-Encoding:
|
@@ -105,23 +105,21 @@ http_interactions:
|
|
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":
|
115
|
-
,{"Created":
|
116
|
-
,{"Created":
|
117
|
-
,{"Created":
|
118
|
-
,{"Created":
|
119
|
-
,{"Created":
|
120
|
-
,{"Created":
|
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}
|
108
|
+
[{"Created":1402064706,"Id":"a54d5f69c625ecb10e58d8434f290febb3347232f8c2055b6e13cbcc05727be7","ParentId":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","RepoTags":["swipely/base:latest"],"Size":0,"VirtualSize":175307035}
|
109
|
+
,{"Created":1402064688,"Id":"f2d4054186f53bfff9a153f7600e15fdfb6701c81e38635e768cf1ce2bdb44a2","ParentId":"","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":204704857,"VirtualSize":204704857}
|
110
|
+
,{"Created":1402064352,"Id":"290862faa17c00bf915019465c9dfda1b457bb1bc46bf73b2bf68700c0f0e6b6","ParentId":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","RepoTags":["nahiluhmot/base2:latest"],"Size":0,"VirtualSize":175307035}
|
111
|
+
,{"Created":1402064348,"Id":"0c9f927adc679f6fbd0110964794ef738aa08cb4db0f075fad2acd653122388b","ParentId":"708490cac0704e379441ae10de3b8d2aab57b17bcde0efac7bd96edac7a0ca73","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":541,"VirtualSize":175307614}
|
112
|
+
,{"Created":1402064345,"Id":"0d502ddcccd3c4a20c7af437aff635b175ca49ff1e08e913108d558b8b9d4043","ParentId":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":29475,"VirtualSize":175336510}
|
113
|
+
,{"Created":1402064098,"Id":"0623b97810b4a0f42bc669f585304ec4bf2479c2e2a6c5a0d382256bc88caed6","ParentId":"983e8493b5049f430898150891dff158ebc71130e6be73ef49d8434f7021daef","RepoTags":["docker:master"],"Size":40861893,"VirtualSize":1380220597}
|
114
|
+
,{"Created":1402064068,"Id":"845bd9d827b413c5b8d9e546ed32aa04eaa837daaab793440c2749799d634133","ParentId":"983e8493b5049f430898150891dff158ebc71130e6be73ef49d8434f7021daef","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":40861893,"VirtualSize":1380220597}
|
115
|
+
,{"Created":1402061818,"Id":"533a0267fec78da1e15f091420d9a25c16bfee2a2d9f55ae59d52bc8634a9939","ParentId":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":0,"VirtualSize":175307035}
|
116
|
+
,{"Created":1402061816,"Id":"7364e1f83f7b954283072e0bf10b43b92c992940ae639cf71a74e31f4a93e75f","ParentId":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":0,"VirtualSize":175307035}
|
117
|
+
,{"Created":1402061797,"Id":"5964d75bfbd207cbd3c95b140859737e1dceb77c3f60b2984927fc3f4b85bc48","ParentId":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":35,"VirtualSize":175307070}
|
118
|
+
,{"Created":1401992996,"Id":"cd20e353a62d370114744e8e219cce59098f419e022c7de64df47ff43ba88216","ParentId":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":0,"VirtualSize":175307035}
|
119
|
+
,{"Created":1401970080,"Id":"da394c73c60c542a7f34bd0dac5ab71e31c81dd56df90080718b697345665ffc","ParentId":"69249d7fb38f6f9fd16842712c2d64f7984146c83d67d429c0da68f5ac942381","RepoTags":["registry:latest","localhost:5000/registry:test"],"Size":0,"VirtualSize":508212264}
|
120
|
+
,{"Created":1401930591,"Id":"ad892dd21d607a1458a722598a2e4d93015c4507abcd0ebfc16a43d4d1b41520","ParentId":"9db365ecbcbbb20e063eac70842c53e27fcad0e213f9d4ddb78152339cedd3b1","RepoTags":["ubuntu:14.04"],"Size":82679079,"VirtualSize":275352887}
|
123
121
|
,{"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}
|
124
122
|
]
|
125
123
|
http_version:
|
126
|
-
recorded_at:
|
127
|
-
recorded_with: VCR 2.
|
124
|
+
recorded_at: Fri, 06 Jun 2014 14:25:07 GMT
|
125
|
+
recorded_with: VCR 2.9.2
|
@@ -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.11/build
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
8
|
string: !binary |-
|
9
9
|
RG9ja2VyZmlsZQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
10
10
|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
11
11
|
AAAAAAAAAAAAADAwMDA2NDAAMDAwMDAwMAAwMDAwMDAwADAwMDAwMDAwMDEy
|
12
|
-
|
12
|
+
ADAwMDAwMDAwMDAwADAxMzIzNgAgMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
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.11.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
|
+
- Fri, 06 Jun 2014 14:25:04 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:
|
79
|
-
recorded_with: VCR 2.
|
78
|
+
recorded_at: Fri, 06 Jun 2014 14:25:04 GMT
|
79
|
+
recorded_with: VCR 2.9.2
|
data/spec/vcr/Docker_Image/_build/with_an_invalid_Dockerfile/throws_a_UnexpectedResponseError.yml
CHANGED
@@ -2,14 +2,14 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: post
|
5
|
-
uri: unix:///var/run/docker.sock/v1.
|
5
|
+
uri: unix:///var/run/docker.sock/v1.11/build
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
8
|
string: !binary |-
|
9
9
|
RG9ja2VyZmlsZQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
10
10
|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
11
11
|
AAAAAAAAAAAAADAwMDA2NDAAMDAwMDAwMAAwMDAwMDAwADAwMDAwMDAwMDA3
|
12
|
-
|
12
|
+
ADAwMDAwMDAwMDAwADAxMzI0MgAgMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
13
13
|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
14
14
|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAB1c3RhcgAwMHdoZWVs
|
15
15
|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAd2hlZWwAAAAAAAAAAAAAAAAA
|
@@ -54,7 +54,7 @@ http_interactions:
|
|
54
54
|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=
|
55
55
|
headers:
|
56
56
|
User-Agent:
|
57
|
-
- Swipely/Docker-API 1.
|
57
|
+
- Swipely/Docker-API 1.11.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
|
+
- Fri, 06 Jun 2014 14:25:04 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:
|
79
|
-
recorded_with: VCR 2.
|
78
|
+
recorded_at: Fri, 06 Jun 2014 14:25:04 GMT
|
79
|
+
recorded_with: VCR 2.9.2
|
@@ -2,17 +2,21 @@
|
|
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.11/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.11.1
|
12
12
|
Content-Type:
|
13
13
|
- application/tar
|
14
14
|
Transfer-Encoding:
|
15
15
|
- chunked
|
16
|
+
X-Registry-Auth:
|
17
|
+
- eyJ1c2VybmFtZSI6Im5haGlsdWhtb3QiLCJwYXNzd29yZCI6IioqKioqKioqKiIsImVtYWlsIjoiaHVsaWhhbi50b20xNTlAZ21haWwuY29tIn0=
|
18
|
+
X-Registry-Config:
|
19
|
+
- eyJ1c2VybmFtZSI6Im5haGlsdWhtb3QiLCJwYXNzd29yZCI6IioqKioqKioqKiIsImVtYWlsIjoiaHVsaWhhbi50b20xNTlAZ21haWwuY29tIn0=
|
16
20
|
response:
|
17
21
|
status:
|
18
22
|
code: 200
|
@@ -21,7 +25,7 @@ http_interactions:
|
|
21
25
|
Content-Type:
|
22
26
|
- application/json
|
23
27
|
Date:
|
24
|
-
-
|
28
|
+
- Fri, 06 Jun 2014 14:25:10 GMT
|
25
29
|
Connection:
|
26
30
|
- close
|
27
31
|
Transfer-Encoding:
|
@@ -30,8 +34,8 @@ http_interactions:
|
|
30
34
|
encoding: UTF-8
|
31
35
|
string: "{\"stream\":\"Step 0 : from base\\n\"}\r\n{\"stream\":\" ---\\u003e
|
32
36
|
b750fe79269d\\n\"}\r\n{\"stream\":\"Step 1 : add / /\\n\"}\r\n{\"stream\":\"
|
33
|
-
---\\u003e Using cache\\n\"}\r\n{\"stream\":\" ---\\u003e
|
34
|
-
built
|
37
|
+
---\\u003e Using cache\\n\"}\r\n{\"stream\":\" ---\\u003e 4f9603c673e9\\n\"}\r\n{\"stream\":\"Successfully
|
38
|
+
built 4f9603c673e9\\n\"}\r\n"
|
35
39
|
http_version:
|
36
|
-
recorded_at:
|
37
|
-
recorded_with: VCR 2.
|
40
|
+
recorded_at: Fri, 06 Jun 2014 14:25:10 GMT
|
41
|
+
recorded_with: VCR 2.9.2
|