bigrig 0.0.0 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (146) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +1 -0
  3. data/.rspec +3 -0
  4. data/.rubocop.yml +20 -0
  5. data/.travis.yml +3 -0
  6. data/CHANGELOG.md +19 -0
  7. data/Gemfile +2 -0
  8. data/Gemfile.lock +84 -0
  9. data/LICENSE +28 -0
  10. data/README.md +191 -0
  11. data/Rakefile +10 -0
  12. data/bigrig.gemspec +29 -0
  13. data/bin/bigrig +113 -0
  14. data/lib/bigrig/actions/destroy_action.rb +21 -0
  15. data/lib/bigrig/actions/dev_action.rb +19 -0
  16. data/lib/bigrig/actions/log_action.rb +45 -0
  17. data/lib/bigrig/actions/run_action.rb +14 -0
  18. data/lib/bigrig/actions/ship_action.rb +51 -0
  19. data/lib/bigrig/actions.rb +5 -0
  20. data/lib/bigrig/dependency_graph.rb +21 -0
  21. data/lib/bigrig/descriptor.rb +43 -0
  22. data/lib/bigrig/docker_adapter.rb +129 -0
  23. data/lib/bigrig/models/application.rb +22 -0
  24. data/lib/bigrig/models/base_model.rb +7 -0
  25. data/lib/bigrig/models/container.rb +40 -0
  26. data/lib/bigrig/models.rb +3 -0
  27. data/lib/bigrig/output_parser.rb +52 -0
  28. data/lib/bigrig/runner.rb +94 -0
  29. data/lib/bigrig/version.rb +3 -0
  30. data/lib/bigrig.rb +8 -0
  31. data/spec/bigrig/actions/destroy_action_spec.rb +55 -0
  32. data/spec/bigrig/actions/dev_action_spec.rb +17 -0
  33. data/spec/bigrig/actions/log_action_spec.rb +33 -0
  34. data/spec/bigrig/actions/run_action_spec.rb +270 -0
  35. data/spec/bigrig/actions/ship_action_spec.rb +82 -0
  36. data/spec/bigrig/dependency_graph_spec.rb +19 -0
  37. data/spec/bigrig/descriptor_spec.rb +56 -0
  38. data/spec/bigrig/docker_adapter_spec.rb +409 -0
  39. data/spec/bigrig/models/application_spec.rb +32 -0
  40. data/spec/bigrig/models/container_spec.rb +115 -0
  41. data/spec/bigrig/output_parser_spec.rb +71 -0
  42. data/spec/bigrig_spec.rb +249 -0
  43. data/spec/data/addscontainer.json +24 -0
  44. data/spec/data/build/Dockerfile +2 -0
  45. data/spec/data/build/test +0 -0
  46. data/spec/data/dev.json +26 -0
  47. data/spec/data/duplicate.json +13 -0
  48. data/spec/data/env.json +12 -0
  49. data/spec/data/hosts_ip.json +12 -0
  50. data/spec/data/hosts_name.json +11 -0
  51. data/spec/data/links.json +13 -0
  52. data/spec/data/log.json +8 -0
  53. data/spec/data/multiple.json +13 -0
  54. data/spec/data/path.json +5 -0
  55. data/spec/data/ports.json +9 -0
  56. data/spec/data/profiles.json +24 -0
  57. data/spec/data/ship.json +5 -0
  58. data/spec/data/single.json +8 -0
  59. data/spec/data/tagandpath.json +24 -0
  60. data/spec/data/tiny-image.tar +0 -0
  61. data/spec/data/volumes.json +13 -0
  62. data/spec/spec_helper.rb +104 -0
  63. data/spec/support/bigrig_vcr +8 -0
  64. data/spec/support/vcr.rb +15 -0
  65. data/spec/vcr/Bigrig_DestroyAction/_perform/given_json_with_a_single_container/and_the_container_has_exited/should_remove_the_container.yml +392 -0
  66. data/spec/vcr/Bigrig_DestroyAction/_perform/given_json_with_a_single_container/and_the_container_is_running/kills_and_removes_the_container.yml +418 -0
  67. data/spec/vcr/Bigrig_DockerAdapter/_build/builds_the_given_directory.yml +63 -0
  68. data/spec/vcr/Bigrig_DockerAdapter/_build/passes_build_input_to_a_block.yml +35 -0
  69. data/spec/vcr/Bigrig_DockerAdapter/_container_exists_/when_the_container_does_not_exist/is_false.yml +115 -0
  70. data/spec/vcr/Bigrig_DockerAdapter/_container_exists_/when_the_container_exists/is_true.yml +82 -0
  71. data/spec/vcr/Bigrig_DockerAdapter/_image_id_by_tag/when_the_image_does_not_exist/raise_a_ImageNotFoundError.yml +172 -0
  72. data/spec/vcr/Bigrig_DockerAdapter/_image_id_by_tag/when_the_image_exists/returns_the_image_id.yml +148 -0
  73. data/spec/vcr/Bigrig_DockerAdapter/_kill/given_the_container_does_not_exist/should_raise_an_error.yml +115 -0
  74. data/spec/vcr/Bigrig_DockerAdapter/_kill/given_the_container_is_running/should_kill_the_container.yml +200 -0
  75. data/spec/vcr/Bigrig_DockerAdapter/_logs/streams_logs_to_a_block.yml +163 -0
  76. data/spec/vcr/Bigrig_DockerAdapter/_pull/given_a_block_to_capture_output/should_capture_output.yml +64 -0
  77. data/spec/vcr/Bigrig_DockerAdapter/_pull/given_the_repo_does_not_exist/raises_a_RepoNotFoundError.yml +30 -0
  78. data/spec/vcr/Bigrig_DockerAdapter/_pull/given_the_repo_exists/returns_the_image_id.yml +92 -0
  79. data/spec/vcr/Bigrig_DockerAdapter/_push/given_credentials/will_pass_login_and_password.yml +254 -0
  80. data/spec/vcr/Bigrig_DockerAdapter/_push/should_push_the_image.yml +482 -0
  81. data/spec/vcr/Bigrig_DockerAdapter/_remove_container/when_the_container_does_not_exist/raises_a_ContainerNotFoundError.yml +227 -0
  82. data/spec/vcr/Bigrig_DockerAdapter/_remove_container/when_the_container_exists/should_remove_the_container.yml +222 -0
  83. data/spec/vcr/Bigrig_DockerAdapter/_remove_container/when_the_container_is_running/raises_a_ContainerRunningError.yml +80 -0
  84. data/spec/vcr/Bigrig_DockerAdapter/_remove_image/when_the_image_doesnt_exist/raises_an_error.yml +115 -0
  85. data/spec/vcr/Bigrig_DockerAdapter/_remove_image/when_the_image_exists/removes_the_image.yml +199 -0
  86. data/spec/vcr/Bigrig_DockerAdapter/_run/given_an_image_id_that_exists/and_a_name/starts_the_container_with_the_right_name.yml +204 -0
  87. 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 +204 -0
  88. data/spec/vcr/Bigrig_DockerAdapter/_run/given_an_image_id_that_exists/and_a_name_and_ports/starts_the_container_with_ports_exposed.yml +230 -0
  89. data/spec/vcr/Bigrig_DockerAdapter/_running_/when_the_container_does_not_exist/returns_false.yml +115 -0
  90. data/spec/vcr/Bigrig_DockerAdapter/_running_/when_the_container_is_not_running/returns_false.yml +82 -0
  91. data/spec/vcr/Bigrig_DockerAdapter/_running_/when_the_container_is_running/returns_true.yml +103 -0
  92. data/spec/vcr/Bigrig_DockerAdapter/_tag/should_tag_the_image.yml +290 -0
  93. data/spec/vcr/Bigrig_LogAction/_perform/follows_the_log.yml +163 -0
  94. data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_a_path/builds_the_image_before_starting_it.yml +310 -0
  95. data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_hosts_by_ip/should_pass_hosts_to_container.yml +430 -0
  96. data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_hosts_by_name/should_lookup_ips_for_hosts_with_a_hostname.yml +430 -0
  97. data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_links/should_pass_links_to_the_right_container.yml +805 -0
  98. data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_multiple_containers/launches_both_containers_in_parallel.yml +731 -0
  99. data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_multiple_containers/spins_up_multiple_containers.yml +805 -0
  100. data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_one_container/should_spin_up_a_single_container.yml +404 -0
  101. data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_one_container/when_a_dead_container_exists/should_remove_existing_containers.yml +329 -0
  102. data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_volumes_from/should_pass_volumes_from_to_the_right_container.yml +805 -0
  103. data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_volumes_from/starts_the_dependant_container_last.yml +731 -0
  104. data/spec/vcr/Bigrig_RunAction/_perform/when_activating_profiles_that_do_not_exist/ignores_the_missing_profile.yml +409 -0
  105. data/spec/vcr/Bigrig_RunAction/_perform/with_a_file_with_active_profiles/uses_the_overridden_image.yml +432 -0
  106. data/spec/vcr/bigrig/destroy/spec/data/single_json/kills_the_container.yml +166 -0
  107. data/spec/vcr/bigrig/dev/spec/data/dev_json/activates_the_dev_profile.yml +37 -0
  108. data/spec/vcr/bigrig/dev/spec/data/dev_json/destroys_containers_on_exit.yml +227 -0
  109. data/spec/vcr/bigrig/dev/spec/data/dev_json/starts_the_containers.yml +107 -0
  110. data/spec/vcr/bigrig/logs/spec/data/log_json/tails_the_logs.yml +163 -0
  111. data/spec/vcr/bigrig/run/spec/data/profiles_json_-p_qa/leaves_existing_env_values_alone.yml +110 -0
  112. data/spec/vcr/bigrig/run/spec/data/profiles_json_-p_qa/overrides_the_env.yml +110 -0
  113. data/spec/vcr/bigrig/run/spec/data/profiles_json_-p_qa/overrides_the_tag.yml +103 -0
  114. data/spec/vcr/bigrig/run/spec/data/single_json/sends_the_name_of_the_container_to_stdout.yml +75 -0
  115. data/spec/vcr/bigrig/run/spec/data/single_json/starts_the_container.yml +101 -0
  116. data/spec/vcr/bigrig/ship/spec/data/ship_json/with_a_version/-c/cleans_the_image_when_its_done.yml +212 -0
  117. data/spec/vcr/bigrig/ship/spec/data/ship_json/with_a_version/builds_and_pushes_the_image.yml +128 -0
  118. data/spec/vcr/bigrig_bin_bigrig_destroy_spec/data/single_json_kills_the_container.yml +179 -0
  119. data/spec/vcr/bigrig_bin_bigrig_dev_spec/data/dev_json_activates_the_dev_profile.yml +1068 -0
  120. data/spec/vcr/bigrig_bin_bigrig_dev_spec/data/dev_json_destroys_containers_on_exit.yml +1070 -0
  121. data/spec/vcr/bigrig_bin_bigrig_dev_spec/data/dev_json_starts_the_containers.yml +1068 -0
  122. data/spec/vcr/bigrig_bin_bigrig_dev_spec/data/dev_json_tails_the_logs.yml +1075 -0
  123. data/spec/vcr/bigrig_bin_bigrig_logs_spec/data/log_json_tails_the_logs.yml +69 -0
  124. data/spec/vcr/bigrig_bin_bigrig_run_spec/data/profiles_json_-p_qa_leaves_existing_env_values_alone.yml +306 -0
  125. data/spec/vcr/bigrig_bin_bigrig_run_spec/data/profiles_json_-p_qa_overrides_the_env.yml +306 -0
  126. data/spec/vcr/bigrig_bin_bigrig_run_spec/data/profiles_json_-p_qa_overrides_the_tag.yml +306 -0
  127. data/spec/vcr/bigrig_bin_bigrig_run_spec/data/single_json_sends_the_name_of_the_container_to_stdout.yml +306 -0
  128. data/spec/vcr/bigrig_bin_bigrig_run_spec/data/single_json_starts_the_container.yml +306 -0
  129. data/spec/vcr/bigrig_bin_bigrig_ship_spec/data/ship_json_with_a_version_-c_cleans_the_image_when_its_done.yml +335 -0
  130. data/spec/vcr/bigrig_bin_bigrig_ship_spec/data/ship_json_with_a_version_builds_and_pushes_the_image.yml +285 -0
  131. data/test/dev/shipper.json +24 -0
  132. data/test/logs/bigrig.json +6 -0
  133. data/test/logs/container1/Dockerfile +4 -0
  134. data/test/logs/container1/run.sh +7 -0
  135. data/test/logs/container2/Dockerfile +4 -0
  136. data/test/logs/container2/run.sh +7 -0
  137. data/test/ship/bigrig-1.2.3.json +1 -0
  138. data/test/ship/bigrig.json +5 -0
  139. data/test/ship/registry.json +11 -0
  140. data/test/ship/ship/Dockerfile +4 -0
  141. data/test/ship/ship/run.sh +6 -0
  142. data/test/volumes_from/exports_volumes/Dockerfile +8 -0
  143. data/test/volumes_from/exports_volumes/index.html +8 -0
  144. data/test/volumes_from/exports_volumes/run.sh +7 -0
  145. data/test/volumes_from/shipper.json +14 -0
  146. metadata +278 -8
