docker-api 1.8.4 → 1.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/docker/image.rb +4 -4
- data/lib/docker/util.rb +9 -1
- data/lib/docker/version.rb +2 -2
- data/spec/docker/container_spec.rb +1 -3
- data/spec/docker/util_spec.rb +23 -2
- data/spec/vcr/Docker/_authenticate_/with_valid_credentials/logs_in_and_sets_the_creds.yml +16 -16
- data/spec/vcr/Docker/_info/returns_the_info_as_a_Hash.yml +6 -6
- data/spec/vcr/Docker/_validate_version/when_nothing_is_raised/validate_version_/.yml +6 -6
- data/spec/vcr/Docker/_version/returns_the_version_as_a_Hash.yml +6 -6
- data/spec/vcr/Docker_Container/_all/when_the_HTTP_response_is_a_200/materializes_each_Container_into_a_Docker_Container.yml +97 -69
- data/spec/vcr/Docker_Container/_attach/with_normal_sized_chunks/yields_each_chunk.yml +12 -12
- data/spec/vcr/Docker_Container/_attach/with_very_small_chunks/yields_each_chunk.yml +12 -12
- data/spec/vcr/Docker_Container/_changes/returns_the_changes_as_an_array.yml +19 -19
- data/spec/vcr/Docker_Container/_commit/creates_a_new_Image_from_the_Container_s_changes.yml +14 -14
- data/spec/vcr/Docker_Container/_commit/if_run_is_passed_it_saves_the_command_in_the_image/saves_the_command.yml +9 -122
- data/spec/vcr/Docker_Container/_copy/when_the_input_is_a_directory/yields_each_chunk_of_the_tarred_directory.yml +24 -24
- data/spec/vcr/Docker_Container/_copy/when_the_input_is_a_file/yields_each_chunk_of_the_tarred_file.yml +24 -24
- data/spec/vcr/Docker_Container/_create/when_creating_a_container_named_bob/should_have_name_set_to_bob.yml +12 -12
- data/spec/vcr/Docker_Container/_create/when_the_Container_does_not_yet_exist/when_the_HTTP_request_returns_a_200/sets_the_id.yml +5 -5
- data/spec/vcr/Docker_Container/_delete/deletes_the_container.yml +15 -15
- data/spec/vcr/Docker_Container/_export/yields_each_chunk.yml +14 -82732
- data/spec/vcr/Docker_Container/_get/when_the_HTTP_response_is_a_200/materializes_the_Container_into_a_Docker_Container.yml +13 -13
- data/spec/vcr/Docker_Container/_json/returns_the_description_as_a_Hash.yml +13 -13
- data/spec/vcr/Docker_Container/_kill/kills_the_container.yml +49 -34
- data/spec/vcr/Docker_Container/_restart/restarts_the_container.yml +39 -39
- data/spec/vcr/Docker_Container/_run/when_the_Container_s_command_does_not_return_status_code_of_0/raises_an_error.yml +14 -14
- data/spec/vcr/Docker_Container/_run/when_the_Container_s_command_returns_a_status_code_of_0/creates_a_new_container_to_run_the_specified_command.yml +38 -38
- data/spec/vcr/Docker_Container/_start/starts_the_container.yml +21 -21
- data/spec/vcr/Docker_Container/_stop/stops_the_container.yml +52 -37
- data/spec/vcr/Docker_Container/_top/returns_the_top_commands_as_an_Array.yml +7 -7
- data/spec/vcr/Docker_Container/_wait/waits_for_the_command_to_finish.yml +15 -15
- data/spec/vcr/Docker_Container/_wait/when_an_argument_is_given/and_a_command_runs_for_too_long/raises_a_ServerError.yml +9 -9
- data/spec/vcr/Docker_Container/_wait/when_an_argument_is_given/sets_the_read_timeout_to_that_amount_of_time.yml +13 -13
- data/spec/vcr/Docker_Image/_all/materializes_each_Image_into_a_Docker_Image.yml +19 -22
- data/spec/vcr/Docker_Image/_build/with_a_valid_Dockerfile/with_a_block_capturing_build_output/calls_the_block_and_passes_build_output.yml +7 -7
- data/spec/vcr/Docker_Image/_build/with_a_valid_Dockerfile/with_specifying_a_repo_in_the_query_parameters/builds_an_image_and_tags_it.yml +25 -27
- data/spec/vcr/Docker_Image/_build/with_a_valid_Dockerfile/without_query_parameters/builds_an_image.yml +7 -7
- data/spec/vcr/Docker_Image/_build/with_an_invalid_Dockerfile/throws_a_UnexpectedResponseError.yml +7 -7
- data/spec/vcr/Docker_Image/_build_from_dir/with_a_valid_Dockerfile/with_a_block_capturing_build_output/calls_the_block_and_passes_build_output.yml +8 -7
- data/spec/vcr/Docker_Image/_build_from_dir/with_a_valid_Dockerfile/with_no_query_parameters/builds_the_image.yml +21 -20
- data/spec/vcr/Docker_Image/_build_from_dir/with_a_valid_Dockerfile/with_specifying_a_repo_in_the_query_parameters/builds_the_image_and_tags_it.yml +36 -38
- data/spec/vcr/Docker_Image/_create/when_the_Image_does_not_yet_exist_and_the_body_is_a_Hash/sets_the_id.yml +5 -5
- data/spec/vcr/Docker_Image/_get/when_the_image_does_exist/returns_the_new_image.yml +8 -8
- data/spec/vcr/Docker_Image/_history/returns_the_history_of_the_Image.yml +10 -10
- data/spec/vcr/Docker_Image/_insert/inserts_the_url_s_file_into_a_new_Image.yml +213 -30
- data/spec/vcr/Docker_Image/_insert_local/when_removing_intermediate_containers/creates_a_new_image.yml +45 -51
- data/spec/vcr/Docker_Image/_insert_local/when_removing_intermediate_containers/leave_no_intermediate_containers.yml +48 -100
- data/spec/vcr/Docker_Image/_insert_local/when_the_local_file_does_exist/creates_a_new_Image_that_has_that_file.yml +30 -30
- data/spec/vcr/Docker_Image/_insert_local/when_the_local_file_does_not_exist/raises_an_error.yml +7 -7
- data/spec/vcr/Docker_Image/_insert_local/when_there_are_multiple_files_passed/creates_a_new_Image_that_has_each_file.yml +32 -32
- data/spec/vcr/Docker_Image/_json/returns_additional_information_about_image_image.yml +8 -8
- data/spec/vcr/Docker_Image/_push/pushes_the_Image.yml +43 -102
- data/spec/vcr/Docker_Image/_remove/removes_the_Image.yml +9 -9
- data/spec/vcr/Docker_Image/_run/when_the_argument_is_a_String/splits_the_String_by_spaces_and_creates_a_new_Container.yml +18 -18
- data/spec/vcr/Docker_Image/_run/when_the_argument_is_an_Array/creates_a_new_Container.yml +18 -18
- data/spec/vcr/Docker_Image/_run/when_the_argument_is_nil/no_command_configured_in_image/should_raise_an_error_if_no_command_is_specified.yml +12 -12
- data/spec/vcr/Docker_Image/_search/materializes_each_Image_into_a_Docker_Image.yml +34 -22
- data/spec/vcr/Docker_Image/_tag/tags_the_image_with_the_repo_name.yml +6 -6
- metadata +2 -6
- data/spec/vcr/Docker_Container/_copy/when_the_file_does_not_exist/raises_an_error.yml +0 -156
- data/spec/vcr/Docker_Image/_run/when_the_argument_is_nil/command_configured_in_image/should_normally_show_result_if_image_has_Cmd_configured.yml +0 -93
@@ -2,13 +2,13 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: post
|
5
|
-
uri: unix:///var/run/docker.sock/v1.
|
5
|
+
uri: unix:///var/run/docker.sock/v1.9/containers/create
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
8
|
string: "{\"Cmd\":[\"true\"],\"Image\":\"base\"}"
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- Swipely/Docker-API 1.
|
11
|
+
- Swipely/Docker-API 1.8.4
|
12
12
|
Content-Type:
|
13
13
|
- application/json
|
14
14
|
response:
|
@@ -19,7 +19,7 @@ http_interactions:
|
|
19
19
|
Content-Type:
|
20
20
|
- application/json
|
21
21
|
Date:
|
22
|
-
-
|
22
|
+
- Fri, 28 Feb 2014 21:42:05 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":"6b81a0b2d2b9377b34cacadc0caab3727992025133072a6dc8cfd113d0779aa1","Warnings":null}
|
31
31
|
http_version:
|
32
|
-
recorded_at:
|
32
|
+
recorded_at: Fri, 28 Feb 2014 21:42:05 GMT
|
33
33
|
- request:
|
34
34
|
method: post
|
35
|
-
uri: unix:///var/run/docker.sock/v1.
|
35
|
+
uri: unix:///var/run/docker.sock/v1.9/containers/6b81a0b2d2b9377b34cacadc0caab3727992025133072a6dc8cfd113d0779aa1/start
|
36
36
|
body:
|
37
37
|
encoding: UTF-8
|
38
38
|
string: "{}"
|
39
39
|
headers:
|
40
40
|
User-Agent:
|
41
|
-
- Swipely/Docker-API 1.
|
41
|
+
- Swipely/Docker-API 1.8.4
|
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, 28 Feb 2014 21:42:06 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, 28 Feb 2014 21:42:06 GMT
|
62
62
|
- request:
|
63
63
|
method: post
|
64
|
-
uri: unix:///var/run/docker.sock/v1.
|
64
|
+
uri: unix:///var/run/docker.sock/v1.9/containers/6b81a0b2d2b9377b34cacadc0caab3727992025133072a6dc8cfd113d0779aa1/stop
|
65
65
|
body:
|
66
66
|
encoding: UTF-8
|
67
67
|
string: "{}"
|
68
68
|
headers:
|
69
69
|
User-Agent:
|
70
|
-
- Swipely/Docker-API 1.
|
70
|
+
- Swipely/Docker-API 1.8.4
|
71
71
|
Content-Type:
|
72
72
|
- application/json
|
73
73
|
response:
|
@@ -76,7 +76,7 @@ http_interactions:
|
|
76
76
|
message:
|
77
77
|
headers:
|
78
78
|
Date:
|
79
|
-
-
|
79
|
+
- Fri, 28 Feb 2014 21:42:06 GMT
|
80
80
|
Content-Length:
|
81
81
|
- '0'
|
82
82
|
Content-Type:
|
@@ -87,16 +87,16 @@ http_interactions:
|
|
87
87
|
encoding: UTF-8
|
88
88
|
string: ''
|
89
89
|
http_version:
|
90
|
-
recorded_at:
|
90
|
+
recorded_at: Fri, 28 Feb 2014 21:42:06 GMT
|
91
91
|
- request:
|
92
92
|
method: get
|
93
|
-
uri: unix:///var/run/docker.sock/v1.
|
93
|
+
uri: unix:///var/run/docker.sock/v1.9/containers/json?all=true
|
94
94
|
body:
|
95
95
|
encoding: US-ASCII
|
96
96
|
string: ''
|
97
97
|
headers:
|
98
98
|
User-Agent:
|
99
|
-
- Swipely/Docker-API 1.
|
99
|
+
- Swipely/Docker-API 1.8.4
|
100
100
|
Content-Type:
|
101
101
|
- text/plain
|
102
102
|
response:
|
@@ -104,10 +104,10 @@ http_interactions:
|
|
104
104
|
code: 200
|
105
105
|
message:
|
106
106
|
headers:
|
107
|
-
Date:
|
108
|
-
- Wed, 12 Feb 2014 17:05:31 GMT
|
109
107
|
Content-Type:
|
110
|
-
-
|
108
|
+
- application/json
|
109
|
+
Date:
|
110
|
+
- Fri, 28 Feb 2014 21:42:06 GMT
|
111
111
|
Connection:
|
112
112
|
- close
|
113
113
|
Transfer-Encoding:
|
@@ -115,30 +115,45 @@ http_interactions:
|
|
115
115
|
body:
|
116
116
|
encoding: UTF-8
|
117
117
|
string: |-
|
118
|
-
[{"Command":true,"Created":
|
119
|
-
,{"Command":"test -d /foo","Created":
|
120
|
-
,{"Command":"pwd ","Created":
|
121
|
-
,{"Command":"pwd ","Created":
|
122
|
-
,{"Command":"rm -rf / --no-preserve-root","Created":
|
123
|
-
,{"Command":"touch /test","Created":
|
124
|
-
,{"Command":"touch /test","Created":
|
125
|
-
,{"Command":"/bin/sh -c printf '#! /bin/sh\\nwhile true\\ndo\\ntrue\\ndone\\n' \u003e /while \u0026\u0026 chmod +x /while","Created":
|
126
|
-
,{"Command":"rm -rf /root","Created":
|
127
|
-
,{"Command":true,"Created":
|
128
|
-
,{"Command":true,"Created":
|
129
|
-
,{"Command":"
|
118
|
+
[{"Command":true,"Created":1393623725,"Id":"6b81a0b2d2b9377b34cacadc0caab3727992025133072a6dc8cfd113d0779aa1","Image":"base2:latest","Names":["/prickly_newton1"],"Ports":[],"Status":"Exit 0"}
|
119
|
+
,{"Command":"test -d /foo","Created":1393623723,"Id":"418e67b935e1e25f7b70925e29745a490e4d5b75a9c320b6ea9d9c381a764ef7","Image":"base2:latest","Names":["/berserk_lumiere"],"Ports":[],"Status":"Exit 0"}
|
120
|
+
,{"Command":"pwd ","Created":1393623722,"Id":"e1cb17367cf3237b1a4d2022048077e2632581c2bffdb72fe975d8616a7b65b8","Image":"base2:latest","Names":["/grave_galileo"],"Ports":[],"Status":"Exit 0"}
|
121
|
+
,{"Command":"pwd ","Created":1393623720,"Id":"febc9d46a787fcb7b774b578708d850960265351a9694060c8cbcf08d9103c17","Image":"base2:latest","Names":["/silly_babbage"],"Ports":[],"Status":"Exit 0"}
|
122
|
+
,{"Command":"rm -rf / --no-preserve-root","Created":1393623718,"Id":"c666534d118a485c3f340d154308857640899f10faf686f6cfbd0028d232c8ba","Image":"base2:latest","Names":["/sick_euclid"],"Ports":[],"Status":"Exit 255"}
|
123
|
+
,{"Command":"touch /test","Created":1393623716,"Id":"7c27079e7ae5aaca763c0f0ea72ef6f656409713031c8b51116de27612423912","Image":"base2:latest","Names":["/prickly_newton"],"Ports":[],"Status":"Exit 0"}
|
124
|
+
,{"Command":"touch /test","Created":1393623713,"Id":"d9ca2f0d85c136ae72d03c4053c1175b103154bba20d493812ff8d2803534b8a","Image":"base2:latest","Names":["/boring_pare"],"Ports":[],"Status":"Exit 0"}
|
125
|
+
,{"Command":"/bin/sh -c printf '#! /bin/sh\\nwhile true\\ndo\\ntrue\\ndone\\n' \u003e /while \u0026\u0026 chmod +x /while","Created":1393623705,"Id":"ec65707c842369bd6bc8ea61eee7f499e190be4a04b010370ed501d380c03317","Image":"base2:latest","Names":["/silly_pasteur"],"Ports":[],"Status":"Exit 0"}
|
126
|
+
,{"Command":"rm -rf /root","Created":1393623703,"Id":"b308381c9274c9c2e398635eeca5988c015268bf7e2a558eee0498e25629adc7","Image":"base2:latest","Names":["/thirsty_albattani"],"Ports":[],"Status":"Exit 0"}
|
127
|
+
,{"Command":true,"Created":1393623703,"Id":"1f4356ab785f38d193d074a67622f629b7f6abaa6dca0e9a415a544a91e987ce","Image":"base2:latest","Names":["/bob"],"Ports":[],"Status":"Exit 0"}
|
128
|
+
,{"Command":true,"Created":1393623703,"Id":"9c286a4bdae3f4ee5c581a26c742d80642bedc4b48a00365f5723f197c592cf2","Image":"base2:latest","Names":["/trusting_torvalds"],"Ports":[],"Status":"Exit 0"}
|
129
|
+
,{"Command":"cat /Dockerfile","Created":1393623608,"Id":"05904073890bad4e07d9d9aa50c618915abafa8f4fe69f757c4b02f18c4b1ba1","Image":"swipely/base2:latest","Names":["/pensive_davinci"],"Ports":[],"Status":"Exit 0"}
|
130
|
+
,{"Command":"cat /Dockerfile","Created":1393623607,"Id":"979c4db1554a66bd9625a5d960f16203ce645037a7f63bd5d3ac0e12a4f4aa85","Image":"swipely/base2:latest","Names":["/loving_brown"],"Ports":[],"Status":"Exit 0"}
|
131
|
+
,{"Command":"cat /Dockerfile","Created":1393623015,"Id":"14500692e1e383d1bfadcc4fac538e80a2fa38481a1e8892414034b83d25dc34","Image":"swipely/base2:latest","Names":["/trusting_thompson"],"Ports":[],"Status":"Exit 0"}
|
132
|
+
,{"Command":"cat /Dockerfile","Created":1393623014,"Id":"964080fb57a7e4694307d79acbf5e1426f39d196cd73963906f11ccb46c1170a","Image":"swipely/base2:latest","Names":["/mad_feynman"],"Ports":[],"Status":"Exit 0"}
|
133
|
+
,{"Command":"/bin/sh -c #(nop) ADD dir:1eb775e654a108ecfb3725cc351728601c0031d180071f124b1510620d5ee9b5 in /","Created":1393623012,"Id":"00d9d33e18df5c676755ebeed569a056d5fdabc9cd25acb2b9fcc44da2bd8df5","Image":"base2:latest","Names":["/agitated_curie"],"Ports":[],"Status":"Exit 0"}
|
134
|
+
,{"Command":"/bin/sh -c true","Created":1393623009,"Id":"a2640209c447eb3a54d89f0c5614ed09444fe2f1badb5c3d81cbe46f697a7974","Image":"base2:latest","Names":["/clever_pike"],"Ports":[],"Status":"Exit 0"}
|
135
|
+
,{"Command":"which pwd","Created":1393623004,"Id":"54e5d38edb25f0294cc9011e557282d71ee6c8f88f588dd4efe6ffe609287fa0","Image":"base2:latest","Names":["/jolly_morse"],"Ports":[],"Status":"Exit 0"}
|
136
|
+
,{"Command":"ls /lib64/","Created":1393623001,"Id":"93cdf928ada741f11c9535aa2de4bf7c0d69169e4309e45841efc3d54ae21fb8","Image":"base2:latest","Names":["/kickass_galileo"],"Ports":[],"Status":"Exit 0"}
|
137
|
+
,{"Command":true,"Created":1393622995,"Id":"e4e1b2526e1cf1eae7ac3b1e1c8c29e37b24130d0fcf410916e9f8b8d61ccc27","Image":"base2:latest","Names":["/kickass_newton"],"Ports":[],"Status":"Exit 0"}
|
138
|
+
,{"Command":"cat /Gemfile /Rakefile","Created":1393622987,"Id":"52d9a23cb292a4f1d7a65babf5fa94f05a3d9a79fb44e4ecdfb478f35dadcf11","Image":"7152d6b36451","Names":["/stoic_darwin"],"Ports":[],"Status":"Exit 0"}
|
139
|
+
,{"Command":"/bin/sh -c #(nop) ADD file:0da1397da130ce4eb9c66b709edc0cb80000a1d3bc890b9816b4e4da0204edb0 in /","Created":1393622985,"Id":"636b00134d64da97d41514249b527685651b1b17f396675d27f9ea3bc9dc91ef","Image":"b11e84158567","Names":["/determined_heisenberg"],"Ports":[],"Status":"Exit 0"}
|
140
|
+
,{"Command":"/bin/sh -c #(nop) ADD file:72fd941c3be8f251fffa1dc023f6335a4e8c2c7d5398b8df2f3e86d7209ab2d8 in /","Created":1393622983,"Id":"2441469640cf91420a9f7cb3f20148f1d7b4dfdda43c53500ce074d93db9e83b","Image":"base2:latest","Names":["/drunk_pasteur"],"Ports":[],"Status":"Exit 0"}
|
141
|
+
,{"Command":"cat /Gemfile","Created":1393622982,"Id":"a06f29d105bfeecd9738b51b6ba74374c191e85c1969eaa33945054ee522ce4a","Image":"3a016dd557a7","Names":["/berserk_davinci"],"Ports":[],"Status":"Exit 0"}
|
142
|
+
,{"Command":"/bin/sh -c #(nop) ADD file:39159349a16aa1373d57f522dd5a30e405346e05be85f0ef6ab65dbc8ac0b5d0 in /","Created":1393622980,"Id":"4464bf27679b679170a227944e89f98a6ba128e12879b9df199fd0765724dfe9","Image":"base2:latest","Names":["/desperate_heisenberg"],"Ports":[],"Status":"Exit 0"}
|
143
|
+
,{"Command":"ls /","Created":1393622979,"Id":"68eacec0e17645b561cecc11dcc97073f02a70a761bcb45370be154fdd210aa2","Image":"ec54e7edec81","Names":["/high_engelbart"],"Ports":[],"Status":"Exit 0"}
|
144
|
+
,{"Command":"echo insert http://stallman.org /stallman","Created":1393622977,"Id":"bad53897fd9c6e5825e33ff52e85b5989ce288441f1f6f06471273a8f445a53a","Image":"base2:latest","Names":["/dreamy_brattain"],"Ports":[],"Status":"Exit 0"}
|
130
145
|
]
|
131
146
|
http_version:
|
132
|
-
recorded_at:
|
147
|
+
recorded_at: Fri, 28 Feb 2014 21:42:06 GMT
|
133
148
|
- request:
|
134
149
|
method: get
|
135
|
-
uri: unix:///var/run/docker.sock/v1.
|
150
|
+
uri: unix:///var/run/docker.sock/v1.9/containers/json
|
136
151
|
body:
|
137
152
|
encoding: US-ASCII
|
138
153
|
string: ''
|
139
154
|
headers:
|
140
155
|
User-Agent:
|
141
|
-
- Swipely/Docker-API 1.
|
156
|
+
- Swipely/Docker-API 1.8.4
|
142
157
|
Content-Type:
|
143
158
|
- text/plain
|
144
159
|
response:
|
@@ -146,17 +161,17 @@ http_interactions:
|
|
146
161
|
code: 200
|
147
162
|
message:
|
148
163
|
headers:
|
164
|
+
Content-Type:
|
165
|
+
- application/json
|
149
166
|
Date:
|
150
|
-
-
|
167
|
+
- Fri, 28 Feb 2014 21:42:06 GMT
|
151
168
|
Content-Length:
|
152
169
|
- '2'
|
153
|
-
Content-Type:
|
154
|
-
- text/plain; charset=utf-8
|
155
170
|
Connection:
|
156
171
|
- close
|
157
172
|
body:
|
158
173
|
encoding: UTF-8
|
159
174
|
string: "[]"
|
160
175
|
http_version:
|
161
|
-
recorded_at:
|
176
|
+
recorded_at: Fri, 28 Feb 2014 21:42:06 GMT
|
162
177
|
recorded_with: VCR 2.8.0
|
@@ -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.9/build
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -37,7 +37,7 @@ http_interactions:
|
|
37
37
|
recorded_at: Wed, 12 Feb 2014 17:05:19 GMT
|
38
38
|
- request:
|
39
39
|
method: post
|
40
|
-
uri: unix:///var/run/docker.sock/v1.
|
40
|
+
uri: unix:///var/run/docker.sock/v1.9/containers/create
|
41
41
|
body:
|
42
42
|
encoding: UTF-8
|
43
43
|
string: "{\"Image\":\"8c71f00445f5\",\"Cmd\":[\"/while\"]}"
|
@@ -67,7 +67,7 @@ http_interactions:
|
|
67
67
|
recorded_at: Wed, 12 Feb 2014 17:05:19 GMT
|
68
68
|
- request:
|
69
69
|
method: post
|
70
|
-
uri: unix:///var/run/docker.sock/v1.
|
70
|
+
uri: unix:///var/run/docker.sock/v1.9/containers/a8f25a38eae9d43dbc9fe1d20eeda7fb959ce4d0481f7bab1b5543d8ce366688/start
|
71
71
|
body:
|
72
72
|
encoding: UTF-8
|
73
73
|
string: "{}"
|
@@ -96,7 +96,7 @@ http_interactions:
|
|
96
96
|
recorded_at: Wed, 12 Feb 2014 17:05:19 GMT
|
97
97
|
- request:
|
98
98
|
method: get
|
99
|
-
uri: unix:///var/run/docker.sock/v1.
|
99
|
+
uri: unix:///var/run/docker.sock/v1.9/containers/a8f25a38eae9d43dbc9fe1d20eeda7fb959ce4d0481f7bab1b5543d8ce366688/top
|
100
100
|
body:
|
101
101
|
encoding: US-ASCII
|
102
102
|
string: ''
|
@@ -126,7 +126,7 @@ http_interactions:
|
|
126
126
|
recorded_at: Wed, 12 Feb 2014 17:05:20 GMT
|
127
127
|
- request:
|
128
128
|
method: post
|
129
|
-
uri: unix:///var/run/docker.sock/v1.
|
129
|
+
uri: unix:///var/run/docker.sock/v1.9/containers/a8f25a38eae9d43dbc9fe1d20eeda7fb959ce4d0481f7bab1b5543d8ce366688/kill
|
130
130
|
body:
|
131
131
|
encoding: UTF-8
|
132
132
|
string: "{}"
|
@@ -155,7 +155,7 @@ http_interactions:
|
|
155
155
|
recorded_at: Wed, 12 Feb 2014 17:05:21 GMT
|
156
156
|
- request:
|
157
157
|
method: delete
|
158
|
-
uri: unix:///var/run/docker.sock/v1.
|
158
|
+
uri: unix:///var/run/docker.sock/v1.9/containers/a8f25a38eae9d43dbc9fe1d20eeda7fb959ce4d0481f7bab1b5543d8ce366688
|
159
159
|
body:
|
160
160
|
encoding: US-ASCII
|
161
161
|
string: ''
|
@@ -184,7 +184,7 @@ http_interactions:
|
|
184
184
|
recorded_at: Wed, 12 Feb 2014 17:05:23 GMT
|
185
185
|
- request:
|
186
186
|
method: delete
|
187
|
-
uri: unix:///var/run/docker.sock/v1.
|
187
|
+
uri: unix:///var/run/docker.sock/v1.9/images/8c71f00445f5
|
188
188
|
body:
|
189
189
|
encoding: US-ASCII
|
190
190
|
string: ''
|
@@ -2,13 +2,13 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: post
|
5
|
-
uri: unix:///var/run/docker.sock/v1.
|
5
|
+
uri: unix:///var/run/docker.sock/v1.9/containers/create
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
8
|
string: "{\"Cmd\":[\"tar\",\"nonsense\"],\"Image\":\"base\"}"
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- Swipely/Docker-API 1.
|
11
|
+
- Swipely/Docker-API 1.8.4
|
12
12
|
Content-Type:
|
13
13
|
- application/json
|
14
14
|
response:
|
@@ -19,7 +19,7 @@ http_interactions:
|
|
19
19
|
Content-Type:
|
20
20
|
- application/json
|
21
21
|
Date:
|
22
|
-
-
|
22
|
+
- Fri, 28 Feb 2014 21:42:11 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":"2064e9cbfb6e1f01c9a20d2b8a1b96cf89b487f95dbdf3dd229098def6cac4f1","Warnings":null}
|
31
31
|
http_version:
|
32
|
-
recorded_at:
|
32
|
+
recorded_at: Fri, 28 Feb 2014 21:42:11 GMT
|
33
33
|
- request:
|
34
34
|
method: post
|
35
|
-
uri: unix:///var/run/docker.sock/v1.
|
35
|
+
uri: unix:///var/run/docker.sock/v1.9/containers/2064e9cbfb6e1f01c9a20d2b8a1b96cf89b487f95dbdf3dd229098def6cac4f1/start
|
36
36
|
body:
|
37
37
|
encoding: UTF-8
|
38
38
|
string: "{}"
|
39
39
|
headers:
|
40
40
|
User-Agent:
|
41
|
-
- Swipely/Docker-API 1.
|
41
|
+
- Swipely/Docker-API 1.8.4
|
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, 28 Feb 2014 21:42:13 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, 28 Feb 2014 21:42:13 GMT
|
62
62
|
- request:
|
63
63
|
method: post
|
64
|
-
uri: unix:///var/run/docker.sock/v1.
|
64
|
+
uri: unix:///var/run/docker.sock/v1.9/containers/2064e9cbfb6e1f01c9a20d2b8a1b96cf89b487f95dbdf3dd229098def6cac4f1/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.8.4
|
71
71
|
Content-Type:
|
72
72
|
- text/plain
|
73
73
|
response:
|
@@ -78,15 +78,15 @@ http_interactions:
|
|
78
78
|
Content-Type:
|
79
79
|
- application/json
|
80
80
|
Date:
|
81
|
-
-
|
81
|
+
- Fri, 28 Feb 2014 21:42:13 GMT
|
82
82
|
Content-Length:
|
83
|
-
- '
|
83
|
+
- '19'
|
84
84
|
Connection:
|
85
85
|
- close
|
86
86
|
body:
|
87
87
|
encoding: UTF-8
|
88
88
|
string: |
|
89
|
-
{"StatusCode":
|
89
|
+
{"StatusCode":255}
|
90
90
|
http_version:
|
91
|
-
recorded_at:
|
91
|
+
recorded_at: Fri, 28 Feb 2014 21:42:13 GMT
|
92
92
|
recorded_with: VCR 2.8.0
|
@@ -2,13 +2,13 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: post
|
5
|
-
uri: unix:///var/run/docker.sock/v1.
|
5
|
+
uri: unix:///var/run/docker.sock/v1.9/containers/create
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
8
|
string: "{\"Cmd\":[\"sleep\",\"5\"],\"Image\":\"base\"}"
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- Swipely/Docker-API 1.
|
11
|
+
- Swipely/Docker-API 1.8.4
|
12
12
|
Content-Type:
|
13
13
|
- application/json
|
14
14
|
response:
|
@@ -19,7 +19,7 @@ http_interactions:
|
|
19
19
|
Content-Type:
|
20
20
|
- application/json
|
21
21
|
Date:
|
22
|
-
-
|
22
|
+
- Fri, 28 Feb 2014 21:42:20 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":"c1702eab6f9a5dbe0060fbcbe0c223b7a19bac405854684683695b6b9f614414","Warnings":null}
|
31
31
|
http_version:
|
32
|
-
recorded_at:
|
32
|
+
recorded_at: Fri, 28 Feb 2014 21:42:20 GMT
|
33
33
|
- request:
|
34
34
|
method: post
|
35
|
-
uri: unix:///var/run/docker.sock/v1.
|
35
|
+
uri: unix:///var/run/docker.sock/v1.9/containers/c1702eab6f9a5dbe0060fbcbe0c223b7a19bac405854684683695b6b9f614414/start
|
36
36
|
body:
|
37
37
|
encoding: UTF-8
|
38
38
|
string: "{}"
|
39
39
|
headers:
|
40
40
|
User-Agent:
|
41
|
-
- Swipely/Docker-API 1.
|
41
|
+
- Swipely/Docker-API 1.8.4
|
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, 28 Feb 2014 21:42:21 GMT
|
51
51
|
Content-Length:
|
52
52
|
- '0'
|
53
53
|
Content-Type:
|
@@ -58,5 +58,5 @@ http_interactions:
|
|
58
58
|
encoding: UTF-8
|
59
59
|
string: ''
|
60
60
|
http_version:
|
61
|
-
recorded_at:
|
61
|
+
recorded_at: Fri, 28 Feb 2014 21:42:21 GMT
|
62
62
|
recorded_with: VCR 2.8.0
|
@@ -2,13 +2,13 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: post
|
5
|
-
uri: unix:///var/run/docker.sock/v1.
|
5
|
+
uri: unix:///var/run/docker.sock/v1.9/containers/create
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
8
|
string: "{\"Cmd\":[\"sleep\",\"5\"],\"Image\":\"base\"}"
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- Swipely/Docker-API 1.
|
11
|
+
- Swipely/Docker-API 1.8.4
|
12
12
|
Content-Type:
|
13
13
|
- application/json
|
14
14
|
response:
|
@@ -19,7 +19,7 @@ http_interactions:
|
|
19
19
|
Content-Type:
|
20
20
|
- application/json
|
21
21
|
Date:
|
22
|
-
-
|
22
|
+
- Fri, 28 Feb 2014 21:42:13 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":"0517c96c3374914c500082770534605888b8894370ee4ec271e334b2d20145a0","Warnings":null}
|
31
31
|
http_version:
|
32
|
-
recorded_at:
|
32
|
+
recorded_at: Fri, 28 Feb 2014 21:42:13 GMT
|
33
33
|
- request:
|
34
34
|
method: post
|
35
|
-
uri: unix:///var/run/docker.sock/v1.
|
35
|
+
uri: unix:///var/run/docker.sock/v1.9/containers/0517c96c3374914c500082770534605888b8894370ee4ec271e334b2d20145a0/start
|
36
36
|
body:
|
37
37
|
encoding: UTF-8
|
38
38
|
string: "{}"
|
39
39
|
headers:
|
40
40
|
User-Agent:
|
41
|
-
- Swipely/Docker-API 1.
|
41
|
+
- Swipely/Docker-API 1.8.4
|
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, 28 Feb 2014 21:42:14 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, 28 Feb 2014 21:42:14 GMT
|
62
62
|
- request:
|
63
63
|
method: post
|
64
|
-
uri: unix:///var/run/docker.sock/v1.
|
64
|
+
uri: unix:///var/run/docker.sock/v1.9/containers/0517c96c3374914c500082770534605888b8894370ee4ec271e334b2d20145a0/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.8.4
|
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, 28 Feb 2014 21:42:20 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:
|
91
|
+
recorded_at: Fri, 28 Feb 2014 21:42:20 GMT
|
92
92
|
recorded_with: VCR 2.8.0
|