bigrig 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +3 -1
- data/bigrig.gemspec +1 -0
- data/lib/bigrig/dependency_graph.rb +3 -1
- data/lib/bigrig/version.rb +1 -1
- data/spec/bigrig/dependency_graph_spec.rb +10 -4
- data/spec/bigrig_spec.rb +44 -34
- data/spec/data/scan.json +2 -1
- data/spec/spec_helper.rb +1 -13
- data/spec/support/wait_for.rb +35 -0
- data/spec/vcr/Bigrig_DestroyAction/_perform/given_json_with_a_single_container/and_the_container_has_exited/should_remove_the_container.yml +46 -46
- data/spec/vcr/Bigrig_DestroyAction/_perform/given_json_with_a_single_container/and_the_container_is_running/kills_and_removes_the_container.yml +49 -49
- data/spec/vcr/Bigrig_DockerAdapter/_build/builds_the_given_directory.yml +8 -8
- data/spec/vcr/Bigrig_DockerAdapter/_build/passes_build_input_to_a_block.yml +4 -4
- data/spec/vcr/Bigrig_DockerAdapter/_container_exists_/when_the_container_does_not_exist/is_false.yml +8 -8
- data/spec/vcr/Bigrig_DockerAdapter/_container_exists_/when_the_container_exists/is_true.yml +9 -9
- data/spec/vcr/Bigrig_DockerAdapter/_image_id_by_tag/when_the_image_does_not_exist/raise_a_ImageNotFoundError.yml +12 -12
- data/spec/vcr/Bigrig_DockerAdapter/_image_id_by_tag/when_the_image_exists/returns_the_image_id.yml +12 -12
- data/spec/vcr/Bigrig_DockerAdapter/_kill/given_the_container_does_not_exist/should_raise_an_error.yml +8 -8
- data/spec/vcr/Bigrig_DockerAdapter/_kill/given_the_container_is_running/should_kill_the_container.yml +22 -22
- data/spec/vcr/Bigrig_DockerAdapter/_logs/streams_logs_to_a_block.yml +17 -17
- data/spec/vcr/Bigrig_DockerAdapter/_pull/given_a_block_to_capture_output/should_capture_output.yml +4 -4
- data/spec/vcr/Bigrig_DockerAdapter/_pull/given_the_repo_does_not_exist/raises_a_RepoNotFoundError.yml +2 -2
- data/spec/vcr/Bigrig_DockerAdapter/_pull/given_the_repo_exists/returns_the_image_id.yml +6 -6
- data/spec/vcr/Bigrig_DockerAdapter/_push/given_credentials/will_pass_login_and_password.yml +36 -36
- data/spec/vcr/Bigrig_DockerAdapter/_push/should_push_the_image.yml +453 -77
- data/spec/vcr/Bigrig_DockerAdapter/_remove_container/when_the_container_does_not_exist/raises_a_ContainerNotFoundError.yml +16 -16
- data/spec/vcr/Bigrig_DockerAdapter/_remove_container/when_the_container_exists/should_remove_the_container.yml +32 -32
- data/spec/vcr/Bigrig_DockerAdapter/_remove_container/when_the_container_is_running/raises_a_ContainerRunningError.yml +10 -10
- data/spec/vcr/Bigrig_DockerAdapter/_remove_image/when_the_image_doesnt_exist/raises_an_error.yml +8 -8
- data/spec/vcr/Bigrig_DockerAdapter/_remove_image/when_the_image_exists/removes_the_image.yml +28 -28
- data/spec/vcr/Bigrig_DockerAdapter/_run/given_an_image_id_that_exists/and_a_name/starts_the_container_with_the_right_name.yml +27 -27
- data/spec/vcr/Bigrig_DockerAdapter/_run/given_an_image_id_that_exists/and_a_name_and_env_variables/starts_the_container_with_env_set.yml +27 -27
- data/spec/vcr/Bigrig_DockerAdapter/_run/given_an_image_id_that_exists/and_a_name_and_ports/starts_the_container_with_ports_exposed.yml +32 -32
- data/spec/vcr/Bigrig_DockerAdapter/_running_/when_the_container_does_not_exist/returns_false.yml +8 -8
- data/spec/vcr/Bigrig_DockerAdapter/_running_/when_the_container_is_not_running/returns_false.yml +11 -11
- data/spec/vcr/Bigrig_DockerAdapter/_running_/when_the_container_is_running/returns_true.yml +13 -13
- data/spec/vcr/Bigrig_DockerAdapter/_tag/should_tag_the_image.yml +16 -16
- data/spec/vcr/Bigrig_LogAction/_perform/follows_the_log.yml +25 -25
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_a_path/builds_the_image_before_starting_it.yml +20 -20
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_hosts_by_ip/should_pass_hosts_to_container.yml +40 -40
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_hosts_by_name/should_lookup_ips_for_hosts_with_a_hostname.yml +41 -41
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_links/should_pass_links_to_the_right_container.yml +73 -73
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_multiple_containers/launches_both_containers_in_parallel.yml +52 -52
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_multiple_containers/spins_up_multiple_containers.yml +74 -74
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_one_container/should_spin_up_a_single_container.yml +36 -36
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_one_container/when_a_dead_container_exists/should_remove_existing_containers.yml +38 -38
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_volumes/should_pass_volumes_to_the_right_container.yml +40 -40
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_volumes_from/should_pass_volumes_from_to_the_right_container.yml +73 -73
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_volumes_from/starts_the_dependant_container_last.yml +52 -52
- data/spec/vcr/Bigrig_RunAction/_perform/when_activating_profiles_that_do_not_exist/ignores_the_missing_profile.yml +35 -35
- data/spec/vcr/Bigrig_RunAction/_perform/with_a_file_with_active_profiles/uses_the_overridden_image.yml +38 -38
- data/spec/vcr/bigrig/destroy/spec/data/single_json/kills_the_container.yml +14 -14
- data/spec/vcr/bigrig/dev/spec/data/dev_json/activates_the_dev_profile.yml +427 -37
- data/spec/vcr/bigrig/dev/spec/data/dev_json/destroys_containers_on_exit.yml +32 -32
- data/spec/vcr/bigrig/dev/spec/data/dev_json/starts_the_containers.yml +472 -76
- data/spec/vcr/bigrig/dev/spec/data/dev_json/tails_the_logs.yml +16 -16
- data/spec/vcr/bigrig/dev/spec/data/scan_json/leaves_unaffected_containers_alone_when_the_scanned_file_changes.yml +1544 -86
- data/spec/vcr/bigrig/dev/spec/data/scan_json/restarts_dependant_containers_when_the_scanned_file_changes.yml +1725 -69
- data/spec/vcr/bigrig/dev/spec/data/scan_json/restarts_the_container_when_the_scanned_file_changes.yml +1536 -96
- data/spec/vcr/bigrig/logs/spec/data/log_json/tails_the_logs.yml +17 -17
- data/spec/vcr/bigrig/run/spec/data/profiles_json_-p_qa/leaves_existing_env_values_alone.yml +11 -11
- data/spec/vcr/bigrig/run/spec/data/profiles_json_-p_qa/overrides_the_env.yml +11 -11
- data/spec/vcr/bigrig/run/spec/data/profiles_json_-p_qa/overrides_the_tag.yml +11 -11
- data/spec/vcr/bigrig/run/spec/data/single_json/sends_the_name_of_the_container_to_stdout.yml +9 -9
- data/spec/vcr/bigrig/run/spec/data/single_json/starts_the_container.yml +13 -13
- data/spec/vcr/bigrig/ship/spec/data/ship_json/with_a_version/-c/cleans_the_image_when_its_done.yml +20 -20
- data/spec/vcr/bigrig/ship/spec/data/ship_json/with_a_version/builds_and_pushes_the_image.yml +15 -15
- data/spec/vcr/bigrig_bin_bigrig_destroy_spec/data/single_json_kills_the_container.yml +21 -21
- data/spec/vcr/bigrig_bin_bigrig_dev_spec/data/dev_json_activates_the_dev_profile.yml +105 -305
- data/spec/vcr/bigrig_bin_bigrig_dev_spec/data/dev_json_starts_the_containers.yml +109 -307
- data/spec/vcr/bigrig_bin_bigrig_dev_spec/data/dev_json_tails_the_logs.yml +116 -116
- data/spec/vcr/bigrig_bin_bigrig_dev_spec/data/scan_json_leaves_unaffected_containers_alone_when_the_scanned_file_changes.yml +385 -382
- data/spec/vcr/bigrig_bin_bigrig_dev_spec/data/scan_json_restarts_dependant_containers_when_the_scanned_file_changes.yml +357 -354
- data/spec/vcr/bigrig_bin_bigrig_dev_spec/data/scan_json_restarts_the_container_when_the_scanned_file_changes.yml +358 -1091
- data/spec/vcr/bigrig_bin_bigrig_logs_spec/data/log_json_tails_the_logs.yml +21 -21
- data/spec/vcr/bigrig_bin_bigrig_run_spec/data/profiles_json_-p_qa_leaves_existing_env_values_alone.yml +24 -24
- data/spec/vcr/bigrig_bin_bigrig_run_spec/data/profiles_json_-p_qa_overrides_the_env.yml +24 -24
- data/spec/vcr/bigrig_bin_bigrig_run_spec/data/profiles_json_-p_qa_overrides_the_tag.yml +17 -17
- data/spec/vcr/bigrig_bin_bigrig_run_spec/data/single_json_sends_the_name_of_the_container_to_stdout.yml +24 -24
- data/spec/vcr/bigrig_bin_bigrig_run_spec/data/single_json_starts_the_container.yml +24 -24
- data/spec/vcr/bigrig_bin_bigrig_ship_spec/data/ship_json_with_a_version_-c_cleans_the_image_when_its_done.yml +439 -63
- data/spec/vcr/bigrig_bin_bigrig_ship_spec/data/ship_json_with_a_version_builds_and_pushes_the_image.yml +430 -54
- data/spec/waitfor_spec.rb +10 -0
- metadata +18 -2
@@ -19,7 +19,7 @@ http_interactions:
|
|
19
19
|
Content-Type:
|
20
20
|
- application/json
|
21
21
|
Date:
|
22
|
-
- Mon,
|
22
|
+
- Mon, 20 Apr 2015 23:27:50 GMT
|
23
23
|
Content-Length:
|
24
24
|
- '1859'
|
25
25
|
body:
|
@@ -27,7 +27,7 @@ http_interactions:
|
|
27
27
|
string: |
|
28
28
|
{"Architecture":"amd64","Author":"","Comment":"","Config":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":null,"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":["/bin/sh","-c","ruby /code/server.rb"],"Env":["PATH=/usr/local/bundle/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin","RUBY_MAJOR=2.1","RUBY_VERSION=2.1.3","GEM_HOME=/usr/local/bundle","BUNDLE_APP_CONFIG=/usr/local/bundle"],"ExposedPorts":{"80/tcp":{}},"Hostname":"e5474231b7cd","Image":"4929b61a5fda27a07a26efc94ad61504c0f4aa2fb50471bfa4fd61c656d42131","MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":[],"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Container":"d6d34d2bfd452f4175eab78597ddd29856f0af494d503b00f4160d5eb3f13f1b","ContainerConfig":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":["/bin/sh","-c","#(nop) ENTRYPOINT [/bin/sh -c ruby /code/server.rb]"],"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":["/bin/sh","-c","ruby /code/server.rb"],"Env":["PATH=/usr/local/bundle/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin","RUBY_MAJOR=2.1","RUBY_VERSION=2.1.3","GEM_HOME=/usr/local/bundle","BUNDLE_APP_CONFIG=/usr/local/bundle"],"ExposedPorts":{"80/tcp":{}},"Hostname":"e5474231b7cd","Image":"4929b61a5fda27a07a26efc94ad61504c0f4aa2fb50471bfa4fd61c656d42131","MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":[],"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Created":"2014-10-23T20:00:42.057514693Z","DockerVersion":"1.3.0","Id":"b9c5be3a918d80b0d898ed8eca3fc76f75c482b531238e539cb00f75bb4e12d2","Os":"linux","Parent":"4929b61a5fda27a07a26efc94ad61504c0f4aa2fb50471bfa4fd61c656d42131","Size":0,"VirtualSize":801041825}
|
29
29
|
http_version:
|
30
|
-
recorded_at: Mon,
|
30
|
+
recorded_at: Mon, 20 Apr 2015 23:27:50 GMT
|
31
31
|
- request:
|
32
32
|
method: get
|
33
33
|
uri: "<DOCKER_HOST>/v1.16/containers/single-test/json"
|
@@ -47,7 +47,7 @@ http_interactions:
|
|
47
47
|
Content-Type:
|
48
48
|
- text/plain; charset=utf-8
|
49
49
|
Date:
|
50
|
-
- Mon,
|
50
|
+
- Mon, 20 Apr 2015 23:27:50 GMT
|
51
51
|
Content-Length:
|
52
52
|
- '31'
|
53
53
|
body:
|
@@ -55,7 +55,7 @@ http_interactions:
|
|
55
55
|
string: |
|
56
56
|
No such container: single-test
|
57
57
|
http_version:
|
58
|
-
recorded_at: Mon,
|
58
|
+
recorded_at: Mon, 20 Apr 2015 23:27:50 GMT
|
59
59
|
- request:
|
60
60
|
method: get
|
61
61
|
uri: "<DOCKER_HOST>/v1.16/containers/single-test/json"
|
@@ -75,7 +75,7 @@ http_interactions:
|
|
75
75
|
Content-Type:
|
76
76
|
- text/plain; charset=utf-8
|
77
77
|
Date:
|
78
|
-
- Mon,
|
78
|
+
- Mon, 20 Apr 2015 23:27:50 GMT
|
79
79
|
Content-Length:
|
80
80
|
- '31'
|
81
81
|
body:
|
@@ -83,7 +83,7 @@ http_interactions:
|
|
83
83
|
string: |
|
84
84
|
No such container: single-test
|
85
85
|
http_version:
|
86
|
-
recorded_at: Mon,
|
86
|
+
recorded_at: Mon, 20 Apr 2015 23:27:50 GMT
|
87
87
|
- request:
|
88
88
|
method: get
|
89
89
|
uri: "<DOCKER_HOST>/v1.16/containers/single-test/json"
|
@@ -103,7 +103,7 @@ http_interactions:
|
|
103
103
|
Content-Type:
|
104
104
|
- text/plain; charset=utf-8
|
105
105
|
Date:
|
106
|
-
- Mon,
|
106
|
+
- Mon, 20 Apr 2015 23:27:50 GMT
|
107
107
|
Content-Length:
|
108
108
|
- '31'
|
109
109
|
body:
|
@@ -111,7 +111,7 @@ http_interactions:
|
|
111
111
|
string: |
|
112
112
|
No such container: single-test
|
113
113
|
http_version:
|
114
|
-
recorded_at: Mon,
|
114
|
+
recorded_at: Mon, 20 Apr 2015 23:27:50 GMT
|
115
115
|
- request:
|
116
116
|
method: get
|
117
117
|
uri: "<DOCKER_HOST>/v1.16/containers/single-test/json"
|
@@ -131,7 +131,7 @@ http_interactions:
|
|
131
131
|
Content-Type:
|
132
132
|
- text/plain; charset=utf-8
|
133
133
|
Date:
|
134
|
-
- Mon,
|
134
|
+
- Mon, 20 Apr 2015 23:27:51 GMT
|
135
135
|
Content-Length:
|
136
136
|
- '31'
|
137
137
|
body:
|
@@ -139,7 +139,7 @@ http_interactions:
|
|
139
139
|
string: |
|
140
140
|
No such container: single-test
|
141
141
|
http_version:
|
142
|
-
recorded_at: Mon,
|
142
|
+
recorded_at: Mon, 20 Apr 2015 23:27:50 GMT
|
143
143
|
- request:
|
144
144
|
method: get
|
145
145
|
uri: "<DOCKER_HOST>/v1.16/containers/single-test/json"
|
@@ -159,7 +159,7 @@ http_interactions:
|
|
159
159
|
Content-Type:
|
160
160
|
- text/plain; charset=utf-8
|
161
161
|
Date:
|
162
|
-
- Mon,
|
162
|
+
- Mon, 20 Apr 2015 23:27:51 GMT
|
163
163
|
Content-Length:
|
164
164
|
- '31'
|
165
165
|
body:
|
@@ -167,7 +167,7 @@ http_interactions:
|
|
167
167
|
string: |
|
168
168
|
No such container: single-test
|
169
169
|
http_version:
|
170
|
-
recorded_at: Mon,
|
170
|
+
recorded_at: Mon, 20 Apr 2015 23:27:50 GMT
|
171
171
|
- request:
|
172
172
|
method: get
|
173
173
|
uri: "<DOCKER_HOST>/v1.16/containers/single-test/json"
|
@@ -187,7 +187,7 @@ http_interactions:
|
|
187
187
|
Content-Type:
|
188
188
|
- text/plain; charset=utf-8
|
189
189
|
Date:
|
190
|
-
- Mon,
|
190
|
+
- Mon, 20 Apr 2015 23:27:51 GMT
|
191
191
|
Content-Length:
|
192
192
|
- '31'
|
193
193
|
body:
|
@@ -195,7 +195,7 @@ http_interactions:
|
|
195
195
|
string: |
|
196
196
|
No such container: single-test
|
197
197
|
http_version:
|
198
|
-
recorded_at: Mon,
|
198
|
+
recorded_at: Mon, 20 Apr 2015 23:27:50 GMT
|
199
199
|
- request:
|
200
200
|
method: get
|
201
201
|
uri: "<DOCKER_HOST>/v1.16/containers/single-test/json"
|
@@ -215,7 +215,7 @@ http_interactions:
|
|
215
215
|
Content-Type:
|
216
216
|
- text/plain; charset=utf-8
|
217
217
|
Date:
|
218
|
-
- Mon,
|
218
|
+
- Mon, 20 Apr 2015 23:27:51 GMT
|
219
219
|
Content-Length:
|
220
220
|
- '31'
|
221
221
|
body:
|
@@ -223,7 +223,7 @@ http_interactions:
|
|
223
223
|
string: |
|
224
224
|
No such container: single-test
|
225
225
|
http_version:
|
226
|
-
recorded_at: Mon,
|
226
|
+
recorded_at: Mon, 20 Apr 2015 23:27:50 GMT
|
227
227
|
- request:
|
228
228
|
method: get
|
229
229
|
uri: "<DOCKER_HOST>/v1.16/containers/single-test/json"
|
@@ -243,7 +243,7 @@ http_interactions:
|
|
243
243
|
Content-Type:
|
244
244
|
- text/plain; charset=utf-8
|
245
245
|
Date:
|
246
|
-
- Mon,
|
246
|
+
- Mon, 20 Apr 2015 23:27:51 GMT
|
247
247
|
Content-Length:
|
248
248
|
- '31'
|
249
249
|
body:
|
@@ -251,7 +251,7 @@ http_interactions:
|
|
251
251
|
string: |
|
252
252
|
No such container: single-test
|
253
253
|
http_version:
|
254
|
-
recorded_at: Mon,
|
254
|
+
recorded_at: Mon, 20 Apr 2015 23:27:50 GMT
|
255
255
|
- request:
|
256
256
|
method: post
|
257
257
|
uri: "<DOCKER_HOST>/v1.16/containers/create?name=single-test"
|
@@ -271,18 +271,18 @@ http_interactions:
|
|
271
271
|
Content-Type:
|
272
272
|
- application/json
|
273
273
|
Date:
|
274
|
-
- Mon,
|
274
|
+
- Mon, 20 Apr 2015 23:27:51 GMT
|
275
275
|
Content-Length:
|
276
276
|
- '90'
|
277
277
|
body:
|
278
278
|
encoding: UTF-8
|
279
279
|
string: |
|
280
|
-
{"Id":"
|
280
|
+
{"Id":"f6f1f7761e4097720148c9f847a323d394de520867c43f55e29f4b60da1f3b9e","Warnings":null}
|
281
281
|
http_version:
|
282
|
-
recorded_at: Mon,
|
282
|
+
recorded_at: Mon, 20 Apr 2015 23:27:51 GMT
|
283
283
|
- request:
|
284
284
|
method: post
|
285
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
285
|
+
uri: "<DOCKER_HOST>/v1.16/containers/f6f1f7761e4097720148c9f847a323d394de520867c43f55e29f4b60da1f3b9e/start"
|
286
286
|
body:
|
287
287
|
encoding: UTF-8
|
288
288
|
string: '{"Links":[],"ExtraHosts":[],"PortBindings":{},"VolumesFrom":[],"Binds":[]}'
|
@@ -297,12 +297,12 @@ http_interactions:
|
|
297
297
|
message:
|
298
298
|
headers:
|
299
299
|
Date:
|
300
|
-
- Mon,
|
300
|
+
- Mon, 20 Apr 2015 23:27:51 GMT
|
301
301
|
body:
|
302
302
|
encoding: UTF-8
|
303
303
|
string: ''
|
304
304
|
http_version:
|
305
|
-
recorded_at: Mon,
|
305
|
+
recorded_at: Mon, 20 Apr 2015 23:27:51 GMT
|
306
306
|
- request:
|
307
307
|
method: get
|
308
308
|
uri: "<DOCKER_HOST>/v1.16/containers/single-test/json"
|
@@ -322,13 +322,13 @@ http_interactions:
|
|
322
322
|
Content-Type:
|
323
323
|
- application/json
|
324
324
|
Date:
|
325
|
-
- Mon,
|
325
|
+
- Mon, 20 Apr 2015 23:27:51 GMT
|
326
326
|
body:
|
327
327
|
encoding: UTF-8
|
328
328
|
string: |
|
329
|
-
{"AppArmorProfile":"","Args":["-c","ruby /code/server.rb"],"Config":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":null,"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":["/bin/sh","-c","ruby /code/server.rb"],"Env":["PATH=/usr/local/bundle/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin","RUBY_MAJOR=2.1","RUBY_VERSION=2.1.3","GEM_HOME=/usr/local/bundle","BUNDLE_APP_CONFIG=/usr/local/bundle"],"ExposedPorts":{"80/tcp":{}},"Hostname":"
|
329
|
+
{"AppArmorProfile":"","Args":["-c","ruby /code/server.rb"],"Config":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":null,"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":["/bin/sh","-c","ruby /code/server.rb"],"Env":["PATH=/usr/local/bundle/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin","RUBY_MAJOR=2.1","RUBY_VERSION=2.1.3","GEM_HOME=/usr/local/bundle","BUNDLE_APP_CONFIG=/usr/local/bundle"],"ExposedPorts":{"80/tcp":{}},"Hostname":"f6f1f7761e40","Image":"b9c5be3a918d80b0d898ed8eca3fc76f75c482b531238e539cb00f75bb4e12d2","MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":null,"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Created":"2015-04-20T23:27:51.265301105Z","Driver":"aufs","ExecDriver":"native-0.2","ExecIDs":null,"HostConfig":{"Binds":[],"CapAdd":null,"CapDrop":null,"ContainerIDFile":"","Devices":null,"Dns":null,"DnsSearch":null,"ExtraHosts":[],"IpcMode":"","Links":null,"LxcConf":null,"NetworkMode":"","PidMode":"","PortBindings":{},"Privileged":false,"PublishAllPorts":false,"ReadonlyRootfs":false,"RestartPolicy":{"MaximumRetryCount":0,"Name":""},"SecurityOpt":null,"VolumesFrom":[]},"HostnamePath":"/mnt/sda1/var/lib/docker/containers/f6f1f7761e4097720148c9f847a323d394de520867c43f55e29f4b60da1f3b9e/hostname","HostsPath":"/mnt/sda1/var/lib/docker/containers/f6f1f7761e4097720148c9f847a323d394de520867c43f55e29f4b60da1f3b9e/hosts","Id":"f6f1f7761e4097720148c9f847a323d394de520867c43f55e29f4b60da1f3b9e","Image":"b9c5be3a918d80b0d898ed8eca3fc76f75c482b531238e539cb00f75bb4e12d2","MountLabel":"","Name":"/single-test","NetworkSettings":{"Bridge":"docker0","Gateway":"172.17.42.1","GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"IPAddress":"172.17.7.183","IPPrefixLen":16,"IPv6Gateway":"","LinkLocalIPv6Address":"fe80::42:acff:fe11:7b7","LinkLocalIPv6PrefixLen":64,"MacAddress":"02:42:ac:11:07:b7","PortMapping":null,"Ports":{"80/tcp":null}},"Path":"/bin/sh","ProcessLabel":"","ResolvConfPath":"/mnt/sda1/var/lib/docker/containers/f6f1f7761e4097720148c9f847a323d394de520867c43f55e29f4b60da1f3b9e/resolv.conf","RestartCount":0,"State":{"Error":"","ExitCode":0,"FinishedAt":"0001-01-01T00:00:00Z","OOMKilled":false,"Paused":false,"Pid":13121,"Restarting":false,"Running":true,"StartedAt":"2015-04-20T23:27:51.678909526Z"},"Volumes":{},"VolumesRW":{}}
|
330
330
|
http_version:
|
331
|
-
recorded_at: Mon,
|
331
|
+
recorded_at: Mon, 20 Apr 2015 23:27:51 GMT
|
332
332
|
- request:
|
333
333
|
method: get
|
334
334
|
uri: "<DOCKER_HOST>/v1.16/containers/single-test/json"
|
@@ -348,16 +348,16 @@ http_interactions:
|
|
348
348
|
Content-Type:
|
349
349
|
- application/json
|
350
350
|
Date:
|
351
|
-
- Mon,
|
351
|
+
- Mon, 20 Apr 2015 23:27:51 GMT
|
352
352
|
body:
|
353
353
|
encoding: UTF-8
|
354
354
|
string: |
|
355
|
-
{"AppArmorProfile":"","Args":["-c","ruby /code/server.rb"],"Config":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":null,"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":["/bin/sh","-c","ruby /code/server.rb"],"Env":["PATH=/usr/local/bundle/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin","RUBY_MAJOR=2.1","RUBY_VERSION=2.1.3","GEM_HOME=/usr/local/bundle","BUNDLE_APP_CONFIG=/usr/local/bundle"],"ExposedPorts":{"80/tcp":{}},"Hostname":"
|
355
|
+
{"AppArmorProfile":"","Args":["-c","ruby /code/server.rb"],"Config":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":null,"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":["/bin/sh","-c","ruby /code/server.rb"],"Env":["PATH=/usr/local/bundle/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin","RUBY_MAJOR=2.1","RUBY_VERSION=2.1.3","GEM_HOME=/usr/local/bundle","BUNDLE_APP_CONFIG=/usr/local/bundle"],"ExposedPorts":{"80/tcp":{}},"Hostname":"f6f1f7761e40","Image":"b9c5be3a918d80b0d898ed8eca3fc76f75c482b531238e539cb00f75bb4e12d2","MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":null,"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Created":"2015-04-20T23:27:51.265301105Z","Driver":"aufs","ExecDriver":"native-0.2","ExecIDs":null,"HostConfig":{"Binds":[],"CapAdd":null,"CapDrop":null,"ContainerIDFile":"","Devices":null,"Dns":null,"DnsSearch":null,"ExtraHosts":[],"IpcMode":"","Links":null,"LxcConf":null,"NetworkMode":"","PidMode":"","PortBindings":{},"Privileged":false,"PublishAllPorts":false,"ReadonlyRootfs":false,"RestartPolicy":{"MaximumRetryCount":0,"Name":""},"SecurityOpt":null,"VolumesFrom":[]},"HostnamePath":"/mnt/sda1/var/lib/docker/containers/f6f1f7761e4097720148c9f847a323d394de520867c43f55e29f4b60da1f3b9e/hostname","HostsPath":"/mnt/sda1/var/lib/docker/containers/f6f1f7761e4097720148c9f847a323d394de520867c43f55e29f4b60da1f3b9e/hosts","Id":"f6f1f7761e4097720148c9f847a323d394de520867c43f55e29f4b60da1f3b9e","Image":"b9c5be3a918d80b0d898ed8eca3fc76f75c482b531238e539cb00f75bb4e12d2","MountLabel":"","Name":"/single-test","NetworkSettings":{"Bridge":"docker0","Gateway":"172.17.42.1","GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"IPAddress":"172.17.7.183","IPPrefixLen":16,"IPv6Gateway":"","LinkLocalIPv6Address":"fe80::42:acff:fe11:7b7","LinkLocalIPv6PrefixLen":64,"MacAddress":"02:42:ac:11:07:b7","PortMapping":null,"Ports":{"80/tcp":null}},"Path":"/bin/sh","ProcessLabel":"","ResolvConfPath":"/mnt/sda1/var/lib/docker/containers/f6f1f7761e4097720148c9f847a323d394de520867c43f55e29f4b60da1f3b9e/resolv.conf","RestartCount":0,"State":{"Error":"","ExitCode":0,"FinishedAt":"0001-01-01T00:00:00Z","OOMKilled":false,"Paused":false,"Pid":13121,"Restarting":false,"Running":true,"StartedAt":"2015-04-20T23:27:51.678909526Z"},"Volumes":{},"VolumesRW":{}}
|
356
356
|
http_version:
|
357
|
-
recorded_at: Mon,
|
357
|
+
recorded_at: Mon, 20 Apr 2015 23:27:51 GMT
|
358
358
|
- request:
|
359
359
|
method: post
|
360
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
360
|
+
uri: "<DOCKER_HOST>/v1.16/containers/f6f1f7761e4097720148c9f847a323d394de520867c43f55e29f4b60da1f3b9e/kill"
|
361
361
|
body:
|
362
362
|
encoding: US-ASCII
|
363
363
|
string: ''
|
@@ -372,15 +372,15 @@ http_interactions:
|
|
372
372
|
message:
|
373
373
|
headers:
|
374
374
|
Date:
|
375
|
-
- Mon,
|
375
|
+
- Mon, 20 Apr 2015 23:27:52 GMT
|
376
376
|
body:
|
377
377
|
encoding: UTF-8
|
378
378
|
string: ''
|
379
379
|
http_version:
|
380
|
-
recorded_at: Mon,
|
380
|
+
recorded_at: Mon, 20 Apr 2015 23:27:51 GMT
|
381
381
|
- request:
|
382
382
|
method: delete
|
383
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
383
|
+
uri: "<DOCKER_HOST>/v1.16/containers/f6f1f7761e4097720148c9f847a323d394de520867c43f55e29f4b60da1f3b9e"
|
384
384
|
body:
|
385
385
|
encoding: US-ASCII
|
386
386
|
string: ''
|
@@ -395,10 +395,10 @@ http_interactions:
|
|
395
395
|
message:
|
396
396
|
headers:
|
397
397
|
Date:
|
398
|
-
- Mon,
|
398
|
+
- Mon, 20 Apr 2015 23:27:52 GMT
|
399
399
|
body:
|
400
400
|
encoding: UTF-8
|
401
401
|
string: ''
|
402
402
|
http_version:
|
403
|
-
recorded_at: Mon,
|
403
|
+
recorded_at: Mon, 20 Apr 2015 23:27:51 GMT
|
404
404
|
recorded_with: VCR 2.9.3
|
@@ -19,18 +19,18 @@ http_interactions:
|
|
19
19
|
Content-Type:
|
20
20
|
- application/json
|
21
21
|
Date:
|
22
|
-
- Mon,
|
22
|
+
- Mon, 20 Apr 2015 23:27:52 GMT
|
23
23
|
Content-Length:
|
24
24
|
- '90'
|
25
25
|
body:
|
26
26
|
encoding: UTF-8
|
27
27
|
string: |
|
28
|
-
{"Id":"
|
28
|
+
{"Id":"b23cbd0b5c02504cb0415d3f0a50c3693c5340ac07e2f6bebb991b43aff5b342","Warnings":null}
|
29
29
|
http_version:
|
30
|
-
recorded_at: Mon,
|
30
|
+
recorded_at: Mon, 20 Apr 2015 23:27:52 GMT
|
31
31
|
- request:
|
32
32
|
method: post
|
33
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
33
|
+
uri: "<DOCKER_HOST>/v1.16/containers/b23cbd0b5c02504cb0415d3f0a50c3693c5340ac07e2f6bebb991b43aff5b342/start"
|
34
34
|
body:
|
35
35
|
encoding: UTF-8
|
36
36
|
string: "{}"
|
@@ -45,15 +45,15 @@ http_interactions:
|
|
45
45
|
message:
|
46
46
|
headers:
|
47
47
|
Date:
|
48
|
-
- Mon,
|
48
|
+
- Mon, 20 Apr 2015 23:27:52 GMT
|
49
49
|
body:
|
50
50
|
encoding: UTF-8
|
51
51
|
string: ''
|
52
52
|
http_version:
|
53
|
-
recorded_at: Mon,
|
53
|
+
recorded_at: Mon, 20 Apr 2015 23:27:52 GMT
|
54
54
|
- request:
|
55
55
|
method: post
|
56
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
56
|
+
uri: "<DOCKER_HOST>/v1.16/containers/b23cbd0b5c02504cb0415d3f0a50c3693c5340ac07e2f6bebb991b43aff5b342/kill"
|
57
57
|
body:
|
58
58
|
encoding: US-ASCII
|
59
59
|
string: ''
|
@@ -68,12 +68,12 @@ http_interactions:
|
|
68
68
|
message:
|
69
69
|
headers:
|
70
70
|
Date:
|
71
|
-
- Mon,
|
71
|
+
- Mon, 20 Apr 2015 23:27:53 GMT
|
72
72
|
body:
|
73
73
|
encoding: UTF-8
|
74
74
|
string: ''
|
75
75
|
http_version:
|
76
|
-
recorded_at: Mon,
|
76
|
+
recorded_at: Mon, 20 Apr 2015 23:27:52 GMT
|
77
77
|
- request:
|
78
78
|
method: get
|
79
79
|
uri: "<DOCKER_HOST>/v1.16/images/hawknewton/show-env:0.0.1/json"
|
@@ -93,7 +93,7 @@ http_interactions:
|
|
93
93
|
Content-Type:
|
94
94
|
- application/json
|
95
95
|
Date:
|
96
|
-
- Mon,
|
96
|
+
- Mon, 20 Apr 2015 23:27:53 GMT
|
97
97
|
Content-Length:
|
98
98
|
- '1859'
|
99
99
|
body:
|
@@ -101,7 +101,7 @@ http_interactions:
|
|
101
101
|
string: |
|
102
102
|
{"Architecture":"amd64","Author":"","Comment":"","Config":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":null,"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":["/bin/sh","-c","ruby /code/server.rb"],"Env":["PATH=/usr/local/bundle/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin","RUBY_MAJOR=2.1","RUBY_VERSION=2.1.3","GEM_HOME=/usr/local/bundle","BUNDLE_APP_CONFIG=/usr/local/bundle"],"ExposedPorts":{"80/tcp":{}},"Hostname":"e5474231b7cd","Image":"4929b61a5fda27a07a26efc94ad61504c0f4aa2fb50471bfa4fd61c656d42131","MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":[],"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Container":"d6d34d2bfd452f4175eab78597ddd29856f0af494d503b00f4160d5eb3f13f1b","ContainerConfig":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":["/bin/sh","-c","#(nop) ENTRYPOINT [/bin/sh -c ruby /code/server.rb]"],"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":["/bin/sh","-c","ruby /code/server.rb"],"Env":["PATH=/usr/local/bundle/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin","RUBY_MAJOR=2.1","RUBY_VERSION=2.1.3","GEM_HOME=/usr/local/bundle","BUNDLE_APP_CONFIG=/usr/local/bundle"],"ExposedPorts":{"80/tcp":{}},"Hostname":"e5474231b7cd","Image":"4929b61a5fda27a07a26efc94ad61504c0f4aa2fb50471bfa4fd61c656d42131","MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":[],"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Created":"2014-10-23T20:00:42.057514693Z","DockerVersion":"1.3.0","Id":"b9c5be3a918d80b0d898ed8eca3fc76f75c482b531238e539cb00f75bb4e12d2","Os":"linux","Parent":"4929b61a5fda27a07a26efc94ad61504c0f4aa2fb50471bfa4fd61c656d42131","Size":0,"VirtualSize":801041825}
|
103
103
|
http_version:
|
104
|
-
recorded_at: Mon,
|
104
|
+
recorded_at: Mon, 20 Apr 2015 23:27:52 GMT
|
105
105
|
- request:
|
106
106
|
method: get
|
107
107
|
uri: "<DOCKER_HOST>/v1.16/containers/single-test/json"
|
@@ -121,13 +121,13 @@ http_interactions:
|
|
121
121
|
Content-Type:
|
122
122
|
- application/json
|
123
123
|
Date:
|
124
|
-
- Mon,
|
124
|
+
- Mon, 20 Apr 2015 23:27:53 GMT
|
125
125
|
body:
|
126
126
|
encoding: UTF-8
|
127
127
|
string: |
|
128
|
-
{"AppArmorProfile":"","Args":["-c","ruby /code/server.rb"],"Config":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":null,"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":["/bin/sh","-c","ruby /code/server.rb"],"Env":["PATH=/usr/local/bundle/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin","RUBY_MAJOR=2.1","RUBY_VERSION=2.1.3","GEM_HOME=/usr/local/bundle","BUNDLE_APP_CONFIG=/usr/local/bundle"],"ExposedPorts":{"80/tcp":{}},"Hostname":"
|
128
|
+
{"AppArmorProfile":"","Args":["-c","ruby /code/server.rb"],"Config":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":null,"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":["/bin/sh","-c","ruby /code/server.rb"],"Env":["PATH=/usr/local/bundle/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin","RUBY_MAJOR=2.1","RUBY_VERSION=2.1.3","GEM_HOME=/usr/local/bundle","BUNDLE_APP_CONFIG=/usr/local/bundle"],"ExposedPorts":{"80/tcp":{}},"Hostname":"b23cbd0b5c02","Image":"hawknewton/show-env","MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":null,"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Created":"2015-04-20T23:27:52.21161849Z","Driver":"aufs","ExecDriver":"native-0.2","ExecIDs":null,"HostConfig":{"Binds":null,"CapAdd":null,"CapDrop":null,"ContainerIDFile":"","Devices":null,"Dns":null,"DnsSearch":null,"ExtraHosts":null,"IpcMode":"","Links":null,"LxcConf":null,"NetworkMode":"","PidMode":"","PortBindings":null,"Privileged":false,"PublishAllPorts":false,"ReadonlyRootfs":false,"RestartPolicy":{"MaximumRetryCount":0,"Name":""},"SecurityOpt":null,"VolumesFrom":null},"HostnamePath":"/mnt/sda1/var/lib/docker/containers/b23cbd0b5c02504cb0415d3f0a50c3693c5340ac07e2f6bebb991b43aff5b342/hostname","HostsPath":"/mnt/sda1/var/lib/docker/containers/b23cbd0b5c02504cb0415d3f0a50c3693c5340ac07e2f6bebb991b43aff5b342/hosts","Id":"b23cbd0b5c02504cb0415d3f0a50c3693c5340ac07e2f6bebb991b43aff5b342","Image":"b9c5be3a918d80b0d898ed8eca3fc76f75c482b531238e539cb00f75bb4e12d2","MountLabel":"","Name":"/single-test","NetworkSettings":{"Bridge":"","Gateway":"","GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"IPAddress":"","IPPrefixLen":0,"IPv6Gateway":"","LinkLocalIPv6Address":"","LinkLocalIPv6PrefixLen":0,"MacAddress":"","PortMapping":null,"Ports":null},"Path":"/bin/sh","ProcessLabel":"","ResolvConfPath":"/mnt/sda1/var/lib/docker/containers/b23cbd0b5c02504cb0415d3f0a50c3693c5340ac07e2f6bebb991b43aff5b342/resolv.conf","RestartCount":0,"State":{"Error":"","ExitCode":137,"FinishedAt":"2015-04-20T23:27:53.017306008Z","OOMKilled":false,"Paused":false,"Pid":0,"Restarting":false,"Running":false,"StartedAt":"2015-04-20T23:27:52.818000406Z"},"Volumes":{},"VolumesRW":{}}
|
129
129
|
http_version:
|
130
|
-
recorded_at: Mon,
|
130
|
+
recorded_at: Mon, 20 Apr 2015 23:27:52 GMT
|
131
131
|
- request:
|
132
132
|
method: get
|
133
133
|
uri: "<DOCKER_HOST>/v1.16/containers/single-test/json"
|
@@ -147,16 +147,16 @@ http_interactions:
|
|
147
147
|
Content-Type:
|
148
148
|
- application/json
|
149
149
|
Date:
|
150
|
-
- Mon,
|
150
|
+
- Mon, 20 Apr 2015 23:27:53 GMT
|
151
151
|
body:
|
152
152
|
encoding: UTF-8
|
153
153
|
string: |
|
154
|
-
{"AppArmorProfile":"","Args":["-c","ruby /code/server.rb"],"Config":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":null,"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":["/bin/sh","-c","ruby /code/server.rb"],"Env":["PATH=/usr/local/bundle/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin","RUBY_MAJOR=2.1","RUBY_VERSION=2.1.3","GEM_HOME=/usr/local/bundle","BUNDLE_APP_CONFIG=/usr/local/bundle"],"ExposedPorts":{"80/tcp":{}},"Hostname":"
|
154
|
+
{"AppArmorProfile":"","Args":["-c","ruby /code/server.rb"],"Config":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":null,"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":["/bin/sh","-c","ruby /code/server.rb"],"Env":["PATH=/usr/local/bundle/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin","RUBY_MAJOR=2.1","RUBY_VERSION=2.1.3","GEM_HOME=/usr/local/bundle","BUNDLE_APP_CONFIG=/usr/local/bundle"],"ExposedPorts":{"80/tcp":{}},"Hostname":"b23cbd0b5c02","Image":"hawknewton/show-env","MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":null,"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Created":"2015-04-20T23:27:52.21161849Z","Driver":"aufs","ExecDriver":"native-0.2","ExecIDs":null,"HostConfig":{"Binds":null,"CapAdd":null,"CapDrop":null,"ContainerIDFile":"","Devices":null,"Dns":null,"DnsSearch":null,"ExtraHosts":null,"IpcMode":"","Links":null,"LxcConf":null,"NetworkMode":"","PidMode":"","PortBindings":null,"Privileged":false,"PublishAllPorts":false,"ReadonlyRootfs":false,"RestartPolicy":{"MaximumRetryCount":0,"Name":""},"SecurityOpt":null,"VolumesFrom":null},"HostnamePath":"/mnt/sda1/var/lib/docker/containers/b23cbd0b5c02504cb0415d3f0a50c3693c5340ac07e2f6bebb991b43aff5b342/hostname","HostsPath":"/mnt/sda1/var/lib/docker/containers/b23cbd0b5c02504cb0415d3f0a50c3693c5340ac07e2f6bebb991b43aff5b342/hosts","Id":"b23cbd0b5c02504cb0415d3f0a50c3693c5340ac07e2f6bebb991b43aff5b342","Image":"b9c5be3a918d80b0d898ed8eca3fc76f75c482b531238e539cb00f75bb4e12d2","MountLabel":"","Name":"/single-test","NetworkSettings":{"Bridge":"","Gateway":"","GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"IPAddress":"","IPPrefixLen":0,"IPv6Gateway":"","LinkLocalIPv6Address":"","LinkLocalIPv6PrefixLen":0,"MacAddress":"","PortMapping":null,"Ports":null},"Path":"/bin/sh","ProcessLabel":"","ResolvConfPath":"/mnt/sda1/var/lib/docker/containers/b23cbd0b5c02504cb0415d3f0a50c3693c5340ac07e2f6bebb991b43aff5b342/resolv.conf","RestartCount":0,"State":{"Error":"","ExitCode":137,"FinishedAt":"2015-04-20T23:27:53.017306008Z","OOMKilled":false,"Paused":false,"Pid":0,"Restarting":false,"Running":false,"StartedAt":"2015-04-20T23:27:52.818000406Z"},"Volumes":{},"VolumesRW":{}}
|
155
155
|
http_version:
|
156
|
-
recorded_at: Mon,
|
156
|
+
recorded_at: Mon, 20 Apr 2015 23:27:53 GMT
|
157
157
|
- request:
|
158
158
|
method: delete
|
159
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
159
|
+
uri: "<DOCKER_HOST>/v1.16/containers/b23cbd0b5c02504cb0415d3f0a50c3693c5340ac07e2f6bebb991b43aff5b342"
|
160
160
|
body:
|
161
161
|
encoding: US-ASCII
|
162
162
|
string: ''
|
@@ -171,12 +171,12 @@ http_interactions:
|
|
171
171
|
message:
|
172
172
|
headers:
|
173
173
|
Date:
|
174
|
-
- Mon,
|
174
|
+
- Mon, 20 Apr 2015 23:27:53 GMT
|
175
175
|
body:
|
176
176
|
encoding: UTF-8
|
177
177
|
string: ''
|
178
178
|
http_version:
|
179
|
-
recorded_at: Mon,
|
179
|
+
recorded_at: Mon, 20 Apr 2015 23:27:53 GMT
|
180
180
|
- request:
|
181
181
|
method: post
|
182
182
|
uri: "<DOCKER_HOST>/v1.16/containers/create?name=single-test"
|
@@ -196,18 +196,18 @@ http_interactions:
|
|
196
196
|
Content-Type:
|
197
197
|
- application/json
|
198
198
|
Date:
|
199
|
-
- Mon,
|
199
|
+
- Mon, 20 Apr 2015 23:27:53 GMT
|
200
200
|
Content-Length:
|
201
201
|
- '90'
|
202
202
|
body:
|
203
203
|
encoding: UTF-8
|
204
204
|
string: |
|
205
|
-
{"Id":"
|
205
|
+
{"Id":"f38cc5e3e05b4794b21044602515247c53af999959c6b60be391d3dd8e601cd5","Warnings":null}
|
206
206
|
http_version:
|
207
|
-
recorded_at: Mon,
|
207
|
+
recorded_at: Mon, 20 Apr 2015 23:27:53 GMT
|
208
208
|
- request:
|
209
209
|
method: post
|
210
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
210
|
+
uri: "<DOCKER_HOST>/v1.16/containers/f38cc5e3e05b4794b21044602515247c53af999959c6b60be391d3dd8e601cd5/start"
|
211
211
|
body:
|
212
212
|
encoding: UTF-8
|
213
213
|
string: '{"Links":[],"ExtraHosts":[],"PortBindings":{},"VolumesFrom":[],"Binds":[]}'
|
@@ -222,12 +222,12 @@ http_interactions:
|
|
222
222
|
message:
|
223
223
|
headers:
|
224
224
|
Date:
|
225
|
-
- Mon,
|
225
|
+
- Mon, 20 Apr 2015 23:27:53 GMT
|
226
226
|
body:
|
227
227
|
encoding: UTF-8
|
228
228
|
string: ''
|
229
229
|
http_version:
|
230
|
-
recorded_at: Mon,
|
230
|
+
recorded_at: Mon, 20 Apr 2015 23:27:53 GMT
|
231
231
|
- request:
|
232
232
|
method: get
|
233
233
|
uri: "<DOCKER_HOST>/v1.16/containers/single-test/json"
|
@@ -247,13 +247,13 @@ http_interactions:
|
|
247
247
|
Content-Type:
|
248
248
|
- application/json
|
249
249
|
Date:
|
250
|
-
- Mon,
|
250
|
+
- Mon, 20 Apr 2015 23:27:53 GMT
|
251
251
|
body:
|
252
252
|
encoding: UTF-8
|
253
253
|
string: |
|
254
|
-
{"AppArmorProfile":"","Args":["-c","ruby /code/server.rb"],"Config":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":null,"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":["/bin/sh","-c","ruby /code/server.rb"],"Env":["PATH=/usr/local/bundle/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin","RUBY_MAJOR=2.1","RUBY_VERSION=2.1.3","GEM_HOME=/usr/local/bundle","BUNDLE_APP_CONFIG=/usr/local/bundle"],"ExposedPorts":{"80/tcp":{}},"Hostname":"
|
254
|
+
{"AppArmorProfile":"","Args":["-c","ruby /code/server.rb"],"Config":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":null,"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":["/bin/sh","-c","ruby /code/server.rb"],"Env":["PATH=/usr/local/bundle/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin","RUBY_MAJOR=2.1","RUBY_VERSION=2.1.3","GEM_HOME=/usr/local/bundle","BUNDLE_APP_CONFIG=/usr/local/bundle"],"ExposedPorts":{"80/tcp":{}},"Hostname":"f38cc5e3e05b","Image":"b9c5be3a918d80b0d898ed8eca3fc76f75c482b531238e539cb00f75bb4e12d2","MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":null,"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Created":"2015-04-20T23:27:53.350586786Z","Driver":"aufs","ExecDriver":"native-0.2","ExecIDs":null,"HostConfig":{"Binds":[],"CapAdd":null,"CapDrop":null,"ContainerIDFile":"","Devices":null,"Dns":null,"DnsSearch":null,"ExtraHosts":[],"IpcMode":"","Links":null,"LxcConf":null,"NetworkMode":"","PidMode":"","PortBindings":{},"Privileged":false,"PublishAllPorts":false,"ReadonlyRootfs":false,"RestartPolicy":{"MaximumRetryCount":0,"Name":""},"SecurityOpt":null,"VolumesFrom":[]},"HostnamePath":"/mnt/sda1/var/lib/docker/containers/f38cc5e3e05b4794b21044602515247c53af999959c6b60be391d3dd8e601cd5/hostname","HostsPath":"/mnt/sda1/var/lib/docker/containers/f38cc5e3e05b4794b21044602515247c53af999959c6b60be391d3dd8e601cd5/hosts","Id":"f38cc5e3e05b4794b21044602515247c53af999959c6b60be391d3dd8e601cd5","Image":"b9c5be3a918d80b0d898ed8eca3fc76f75c482b531238e539cb00f75bb4e12d2","MountLabel":"","Name":"/single-test","NetworkSettings":{"Bridge":"docker0","Gateway":"172.17.42.1","GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"IPAddress":"172.17.7.185","IPPrefixLen":16,"IPv6Gateway":"","LinkLocalIPv6Address":"fe80::42:acff:fe11:7b9","LinkLocalIPv6PrefixLen":64,"MacAddress":"02:42:ac:11:07:b9","PortMapping":null,"Ports":{"80/tcp":null}},"Path":"/bin/sh","ProcessLabel":"","ResolvConfPath":"/mnt/sda1/var/lib/docker/containers/f38cc5e3e05b4794b21044602515247c53af999959c6b60be391d3dd8e601cd5/resolv.conf","RestartCount":0,"State":{"Error":"","ExitCode":0,"FinishedAt":"0001-01-01T00:00:00Z","OOMKilled":false,"Paused":false,"Pid":13140,"Restarting":false,"Running":true,"StartedAt":"2015-04-20T23:27:53.84693664Z"},"Volumes":{},"VolumesRW":{}}
|
255
255
|
http_version:
|
256
|
-
recorded_at: Mon,
|
256
|
+
recorded_at: Mon, 20 Apr 2015 23:27:53 GMT
|
257
257
|
- request:
|
258
258
|
method: get
|
259
259
|
uri: "<DOCKER_HOST>/v1.16/containers/single-test/json"
|
@@ -273,16 +273,16 @@ http_interactions:
|
|
273
273
|
Content-Type:
|
274
274
|
- application/json
|
275
275
|
Date:
|
276
|
-
- Mon,
|
276
|
+
- Mon, 20 Apr 2015 23:27:53 GMT
|
277
277
|
body:
|
278
278
|
encoding: UTF-8
|
279
279
|
string: |
|
280
|
-
{"AppArmorProfile":"","Args":["-c","ruby /code/server.rb"],"Config":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":null,"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":["/bin/sh","-c","ruby /code/server.rb"],"Env":["PATH=/usr/local/bundle/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin","RUBY_MAJOR=2.1","RUBY_VERSION=2.1.3","GEM_HOME=/usr/local/bundle","BUNDLE_APP_CONFIG=/usr/local/bundle"],"ExposedPorts":{"80/tcp":{}},"Hostname":"
|
280
|
+
{"AppArmorProfile":"","Args":["-c","ruby /code/server.rb"],"Config":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":null,"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":["/bin/sh","-c","ruby /code/server.rb"],"Env":["PATH=/usr/local/bundle/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin","RUBY_MAJOR=2.1","RUBY_VERSION=2.1.3","GEM_HOME=/usr/local/bundle","BUNDLE_APP_CONFIG=/usr/local/bundle"],"ExposedPorts":{"80/tcp":{}},"Hostname":"f38cc5e3e05b","Image":"b9c5be3a918d80b0d898ed8eca3fc76f75c482b531238e539cb00f75bb4e12d2","MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":null,"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Created":"2015-04-20T23:27:53.350586786Z","Driver":"aufs","ExecDriver":"native-0.2","ExecIDs":null,"HostConfig":{"Binds":[],"CapAdd":null,"CapDrop":null,"ContainerIDFile":"","Devices":null,"Dns":null,"DnsSearch":null,"ExtraHosts":[],"IpcMode":"","Links":null,"LxcConf":null,"NetworkMode":"","PidMode":"","PortBindings":{},"Privileged":false,"PublishAllPorts":false,"ReadonlyRootfs":false,"RestartPolicy":{"MaximumRetryCount":0,"Name":""},"SecurityOpt":null,"VolumesFrom":[]},"HostnamePath":"/mnt/sda1/var/lib/docker/containers/f38cc5e3e05b4794b21044602515247c53af999959c6b60be391d3dd8e601cd5/hostname","HostsPath":"/mnt/sda1/var/lib/docker/containers/f38cc5e3e05b4794b21044602515247c53af999959c6b60be391d3dd8e601cd5/hosts","Id":"f38cc5e3e05b4794b21044602515247c53af999959c6b60be391d3dd8e601cd5","Image":"b9c5be3a918d80b0d898ed8eca3fc76f75c482b531238e539cb00f75bb4e12d2","MountLabel":"","Name":"/single-test","NetworkSettings":{"Bridge":"docker0","Gateway":"172.17.42.1","GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"IPAddress":"172.17.7.185","IPPrefixLen":16,"IPv6Gateway":"","LinkLocalIPv6Address":"fe80::42:acff:fe11:7b9","LinkLocalIPv6PrefixLen":64,"MacAddress":"02:42:ac:11:07:b9","PortMapping":null,"Ports":{"80/tcp":null}},"Path":"/bin/sh","ProcessLabel":"","ResolvConfPath":"/mnt/sda1/var/lib/docker/containers/f38cc5e3e05b4794b21044602515247c53af999959c6b60be391d3dd8e601cd5/resolv.conf","RestartCount":0,"State":{"Error":"","ExitCode":0,"FinishedAt":"0001-01-01T00:00:00Z","OOMKilled":false,"Paused":false,"Pid":13140,"Restarting":false,"Running":true,"StartedAt":"2015-04-20T23:27:53.84693664Z"},"Volumes":{},"VolumesRW":{}}
|
281
281
|
http_version:
|
282
|
-
recorded_at: Mon,
|
282
|
+
recorded_at: Mon, 20 Apr 2015 23:27:53 GMT
|
283
283
|
- request:
|
284
284
|
method: post
|
285
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
285
|
+
uri: "<DOCKER_HOST>/v1.16/containers/f38cc5e3e05b4794b21044602515247c53af999959c6b60be391d3dd8e601cd5/kill"
|
286
286
|
body:
|
287
287
|
encoding: US-ASCII
|
288
288
|
string: ''
|
@@ -297,15 +297,15 @@ http_interactions:
|
|
297
297
|
message:
|
298
298
|
headers:
|
299
299
|
Date:
|
300
|
-
- Mon,
|
300
|
+
- Mon, 20 Apr 2015 23:27:54 GMT
|
301
301
|
body:
|
302
302
|
encoding: UTF-8
|
303
303
|
string: ''
|
304
304
|
http_version:
|
305
|
-
recorded_at: Mon,
|
305
|
+
recorded_at: Mon, 20 Apr 2015 23:27:53 GMT
|
306
306
|
- request:
|
307
307
|
method: delete
|
308
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
308
|
+
uri: "<DOCKER_HOST>/v1.16/containers/f38cc5e3e05b4794b21044602515247c53af999959c6b60be391d3dd8e601cd5"
|
309
309
|
body:
|
310
310
|
encoding: US-ASCII
|
311
311
|
string: ''
|
@@ -320,10 +320,10 @@ http_interactions:
|
|
320
320
|
message:
|
321
321
|
headers:
|
322
322
|
Date:
|
323
|
-
- Mon,
|
323
|
+
- Mon, 20 Apr 2015 23:27:54 GMT
|
324
324
|
body:
|
325
325
|
encoding: UTF-8
|
326
326
|
string: ''
|
327
327
|
http_version:
|
328
|
-
recorded_at: Mon,
|
328
|
+
recorded_at: Mon, 20 Apr 2015 23:27:53 GMT
|
329
329
|
recorded_with: VCR 2.9.3
|