docker-api 1.12.0 → 1.13.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/container.rb +15 -0
- data/lib/docker/image.rb +0 -10
- data/lib/docker/version.rb +2 -2
- data/spec/docker/container_spec.rb +26 -1
- data/spec/docker/image_spec.rb +0 -11
- data/spec/vcr/Docker/_authenticate_/with_valid_credentials/logs_in_and_sets_the_creds.yml +4 -4
- 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 +4 -4
- data/spec/vcr/Docker_Container/_all/when_the_HTTP_response_is_a_200/materializes_each_Container_into_a_Docker_Container.yml +127 -75
- data/spec/vcr/Docker_Container/_attach/with_normal_sized_chunks/yields_each_chunk.yml +12 -16
- data/spec/vcr/Docker_Container/_attach/with_very_small_chunks/yields_each_chunk.yml +12 -16
- data/spec/vcr/Docker_Container/_changes/returns_the_changes_as_an_array.yml +17 -21
- data/spec/vcr/Docker_Container/_commit/creates_a_new_Image_from_the_Container_s_changes.yml +14 -18
- data/spec/vcr/Docker_Container/_commit/if_run_is_passed_it_saves_the_command_in_the_image/saves_the_command.yml +9 -13
- data/spec/vcr/Docker_Container/_copy/when_the_input_is_a_directory/yields_each_chunk_of_the_tarred_directory.yml +39 -43
- data/spec/vcr/Docker_Container/_copy/when_the_input_is_a_file/yields_each_chunk_of_the_tarred_file.yml +22 -26
- data/spec/vcr/Docker_Container/_create/when_creating_a_container_named_bob/should_have_name_set_to_bob.yml +12 -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 +15 -19
- data/spec/vcr/Docker_Container/_export/yields_each_chunk.yml +15 -453687
- data/spec/vcr/Docker_Container/_get/when_the_HTTP_response_is_a_200/materializes_the_Container_into_a_Docker_Container.yml +12 -11
- data/spec/vcr/Docker_Container/_json/returns_the_description_as_a_Hash.yml +12 -11
- data/spec/vcr/Docker_Container/_kill/kills_the_container.yml +64 -42
- 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 +9 -9
- data/spec/vcr/Docker_Container/_pause/pauses_the_container.yml +121 -0
- data/spec/vcr/Docker_Container/_restart/restarts_the_container.yml +37 -49
- data/spec/vcr/Docker_Container/_run/when_the_Container_s_command_does_not_return_status_code_of_0/raises_an_error.yml +13 -17
- 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 +36 -48
- data/spec/vcr/Docker_Container/_start/starts_the_container.yml +20 -24
- data/spec/vcr/Docker_Container/_stop/stops_the_container.yml +67 -49
- data/spec/vcr/Docker_Container/_top/returns_the_top_commands_as_an_Array.yml +23 -26
- data/spec/vcr/Docker_Container/_unpause/unpauses_the_container.yml +150 -0
- data/spec/vcr/Docker_Container/_wait/waits_for_the_command_to_finish.yml +13 -17
- data/spec/vcr/Docker_Container/_wait/when_an_argument_is_given/and_a_command_runs_for_too_long/raises_a_ServerError.yml +9 -13
- data/spec/vcr/Docker_Container/_wait/when_an_argument_is_given/sets_the_read_timeout_to_that_amount_of_time.yml +13 -17
- data/spec/vcr/Docker_Image/_all/materializes_each_Image_into_a_Docker_Image.yml +10 -11
- data/spec/vcr/Docker_Image/_build/with_a_valid_Dockerfile/with_a_block_capturing_build_output/calls_the_block_and_passes_build_output.yml +4 -4
- 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 -24
- data/spec/vcr/Docker_Image/_build/with_a_valid_Dockerfile/without_query_parameters/builds_an_image.yml +4 -4
- data/spec/vcr/Docker_Image/_build/with_an_invalid_Dockerfile/throws_a_UnexpectedResponseError.yml +4 -4
- 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 -8
- data/spec/vcr/Docker_Image/_build_from_dir/with_a_valid_Dockerfile/with_credentials_passed/sends_Docker_creds.yml +6 -6
- data/spec/vcr/Docker_Image/_build_from_dir/with_a_valid_Dockerfile/with_no_query_parameters/builds_the_image.yml +21 -24
- 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 -43
- 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 +68 -18
- data/spec/vcr/Docker_Image/_get/when_the_image_does_exist/returns_the_new_image.yml +7 -6
- data/spec/vcr/Docker_Image/_history/returns_the_history_of_the_Image.yml +10 -10
- data/spec/vcr/Docker_Image/_import/when_the_argument_is_a_URI/when_the_URI_is_invalid/raises_an_error.yml +18 -24
- data/spec/vcr/Docker_Image/_import/when_the_argument_is_a_URI/when_the_URI_is_valid/returns_an_Image.yml +9 -9
- data/spec/vcr/Docker_Image/_import/when_the_file_does_exist/creates_the_Image.yml +5 -5
- data/spec/vcr/Docker_Image/_insert_local/when_a_direcory_is_passed/inserts_the_directory.yml +23 -27
- data/spec/vcr/Docker_Image/_insert_local/when_removing_intermediate_containers/creates_a_new_image.yml +20 -20
- data/spec/vcr/Docker_Image/_insert_local/when_removing_intermediate_containers/leave_no_intermediate_containers.yml +18 -18
- data/spec/vcr/Docker_Image/_insert_local/when_the_local_file_does_exist/creates_a_new_Image_that_has_that_file.yml +23 -27
- data/spec/vcr/Docker_Image/_insert_local/when_the_local_file_does_not_exist/raises_an_error.yml +4 -4
- data/spec/vcr/Docker_Image/_insert_local/when_there_are_multiple_files_passed/creates_a_new_Image_that_has_each_file.yml +25 -28
- data/spec/vcr/Docker_Image/_json/returns_additional_information_about_image_image.yml +13 -12
- data/spec/vcr/Docker_Image/_push/pushes_the_Image.yml +32 -71
- data/spec/vcr/Docker_Image/_push/when_there_are_no_credentials/still_pushes.yml +28 -28
- data/spec/vcr/Docker_Image/_refresh_/updates_the_info_hash.yml +35 -34
- data/spec/vcr/Docker_Image/_remove/removes_the_Image.yml +50 -21
- data/spec/vcr/Docker_Image/_run/when_the_argument_is_a_String/splits_the_String_by_spaces_and_creates_a_new_Container.yml +16 -20
- data/spec/vcr/Docker_Image/_run/when_the_argument_is_an_Array/creates_a_new_Container.yml +16 -20
- 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 +66 -34
- data/spec/vcr/Docker_Image/_tag/tags_the_image_with_the_repo_name.yml +8 -8
- metadata +8 -5
- data/spec/vcr/Docker_Image/_insert/inserts_the_url_s_file_into_a_new_Image.yml +0 -194
@@ -2,7 +2,7 @@
|
|
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.12/build
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
8
|
string: !binary |-
|
@@ -54,7 +54,7 @@ http_interactions:
|
|
54
54
|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=
|
55
55
|
headers:
|
56
56
|
User-Agent:
|
57
|
-
- Swipely/Docker-API 1.11.
|
57
|
+
- Swipely/Docker-API 1.11.2
|
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
|
+
- Thu, 26 Jun 2014 20:36:50 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: Thu, 26 Jun 2014 20:36:50 GMT
|
79
79
|
recorded_with: VCR 2.9.2
|
@@ -2,7 +2,7 @@
|
|
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.12/build?t=swipely%2Fbase
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
8
|
string: !binary |-
|
@@ -54,7 +54,7 @@ http_interactions:
|
|
54
54
|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=
|
55
55
|
headers:
|
56
56
|
User-Agent:
|
57
|
-
- Swipely/Docker-API 1.11.
|
57
|
+
- Swipely/Docker-API 1.11.2
|
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
|
+
- Thu, 26 Jun 2014 20:36:33 GMT
|
69
69
|
Connection:
|
70
70
|
- close
|
71
71
|
Transfer-Encoding:
|
@@ -74,19 +74,20 @@ 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
|
-
|
77
|
+
---\\u003e Running in 1d274f3e25b6\\n\"}\r\n{\"stream\":\" ---\\u003e 0d4e0a1e3c3d\\n\"}\r\n{\"stream\":\"Removing
|
78
|
+
intermediate container 1d274f3e25b6\\n\"}\r\n{\"stream\":\"Successfully built
|
79
|
+
0d4e0a1e3c3d\\n\"}\r\n"
|
79
80
|
http_version:
|
80
|
-
recorded_at:
|
81
|
+
recorded_at: Thu, 26 Jun 2014 20:36:36 GMT
|
81
82
|
- request:
|
82
83
|
method: get
|
83
|
-
uri: unix:///var/run/docker.sock/v1.
|
84
|
+
uri: unix:///var/run/docker.sock/v1.12/images/json
|
84
85
|
body:
|
85
86
|
encoding: US-ASCII
|
86
87
|
string: ''
|
87
88
|
headers:
|
88
89
|
User-Agent:
|
89
|
-
- Swipely/Docker-API 1.11.
|
90
|
+
- Swipely/Docker-API 1.11.2
|
90
91
|
Content-Type:
|
91
92
|
- text/plain
|
92
93
|
response:
|
@@ -97,7 +98,7 @@ http_interactions:
|
|
97
98
|
Content-Type:
|
98
99
|
- application/json
|
99
100
|
Date:
|
100
|
-
-
|
101
|
+
- Thu, 26 Jun 2014 20:36:36 GMT
|
101
102
|
Connection:
|
102
103
|
- close
|
103
104
|
Transfer-Encoding:
|
@@ -105,21 +106,21 @@ http_interactions:
|
|
105
106
|
body:
|
106
107
|
encoding: UTF-8
|
107
108
|
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":1364102658,"Id":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","ParentId":"27cf784147099545","RepoTags":["
|
109
|
+
[{"Created":1403814994,"Id":"0d4e0a1e3c3d1b632d89f15036b284b9bb0c06ce8bc5eb0900d3f09abf7731b0","ParentId":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","RepoTags":["swipely/base:latest"],"Size":0,"VirtualSize":175307035}
|
110
|
+
,{"Created":1403814711,"Id":"a2de737cbf735ff9b4b17747b6d94dbb357d7b59e1999ca0fd5d13a645afea5c","ParentId":"","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":204704857,"VirtualSize":204704857}
|
111
|
+
,{"Created":1403814638,"Id":"8e6af99faf6639486edb869399f9b4c602972f3b5e1be48cd47a03d40b198203","ParentId":"","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":175765945,"VirtualSize":175765945}
|
112
|
+
,{"Created":1403813375,"Id":"45482b19ac1b73d938bdc3e53cb92725fa500c58c251c7e5681d3b062e8ef89b","ParentId":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","RepoTags":["nahiluhmot/base2:latest"],"Size":0,"VirtualSize":175307035}
|
113
|
+
,{"Created":1403813297,"Id":"6ed87cdb001d21ca678a37123e814334e2e447d63d2cb6a21d8877c583995975","ParentId":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":38,"VirtualSize":175307073}
|
114
|
+
,{"Created":1403644956,"Id":"ea7d6801c5389e32dcf9577c3778f1eba9a1ee978db8f48020e4c479bc26e468","ParentId":"a343823119db57543086463ae7da8aaadbcef25781c0c4d121397a2550a419a6","RepoTags":["ubuntu:precise","ubuntu:12.04"],"Size":0,"VirtualSize":127379622}
|
115
|
+
,{"Created":1403644946,"Id":"ef83896b7fb99b00b9e0e6ac943826386e7edcef11a3a2f58b42011ab4a4e683","ParentId":"99e40d806d071d4e50eccd12bd363e938610b3fe1c04b77c48ca8dec3d2f4463","RepoTags":["ubuntu:latest","ubuntu:trusty"],"Size":0,"VirtualSize":192708307}
|
116
|
+
,{"Created":1403169743,"Id":"6e526128fd5b256ced4e7863d4e431cf3fca87ae2058c1e40ca65bf139e68285","ParentId":"14faab53c729894ee2c5e929839a8437392473ed7fba6e756d15543c269a4e06","RepoTags":["registry:latest","localhost:5000/registry:test"],"Size":0,"VirtualSize":515971797}
|
117
|
+
,{"Created":1403128455,"Id":"c5881f11ded97fd2252adf93268114329e985624c5d7bb86e439a36109d1124e","ParentId":"5796a7edb16bffa3408e0f00b1b8dc0fa4651ac88b68eee5a01b088bedb9c54a","RepoTags":["ubuntu:12.10","ubuntu:quantal"],"Size":70975627,"VirtualSize":172064416}
|
118
|
+
,{"Created":1403128435,"Id":"463ff6be4238c14f5b88898f17b47a9cf494f9a9be7b6170c3e852568d2b0432","ParentId":"47dd6d11a49fc66a304bb679d545e64335cfb1f12dacf76c89e1cbe50af5574d","RepoTags":["ubuntu:13.04","ubuntu:raring"],"Size":70819643,"VirtualSize":169359875}
|
119
|
+
,{"Created":1403128415,"Id":"195eb90b534950d334188c3627f860fbdf898e224d8a0a11ec54ff453175e081","ParentId":"209ea56fda6dc2fb013e4d1e40cb678b2af91d1b54a71529f7df0bd867adc961","RepoTags":["ubuntu:13.10","ubuntu:saucy"],"Size":4260002,"VirtualSize":184564423}
|
120
|
+
,{"Created":1403128361,"Id":"e54ca5efa2e962582a223ca9810f7f1b62ea9b5c3975d14a5da79d3bf6020f37","ParentId":"6c37f792ddacad573016e6aea7fc9fb377127b4767ce6104c9f869314a12041e","RepoTags":["ubuntu:14.04"],"Size":8,"VirtualSize":276100357}
|
121
|
+
,{"Created":1398108230,"Id":"3db9c44f45209632d6050b35958829c3a2aa256d81b9a7be45b362ff85c54710","ParentId":"6cfa4d1f33fb861d4d114f43b25abd0ac737509268065cdfd69d544a59c85ab8","RepoTags":["ubuntu:lucid","ubuntu:10.04"],"Size":182964289,"VirtualSize":182964289}
|
122
|
+
,{"Created":1364102658,"Id":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","ParentId":"27cf784147099545","RepoTags":["base2:latest","base:ubuntu-12.10","base:ubuntu-quantal","base:ubuntu-quantl","base:latest"],"Size":77,"VirtualSize":175307035}
|
122
123
|
]
|
123
124
|
http_version:
|
124
|
-
recorded_at:
|
125
|
+
recorded_at: Thu, 26 Jun 2014 20:36:36 GMT
|
125
126
|
recorded_with: VCR 2.9.2
|
@@ -2,7 +2,7 @@
|
|
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.12/build
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
8
|
string: !binary |-
|
@@ -54,7 +54,7 @@ http_interactions:
|
|
54
54
|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=
|
55
55
|
headers:
|
56
56
|
User-Agent:
|
57
|
-
- Swipely/Docker-API 1.11.
|
57
|
+
- Swipely/Docker-API 1.11.2
|
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
|
+
- Thu, 26 Jun 2014 20:36:28 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: Thu, 26 Jun 2014 20:36:28 GMT
|
79
79
|
recorded_with: VCR 2.9.2
|
data/spec/vcr/Docker_Image/_build/with_an_invalid_Dockerfile/throws_a_UnexpectedResponseError.yml
CHANGED
@@ -2,7 +2,7 @@
|
|
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.12/build
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
8
|
string: !binary |-
|
@@ -54,7 +54,7 @@ http_interactions:
|
|
54
54
|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=
|
55
55
|
headers:
|
56
56
|
User-Agent:
|
57
|
-
- Swipely/Docker-API 1.11.
|
57
|
+
- Swipely/Docker-API 1.11.2
|
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
|
+
- Thu, 26 Jun 2014 20:36:24 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: Thu, 26 Jun 2014 20:36:24 GMT
|
79
79
|
recorded_with: VCR 2.9.2
|
@@ -2,21 +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.12/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.
|
11
|
+
- Swipely/Docker-API 1.11.2
|
12
12
|
Content-Type:
|
13
13
|
- application/tar
|
14
14
|
Transfer-Encoding:
|
15
15
|
- chunked
|
16
16
|
X-Registry-Auth:
|
17
|
-
-
|
17
|
+
- e30=
|
18
18
|
X-Registry-Config:
|
19
|
-
-
|
19
|
+
- e30=
|
20
20
|
response:
|
21
21
|
status:
|
22
22
|
code: 200
|
@@ -25,7 +25,7 @@ http_interactions:
|
|
25
25
|
Content-Type:
|
26
26
|
- application/json
|
27
27
|
Date:
|
28
|
-
-
|
28
|
+
- Thu, 26 Jun 2014 20:37:13 GMT
|
29
29
|
Connection:
|
30
30
|
- close
|
31
31
|
Transfer-Encoding:
|
@@ -34,8 +34,8 @@ http_interactions:
|
|
34
34
|
encoding: UTF-8
|
35
35
|
string: "{\"stream\":\"Step 0 : from base\\n\"}\r\n{\"stream\":\" ---\\u003e
|
36
36
|
b750fe79269d\\n\"}\r\n{\"stream\":\"Step 1 : add / /\\n\"}\r\n{\"stream\":\"
|
37
|
-
---\\u003e Using cache\\n\"}\r\n{\"stream\":\" ---\\u003e
|
38
|
-
built
|
37
|
+
---\\u003e Using cache\\n\"}\r\n{\"stream\":\" ---\\u003e bd7ca82afb11\\n\"}\r\n{\"stream\":\"Successfully
|
38
|
+
built bd7ca82afb11\\n\"}\r\n"
|
39
39
|
http_version:
|
40
|
-
recorded_at:
|
40
|
+
recorded_at: Thu, 26 Jun 2014 20:37:13 GMT
|
41
41
|
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.12/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.
|
11
|
+
- Swipely/Docker-API 1.11.2
|
12
12
|
Content-Type:
|
13
13
|
- application/tar
|
14
14
|
Transfer-Encoding:
|
@@ -25,7 +25,7 @@ http_interactions:
|
|
25
25
|
Content-Type:
|
26
26
|
- application/json
|
27
27
|
Date:
|
28
|
-
-
|
28
|
+
- Thu, 26 Jun 2014 20:37:17 GMT
|
29
29
|
Connection:
|
30
30
|
- close
|
31
31
|
Transfer-Encoding:
|
@@ -34,8 +34,8 @@ http_interactions:
|
|
34
34
|
encoding: UTF-8
|
35
35
|
string: "{\"stream\":\"Step 0 : from base\\n\"}\r\n{\"stream\":\" ---\\u003e
|
36
36
|
b750fe79269d\\n\"}\r\n{\"stream\":\"Step 1 : add / /\\n\"}\r\n{\"stream\":\"
|
37
|
-
---\\u003e Using cache\\n\"}\r\n{\"stream\":\" ---\\u003e
|
38
|
-
built
|
37
|
+
---\\u003e Using cache\\n\"}\r\n{\"stream\":\" ---\\u003e bd7ca82afb11\\n\"}\r\n{\"stream\":\"Successfully
|
38
|
+
built bd7ca82afb11\\n\"}\r\n"
|
39
39
|
http_version:
|
40
|
-
recorded_at:
|
40
|
+
recorded_at: Thu, 26 Jun 2014 20:37:17 GMT
|
41
41
|
recorded_with: VCR 2.9.2
|
@@ -2,21 +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.12/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.
|
11
|
+
- Swipely/Docker-API 1.11.2
|
12
12
|
Content-Type:
|
13
13
|
- application/tar
|
14
14
|
Transfer-Encoding:
|
15
15
|
- chunked
|
16
16
|
X-Registry-Auth:
|
17
|
-
-
|
17
|
+
- e30=
|
18
18
|
X-Registry-Config:
|
19
|
-
-
|
19
|
+
- e30=
|
20
20
|
response:
|
21
21
|
status:
|
22
22
|
code: 200
|
@@ -25,7 +25,7 @@ http_interactions:
|
|
25
25
|
Content-Type:
|
26
26
|
- application/json
|
27
27
|
Date:
|
28
|
-
-
|
28
|
+
- Thu, 26 Jun 2014 20:36:58 GMT
|
29
29
|
Connection:
|
30
30
|
- close
|
31
31
|
Transfer-Encoding:
|
@@ -34,18 +34,19 @@ http_interactions:
|
|
34
34
|
encoding: UTF-8
|
35
35
|
string: "{\"stream\":\"Step 0 : from base\\n\"}\r\n{\"stream\":\" ---\\u003e
|
36
36
|
b750fe79269d\\n\"}\r\n{\"stream\":\"Step 1 : add / /\\n\"}\r\n{\"stream\":\"
|
37
|
-
---\\u003e
|
37
|
+
---\\u003e bd7ca82afb11\\n\"}\r\n{\"stream\":\"Removing intermediate container
|
38
|
+
2c57fdaed893\\n\"}\r\n{\"stream\":\"Successfully built bd7ca82afb11\\n\"}\r\n"
|
38
39
|
http_version:
|
39
|
-
recorded_at:
|
40
|
+
recorded_at: Thu, 26 Jun 2014 20:37:01 GMT
|
40
41
|
- request:
|
41
42
|
method: post
|
42
|
-
uri: unix:///var/run/docker.sock/v1.
|
43
|
+
uri: unix:///var/run/docker.sock/v1.12/containers/create
|
43
44
|
body:
|
44
45
|
encoding: UTF-8
|
45
|
-
string: '{"Image":"
|
46
|
+
string: '{"Image":"bd7ca82afb11","Cmd":["cat","/Dockerfile"]}'
|
46
47
|
headers:
|
47
48
|
User-Agent:
|
48
|
-
- Swipely/Docker-API 1.11.
|
49
|
+
- Swipely/Docker-API 1.11.2
|
49
50
|
Content-Type:
|
50
51
|
- application/json
|
51
52
|
response:
|
@@ -56,7 +57,7 @@ http_interactions:
|
|
56
57
|
Content-Type:
|
57
58
|
- application/json
|
58
59
|
Date:
|
59
|
-
-
|
60
|
+
- Thu, 26 Jun 2014 20:37:02 GMT
|
60
61
|
Content-Length:
|
61
62
|
- '90'
|
62
63
|
Connection:
|
@@ -64,18 +65,18 @@ http_interactions:
|
|
64
65
|
body:
|
65
66
|
encoding: UTF-8
|
66
67
|
string: |
|
67
|
-
{"Id":"
|
68
|
+
{"Id":"d94851412834e8cab28e6e727f383690b554130c26528592b7b478eb6e4275da","Warnings":null}
|
68
69
|
http_version:
|
69
|
-
recorded_at:
|
70
|
+
recorded_at: Thu, 26 Jun 2014 20:37:02 GMT
|
70
71
|
- request:
|
71
72
|
method: post
|
72
|
-
uri: unix:///var/run/docker.sock/v1.
|
73
|
+
uri: unix:///var/run/docker.sock/v1.12/containers/d94851412834e8cab28e6e727f383690b554130c26528592b7b478eb6e4275da/start
|
73
74
|
body:
|
74
75
|
encoding: UTF-8
|
75
76
|
string: '{}'
|
76
77
|
headers:
|
77
78
|
User-Agent:
|
78
|
-
- Swipely/Docker-API 1.11.
|
79
|
+
- Swipely/Docker-API 1.11.2
|
79
80
|
Content-Type:
|
80
81
|
- application/json
|
81
82
|
response:
|
@@ -84,27 +85,23 @@ http_interactions:
|
|
84
85
|
message:
|
85
86
|
headers:
|
86
87
|
Date:
|
87
|
-
-
|
88
|
-
Content-Length:
|
89
|
-
- '0'
|
90
|
-
Content-Type:
|
91
|
-
- text/plain; charset=utf-8
|
88
|
+
- Thu, 26 Jun 2014 20:37:02 GMT
|
92
89
|
Connection:
|
93
90
|
- close
|
94
91
|
body:
|
95
92
|
encoding: UTF-8
|
96
93
|
string: ''
|
97
94
|
http_version:
|
98
|
-
recorded_at:
|
95
|
+
recorded_at: Thu, 26 Jun 2014 20:37:02 GMT
|
99
96
|
- request:
|
100
97
|
method: post
|
101
|
-
uri: unix:///var/run/docker.sock/v1.
|
98
|
+
uri: unix:///var/run/docker.sock/v1.12/containers/d94851412834e8cab28e6e727f383690b554130c26528592b7b478eb6e4275da/attach?stderr=true&stdout=true&stream=true
|
102
99
|
body:
|
103
100
|
encoding: US-ASCII
|
104
101
|
string: ''
|
105
102
|
headers:
|
106
103
|
User-Agent:
|
107
|
-
- Swipely/Docker-API 1.11.
|
104
|
+
- Swipely/Docker-API 1.11.2
|
108
105
|
Content-Type:
|
109
106
|
- text/plain
|
110
107
|
response:
|
@@ -119,5 +116,5 @@ http_interactions:
|
|
119
116
|
string: !binary |-
|
120
117
|
AQAAAAAAABJmcm9tIGJhc2UKYWRkIC8gLwo=
|
121
118
|
http_version:
|
122
|
-
recorded_at:
|
119
|
+
recorded_at: Thu, 26 Jun 2014 20:37:02 GMT
|
123
120
|
recorded_with: VCR 2.9.2
|
@@ -2,21 +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.12/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.11.
|
11
|
+
- Swipely/Docker-API 1.11.2
|
12
12
|
Content-Type:
|
13
13
|
- application/tar
|
14
14
|
Transfer-Encoding:
|
15
15
|
- chunked
|
16
16
|
X-Registry-Auth:
|
17
|
-
-
|
17
|
+
- e30=
|
18
18
|
X-Registry-Config:
|
19
|
-
-
|
19
|
+
- e30=
|
20
20
|
response:
|
21
21
|
status:
|
22
22
|
code: 200
|
@@ -25,7 +25,7 @@ http_interactions:
|
|
25
25
|
Content-Type:
|
26
26
|
- application/json
|
27
27
|
Date:
|
28
|
-
-
|
28
|
+
- Thu, 26 Jun 2014 20:37:08 GMT
|
29
29
|
Connection:
|
30
30
|
- close
|
31
31
|
Transfer-Encoding:
|
@@ -34,19 +34,19 @@ http_interactions:
|
|
34
34
|
encoding: UTF-8
|
35
35
|
string: "{\"stream\":\"Step 0 : from base\\n\"}\r\n{\"stream\":\" ---\\u003e
|
36
36
|
b750fe79269d\\n\"}\r\n{\"stream\":\"Step 1 : add / /\\n\"}\r\n{\"stream\":\"
|
37
|
-
---\\u003e Using cache\\n\"}\r\n{\"stream\":\" ---\\u003e
|
38
|
-
built
|
37
|
+
---\\u003e Using cache\\n\"}\r\n{\"stream\":\" ---\\u003e bd7ca82afb11\\n\"}\r\n{\"stream\":\"Successfully
|
38
|
+
built bd7ca82afb11\\n\"}\r\n"
|
39
39
|
http_version:
|
40
|
-
recorded_at:
|
40
|
+
recorded_at: Thu, 26 Jun 2014 20:37:08 GMT
|
41
41
|
- request:
|
42
42
|
method: post
|
43
|
-
uri: unix:///var/run/docker.sock/v1.
|
43
|
+
uri: unix:///var/run/docker.sock/v1.12/containers/create
|
44
44
|
body:
|
45
45
|
encoding: UTF-8
|
46
|
-
string: '{"Image":"
|
46
|
+
string: '{"Image":"bd7ca82afb11","Cmd":["cat","/Dockerfile"]}'
|
47
47
|
headers:
|
48
48
|
User-Agent:
|
49
|
-
- Swipely/Docker-API 1.11.
|
49
|
+
- Swipely/Docker-API 1.11.2
|
50
50
|
Content-Type:
|
51
51
|
- application/json
|
52
52
|
response:
|
@@ -57,7 +57,7 @@ http_interactions:
|
|
57
57
|
Content-Type:
|
58
58
|
- application/json
|
59
59
|
Date:
|
60
|
-
-
|
60
|
+
- Thu, 26 Jun 2014 20:37:08 GMT
|
61
61
|
Content-Length:
|
62
62
|
- '90'
|
63
63
|
Connection:
|
@@ -65,18 +65,18 @@ http_interactions:
|
|
65
65
|
body:
|
66
66
|
encoding: UTF-8
|
67
67
|
string: |
|
68
|
-
{"Id":"
|
68
|
+
{"Id":"c6ea79b598da1d15eaa3635e2fc24de6f1555216154fe28f33153f6dbabc2cc6","Warnings":null}
|
69
69
|
http_version:
|
70
|
-
recorded_at:
|
70
|
+
recorded_at: Thu, 26 Jun 2014 20:37:08 GMT
|
71
71
|
- request:
|
72
72
|
method: post
|
73
|
-
uri: unix:///var/run/docker.sock/v1.
|
73
|
+
uri: unix:///var/run/docker.sock/v1.12/containers/c6ea79b598da1d15eaa3635e2fc24de6f1555216154fe28f33153f6dbabc2cc6/start
|
74
74
|
body:
|
75
75
|
encoding: UTF-8
|
76
76
|
string: '{}'
|
77
77
|
headers:
|
78
78
|
User-Agent:
|
79
|
-
- Swipely/Docker-API 1.11.
|
79
|
+
- Swipely/Docker-API 1.11.2
|
80
80
|
Content-Type:
|
81
81
|
- application/json
|
82
82
|
response:
|
@@ -85,27 +85,23 @@ http_interactions:
|
|
85
85
|
message:
|
86
86
|
headers:
|
87
87
|
Date:
|
88
|
-
-
|
89
|
-
Content-Length:
|
90
|
-
- '0'
|
91
|
-
Content-Type:
|
92
|
-
- text/plain; charset=utf-8
|
88
|
+
- Thu, 26 Jun 2014 20:37:08 GMT
|
93
89
|
Connection:
|
94
90
|
- close
|
95
91
|
body:
|
96
92
|
encoding: UTF-8
|
97
93
|
string: ''
|
98
94
|
http_version:
|
99
|
-
recorded_at:
|
95
|
+
recorded_at: Thu, 26 Jun 2014 20:37:08 GMT
|
100
96
|
- request:
|
101
97
|
method: post
|
102
|
-
uri: unix:///var/run/docker.sock/v1.
|
98
|
+
uri: unix:///var/run/docker.sock/v1.12/containers/c6ea79b598da1d15eaa3635e2fc24de6f1555216154fe28f33153f6dbabc2cc6/attach?stderr=true&stdout=true&stream=true
|
103
99
|
body:
|
104
100
|
encoding: US-ASCII
|
105
101
|
string: ''
|
106
102
|
headers:
|
107
103
|
User-Agent:
|
108
|
-
- Swipely/Docker-API 1.11.
|
104
|
+
- Swipely/Docker-API 1.11.2
|
109
105
|
Content-Type:
|
110
106
|
- text/plain
|
111
107
|
response:
|
@@ -120,16 +116,16 @@ http_interactions:
|
|
120
116
|
string: !binary |-
|
121
117
|
AQAAAAAAABJmcm9tIGJhc2UKYWRkIC8gLwo=
|
122
118
|
http_version:
|
123
|
-
recorded_at:
|
119
|
+
recorded_at: Thu, 26 Jun 2014 20:37:09 GMT
|
124
120
|
- request:
|
125
121
|
method: get
|
126
|
-
uri: unix:///var/run/docker.sock/v1.
|
122
|
+
uri: unix:///var/run/docker.sock/v1.12/images/json
|
127
123
|
body:
|
128
124
|
encoding: US-ASCII
|
129
125
|
string: ''
|
130
126
|
headers:
|
131
127
|
User-Agent:
|
132
|
-
- Swipely/Docker-API 1.11.
|
128
|
+
- Swipely/Docker-API 1.11.2
|
133
129
|
Content-Type:
|
134
130
|
- text/plain
|
135
131
|
response:
|
@@ -140,7 +136,7 @@ http_interactions:
|
|
140
136
|
Content-Type:
|
141
137
|
- application/json
|
142
138
|
Date:
|
143
|
-
-
|
139
|
+
- Thu, 26 Jun 2014 20:37:09 GMT
|
144
140
|
Connection:
|
145
141
|
- close
|
146
142
|
Transfer-Encoding:
|
@@ -148,22 +144,22 @@ http_interactions:
|
|
148
144
|
body:
|
149
145
|
encoding: UTF-8
|
150
146
|
string: |-
|
151
|
-
[{"Created":
|
152
|
-
,{"Created":
|
153
|
-
,{"Created":
|
154
|
-
,{"Created":
|
155
|
-
,{"Created":
|
156
|
-
,{"Created":
|
157
|
-
,{"Created":
|
158
|
-
,{"Created":
|
159
|
-
,{"Created":
|
160
|
-
,{"Created":
|
161
|
-
,{"Created":
|
162
|
-
,{"Created":
|
163
|
-
,{"Created":
|
164
|
-
,{"Created":
|
147
|
+
[{"Created":1403815019,"Id":"bd7ca82afb11cb29c72423615159c6cf4accf0aec287e9a411b9fcc95819a70a","ParentId":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","RepoTags":["swipely/base2:latest"],"Size":18,"VirtualSize":175307053}
|
148
|
+
,{"Created":1403814994,"Id":"0d4e0a1e3c3d1b632d89f15036b284b9bb0c06ce8bc5eb0900d3f09abf7731b0","ParentId":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","RepoTags":["swipely/base:latest"],"Size":0,"VirtualSize":175307035}
|
149
|
+
,{"Created":1403814711,"Id":"a2de737cbf735ff9b4b17747b6d94dbb357d7b59e1999ca0fd5d13a645afea5c","ParentId":"","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":204704857,"VirtualSize":204704857}
|
150
|
+
,{"Created":1403814638,"Id":"8e6af99faf6639486edb869399f9b4c602972f3b5e1be48cd47a03d40b198203","ParentId":"","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":175765945,"VirtualSize":175765945}
|
151
|
+
,{"Created":1403813375,"Id":"45482b19ac1b73d938bdc3e53cb92725fa500c58c251c7e5681d3b062e8ef89b","ParentId":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","RepoTags":["nahiluhmot/base2:latest"],"Size":0,"VirtualSize":175307035}
|
152
|
+
,{"Created":1403813297,"Id":"6ed87cdb001d21ca678a37123e814334e2e447d63d2cb6a21d8877c583995975","ParentId":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":38,"VirtualSize":175307073}
|
153
|
+
,{"Created":1403644956,"Id":"ea7d6801c5389e32dcf9577c3778f1eba9a1ee978db8f48020e4c479bc26e468","ParentId":"a343823119db57543086463ae7da8aaadbcef25781c0c4d121397a2550a419a6","RepoTags":["ubuntu:precise","ubuntu:12.04"],"Size":0,"VirtualSize":127379622}
|
154
|
+
,{"Created":1403644946,"Id":"ef83896b7fb99b00b9e0e6ac943826386e7edcef11a3a2f58b42011ab4a4e683","ParentId":"99e40d806d071d4e50eccd12bd363e938610b3fe1c04b77c48ca8dec3d2f4463","RepoTags":["ubuntu:latest","ubuntu:trusty"],"Size":0,"VirtualSize":192708307}
|
155
|
+
,{"Created":1403169743,"Id":"6e526128fd5b256ced4e7863d4e431cf3fca87ae2058c1e40ca65bf139e68285","ParentId":"14faab53c729894ee2c5e929839a8437392473ed7fba6e756d15543c269a4e06","RepoTags":["registry:latest","localhost:5000/registry:test"],"Size":0,"VirtualSize":515971797}
|
156
|
+
,{"Created":1403128455,"Id":"c5881f11ded97fd2252adf93268114329e985624c5d7bb86e439a36109d1124e","ParentId":"5796a7edb16bffa3408e0f00b1b8dc0fa4651ac88b68eee5a01b088bedb9c54a","RepoTags":["ubuntu:12.10","ubuntu:quantal"],"Size":70975627,"VirtualSize":172064416}
|
157
|
+
,{"Created":1403128435,"Id":"463ff6be4238c14f5b88898f17b47a9cf494f9a9be7b6170c3e852568d2b0432","ParentId":"47dd6d11a49fc66a304bb679d545e64335cfb1f12dacf76c89e1cbe50af5574d","RepoTags":["ubuntu:13.04","ubuntu:raring"],"Size":70819643,"VirtualSize":169359875}
|
158
|
+
,{"Created":1403128415,"Id":"195eb90b534950d334188c3627f860fbdf898e224d8a0a11ec54ff453175e081","ParentId":"209ea56fda6dc2fb013e4d1e40cb678b2af91d1b54a71529f7df0bd867adc961","RepoTags":["ubuntu:13.10","ubuntu:saucy"],"Size":4260002,"VirtualSize":184564423}
|
159
|
+
,{"Created":1403128361,"Id":"e54ca5efa2e962582a223ca9810f7f1b62ea9b5c3975d14a5da79d3bf6020f37","ParentId":"6c37f792ddacad573016e6aea7fc9fb377127b4767ce6104c9f869314a12041e","RepoTags":["ubuntu:14.04"],"Size":8,"VirtualSize":276100357}
|
160
|
+
,{"Created":1398108230,"Id":"3db9c44f45209632d6050b35958829c3a2aa256d81b9a7be45b362ff85c54710","ParentId":"6cfa4d1f33fb861d4d114f43b25abd0ac737509268065cdfd69d544a59c85ab8","RepoTags":["ubuntu:10.04","ubuntu:lucid"],"Size":182964289,"VirtualSize":182964289}
|
165
161
|
,{"Created":1364102658,"Id":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","ParentId":"27cf784147099545","RepoTags":["base2:latest","base:latest","base:ubuntu-12.10","base:ubuntu-quantal","base:ubuntu-quantl"],"Size":77,"VirtualSize":175307035}
|
166
162
|
]
|
167
163
|
http_version:
|
168
|
-
recorded_at:
|
164
|
+
recorded_at: Thu, 26 Jun 2014 20:37:09 GMT
|
169
165
|
recorded_with: VCR 2.9.2
|