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:58 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:58 GMT
|
31
31
|
- request:
|
32
32
|
method: get
|
33
33
|
uri: "<DOCKER_HOST>/v1.16/containers/provides_service/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:58 GMT
|
51
51
|
Content-Length:
|
52
52
|
- '36'
|
53
53
|
body:
|
@@ -55,7 +55,7 @@ http_interactions:
|
|
55
55
|
string: |
|
56
56
|
No such container: provides_service
|
57
57
|
http_version:
|
58
|
-
recorded_at: Mon,
|
58
|
+
recorded_at: Mon, 20 Apr 2015 23:27:58 GMT
|
59
59
|
- request:
|
60
60
|
method: get
|
61
61
|
uri: "<DOCKER_HOST>/v1.16/containers/provides_service/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:58 GMT
|
79
79
|
Content-Length:
|
80
80
|
- '36'
|
81
81
|
body:
|
@@ -83,7 +83,7 @@ http_interactions:
|
|
83
83
|
string: |
|
84
84
|
No such container: provides_service
|
85
85
|
http_version:
|
86
|
-
recorded_at: Mon,
|
86
|
+
recorded_at: Mon, 20 Apr 2015 23:27:58 GMT
|
87
87
|
- request:
|
88
88
|
method: get
|
89
89
|
uri: "<DOCKER_HOST>/v1.16/containers/provides_service/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:58 GMT
|
107
107
|
Content-Length:
|
108
108
|
- '36'
|
109
109
|
body:
|
@@ -111,7 +111,7 @@ http_interactions:
|
|
111
111
|
string: |
|
112
112
|
No such container: provides_service
|
113
113
|
http_version:
|
114
|
-
recorded_at: Mon,
|
114
|
+
recorded_at: Mon, 20 Apr 2015 23:27:58 GMT
|
115
115
|
- request:
|
116
116
|
method: get
|
117
117
|
uri: "<DOCKER_HOST>/v1.16/containers/provides_service/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:58 GMT
|
135
135
|
Content-Length:
|
136
136
|
- '36'
|
137
137
|
body:
|
@@ -139,7 +139,7 @@ http_interactions:
|
|
139
139
|
string: |
|
140
140
|
No such container: provides_service
|
141
141
|
http_version:
|
142
|
-
recorded_at: Mon,
|
142
|
+
recorded_at: Mon, 20 Apr 2015 23:27:58 GMT
|
143
143
|
- request:
|
144
144
|
method: get
|
145
145
|
uri: "<DOCKER_HOST>/v1.16/containers/provides_service/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:58 GMT
|
163
163
|
Content-Length:
|
164
164
|
- '36'
|
165
165
|
body:
|
@@ -167,7 +167,7 @@ http_interactions:
|
|
167
167
|
string: |
|
168
168
|
No such container: provides_service
|
169
169
|
http_version:
|
170
|
-
recorded_at: Mon,
|
170
|
+
recorded_at: Mon, 20 Apr 2015 23:27:58 GMT
|
171
171
|
- request:
|
172
172
|
method: get
|
173
173
|
uri: "<DOCKER_HOST>/v1.16/containers/provides_service/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:58 GMT
|
191
191
|
Content-Length:
|
192
192
|
- '36'
|
193
193
|
body:
|
@@ -195,7 +195,7 @@ http_interactions:
|
|
195
195
|
string: |
|
196
196
|
No such container: provides_service
|
197
197
|
http_version:
|
198
|
-
recorded_at: Mon,
|
198
|
+
recorded_at: Mon, 20 Apr 2015 23:27:58 GMT
|
199
199
|
- request:
|
200
200
|
method: get
|
201
201
|
uri: "<DOCKER_HOST>/v1.16/containers/provides_service/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:58 GMT
|
219
219
|
Content-Length:
|
220
220
|
- '36'
|
221
221
|
body:
|
@@ -223,7 +223,7 @@ http_interactions:
|
|
223
223
|
string: |
|
224
224
|
No such container: provides_service
|
225
225
|
http_version:
|
226
|
-
recorded_at: Mon,
|
226
|
+
recorded_at: Mon, 20 Apr 2015 23:27:58 GMT
|
227
227
|
- request:
|
228
228
|
method: get
|
229
229
|
uri: "<DOCKER_HOST>/v1.16/containers/provides_service/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:58 GMT
|
247
247
|
Content-Length:
|
248
248
|
- '36'
|
249
249
|
body:
|
@@ -251,7 +251,7 @@ http_interactions:
|
|
251
251
|
string: |
|
252
252
|
No such container: provides_service
|
253
253
|
http_version:
|
254
|
-
recorded_at: Mon,
|
254
|
+
recorded_at: Mon, 20 Apr 2015 23:27:58 GMT
|
255
255
|
- request:
|
256
256
|
method: post
|
257
257
|
uri: "<DOCKER_HOST>/v1.16/containers/create?name=provides_service"
|
@@ -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:58 GMT
|
275
275
|
Content-Length:
|
276
276
|
- '90'
|
277
277
|
body:
|
278
278
|
encoding: UTF-8
|
279
279
|
string: |
|
280
|
-
{"Id":"
|
280
|
+
{"Id":"3350f3249988432d4aea62c9c7efa5f7fea6469bcc3157e6b810ea237c1622cc","Warnings":null}
|
281
281
|
http_version:
|
282
|
-
recorded_at: Mon,
|
282
|
+
recorded_at: Mon, 20 Apr 2015 23:27:58 GMT
|
283
283
|
- request:
|
284
284
|
method: post
|
285
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
285
|
+
uri: "<DOCKER_HOST>/v1.16/containers/3350f3249988432d4aea62c9c7efa5f7fea6469bcc3157e6b810ea237c1622cc/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:59 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:58 GMT
|
306
306
|
- request:
|
307
307
|
method: get
|
308
308
|
uri: "<DOCKER_HOST>/v1.16/images/hawknewton/show-env:0.0.1/json"
|
@@ -322,7 +322,7 @@ http_interactions:
|
|
322
322
|
Content-Type:
|
323
323
|
- application/json
|
324
324
|
Date:
|
325
|
-
- Mon,
|
325
|
+
- Mon, 20 Apr 2015 23:27:59 GMT
|
326
326
|
Content-Length:
|
327
327
|
- '1859'
|
328
328
|
body:
|
@@ -330,7 +330,7 @@ http_interactions:
|
|
330
330
|
string: |
|
331
331
|
{"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}
|
332
332
|
http_version:
|
333
|
-
recorded_at: Mon,
|
333
|
+
recorded_at: Mon, 20 Apr 2015 23:27:59 GMT
|
334
334
|
- request:
|
335
335
|
method: get
|
336
336
|
uri: "<DOCKER_HOST>/v1.16/containers/uses_service/json"
|
@@ -350,7 +350,7 @@ http_interactions:
|
|
350
350
|
Content-Type:
|
351
351
|
- text/plain; charset=utf-8
|
352
352
|
Date:
|
353
|
-
- Mon,
|
353
|
+
- Mon, 20 Apr 2015 23:27:59 GMT
|
354
354
|
Content-Length:
|
355
355
|
- '32'
|
356
356
|
body:
|
@@ -358,7 +358,7 @@ http_interactions:
|
|
358
358
|
string: |
|
359
359
|
No such container: uses_service
|
360
360
|
http_version:
|
361
|
-
recorded_at: Mon,
|
361
|
+
recorded_at: Mon, 20 Apr 2015 23:27:59 GMT
|
362
362
|
- request:
|
363
363
|
method: get
|
364
364
|
uri: "<DOCKER_HOST>/v1.16/containers/uses_service/json"
|
@@ -378,7 +378,7 @@ http_interactions:
|
|
378
378
|
Content-Type:
|
379
379
|
- text/plain; charset=utf-8
|
380
380
|
Date:
|
381
|
-
- Mon,
|
381
|
+
- Mon, 20 Apr 2015 23:28:00 GMT
|
382
382
|
Content-Length:
|
383
383
|
- '32'
|
384
384
|
body:
|
@@ -386,7 +386,7 @@ http_interactions:
|
|
386
386
|
string: |
|
387
387
|
No such container: uses_service
|
388
388
|
http_version:
|
389
|
-
recorded_at: Mon,
|
389
|
+
recorded_at: Mon, 20 Apr 2015 23:28:00 GMT
|
390
390
|
- request:
|
391
391
|
method: get
|
392
392
|
uri: "<DOCKER_HOST>/v1.16/containers/uses_service/json"
|
@@ -406,7 +406,7 @@ http_interactions:
|
|
406
406
|
Content-Type:
|
407
407
|
- text/plain; charset=utf-8
|
408
408
|
Date:
|
409
|
-
- Mon,
|
409
|
+
- Mon, 20 Apr 2015 23:28:00 GMT
|
410
410
|
Content-Length:
|
411
411
|
- '32'
|
412
412
|
body:
|
@@ -414,7 +414,7 @@ http_interactions:
|
|
414
414
|
string: |
|
415
415
|
No such container: uses_service
|
416
416
|
http_version:
|
417
|
-
recorded_at: Mon,
|
417
|
+
recorded_at: Mon, 20 Apr 2015 23:28:00 GMT
|
418
418
|
- request:
|
419
419
|
method: get
|
420
420
|
uri: "<DOCKER_HOST>/v1.16/containers/uses_service/json"
|
@@ -434,7 +434,7 @@ http_interactions:
|
|
434
434
|
Content-Type:
|
435
435
|
- text/plain; charset=utf-8
|
436
436
|
Date:
|
437
|
-
- Mon,
|
437
|
+
- Mon, 20 Apr 2015 23:28:00 GMT
|
438
438
|
Content-Length:
|
439
439
|
- '32'
|
440
440
|
body:
|
@@ -442,7 +442,7 @@ http_interactions:
|
|
442
442
|
string: |
|
443
443
|
No such container: uses_service
|
444
444
|
http_version:
|
445
|
-
recorded_at: Mon,
|
445
|
+
recorded_at: Mon, 20 Apr 2015 23:28:00 GMT
|
446
446
|
- request:
|
447
447
|
method: get
|
448
448
|
uri: "<DOCKER_HOST>/v1.16/containers/uses_service/json"
|
@@ -462,7 +462,7 @@ http_interactions:
|
|
462
462
|
Content-Type:
|
463
463
|
- text/plain; charset=utf-8
|
464
464
|
Date:
|
465
|
-
- Mon,
|
465
|
+
- Mon, 20 Apr 2015 23:28:00 GMT
|
466
466
|
Content-Length:
|
467
467
|
- '32'
|
468
468
|
body:
|
@@ -470,7 +470,7 @@ http_interactions:
|
|
470
470
|
string: |
|
471
471
|
No such container: uses_service
|
472
472
|
http_version:
|
473
|
-
recorded_at: Mon,
|
473
|
+
recorded_at: Mon, 20 Apr 2015 23:28:00 GMT
|
474
474
|
- request:
|
475
475
|
method: get
|
476
476
|
uri: "<DOCKER_HOST>/v1.16/containers/uses_service/json"
|
@@ -490,7 +490,7 @@ http_interactions:
|
|
490
490
|
Content-Type:
|
491
491
|
- text/plain; charset=utf-8
|
492
492
|
Date:
|
493
|
-
- Mon,
|
493
|
+
- Mon, 20 Apr 2015 23:28:00 GMT
|
494
494
|
Content-Length:
|
495
495
|
- '32'
|
496
496
|
body:
|
@@ -498,7 +498,7 @@ http_interactions:
|
|
498
498
|
string: |
|
499
499
|
No such container: uses_service
|
500
500
|
http_version:
|
501
|
-
recorded_at: Mon,
|
501
|
+
recorded_at: Mon, 20 Apr 2015 23:28:00 GMT
|
502
502
|
- request:
|
503
503
|
method: get
|
504
504
|
uri: "<DOCKER_HOST>/v1.16/containers/uses_service/json"
|
@@ -518,7 +518,7 @@ http_interactions:
|
|
518
518
|
Content-Type:
|
519
519
|
- text/plain; charset=utf-8
|
520
520
|
Date:
|
521
|
-
- Mon,
|
521
|
+
- Mon, 20 Apr 2015 23:28:00 GMT
|
522
522
|
Content-Length:
|
523
523
|
- '32'
|
524
524
|
body:
|
@@ -526,7 +526,7 @@ http_interactions:
|
|
526
526
|
string: |
|
527
527
|
No such container: uses_service
|
528
528
|
http_version:
|
529
|
-
recorded_at: Mon,
|
529
|
+
recorded_at: Mon, 20 Apr 2015 23:28:00 GMT
|
530
530
|
- request:
|
531
531
|
method: get
|
532
532
|
uri: "<DOCKER_HOST>/v1.16/containers/uses_service/json"
|
@@ -546,7 +546,7 @@ http_interactions:
|
|
546
546
|
Content-Type:
|
547
547
|
- text/plain; charset=utf-8
|
548
548
|
Date:
|
549
|
-
- Mon,
|
549
|
+
- Mon, 20 Apr 2015 23:28:00 GMT
|
550
550
|
Content-Length:
|
551
551
|
- '32'
|
552
552
|
body:
|
@@ -554,7 +554,7 @@ http_interactions:
|
|
554
554
|
string: |
|
555
555
|
No such container: uses_service
|
556
556
|
http_version:
|
557
|
-
recorded_at: Mon,
|
557
|
+
recorded_at: Mon, 20 Apr 2015 23:28:00 GMT
|
558
558
|
- request:
|
559
559
|
method: post
|
560
560
|
uri: "<DOCKER_HOST>/v1.16/containers/create?name=uses_service"
|
@@ -574,18 +574,18 @@ http_interactions:
|
|
574
574
|
Content-Type:
|
575
575
|
- application/json
|
576
576
|
Date:
|
577
|
-
- Mon,
|
577
|
+
- Mon, 20 Apr 2015 23:28:00 GMT
|
578
578
|
Content-Length:
|
579
579
|
- '90'
|
580
580
|
body:
|
581
581
|
encoding: UTF-8
|
582
582
|
string: |
|
583
|
-
{"Id":"
|
583
|
+
{"Id":"46bffd598be5240219a15e3c344dc9245b1d30b5c8ca38f07205133669537b20","Warnings":null}
|
584
584
|
http_version:
|
585
|
-
recorded_at: Mon,
|
585
|
+
recorded_at: Mon, 20 Apr 2015 23:28:00 GMT
|
586
586
|
- request:
|
587
587
|
method: post
|
588
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
588
|
+
uri: "<DOCKER_HOST>/v1.16/containers/46bffd598be5240219a15e3c344dc9245b1d30b5c8ca38f07205133669537b20/start"
|
589
589
|
body:
|
590
590
|
encoding: UTF-8
|
591
591
|
string: '{"Links":["provides_service:service"],"ExtraHosts":[],"PortBindings":{},"VolumesFrom":[],"Binds":[]}'
|
@@ -600,12 +600,12 @@ http_interactions:
|
|
600
600
|
message:
|
601
601
|
headers:
|
602
602
|
Date:
|
603
|
-
- Mon,
|
603
|
+
- Mon, 20 Apr 2015 23:28:00 GMT
|
604
604
|
body:
|
605
605
|
encoding: UTF-8
|
606
606
|
string: ''
|
607
607
|
http_version:
|
608
|
-
recorded_at: Mon,
|
608
|
+
recorded_at: Mon, 20 Apr 2015 23:28:00 GMT
|
609
609
|
- request:
|
610
610
|
method: get
|
611
611
|
uri: "<DOCKER_HOST>/v1.16/containers/uses_service/json"
|
@@ -625,16 +625,16 @@ http_interactions:
|
|
625
625
|
Content-Type:
|
626
626
|
- application/json
|
627
627
|
Date:
|
628
|
-
- Mon,
|
628
|
+
- Mon, 20 Apr 2015 23:28:01 GMT
|
629
629
|
body:
|
630
630
|
encoding: UTF-8
|
631
631
|
string: |
|
632
|
-
{"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":"
|
632
|
+
{"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":"46bffd598be5","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:28:00.600708154Z","Driver":"aufs","ExecDriver":"native-0.2","ExecIDs":null,"HostConfig":{"Binds":[],"CapAdd":null,"CapDrop":null,"ContainerIDFile":"","Devices":null,"Dns":null,"DnsSearch":null,"ExtraHosts":[],"IpcMode":"","Links":["/provides_service:/uses_service/service"],"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/46bffd598be5240219a15e3c344dc9245b1d30b5c8ca38f07205133669537b20/hostname","HostsPath":"/mnt/sda1/var/lib/docker/containers/46bffd598be5240219a15e3c344dc9245b1d30b5c8ca38f07205133669537b20/hosts","Id":"46bffd598be5240219a15e3c344dc9245b1d30b5c8ca38f07205133669537b20","Image":"b9c5be3a918d80b0d898ed8eca3fc76f75c482b531238e539cb00f75bb4e12d2","MountLabel":"","Name":"/uses_service","NetworkSettings":{"Bridge":"docker0","Gateway":"172.17.42.1","GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"IPAddress":"172.17.7.189","IPPrefixLen":16,"IPv6Gateway":"","LinkLocalIPv6Address":"fe80::42:acff:fe11:7bd","LinkLocalIPv6PrefixLen":64,"MacAddress":"02:42:ac:11:07:bd","PortMapping":null,"Ports":{"80/tcp":null}},"Path":"/bin/sh","ProcessLabel":"","ResolvConfPath":"/mnt/sda1/var/lib/docker/containers/46bffd598be5240219a15e3c344dc9245b1d30b5c8ca38f07205133669537b20/resolv.conf","RestartCount":0,"State":{"Error":"","ExitCode":0,"FinishedAt":"0001-01-01T00:00:00Z","OOMKilled":false,"Paused":false,"Pid":13181,"Restarting":false,"Running":true,"StartedAt":"2015-04-20T23:28:00.986395065Z"},"Volumes":{},"VolumesRW":{}}
|
633
633
|
http_version:
|
634
|
-
recorded_at: Mon,
|
634
|
+
recorded_at: Mon, 20 Apr 2015 23:28:00 GMT
|
635
635
|
- request:
|
636
636
|
method: get
|
637
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
637
|
+
uri: "<DOCKER_HOST>/v1.16/containers/46bffd598be5240219a15e3c344dc9245b1d30b5c8ca38f07205133669537b20/json"
|
638
638
|
body:
|
639
639
|
encoding: US-ASCII
|
640
640
|
string: ''
|
@@ -651,13 +651,13 @@ http_interactions:
|
|
651
651
|
Content-Type:
|
652
652
|
- application/json
|
653
653
|
Date:
|
654
|
-
- Mon,
|
654
|
+
- Mon, 20 Apr 2015 23:28:01 GMT
|
655
655
|
body:
|
656
656
|
encoding: UTF-8
|
657
657
|
string: |
|
658
|
-
{"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":"
|
658
|
+
{"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":"46bffd598be5","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:28:00.600708154Z","Driver":"aufs","ExecDriver":"native-0.2","ExecIDs":null,"HostConfig":{"Binds":[],"CapAdd":null,"CapDrop":null,"ContainerIDFile":"","Devices":null,"Dns":null,"DnsSearch":null,"ExtraHosts":[],"IpcMode":"","Links":["/provides_service:/uses_service/service"],"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/46bffd598be5240219a15e3c344dc9245b1d30b5c8ca38f07205133669537b20/hostname","HostsPath":"/mnt/sda1/var/lib/docker/containers/46bffd598be5240219a15e3c344dc9245b1d30b5c8ca38f07205133669537b20/hosts","Id":"46bffd598be5240219a15e3c344dc9245b1d30b5c8ca38f07205133669537b20","Image":"b9c5be3a918d80b0d898ed8eca3fc76f75c482b531238e539cb00f75bb4e12d2","MountLabel":"","Name":"/uses_service","NetworkSettings":{"Bridge":"docker0","Gateway":"172.17.42.1","GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"IPAddress":"172.17.7.189","IPPrefixLen":16,"IPv6Gateway":"","LinkLocalIPv6Address":"fe80::42:acff:fe11:7bd","LinkLocalIPv6PrefixLen":64,"MacAddress":"02:42:ac:11:07:bd","PortMapping":null,"Ports":{"80/tcp":null}},"Path":"/bin/sh","ProcessLabel":"","ResolvConfPath":"/mnt/sda1/var/lib/docker/containers/46bffd598be5240219a15e3c344dc9245b1d30b5c8ca38f07205133669537b20/resolv.conf","RestartCount":0,"State":{"Error":"","ExitCode":0,"FinishedAt":"0001-01-01T00:00:00Z","OOMKilled":false,"Paused":false,"Pid":13181,"Restarting":false,"Running":true,"StartedAt":"2015-04-20T23:28:00.986395065Z"},"Volumes":{},"VolumesRW":{}}
|
659
659
|
http_version:
|
660
|
-
recorded_at: Mon,
|
660
|
+
recorded_at: Mon, 20 Apr 2015 23:28:00 GMT
|
661
661
|
- request:
|
662
662
|
method: get
|
663
663
|
uri: "<DOCKER_HOST>/v1.16/containers/provides_service/json"
|
@@ -677,16 +677,16 @@ http_interactions:
|
|
677
677
|
Content-Type:
|
678
678
|
- application/json
|
679
679
|
Date:
|
680
|
-
- Mon,
|
680
|
+
- Mon, 20 Apr 2015 23:28:01 GMT
|
681
681
|
body:
|
682
682
|
encoding: UTF-8
|
683
683
|
string: |
|
684
|
-
{"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":"
|
684
|
+
{"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":"3350f3249988","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:58.791573191Z","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/3350f3249988432d4aea62c9c7efa5f7fea6469bcc3157e6b810ea237c1622cc/hostname","HostsPath":"/mnt/sda1/var/lib/docker/containers/3350f3249988432d4aea62c9c7efa5f7fea6469bcc3157e6b810ea237c1622cc/hosts","Id":"3350f3249988432d4aea62c9c7efa5f7fea6469bcc3157e6b810ea237c1622cc","Image":"b9c5be3a918d80b0d898ed8eca3fc76f75c482b531238e539cb00f75bb4e12d2","MountLabel":"","Name":"/provides_service","NetworkSettings":{"Bridge":"docker0","Gateway":"172.17.42.1","GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"IPAddress":"172.17.7.188","IPPrefixLen":16,"IPv6Gateway":"","LinkLocalIPv6Address":"fe80::42:acff:fe11:7bc","LinkLocalIPv6PrefixLen":64,"MacAddress":"02:42:ac:11:07:bc","PortMapping":null,"Ports":{"80/tcp":null}},"Path":"/bin/sh","ProcessLabel":"","ResolvConfPath":"/mnt/sda1/var/lib/docker/containers/3350f3249988432d4aea62c9c7efa5f7fea6469bcc3157e6b810ea237c1622cc/resolv.conf","RestartCount":0,"State":{"Error":"","ExitCode":0,"FinishedAt":"0001-01-01T00:00:00Z","OOMKilled":false,"Paused":false,"Pid":13171,"Restarting":false,"Running":true,"StartedAt":"2015-04-20T23:27:59.196744428Z"},"Volumes":{},"VolumesRW":{}}
|
685
685
|
http_version:
|
686
|
-
recorded_at: Mon,
|
686
|
+
recorded_at: Mon, 20 Apr 2015 23:28:00 GMT
|
687
687
|
- request:
|
688
688
|
method: post
|
689
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
689
|
+
uri: "<DOCKER_HOST>/v1.16/containers/3350f3249988432d4aea62c9c7efa5f7fea6469bcc3157e6b810ea237c1622cc/kill"
|
690
690
|
body:
|
691
691
|
encoding: US-ASCII
|
692
692
|
string: ''
|
@@ -701,15 +701,15 @@ http_interactions:
|
|
701
701
|
message:
|
702
702
|
headers:
|
703
703
|
Date:
|
704
|
-
- Mon,
|
704
|
+
- Mon, 20 Apr 2015 23:28:01 GMT
|
705
705
|
body:
|
706
706
|
encoding: UTF-8
|
707
707
|
string: ''
|
708
708
|
http_version:
|
709
|
-
recorded_at: Mon,
|
709
|
+
recorded_at: Mon, 20 Apr 2015 23:28:01 GMT
|
710
710
|
- request:
|
711
711
|
method: delete
|
712
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
712
|
+
uri: "<DOCKER_HOST>/v1.16/containers/3350f3249988432d4aea62c9c7efa5f7fea6469bcc3157e6b810ea237c1622cc"
|
713
713
|
body:
|
714
714
|
encoding: US-ASCII
|
715
715
|
string: ''
|
@@ -724,12 +724,12 @@ http_interactions:
|
|
724
724
|
message:
|
725
725
|
headers:
|
726
726
|
Date:
|
727
|
-
- Mon,
|
727
|
+
- Mon, 20 Apr 2015 23:28:01 GMT
|
728
728
|
body:
|
729
729
|
encoding: UTF-8
|
730
730
|
string: ''
|
731
731
|
http_version:
|
732
|
-
recorded_at: Mon,
|
732
|
+
recorded_at: Mon, 20 Apr 2015 23:28:01 GMT
|
733
733
|
- request:
|
734
734
|
method: get
|
735
735
|
uri: "<DOCKER_HOST>/v1.16/containers/uses_service/json"
|
@@ -749,16 +749,16 @@ http_interactions:
|
|
749
749
|
Content-Type:
|
750
750
|
- application/json
|
751
751
|
Date:
|
752
|
-
- Mon,
|
752
|
+
- Mon, 20 Apr 2015 23:28:01 GMT
|
753
753
|
body:
|
754
754
|
encoding: UTF-8
|
755
755
|
string: |
|
756
|
-
{"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":"
|
756
|
+
{"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":"46bffd598be5","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:28:00.600708154Z","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/46bffd598be5240219a15e3c344dc9245b1d30b5c8ca38f07205133669537b20/hostname","HostsPath":"/mnt/sda1/var/lib/docker/containers/46bffd598be5240219a15e3c344dc9245b1d30b5c8ca38f07205133669537b20/hosts","Id":"46bffd598be5240219a15e3c344dc9245b1d30b5c8ca38f07205133669537b20","Image":"b9c5be3a918d80b0d898ed8eca3fc76f75c482b531238e539cb00f75bb4e12d2","MountLabel":"","Name":"/uses_service","NetworkSettings":{"Bridge":"docker0","Gateway":"172.17.42.1","GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"IPAddress":"172.17.7.189","IPPrefixLen":16,"IPv6Gateway":"","LinkLocalIPv6Address":"fe80::42:acff:fe11:7bd","LinkLocalIPv6PrefixLen":64,"MacAddress":"02:42:ac:11:07:bd","PortMapping":null,"Ports":{"80/tcp":null}},"Path":"/bin/sh","ProcessLabel":"","ResolvConfPath":"/mnt/sda1/var/lib/docker/containers/46bffd598be5240219a15e3c344dc9245b1d30b5c8ca38f07205133669537b20/resolv.conf","RestartCount":0,"State":{"Error":"","ExitCode":0,"FinishedAt":"0001-01-01T00:00:00Z","OOMKilled":false,"Paused":false,"Pid":13181,"Restarting":false,"Running":true,"StartedAt":"2015-04-20T23:28:00.986395065Z"},"Volumes":{},"VolumesRW":{}}
|
757
757
|
http_version:
|
758
|
-
recorded_at: Mon,
|
758
|
+
recorded_at: Mon, 20 Apr 2015 23:28:01 GMT
|
759
759
|
- request:
|
760
760
|
method: post
|
761
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
761
|
+
uri: "<DOCKER_HOST>/v1.16/containers/46bffd598be5240219a15e3c344dc9245b1d30b5c8ca38f07205133669537b20/kill"
|
762
762
|
body:
|
763
763
|
encoding: US-ASCII
|
764
764
|
string: ''
|
@@ -773,15 +773,15 @@ http_interactions:
|
|
773
773
|
message:
|
774
774
|
headers:
|
775
775
|
Date:
|
776
|
-
- Mon,
|
776
|
+
- Mon, 20 Apr 2015 23:28:01 GMT
|
777
777
|
body:
|
778
778
|
encoding: UTF-8
|
779
779
|
string: ''
|
780
780
|
http_version:
|
781
|
-
recorded_at: Mon,
|
781
|
+
recorded_at: Mon, 20 Apr 2015 23:28:01 GMT
|
782
782
|
- request:
|
783
783
|
method: delete
|
784
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
784
|
+
uri: "<DOCKER_HOST>/v1.16/containers/46bffd598be5240219a15e3c344dc9245b1d30b5c8ca38f07205133669537b20"
|
785
785
|
body:
|
786
786
|
encoding: US-ASCII
|
787
787
|
string: ''
|
@@ -796,10 +796,10 @@ http_interactions:
|
|
796
796
|
message:
|
797
797
|
headers:
|
798
798
|
Date:
|
799
|
-
- Mon,
|
799
|
+
- Mon, 20 Apr 2015 23:28:01 GMT
|
800
800
|
body:
|
801
801
|
encoding: UTF-8
|
802
802
|
string: ''
|
803
803
|
http_version:
|
804
|
-
recorded_at: Mon,
|
804
|
+
recorded_at: Mon, 20 Apr 2015 23:28:01 GMT
|
805
805
|
recorded_with: VCR 2.9.3
|