bigrig 0.0.0 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/.rspec +3 -0
- data/.rubocop.yml +20 -0
- data/.travis.yml +3 -0
- data/CHANGELOG.md +19 -0
- data/Gemfile +2 -0
- data/Gemfile.lock +84 -0
- data/LICENSE +28 -0
- data/README.md +191 -0
- data/Rakefile +10 -0
- data/bigrig.gemspec +29 -0
- data/bin/bigrig +113 -0
- data/lib/bigrig/actions/destroy_action.rb +21 -0
- data/lib/bigrig/actions/dev_action.rb +19 -0
- data/lib/bigrig/actions/log_action.rb +45 -0
- data/lib/bigrig/actions/run_action.rb +14 -0
- data/lib/bigrig/actions/ship_action.rb +51 -0
- data/lib/bigrig/actions.rb +5 -0
- data/lib/bigrig/dependency_graph.rb +21 -0
- data/lib/bigrig/descriptor.rb +43 -0
- data/lib/bigrig/docker_adapter.rb +129 -0
- data/lib/bigrig/models/application.rb +22 -0
- data/lib/bigrig/models/base_model.rb +7 -0
- data/lib/bigrig/models/container.rb +40 -0
- data/lib/bigrig/models.rb +3 -0
- data/lib/bigrig/output_parser.rb +52 -0
- data/lib/bigrig/runner.rb +94 -0
- data/lib/bigrig/version.rb +3 -0
- data/lib/bigrig.rb +8 -0
- data/spec/bigrig/actions/destroy_action_spec.rb +55 -0
- data/spec/bigrig/actions/dev_action_spec.rb +17 -0
- data/spec/bigrig/actions/log_action_spec.rb +33 -0
- data/spec/bigrig/actions/run_action_spec.rb +270 -0
- data/spec/bigrig/actions/ship_action_spec.rb +82 -0
- data/spec/bigrig/dependency_graph_spec.rb +19 -0
- data/spec/bigrig/descriptor_spec.rb +56 -0
- data/spec/bigrig/docker_adapter_spec.rb +409 -0
- data/spec/bigrig/models/application_spec.rb +32 -0
- data/spec/bigrig/models/container_spec.rb +115 -0
- data/spec/bigrig/output_parser_spec.rb +71 -0
- data/spec/bigrig_spec.rb +249 -0
- data/spec/data/addscontainer.json +24 -0
- data/spec/data/build/Dockerfile +2 -0
- data/spec/data/build/test +0 -0
- data/spec/data/dev.json +26 -0
- data/spec/data/duplicate.json +13 -0
- data/spec/data/env.json +12 -0
- data/spec/data/hosts_ip.json +12 -0
- data/spec/data/hosts_name.json +11 -0
- data/spec/data/links.json +13 -0
- data/spec/data/log.json +8 -0
- data/spec/data/multiple.json +13 -0
- data/spec/data/path.json +5 -0
- data/spec/data/ports.json +9 -0
- data/spec/data/profiles.json +24 -0
- data/spec/data/ship.json +5 -0
- data/spec/data/single.json +8 -0
- data/spec/data/tagandpath.json +24 -0
- data/spec/data/tiny-image.tar +0 -0
- data/spec/data/volumes.json +13 -0
- data/spec/spec_helper.rb +104 -0
- data/spec/support/bigrig_vcr +8 -0
- data/spec/support/vcr.rb +15 -0
- data/spec/vcr/Bigrig_DestroyAction/_perform/given_json_with_a_single_container/and_the_container_has_exited/should_remove_the_container.yml +392 -0
- 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
- data/spec/vcr/Bigrig_DockerAdapter/_build/builds_the_given_directory.yml +63 -0
- data/spec/vcr/Bigrig_DockerAdapter/_build/passes_build_input_to_a_block.yml +35 -0
- data/spec/vcr/Bigrig_DockerAdapter/_container_exists_/when_the_container_does_not_exist/is_false.yml +115 -0
- data/spec/vcr/Bigrig_DockerAdapter/_container_exists_/when_the_container_exists/is_true.yml +82 -0
- data/spec/vcr/Bigrig_DockerAdapter/_image_id_by_tag/when_the_image_does_not_exist/raise_a_ImageNotFoundError.yml +172 -0
- data/spec/vcr/Bigrig_DockerAdapter/_image_id_by_tag/when_the_image_exists/returns_the_image_id.yml +148 -0
- data/spec/vcr/Bigrig_DockerAdapter/_kill/given_the_container_does_not_exist/should_raise_an_error.yml +115 -0
- data/spec/vcr/Bigrig_DockerAdapter/_kill/given_the_container_is_running/should_kill_the_container.yml +200 -0
- data/spec/vcr/Bigrig_DockerAdapter/_logs/streams_logs_to_a_block.yml +163 -0
- data/spec/vcr/Bigrig_DockerAdapter/_pull/given_a_block_to_capture_output/should_capture_output.yml +64 -0
- data/spec/vcr/Bigrig_DockerAdapter/_pull/given_the_repo_does_not_exist/raises_a_RepoNotFoundError.yml +30 -0
- data/spec/vcr/Bigrig_DockerAdapter/_pull/given_the_repo_exists/returns_the_image_id.yml +92 -0
- data/spec/vcr/Bigrig_DockerAdapter/_push/given_credentials/will_pass_login_and_password.yml +254 -0
- data/spec/vcr/Bigrig_DockerAdapter/_push/should_push_the_image.yml +482 -0
- data/spec/vcr/Bigrig_DockerAdapter/_remove_container/when_the_container_does_not_exist/raises_a_ContainerNotFoundError.yml +227 -0
- data/spec/vcr/Bigrig_DockerAdapter/_remove_container/when_the_container_exists/should_remove_the_container.yml +222 -0
- data/spec/vcr/Bigrig_DockerAdapter/_remove_container/when_the_container_is_running/raises_a_ContainerRunningError.yml +80 -0
- data/spec/vcr/Bigrig_DockerAdapter/_remove_image/when_the_image_doesnt_exist/raises_an_error.yml +115 -0
- data/spec/vcr/Bigrig_DockerAdapter/_remove_image/when_the_image_exists/removes_the_image.yml +199 -0
- 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
- 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
- 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
- data/spec/vcr/Bigrig_DockerAdapter/_running_/when_the_container_does_not_exist/returns_false.yml +115 -0
- data/spec/vcr/Bigrig_DockerAdapter/_running_/when_the_container_is_not_running/returns_false.yml +82 -0
- data/spec/vcr/Bigrig_DockerAdapter/_running_/when_the_container_is_running/returns_true.yml +103 -0
- data/spec/vcr/Bigrig_DockerAdapter/_tag/should_tag_the_image.yml +290 -0
- data/spec/vcr/Bigrig_LogAction/_perform/follows_the_log.yml +163 -0
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_a_path/builds_the_image_before_starting_it.yml +310 -0
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_hosts_by_ip/should_pass_hosts_to_container.yml +430 -0
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_hosts_by_name/should_lookup_ips_for_hosts_with_a_hostname.yml +430 -0
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_links/should_pass_links_to_the_right_container.yml +805 -0
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_multiple_containers/launches_both_containers_in_parallel.yml +731 -0
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_multiple_containers/spins_up_multiple_containers.yml +805 -0
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_one_container/should_spin_up_a_single_container.yml +404 -0
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_one_container/when_a_dead_container_exists/should_remove_existing_containers.yml +329 -0
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_volumes_from/should_pass_volumes_from_to_the_right_container.yml +805 -0
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_volumes_from/starts_the_dependant_container_last.yml +731 -0
- data/spec/vcr/Bigrig_RunAction/_perform/when_activating_profiles_that_do_not_exist/ignores_the_missing_profile.yml +409 -0
- data/spec/vcr/Bigrig_RunAction/_perform/with_a_file_with_active_profiles/uses_the_overridden_image.yml +432 -0
- data/spec/vcr/bigrig/destroy/spec/data/single_json/kills_the_container.yml +166 -0
- data/spec/vcr/bigrig/dev/spec/data/dev_json/activates_the_dev_profile.yml +37 -0
- data/spec/vcr/bigrig/dev/spec/data/dev_json/destroys_containers_on_exit.yml +227 -0
- data/spec/vcr/bigrig/dev/spec/data/dev_json/starts_the_containers.yml +107 -0
- data/spec/vcr/bigrig/logs/spec/data/log_json/tails_the_logs.yml +163 -0
- data/spec/vcr/bigrig/run/spec/data/profiles_json_-p_qa/leaves_existing_env_values_alone.yml +110 -0
- data/spec/vcr/bigrig/run/spec/data/profiles_json_-p_qa/overrides_the_env.yml +110 -0
- data/spec/vcr/bigrig/run/spec/data/profiles_json_-p_qa/overrides_the_tag.yml +103 -0
- data/spec/vcr/bigrig/run/spec/data/single_json/sends_the_name_of_the_container_to_stdout.yml +75 -0
- data/spec/vcr/bigrig/run/spec/data/single_json/starts_the_container.yml +101 -0
- data/spec/vcr/bigrig/ship/spec/data/ship_json/with_a_version/-c/cleans_the_image_when_its_done.yml +212 -0
- data/spec/vcr/bigrig/ship/spec/data/ship_json/with_a_version/builds_and_pushes_the_image.yml +128 -0
- data/spec/vcr/bigrig_bin_bigrig_destroy_spec/data/single_json_kills_the_container.yml +179 -0
- data/spec/vcr/bigrig_bin_bigrig_dev_spec/data/dev_json_activates_the_dev_profile.yml +1068 -0
- data/spec/vcr/bigrig_bin_bigrig_dev_spec/data/dev_json_destroys_containers_on_exit.yml +1070 -0
- data/spec/vcr/bigrig_bin_bigrig_dev_spec/data/dev_json_starts_the_containers.yml +1068 -0
- data/spec/vcr/bigrig_bin_bigrig_dev_spec/data/dev_json_tails_the_logs.yml +1075 -0
- data/spec/vcr/bigrig_bin_bigrig_logs_spec/data/log_json_tails_the_logs.yml +69 -0
- data/spec/vcr/bigrig_bin_bigrig_run_spec/data/profiles_json_-p_qa_leaves_existing_env_values_alone.yml +306 -0
- data/spec/vcr/bigrig_bin_bigrig_run_spec/data/profiles_json_-p_qa_overrides_the_env.yml +306 -0
- data/spec/vcr/bigrig_bin_bigrig_run_spec/data/profiles_json_-p_qa_overrides_the_tag.yml +306 -0
- data/spec/vcr/bigrig_bin_bigrig_run_spec/data/single_json_sends_the_name_of_the_container_to_stdout.yml +306 -0
- data/spec/vcr/bigrig_bin_bigrig_run_spec/data/single_json_starts_the_container.yml +306 -0
- data/spec/vcr/bigrig_bin_bigrig_ship_spec/data/ship_json_with_a_version_-c_cleans_the_image_when_its_done.yml +335 -0
- data/spec/vcr/bigrig_bin_bigrig_ship_spec/data/ship_json_with_a_version_builds_and_pushes_the_image.yml +285 -0
- data/test/dev/shipper.json +24 -0
- data/test/logs/bigrig.json +6 -0
- data/test/logs/container1/Dockerfile +4 -0
- data/test/logs/container1/run.sh +7 -0
- data/test/logs/container2/Dockerfile +4 -0
- data/test/logs/container2/run.sh +7 -0
- data/test/ship/bigrig-1.2.3.json +1 -0
- data/test/ship/bigrig.json +5 -0
- data/test/ship/registry.json +11 -0
- data/test/ship/ship/Dockerfile +4 -0
- data/test/ship/ship/run.sh +6 -0
- data/test/volumes_from/exports_volumes/Dockerfile +8 -0
- data/test/volumes_from/exports_volumes/index.html +8 -0
- data/test/volumes_from/exports_volumes/run.sh +7 -0
- data/test/volumes_from/shipper.json +14 -0
- metadata +278 -8
@@ -0,0 +1,731 @@
|
|
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:34 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:37 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:35 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:37 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:35 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:37 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:35 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:37 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:35 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:37 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:35 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:37 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:35 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:37 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:35 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:37 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:35 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:37 GMT
|
255
|
+
- request:
|
256
|
+
method: get
|
257
|
+
uri: "<DOCKER_HOST>/v1.16/images/hawknewton/show-env:0.0.1/json"
|
258
|
+
body:
|
259
|
+
encoding: US-ASCII
|
260
|
+
string: ''
|
261
|
+
headers:
|
262
|
+
User-Agent:
|
263
|
+
- Swipely/Docker-API 1.20.0
|
264
|
+
Content-Type:
|
265
|
+
- text/plain
|
266
|
+
response:
|
267
|
+
status:
|
268
|
+
code: 200
|
269
|
+
message:
|
270
|
+
headers:
|
271
|
+
Content-Type:
|
272
|
+
- application/json
|
273
|
+
Date:
|
274
|
+
- Thu, 12 Mar 2015 21:37:36 GMT
|
275
|
+
Content-Length:
|
276
|
+
- '1859'
|
277
|
+
body:
|
278
|
+
encoding: UTF-8
|
279
|
+
string: |
|
280
|
+
{"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}
|
281
|
+
http_version:
|
282
|
+
recorded_at: Thu, 12 Mar 2015 21:37:38 GMT
|
283
|
+
- request:
|
284
|
+
method: get
|
285
|
+
uri: "<DOCKER_HOST>/v1.16/containers/mounts_volumes/json"
|
286
|
+
body:
|
287
|
+
encoding: US-ASCII
|
288
|
+
string: ''
|
289
|
+
headers:
|
290
|
+
User-Agent:
|
291
|
+
- Swipely/Docker-API 1.20.0
|
292
|
+
Content-Type:
|
293
|
+
- text/plain
|
294
|
+
response:
|
295
|
+
status:
|
296
|
+
code: 404
|
297
|
+
message:
|
298
|
+
headers:
|
299
|
+
Content-Type:
|
300
|
+
- text/plain; charset=utf-8
|
301
|
+
Date:
|
302
|
+
- Thu, 12 Mar 2015 21:37:36 GMT
|
303
|
+
Content-Length:
|
304
|
+
- '34'
|
305
|
+
body:
|
306
|
+
encoding: UTF-8
|
307
|
+
string: |
|
308
|
+
No such container: mounts_volumes
|
309
|
+
http_version:
|
310
|
+
recorded_at: Thu, 12 Mar 2015 21:37:38 GMT
|
311
|
+
- request:
|
312
|
+
method: get
|
313
|
+
uri: "<DOCKER_HOST>/v1.16/containers/mounts_volumes/json"
|
314
|
+
body:
|
315
|
+
encoding: US-ASCII
|
316
|
+
string: ''
|
317
|
+
headers:
|
318
|
+
User-Agent:
|
319
|
+
- Swipely/Docker-API 1.20.0
|
320
|
+
Content-Type:
|
321
|
+
- text/plain
|
322
|
+
response:
|
323
|
+
status:
|
324
|
+
code: 404
|
325
|
+
message:
|
326
|
+
headers:
|
327
|
+
Content-Type:
|
328
|
+
- text/plain; charset=utf-8
|
329
|
+
Date:
|
330
|
+
- Thu, 12 Mar 2015 21:37:36 GMT
|
331
|
+
Content-Length:
|
332
|
+
- '34'
|
333
|
+
body:
|
334
|
+
encoding: UTF-8
|
335
|
+
string: |
|
336
|
+
No such container: mounts_volumes
|
337
|
+
http_version:
|
338
|
+
recorded_at: Thu, 12 Mar 2015 21:37:38 GMT
|
339
|
+
- request:
|
340
|
+
method: get
|
341
|
+
uri: "<DOCKER_HOST>/v1.16/containers/mounts_volumes/json"
|
342
|
+
body:
|
343
|
+
encoding: US-ASCII
|
344
|
+
string: ''
|
345
|
+
headers:
|
346
|
+
User-Agent:
|
347
|
+
- Swipely/Docker-API 1.20.0
|
348
|
+
Content-Type:
|
349
|
+
- text/plain
|
350
|
+
response:
|
351
|
+
status:
|
352
|
+
code: 404
|
353
|
+
message:
|
354
|
+
headers:
|
355
|
+
Content-Type:
|
356
|
+
- text/plain; charset=utf-8
|
357
|
+
Date:
|
358
|
+
- Thu, 12 Mar 2015 21:37:36 GMT
|
359
|
+
Content-Length:
|
360
|
+
- '34'
|
361
|
+
body:
|
362
|
+
encoding: UTF-8
|
363
|
+
string: |
|
364
|
+
No such container: mounts_volumes
|
365
|
+
http_version:
|
366
|
+
recorded_at: Thu, 12 Mar 2015 21:37:38 GMT
|
367
|
+
- request:
|
368
|
+
method: get
|
369
|
+
uri: "<DOCKER_HOST>/v1.16/containers/mounts_volumes/json"
|
370
|
+
body:
|
371
|
+
encoding: US-ASCII
|
372
|
+
string: ''
|
373
|
+
headers:
|
374
|
+
User-Agent:
|
375
|
+
- Swipely/Docker-API 1.20.0
|
376
|
+
Content-Type:
|
377
|
+
- text/plain
|
378
|
+
response:
|
379
|
+
status:
|
380
|
+
code: 404
|
381
|
+
message:
|
382
|
+
headers:
|
383
|
+
Content-Type:
|
384
|
+
- text/plain; charset=utf-8
|
385
|
+
Date:
|
386
|
+
- Thu, 12 Mar 2015 21:37:36 GMT
|
387
|
+
Content-Length:
|
388
|
+
- '34'
|
389
|
+
body:
|
390
|
+
encoding: UTF-8
|
391
|
+
string: |
|
392
|
+
No such container: mounts_volumes
|
393
|
+
http_version:
|
394
|
+
recorded_at: Thu, 12 Mar 2015 21:37:38 GMT
|
395
|
+
- request:
|
396
|
+
method: get
|
397
|
+
uri: "<DOCKER_HOST>/v1.16/containers/mounts_volumes/json"
|
398
|
+
body:
|
399
|
+
encoding: US-ASCII
|
400
|
+
string: ''
|
401
|
+
headers:
|
402
|
+
User-Agent:
|
403
|
+
- Swipely/Docker-API 1.20.0
|
404
|
+
Content-Type:
|
405
|
+
- text/plain
|
406
|
+
response:
|
407
|
+
status:
|
408
|
+
code: 404
|
409
|
+
message:
|
410
|
+
headers:
|
411
|
+
Content-Type:
|
412
|
+
- text/plain; charset=utf-8
|
413
|
+
Date:
|
414
|
+
- Thu, 12 Mar 2015 21:37:36 GMT
|
415
|
+
Content-Length:
|
416
|
+
- '34'
|
417
|
+
body:
|
418
|
+
encoding: UTF-8
|
419
|
+
string: |
|
420
|
+
No such container: mounts_volumes
|
421
|
+
http_version:
|
422
|
+
recorded_at: Thu, 12 Mar 2015 21:37:38 GMT
|
423
|
+
- request:
|
424
|
+
method: get
|
425
|
+
uri: "<DOCKER_HOST>/v1.16/containers/mounts_volumes/json"
|
426
|
+
body:
|
427
|
+
encoding: US-ASCII
|
428
|
+
string: ''
|
429
|
+
headers:
|
430
|
+
User-Agent:
|
431
|
+
- Swipely/Docker-API 1.20.0
|
432
|
+
Content-Type:
|
433
|
+
- text/plain
|
434
|
+
response:
|
435
|
+
status:
|
436
|
+
code: 404
|
437
|
+
message:
|
438
|
+
headers:
|
439
|
+
Content-Type:
|
440
|
+
- text/plain; charset=utf-8
|
441
|
+
Date:
|
442
|
+
- Thu, 12 Mar 2015 21:37:36 GMT
|
443
|
+
Content-Length:
|
444
|
+
- '34'
|
445
|
+
body:
|
446
|
+
encoding: UTF-8
|
447
|
+
string: |
|
448
|
+
No such container: mounts_volumes
|
449
|
+
http_version:
|
450
|
+
recorded_at: Thu, 12 Mar 2015 21:37:38 GMT
|
451
|
+
- request:
|
452
|
+
method: get
|
453
|
+
uri: "<DOCKER_HOST>/v1.16/containers/mounts_volumes/json"
|
454
|
+
body:
|
455
|
+
encoding: US-ASCII
|
456
|
+
string: ''
|
457
|
+
headers:
|
458
|
+
User-Agent:
|
459
|
+
- Swipely/Docker-API 1.20.0
|
460
|
+
Content-Type:
|
461
|
+
- text/plain
|
462
|
+
response:
|
463
|
+
status:
|
464
|
+
code: 404
|
465
|
+
message:
|
466
|
+
headers:
|
467
|
+
Content-Type:
|
468
|
+
- text/plain; charset=utf-8
|
469
|
+
Date:
|
470
|
+
- Thu, 12 Mar 2015 21:37:36 GMT
|
471
|
+
Content-Length:
|
472
|
+
- '34'
|
473
|
+
body:
|
474
|
+
encoding: UTF-8
|
475
|
+
string: |
|
476
|
+
No such container: mounts_volumes
|
477
|
+
http_version:
|
478
|
+
recorded_at: Thu, 12 Mar 2015 21:37:38 GMT
|
479
|
+
- request:
|
480
|
+
method: get
|
481
|
+
uri: "<DOCKER_HOST>/v1.16/containers/mounts_volumes/json"
|
482
|
+
body:
|
483
|
+
encoding: US-ASCII
|
484
|
+
string: ''
|
485
|
+
headers:
|
486
|
+
User-Agent:
|
487
|
+
- Swipely/Docker-API 1.20.0
|
488
|
+
Content-Type:
|
489
|
+
- text/plain
|
490
|
+
response:
|
491
|
+
status:
|
492
|
+
code: 404
|
493
|
+
message:
|
494
|
+
headers:
|
495
|
+
Content-Type:
|
496
|
+
- text/plain; charset=utf-8
|
497
|
+
Date:
|
498
|
+
- Thu, 12 Mar 2015 21:37:36 GMT
|
499
|
+
Content-Length:
|
500
|
+
- '34'
|
501
|
+
body:
|
502
|
+
encoding: UTF-8
|
503
|
+
string: |
|
504
|
+
No such container: mounts_volumes
|
505
|
+
http_version:
|
506
|
+
recorded_at: Thu, 12 Mar 2015 21:37:38 GMT
|
507
|
+
- request:
|
508
|
+
method: get
|
509
|
+
uri: "<DOCKER_HOST>/v1.16/containers/mounts_volumes/json"
|
510
|
+
body:
|
511
|
+
encoding: US-ASCII
|
512
|
+
string: ''
|
513
|
+
headers:
|
514
|
+
User-Agent:
|
515
|
+
- Swipely/Docker-API 1.20.0
|
516
|
+
Content-Type:
|
517
|
+
- text/plain
|
518
|
+
response:
|
519
|
+
status:
|
520
|
+
code: 404
|
521
|
+
message:
|
522
|
+
headers:
|
523
|
+
Content-Type:
|
524
|
+
- text/plain; charset=utf-8
|
525
|
+
Date:
|
526
|
+
- Thu, 12 Mar 2015 21:37:37 GMT
|
527
|
+
Content-Length:
|
528
|
+
- '34'
|
529
|
+
body:
|
530
|
+
encoding: UTF-8
|
531
|
+
string: |
|
532
|
+
No such container: mounts_volumes
|
533
|
+
http_version:
|
534
|
+
recorded_at: Thu, 12 Mar 2015 21:37:39 GMT
|
535
|
+
- request:
|
536
|
+
method: get
|
537
|
+
uri: "<DOCKER_HOST>/v1.16/containers/mounts_volumes/json"
|
538
|
+
body:
|
539
|
+
encoding: US-ASCII
|
540
|
+
string: ''
|
541
|
+
headers:
|
542
|
+
User-Agent:
|
543
|
+
- Swipely/Docker-API 1.20.0
|
544
|
+
Content-Type:
|
545
|
+
- text/plain
|
546
|
+
response:
|
547
|
+
status:
|
548
|
+
code: 404
|
549
|
+
message:
|
550
|
+
headers:
|
551
|
+
Content-Type:
|
552
|
+
- text/plain; charset=utf-8
|
553
|
+
Date:
|
554
|
+
- Thu, 12 Mar 2015 21:37:37 GMT
|
555
|
+
Content-Length:
|
556
|
+
- '34'
|
557
|
+
body:
|
558
|
+
encoding: UTF-8
|
559
|
+
string: |
|
560
|
+
No such container: mounts_volumes
|
561
|
+
http_version:
|
562
|
+
recorded_at: Thu, 12 Mar 2015 21:37:39 GMT
|
563
|
+
- request:
|
564
|
+
method: get
|
565
|
+
uri: "<DOCKER_HOST>/v1.16/containers/mounts_volumes/json"
|
566
|
+
body:
|
567
|
+
encoding: US-ASCII
|
568
|
+
string: ''
|
569
|
+
headers:
|
570
|
+
User-Agent:
|
571
|
+
- Swipely/Docker-API 1.20.0
|
572
|
+
Content-Type:
|
573
|
+
- text/plain
|
574
|
+
response:
|
575
|
+
status:
|
576
|
+
code: 404
|
577
|
+
message:
|
578
|
+
headers:
|
579
|
+
Content-Type:
|
580
|
+
- text/plain; charset=utf-8
|
581
|
+
Date:
|
582
|
+
- Thu, 12 Mar 2015 21:37:37 GMT
|
583
|
+
Content-Length:
|
584
|
+
- '34'
|
585
|
+
body:
|
586
|
+
encoding: UTF-8
|
587
|
+
string: |
|
588
|
+
No such container: mounts_volumes
|
589
|
+
http_version:
|
590
|
+
recorded_at: Thu, 12 Mar 2015 21:37:39 GMT
|
591
|
+
- request:
|
592
|
+
method: get
|
593
|
+
uri: "<DOCKER_HOST>/v1.16/containers/mounts_volumes/json"
|
594
|
+
body:
|
595
|
+
encoding: US-ASCII
|
596
|
+
string: ''
|
597
|
+
headers:
|
598
|
+
User-Agent:
|
599
|
+
- Swipely/Docker-API 1.20.0
|
600
|
+
Content-Type:
|
601
|
+
- text/plain
|
602
|
+
response:
|
603
|
+
status:
|
604
|
+
code: 404
|
605
|
+
message:
|
606
|
+
headers:
|
607
|
+
Content-Type:
|
608
|
+
- text/plain; charset=utf-8
|
609
|
+
Date:
|
610
|
+
- Thu, 12 Mar 2015 21:37:37 GMT
|
611
|
+
Content-Length:
|
612
|
+
- '34'
|
613
|
+
body:
|
614
|
+
encoding: UTF-8
|
615
|
+
string: |
|
616
|
+
No such container: mounts_volumes
|
617
|
+
http_version:
|
618
|
+
recorded_at: Thu, 12 Mar 2015 21:37:39 GMT
|
619
|
+
- request:
|
620
|
+
method: get
|
621
|
+
uri: "<DOCKER_HOST>/v1.16/containers/exports_volumes/json"
|
622
|
+
body:
|
623
|
+
encoding: US-ASCII
|
624
|
+
string: ''
|
625
|
+
headers:
|
626
|
+
User-Agent:
|
627
|
+
- Swipely/Docker-API 1.20.0
|
628
|
+
Content-Type:
|
629
|
+
- text/plain
|
630
|
+
response:
|
631
|
+
status:
|
632
|
+
code: 404
|
633
|
+
message:
|
634
|
+
headers:
|
635
|
+
Content-Type:
|
636
|
+
- text/plain; charset=utf-8
|
637
|
+
Date:
|
638
|
+
- Thu, 12 Mar 2015 21:37:37 GMT
|
639
|
+
Content-Length:
|
640
|
+
- '35'
|
641
|
+
body:
|
642
|
+
encoding: UTF-8
|
643
|
+
string: |
|
644
|
+
No such container: exports_volumes
|
645
|
+
http_version:
|
646
|
+
recorded_at: Thu, 12 Mar 2015 21:37:39 GMT
|
647
|
+
- request:
|
648
|
+
method: get
|
649
|
+
uri: "<DOCKER_HOST>/v1.16/containers/exports_volumes/json"
|
650
|
+
body:
|
651
|
+
encoding: US-ASCII
|
652
|
+
string: ''
|
653
|
+
headers:
|
654
|
+
User-Agent:
|
655
|
+
- Swipely/Docker-API 1.20.0
|
656
|
+
Content-Type:
|
657
|
+
- text/plain
|
658
|
+
response:
|
659
|
+
status:
|
660
|
+
code: 404
|
661
|
+
message:
|
662
|
+
headers:
|
663
|
+
Content-Type:
|
664
|
+
- text/plain; charset=utf-8
|
665
|
+
Date:
|
666
|
+
- Thu, 12 Mar 2015 21:37:37 GMT
|
667
|
+
Content-Length:
|
668
|
+
- '35'
|
669
|
+
body:
|
670
|
+
encoding: UTF-8
|
671
|
+
string: |
|
672
|
+
No such container: exports_volumes
|
673
|
+
http_version:
|
674
|
+
recorded_at: Thu, 12 Mar 2015 21:37:39 GMT
|
675
|
+
- request:
|
676
|
+
method: get
|
677
|
+
uri: "<DOCKER_HOST>/v1.16/containers/exports_volumes/json"
|
678
|
+
body:
|
679
|
+
encoding: US-ASCII
|
680
|
+
string: ''
|
681
|
+
headers:
|
682
|
+
User-Agent:
|
683
|
+
- Swipely/Docker-API 1.20.0
|
684
|
+
Content-Type:
|
685
|
+
- text/plain
|
686
|
+
response:
|
687
|
+
status:
|
688
|
+
code: 404
|
689
|
+
message:
|
690
|
+
headers:
|
691
|
+
Content-Type:
|
692
|
+
- text/plain; charset=utf-8
|
693
|
+
Date:
|
694
|
+
- Thu, 12 Mar 2015 21:37:37 GMT
|
695
|
+
Content-Length:
|
696
|
+
- '35'
|
697
|
+
body:
|
698
|
+
encoding: UTF-8
|
699
|
+
string: |
|
700
|
+
No such container: exports_volumes
|
701
|
+
http_version:
|
702
|
+
recorded_at: Thu, 12 Mar 2015 21:37:39 GMT
|
703
|
+
- request:
|
704
|
+
method: get
|
705
|
+
uri: "<DOCKER_HOST>/v1.16/containers/exports_volumes/json"
|
706
|
+
body:
|
707
|
+
encoding: US-ASCII
|
708
|
+
string: ''
|
709
|
+
headers:
|
710
|
+
User-Agent:
|
711
|
+
- Swipely/Docker-API 1.20.0
|
712
|
+
Content-Type:
|
713
|
+
- text/plain
|
714
|
+
response:
|
715
|
+
status:
|
716
|
+
code: 404
|
717
|
+
message:
|
718
|
+
headers:
|
719
|
+
Content-Type:
|
720
|
+
- text/plain; charset=utf-8
|
721
|
+
Date:
|
722
|
+
- Thu, 12 Mar 2015 21:37:37 GMT
|
723
|
+
Content-Length:
|
724
|
+
- '35'
|
725
|
+
body:
|
726
|
+
encoding: UTF-8
|
727
|
+
string: |
|
728
|
+
No such container: exports_volumes
|
729
|
+
http_version:
|
730
|
+
recorded_at: Thu, 12 Mar 2015 21:37:39 GMT
|
731
|
+
recorded_with: VCR 2.9.3
|