@@ -0,0 +1,805 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: "<DOCKER_HOST>/v1.16/images/hawknewton/show-env:0.0.1/json"
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - Swipely/Docker-API 1.20.0
12
+ Content-Type:
13
+ - text/plain
14
+ response:
15
+ status:
16
+ code: 200
17
+ message:
18
+ headers:
19
+ Content-Type:
20
+ - application/json
21
+ Date:
22
+ - Thu, 12 Mar 2015 21:37:32 GMT
23
+ Content-Length:
24
+ - '1859'
25
+ body:
26
+ encoding: UTF-8
27
+ string: |
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
+ http_version:
30
+ recorded_at: Thu, 12 Mar 2015 21:37:35 GMT
31
+ - request:
32
+ method: get
33
+ uri: "<DOCKER_HOST>/v1.16/containers/exports_volumes/json"
34
+ body:
35
+ encoding: US-ASCII
36
+ string: ''
37
+ headers:
38
+ User-Agent:
39
+ - Swipely/Docker-API 1.20.0
40
+ Content-Type:
41
+ - text/plain
42
+ response:
43
+ status:
44
+ code: 404
45
+ message:
46
+ headers:
47
+ Content-Type:
48
+ - text/plain; charset=utf-8
49
+ Date:
50
+ - Thu, 12 Mar 2015 21:37:32 GMT
51
+ Content-Length:
52
+ - '35'
53
+ body:
54
+ encoding: UTF-8
55
+ string: |
56
+ No such container: exports_volumes
57
+ http_version:
58
+ recorded_at: Thu, 12 Mar 2015 21:37:35 GMT
59
+ - request:
60
+ method: get
61
+ uri: "<DOCKER_HOST>/v1.16/containers/exports_volumes/json"
62
+ body:
63
+ encoding: US-ASCII
64
+ string: ''
65
+ headers:
66
+ User-Agent:
67
+ - Swipely/Docker-API 1.20.0
68
+ Content-Type:
69
+ - text/plain
70
+ response:
71
+ status:
72
+ code: 404
73
+ message:
74
+ headers:
75
+ Content-Type:
76
+ - text/plain; charset=utf-8
77
+ Date:
78
+ - Thu, 12 Mar 2015 21:37:32 GMT
79
+ Content-Length:
80
+ - '35'
81
+ body:
82
+ encoding: UTF-8
83
+ string: |
84
+ No such container: exports_volumes
85
+ http_version:
86
+ recorded_at: Thu, 12 Mar 2015 21:37:35 GMT
87
+ - request:
88
+ method: get
89
+ uri: "<DOCKER_HOST>/v1.16/containers/exports_volumes/json"
90
+ body:
91
+ encoding: US-ASCII
92
+ string: ''
93
+ headers:
94
+ User-Agent:
95
+ - Swipely/Docker-API 1.20.0
96
+ Content-Type:
97
+ - text/plain
98
+ response:
99
+ status:
100
+ code: 404
101
+ message:
102
+ headers:
103
+ Content-Type:
104
+ - text/plain; charset=utf-8
105
+ Date:
106
+ - Thu, 12 Mar 2015 21:37:32 GMT
107
+ Content-Length:
108
+ - '35'
109
+ body:
110
+ encoding: UTF-8
111
+ string: |
112
+ No such container: exports_volumes
113
+ http_version:
114
+ recorded_at: Thu, 12 Mar 2015 21:37:35 GMT
115
+ - request:
116
+ method: get
117
+ uri: "<DOCKER_HOST>/v1.16/containers/exports_volumes/json"
118
+ body:
119
+ encoding: US-ASCII
120
+ string: ''
121
+ headers:
122
+ User-Agent:
123
+ - Swipely/Docker-API 1.20.0
124
+ Content-Type:
125
+ - text/plain
126
+ response:
127
+ status:
128
+ code: 404
129
+ message:
130
+ headers:
131
+ Content-Type:
132
+ - text/plain; charset=utf-8
133
+ Date:
134
+ - Thu, 12 Mar 2015 21:37:32 GMT
135
+ Content-Length:
136
+ - '35'
137
+ body:
138
+ encoding: UTF-8
139
+ string: |
140
+ No such container: exports_volumes
141
+ http_version:
142
+ recorded_at: Thu, 12 Mar 2015 21:37:35 GMT
143
+ - request:
144
+ method: get
145
+ uri: "<DOCKER_HOST>/v1.16/containers/exports_volumes/json"
146
+ body:
147
+ encoding: US-ASCII
148
+ string: ''
149
+ headers:
150
+ User-Agent:
151
+ - Swipely/Docker-API 1.20.0
152
+ Content-Type:
153
+ - text/plain
154
+ response:
155
+ status:
156
+ code: 404
157
+ message:
158
+ headers:
159
+ Content-Type:
160
+ - text/plain; charset=utf-8
161
+ Date:
162
+ - Thu, 12 Mar 2015 21:37:32 GMT
163
+ Content-Length:
164
+ - '35'
165
+ body:
166
+ encoding: UTF-8
167
+ string: |
168
+ No such container: exports_volumes
169
+ http_version:
170
+ recorded_at: Thu, 12 Mar 2015 21:37:35 GMT
171
+ - request:
172
+ method: get
173
+ uri: "<DOCKER_HOST>/v1.16/containers/exports_volumes/json"
174
+ body:
175
+ encoding: US-ASCII
176
+ string: ''
177
+ headers:
178
+ User-Agent:
179
+ - Swipely/Docker-API 1.20.0
180
+ Content-Type:
181
+ - text/plain
182
+ response:
183
+ status:
184
+ code: 404
185
+ message:
186
+ headers:
187
+ Content-Type:
188
+ - text/plain; charset=utf-8
189
+ Date:
190
+ - Thu, 12 Mar 2015 21:37:33 GMT
191
+ Content-Length:
192
+ - '35'
193
+ body:
194
+ encoding: UTF-8
195
+ string: |
196
+ No such container: exports_volumes
197
+ http_version:
198
+ recorded_at: Thu, 12 Mar 2015 21:37:35 GMT
199
+ - request:
200
+ method: get
201
+ uri: "<DOCKER_HOST>/v1.16/containers/exports_volumes/json"
202
+ body:
203
+ encoding: US-ASCII
204
+ string: ''
205
+ headers:
206
+ User-Agent:
207
+ - Swipely/Docker-API 1.20.0
208
+ Content-Type:
209
+ - text/plain
210
+ response:
211
+ status:
212
+ code: 404
213
+ message:
214
+ headers:
215
+ Content-Type:
216
+ - text/plain; charset=utf-8
217
+ Date:
218
+ - Thu, 12 Mar 2015 21:37:33 GMT
219
+ Content-Length:
220
+ - '35'
221
+ body:
222
+ encoding: UTF-8
223
+ string: |
224
+ No such container: exports_volumes
225
+ http_version:
226
+ recorded_at: Thu, 12 Mar 2015 21:37:35 GMT
227
+ - request:
228
+ method: get
229
+ uri: "<DOCKER_HOST>/v1.16/containers/exports_volumes/json"
230
+ body:
231
+ encoding: US-ASCII
232
+ string: ''
233
+ headers:
234
+ User-Agent:
235
+ - Swipely/Docker-API 1.20.0
236
+ Content-Type:
237
+ - text/plain
238
+ response:
239
+ status:
240
+ code: 404
241
+ message:
242
+ headers:
243
+ Content-Type:
244
+ - text/plain; charset=utf-8
245
+ Date:
246
+ - Thu, 12 Mar 2015 21:37:33 GMT
247
+ Content-Length:
248
+ - '35'
249
+ body:
250
+ encoding: UTF-8
251
+ string: |
252
+ No such container: exports_volumes
253
+ http_version:
254
+ recorded_at: Thu, 12 Mar 2015 21:37:35 GMT
255
+ - request:
256
+ method: post
257
+ uri: "<DOCKER_HOST>/v1.16/containers/create?name=exports_volumes"
258
+ body:
259
+ encoding: UTF-8
260
+ string: '{"Env":[],"Image":"b9c5be3a918d80b0d898ed8eca3fc76f75c482b531238e539cb00f75bb4e12d2","ExposedPorts":{}}'
261
+ headers:
262
+ User-Agent:
263
+ - Swipely/Docker-API 1.20.0
264
+ Content-Type:
265
+ - application/json
266
+ response:
267
+ status:
268
+ code: 201
269
+ message:
270
+ headers:
271
+ Content-Type:
272
+ - application/json
273
+ Date:
274
+ - Thu, 12 Mar 2015 21:37:33 GMT
275
+ Content-Length:
276
+ - '90'
277
+ body:
278
+ encoding: UTF-8
279
+ string: |
280
+ {"Id":"bf8d35b12564b88bb7296f0b975e65e886dd6413d2f5542fc830f78d1a5c92a4","Warnings":null}
281
+ http_version:
282
+ recorded_at: Thu, 12 Mar 2015 21:37:35 GMT
283
+ - request:
284
+ method: post
285
+ uri: "<DOCKER_HOST>/v1.16/containers/bf8d35b12564b88bb7296f0b975e65e886dd6413d2f5542fc830f78d1a5c92a4/start"
286
+ body:
287
+ encoding: UTF-8
288
+ string: '{"Links":[],"ExtraHosts":[],"PortBindings":{},"VolumesFrom":[]}'
289
+ headers:
290
+ User-Agent:
291
+ - Swipely/Docker-API 1.20.0
292
+ Content-Type:
293
+ - application/json
294
+ response:
295
+ status:
296
+ code: 204
297
+ message:
298
+ headers:
299
+ Date:
300
+ - Thu, 12 Mar 2015 21:37:33 GMT
301
+ body:
302
+ encoding: UTF-8
303
+ string: ''
304
+ http_version:
305
+ recorded_at: Thu, 12 Mar 2015 21:37:35 GMT
306
+ - request:
307
+ method: get
308
+ uri: "<DOCKER_HOST>/v1.16/images/hawknewton/show-env:0.0.1/json"
309
+ body:
310
+ encoding: US-ASCII
311
+ string: ''
312
+ headers:
313
+ User-Agent:
314
+ - Swipely/Docker-API 1.20.0
315
+ Content-Type:
316
+ - text/plain
317
+ response:
318
+ status:
319
+ code: 200
320
+ message:
321
+ headers:
322
+ Content-Type:
323
+ - application/json
324
+ Date:
325
+ - Thu, 12 Mar 2015 21:37:33 GMT
326
+ Content-Length:
327
+ - '1859'
328
+ body:
329
+ encoding: UTF-8
330
+ string: |
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
+ http_version:
333
+ recorded_at: Thu, 12 Mar 2015 21:37:35 GMT
334
+ - request:
335
+ method: get
336
+ uri: "<DOCKER_HOST>/v1.16/containers/mounts_volumes/json"
337
+ body:
338
+ encoding: US-ASCII
339
+ string: ''
340
+ headers:
341
+ User-Agent:
342
+ - Swipely/Docker-API 1.20.0
343
+ Content-Type:
344
+ - text/plain
345
+ response:
346
+ status:
347
+ code: 404
348
+ message:
349
+ headers:
350
+ Content-Type:
351
+ - text/plain; charset=utf-8
352
+ Date:
353
+ - Thu, 12 Mar 2015 21:37:33 GMT
354
+ Content-Length:
355
+ - '34'
356
+ body:
357
+ encoding: UTF-8
358
+ string: |
359
+ No such container: mounts_volumes
360
+ http_version:
361
+ recorded_at: Thu, 12 Mar 2015 21:37:35 GMT
362
+ - request:
363
+ method: get
364
+ uri: "<DOCKER_HOST>/v1.16/containers/mounts_volumes/json"
365
+ body:
366
+ encoding: US-ASCII
367
+ string: ''
368
+ headers:
369
+ User-Agent:
370
+ - Swipely/Docker-API 1.20.0
371
+ Content-Type:
372
+ - text/plain
373
+ response:
374
+ status:
375
+ code: 404
376
+ message:
377
+ headers:
378
+ Content-Type:
379
+ - text/plain; charset=utf-8
380
+ Date:
381
+ - Thu, 12 Mar 2015 21:37:33 GMT
382
+ Content-Length:
383
+ - '34'
384
+ body:
385
+ encoding: UTF-8
386
+ string: |
387
+ No such container: mounts_volumes
388
+ http_version:
389
+ recorded_at: Thu, 12 Mar 2015 21:37:35 GMT
390
+ - request:
391
+ method: get
392
+ uri: "<DOCKER_HOST>/v1.16/containers/mounts_volumes/json"
393
+ body:
394
+ encoding: US-ASCII
395
+ string: ''
396
+ headers:
397
+ User-Agent:
398
+ - Swipely/Docker-API 1.20.0
399
+ Content-Type:
400
+ - text/plain
401
+ response:
402
+ status:
403
+ code: 404
404
+ message:
405
+ headers:
406
+ Content-Type:
407
+ - text/plain; charset=utf-8
408
+ Date:
409
+ - Thu, 12 Mar 2015 21:37:33 GMT
410
+ Content-Length:
411
+ - '34'
412
+ body:
413
+ encoding: UTF-8
414
+ string: |
415
+ No such container: mounts_volumes
416
+ http_version:
417
+ recorded_at: Thu, 12 Mar 2015 21:37:35 GMT
418
+ - request:
419
+ method: get
420
+ uri: "<DOCKER_HOST>/v1.16/containers/mounts_volumes/json"
421
+ body:
422
+ encoding: US-ASCII
423
+ string: ''
424
+ headers:
425
+ User-Agent:
426
+ - Swipely/Docker-API 1.20.0
427
+ Content-Type:
428
+ - text/plain
429
+ response:
430
+ status:
431
+ code: 404
432
+ message:
433
+ headers:
434
+ Content-Type:
435
+ - text/plain; charset=utf-8
436
+ Date:
437
+ - Thu, 12 Mar 2015 21:37:33 GMT
438
+ Content-Length:
439
+ - '34'
440
+ body:
441
+ encoding: UTF-8
442
+ string: |
443
+ No such container: mounts_volumes
444
+ http_version:
445
+ recorded_at: Thu, 12 Mar 2015 21:37:35 GMT
446
+ - request:
447
+ method: get
448
+ uri: "<DOCKER_HOST>/v1.16/containers/mounts_volumes/json"
449
+ body:
450
+ encoding: US-ASCII
451
+ string: ''
452
+ headers:
453
+ User-Agent:
454
+ - Swipely/Docker-API 1.20.0
455
+ Content-Type:
456
+ - text/plain
457
+ response:
458
+ status:
459
+ code: 404
460
+ message:
461
+ headers:
462
+ Content-Type:
463
+ - text/plain; charset=utf-8
464
+ Date:
465
+ - Thu, 12 Mar 2015 21:37:33 GMT
466
+ Content-Length:
467
+ - '34'
468
+ body:
469
+ encoding: UTF-8
470
+ string: |
471
+ No such container: mounts_volumes
472
+ http_version:
473
+ recorded_at: Thu, 12 Mar 2015 21:37:36 GMT
474
+ - request:
475
+ method: get
476
+ uri: "<DOCKER_HOST>/v1.16/containers/mounts_volumes/json"
477
+ body:
478
+ encoding: US-ASCII
479
+ string: ''
480
+ headers:
481
+ User-Agent:
482
+ - Swipely/Docker-API 1.20.0
483
+ Content-Type:
484
+ - text/plain
485
+ response:
486
+ status:
487
+ code: 404
488
+ message:
489
+ headers:
490
+ Content-Type:
491
+ - text/plain; charset=utf-8
492
+ Date:
493
+ - Thu, 12 Mar 2015 21:37:33 GMT
494
+ Content-Length:
495
+ - '34'
496
+ body:
497
+ encoding: UTF-8
498
+ string: |
499
+ No such container: mounts_volumes
500
+ http_version:
501
+ recorded_at: Thu, 12 Mar 2015 21:37:36 GMT
502
+ - request:
503
+ method: get
504
+ uri: "<DOCKER_HOST>/v1.16/containers/mounts_volumes/json"
505
+ body:
506
+ encoding: US-ASCII
507
+ string: ''
508
+ headers:
509
+ User-Agent:
510
+ - Swipely/Docker-API 1.20.0
511
+ Content-Type:
512
+ - text/plain
513
+ response:
514
+ status:
515
+ code: 404
516
+ message:
517
+ headers:
518
+ Content-Type:
519
+ - text/plain; charset=utf-8
520
+ Date:
521
+ - Thu, 12 Mar 2015 21:37:33 GMT
522
+ Content-Length:
523
+ - '34'
524
+ body:
525
+ encoding: UTF-8
526
+ string: |
527
+ No such container: mounts_volumes
528
+ http_version:
529
+ recorded_at: Thu, 12 Mar 2015 21:37:36 GMT
530
+ - request:
531
+ method: get
532
+ uri: "<DOCKER_HOST>/v1.16/containers/mounts_volumes/json"
533
+ body:
534
+ encoding: US-ASCII
535
+ string: ''
536
+ headers:
537
+ User-Agent:
538
+ - Swipely/Docker-API 1.20.0
539
+ Content-Type:
540
+ - text/plain
541
+ response:
542
+ status:
543
+ code: 404
544
+ message:
545
+ headers:
546
+ Content-Type:
547
+ - text/plain; charset=utf-8
548
+ Date:
549
+ - Thu, 12 Mar 2015 21:37:33 GMT
550
+ Content-Length:
551
+ - '34'
552
+ body:
553
+ encoding: UTF-8
554
+ string: |
555
+ No such container: mounts_volumes
556
+ http_version:
557
+ recorded_at: Thu, 12 Mar 2015 21:37:36 GMT
558
+ - request:
559
+ method: post
560
+ uri: "<DOCKER_HOST>/v1.16/containers/create?name=mounts_volumes"
561
+ body:
562
+ encoding: UTF-8
563
+ string: '{"Env":[],"Image":"b9c5be3a918d80b0d898ed8eca3fc76f75c482b531238e539cb00f75bb4e12d2","ExposedPorts":{}}'
564
+ headers:
565
+ User-Agent:
566
+ - Swipely/Docker-API 1.20.0
567
+ Content-Type:
568
+ - application/json
569
+ response:
570
+ status:
571
+ code: 201
572
+ message:
573
+ headers:
574
+ Content-Type:
575
+ - application/json
576
+ Date:
577
+ - Thu, 12 Mar 2015 21:37:34 GMT
578
+ Content-Length:
579
+ - '90'
580
+ body:
581
+ encoding: UTF-8
582
+ string: |
583
+ {"Id":"a8f4437c6cd8193cefcc4340609c8e3b5d42a443f9d802c83f680e77d2983874","Warnings":null}
584
+ http_version:
585
+ recorded_at: Thu, 12 Mar 2015 21:37:36 GMT
586
+ - request:
587
+ method: post
588
+ uri: "<DOCKER_HOST>/v1.16/containers/a8f4437c6cd8193cefcc4340609c8e3b5d42a443f9d802c83f680e77d2983874/start"
589
+ body:
590
+ encoding: UTF-8
591
+ string: '{"Links":[],"ExtraHosts":[],"PortBindings":{},"VolumesFrom":["exports_volumes"]}'
592
+ headers:
593
+ User-Agent:
594
+ - Swipely/Docker-API 1.20.0
595
+ Content-Type:
596
+ - application/json
597
+ response:
598
+ status:
599
+ code: 204
600
+ message:
601
+ headers:
602
+ Date:
603
+ - Thu, 12 Mar 2015 21:37:34 GMT
604
+ body:
605
+ encoding: UTF-8
606
+ string: ''
607
+ http_version:
608
+ recorded_at: Thu, 12 Mar 2015 21:37:36 GMT
609
+ - request:
610
+ method: get
611
+ uri: "<DOCKER_HOST>/v1.16/containers/mounts_volumes/json"
612
+ body:
613
+ encoding: US-ASCII
614
+ string: ''
615
+ headers:
616
+ User-Agent:
617
+ - Swipely/Docker-API 1.20.0
618
+ Content-Type:
619
+ - text/plain
620
+ response:
621
+ status:
622
+ code: 200
623
+ message:
624
+ headers:
625
+ Content-Type:
626
+ - application/json
627
+ Date:
628
+ - Thu, 12 Mar 2015 21:37:34 GMT
629
+ body:
630
+ encoding: UTF-8
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":"a8f4437c6cd8","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-03-12T21:37:33.887154711Z","Driver":"aufs","ExecDriver":"native-0.2","ExecIDs":null,"HostConfig":{"Binds":null,"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":["exports_volumes"]},"HostnamePath":"/mnt/sda1/var/lib/docker/containers/a8f4437c6cd8193cefcc4340609c8e3b5d42a443f9d802c83f680e77d2983874/hostname","HostsPath":"/mnt/sda1/var/lib/docker/containers/a8f4437c6cd8193cefcc4340609c8e3b5d42a443f9d802c83f680e77d2983874/hosts","Id":"a8f4437c6cd8193cefcc4340609c8e3b5d42a443f9d802c83f680e77d2983874","Image":"b9c5be3a918d80b0d898ed8eca3fc76f75c482b531238e539cb00f75bb4e12d2","MountLabel":"","Name":"/mounts_volumes","NetworkSettings":{"Bridge":"docker0","Gateway":"172.17.42.1","GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"IPAddress":"172.17.2.90","IPPrefixLen":16,"IPv6Gateway":"","LinkLocalIPv6Address":"fe80::42:acff:fe11:25a","LinkLocalIPv6PrefixLen":64,"MacAddress":"02:42:ac:11:02:5a","PortMapping":null,"Ports":{"80/tcp":null}},"Path":"/bin/sh","ProcessLabel":"","ResolvConfPath":"/mnt/sda1/var/lib/docker/containers/a8f4437c6cd8193cefcc4340609c8e3b5d42a443f9d802c83f680e77d2983874/resolv.conf","RestartCount":0,"State":{"Error":"","ExitCode":0,"FinishedAt":"0001-01-01T00:00:00Z","OOMKilled":false,"Paused":false,"Pid":11572,"Restarting":false,"Running":true,"StartedAt":"2015-03-12T21:37:34.270892017Z"},"Volumes":{},"VolumesRW":{}}
633
+ http_version:
634
+ recorded_at: Thu, 12 Mar 2015 21:37:36 GMT
635
+ - request:
636
+ method: get
637
+ uri: "<DOCKER_HOST>/v1.16/containers/a8f4437c6cd8193cefcc4340609c8e3b5d42a443f9d802c83f680e77d2983874/json"
638
+ body:
639
+ encoding: US-ASCII
640
+ string: ''
641
+ headers:
642
+ User-Agent:
643
+ - Swipely/Docker-API 1.20.0
644
+ Content-Type:
645
+ - text/plain
646
+ response:
647
+ status:
648
+ code: 200
649
+ message:
650
+ headers:
651
+ Content-Type:
652
+ - application/json
653
+ Date:
654
+ - Thu, 12 Mar 2015 21:37:34 GMT
655
+ body:
656
+ encoding: UTF-8
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":"a8f4437c6cd8","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-03-12T21:37:33.887154711Z","Driver":"aufs","ExecDriver":"native-0.2","ExecIDs":null,"HostConfig":{"Binds":null,"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":["exports_volumes"]},"HostnamePath":"/mnt/sda1/var/lib/docker/containers/a8f4437c6cd8193cefcc4340609c8e3b5d42a443f9d802c83f680e77d2983874/hostname","HostsPath":"/mnt/sda1/var/lib/docker/containers/a8f4437c6cd8193cefcc4340609c8e3b5d42a443f9d802c83f680e77d2983874/hosts","Id":"a8f4437c6cd8193cefcc4340609c8e3b5d42a443f9d802c83f680e77d2983874","Image":"b9c5be3a918d80b0d898ed8eca3fc76f75c482b531238e539cb00f75bb4e12d2","MountLabel":"","Name":"/mounts_volumes","NetworkSettings":{"Bridge":"docker0","Gateway":"172.17.42.1","GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"IPAddress":"172.17.2.90","IPPrefixLen":16,"IPv6Gateway":"","LinkLocalIPv6Address":"fe80::42:acff:fe11:25a","LinkLocalIPv6PrefixLen":64,"MacAddress":"02:42:ac:11:02:5a","PortMapping":null,"Ports":{"80/tcp":null}},"Path":"/bin/sh","ProcessLabel":"","ResolvConfPath":"/mnt/sda1/var/lib/docker/containers/a8f4437c6cd8193cefcc4340609c8e3b5d42a443f9d802c83f680e77d2983874/resolv.conf","RestartCount":0,"State":{"Error":"","ExitCode":0,"FinishedAt":"0001-01-01T00:00:00Z","OOMKilled":false,"Paused":false,"Pid":11572,"Restarting":false,"Running":true,"StartedAt":"2015-03-12T21:37:34.270892017Z"},"Volumes":{},"VolumesRW":{}}
659
+ http_version:
660
+ recorded_at: Thu, 12 Mar 2015 21:37:36 GMT
661
+ - request:
662
+ method: get
663
+ uri: "<DOCKER_HOST>/v1.16/containers/mounts_volumes/json"
664
+ body:
665
+ encoding: US-ASCII
666
+ string: ''
667
+ headers:
668
+ User-Agent:
669
+ - Swipely/Docker-API 1.20.0
670
+ Content-Type:
671
+ - text/plain
672
+ response:
673
+ status:
674
+ code: 200
675
+ message:
676
+ headers:
677
+ Content-Type:
678
+ - application/json
679
+ Date:
680
+ - Thu, 12 Mar 2015 21:37:34 GMT
681
+ body:
682
+ encoding: UTF-8
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":"a8f4437c6cd8","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-03-12T21:37:33.887154711Z","Driver":"aufs","ExecDriver":"native-0.2","ExecIDs":null,"HostConfig":{"Binds":null,"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":["exports_volumes"]},"HostnamePath":"/mnt/sda1/var/lib/docker/containers/a8f4437c6cd8193cefcc4340609c8e3b5d42a443f9d802c83f680e77d2983874/hostname","HostsPath":"/mnt/sda1/var/lib/docker/containers/a8f4437c6cd8193cefcc4340609c8e3b5d42a443f9d802c83f680e77d2983874/hosts","Id":"a8f4437c6cd8193cefcc4340609c8e3b5d42a443f9d802c83f680e77d2983874","Image":"b9c5be3a918d80b0d898ed8eca3fc76f75c482b531238e539cb00f75bb4e12d2","MountLabel":"","Name":"/mounts_volumes","NetworkSettings":{"Bridge":"docker0","Gateway":"172.17.42.1","GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"IPAddress":"172.17.2.90","IPPrefixLen":16,"IPv6Gateway":"","LinkLocalIPv6Address":"fe80::42:acff:fe11:25a","LinkLocalIPv6PrefixLen":64,"MacAddress":"02:42:ac:11:02:5a","PortMapping":null,"Ports":{"80/tcp":null}},"Path":"/bin/sh","ProcessLabel":"","ResolvConfPath":"/mnt/sda1/var/lib/docker/containers/a8f4437c6cd8193cefcc4340609c8e3b5d42a443f9d802c83f680e77d2983874/resolv.conf","RestartCount":0,"State":{"Error":"","ExitCode":0,"FinishedAt":"0001-01-01T00:00:00Z","OOMKilled":false,"Paused":false,"Pid":11572,"Restarting":false,"Running":true,"StartedAt":"2015-03-12T21:37:34.270892017Z"},"Volumes":{},"VolumesRW":{}}
685
+ http_version:
686
+ recorded_at: Thu, 12 Mar 2015 21:37:36 GMT
687
+ - request:
688
+ method: post
689
+ uri: "<DOCKER_HOST>/v1.16/containers/a8f4437c6cd8193cefcc4340609c8e3b5d42a443f9d802c83f680e77d2983874/kill"
690
+ body:
691
+ encoding: US-ASCII
692
+ string: ''
693
+ headers:
694
+ User-Agent:
695
+ - Swipely/Docker-API 1.20.0
696
+ Content-Type:
697
+ - text/plain
698
+ response:
699
+ status:
700
+ code: 204
701
+ message:
702
+ headers:
703
+ Date:
704
+ - Thu, 12 Mar 2015 21:37:34 GMT
705
+ body:
706
+ encoding: UTF-8
707
+ string: ''
708
+ http_version:
709
+ recorded_at: Thu, 12 Mar 2015 21:37:36 GMT
710
+ - request:
711
+ method: delete
712
+ uri: "<DOCKER_HOST>/v1.16/containers/a8f4437c6cd8193cefcc4340609c8e3b5d42a443f9d802c83f680e77d2983874"
713
+ body:
714
+ encoding: US-ASCII
715
+ string: ''
716
+ headers:
717
+ User-Agent:
718
+ - Swipely/Docker-API 1.20.0
719
+ Content-Type:
720
+ - text/plain
721
+ response:
722
+ status:
723
+ code: 204
724
+ message:
725
+ headers:
726
+ Date:
727
+ - Thu, 12 Mar 2015 21:37:34 GMT
728
+ body:
729
+ encoding: UTF-8
730
+ string: ''
731
+ http_version:
732
+ recorded_at: Thu, 12 Mar 2015 21:37:36 GMT
733
+ - request:
734
+ method: get
735
+ uri: "<DOCKER_HOST>/v1.16/containers/exports_volumes/json"
736
+ body:
737
+ encoding: US-ASCII
738
+ string: ''
739
+ headers:
740
+ User-Agent:
741
+ - Swipely/Docker-API 1.20.0
742
+ Content-Type:
743
+ - text/plain
744
+ response:
745
+ status:
746
+ code: 200
747
+ message:
748
+ headers:
749
+ Content-Type:
750
+ - application/json
751
+ Date:
752
+ - Thu, 12 Mar 2015 21:37:34 GMT
753
+ body:
754
+ encoding: UTF-8
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":"bf8d35b12564","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-03-12T21:37:33.164116986Z","Driver":"aufs","ExecDriver":"native-0.2","ExecIDs":null,"HostConfig":{"Binds":null,"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/bf8d35b12564b88bb7296f0b975e65e886dd6413d2f5542fc830f78d1a5c92a4/hostname","HostsPath":"/mnt/sda1/var/lib/docker/containers/bf8d35b12564b88bb7296f0b975e65e886dd6413d2f5542fc830f78d1a5c92a4/hosts","Id":"bf8d35b12564b88bb7296f0b975e65e886dd6413d2f5542fc830f78d1a5c92a4","Image":"b9c5be3a918d80b0d898ed8eca3fc76f75c482b531238e539cb00f75bb4e12d2","MountLabel":"","Name":"/exports_volumes","NetworkSettings":{"Bridge":"docker0","Gateway":"172.17.42.1","GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"IPAddress":"172.17.2.89","IPPrefixLen":16,"IPv6Gateway":"","LinkLocalIPv6Address":"fe80::42:acff:fe11:259","LinkLocalIPv6PrefixLen":64,"MacAddress":"02:42:ac:11:02:59","PortMapping":null,"Ports":{"80/tcp":null}},"Path":"/bin/sh","ProcessLabel":"","ResolvConfPath":"/mnt/sda1/var/lib/docker/containers/bf8d35b12564b88bb7296f0b975e65e886dd6413d2f5542fc830f78d1a5c92a4/resolv.conf","RestartCount":0,"State":{"Error":"","ExitCode":0,"FinishedAt":"0001-01-01T00:00:00Z","OOMKilled":false,"Paused":false,"Pid":11564,"Restarting":false,"Running":true,"StartedAt":"2015-03-12T21:37:33.520989429Z"},"Volumes":{},"VolumesRW":{}}
757
+ http_version:
758
+ recorded_at: Thu, 12 Mar 2015 21:37:36 GMT
759
+ - request:
760
+ method: post
761
+ uri: "<DOCKER_HOST>/v1.16/containers/bf8d35b12564b88bb7296f0b975e65e886dd6413d2f5542fc830f78d1a5c92a4/kill"
762
+ body:
763
+ encoding: US-ASCII
764
+ string: ''
765
+ headers:
766
+ User-Agent:
767
+ - Swipely/Docker-API 1.20.0
768
+ Content-Type:
769
+ - text/plain
770
+ response:
771
+ status:
772
+ code: 204
773
+ message:
774
+ headers:
775
+ Date:
776
+ - Thu, 12 Mar 2015 21:37:34 GMT
777
+ body:
778
+ encoding: UTF-8
779
+ string: ''
780
+ http_version:
781
+ recorded_at: Thu, 12 Mar 2015 21:37:37 GMT
782
+ - request:
783
+ method: delete
784
+ uri: "<DOCKER_HOST>/v1.16/containers/bf8d35b12564b88bb7296f0b975e65e886dd6413d2f5542fc830f78d1a5c92a4"
785
+ body:
786
+ encoding: US-ASCII
787
+ string: ''
788
+ headers:
789
+ User-Agent:
790
+ - Swipely/Docker-API 1.20.0
791
+ Content-Type:
792
+ - text/plain
793
+ response:
794
+ status:
795
+ code: 204
796
+ message:
797
+ headers:
798
+ Date:
799
+ - Thu, 12 Mar 2015 21:37:34 GMT
800
+ body:
801
+ encoding: UTF-8
802
+ string: ''
803
+ http_version:
804
+ recorded_at: Thu, 12 Mar 2015 21:37:37 GMT
805
+ recorded_with: VCR 2.9.3