bigrig 0.4.2 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (101) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +6 -0
  3. data/Gemfile.lock +24 -26
  4. data/bigrig.gemspec +2 -2
  5. data/lib/bigrig/models/container.rb +2 -2
  6. data/lib/bigrig/runner.rb +2 -10
  7. data/lib/bigrig/version.rb +1 -1
  8. data/lib/bigrig/waiter.rb +20 -0
  9. data/lib/bigrig.rb +1 -0
  10. data/spec/bigrig/actions/run_action_spec.rb +8 -0
  11. data/spec/bigrig/docker_adapter_spec.rb +1 -1
  12. data/spec/bigrig/models/container_spec.rb +0 -18
  13. data/spec/bigrig_spec.rb +20 -6
  14. data/spec/data/wait_for/Dockerfile +4 -0
  15. data/spec/data/wait_for/bigrig-wait.sh +5 -0
  16. data/spec/data/wait_for/bigrig.json +8 -0
  17. data/spec/data/wait_for_broken/Dockerfile +4 -0
  18. data/spec/data/wait_for_broken/bigrig-wait.sh +3 -0
  19. data/spec/data/wait_for_broken/bigrig.json +8 -0
  20. data/spec/vcr/Bigrig_DestroyAction/_perform/given_json_with_a_single_container/and_the_container_has_exited/should_remove_the_container.yml +65 -65
  21. data/spec/vcr/Bigrig_DestroyAction/_perform/given_json_with_a_single_container/and_the_container_is_running/kills_and_removes_the_container.yml +71 -71
  22. data/spec/vcr/Bigrig_DockerAdapter/_build/builds_the_given_directory.yml +11 -11
  23. data/spec/vcr/Bigrig_DockerAdapter/_build/passes_build_input_to_a_block.yml +5 -5
  24. data/spec/vcr/Bigrig_DockerAdapter/_container_exists_/when_the_container_does_not_exist/is_false.yml +20 -20
  25. data/spec/vcr/Bigrig_DockerAdapter/_container_exists_/when_the_container_exists/is_true.yml +13 -13
  26. data/spec/vcr/Bigrig_DockerAdapter/_image_id_by_tag/when_the_image_does_not_exist/raise_a_ImageNotFoundError.yml +20 -20
  27. data/spec/vcr/Bigrig_DockerAdapter/_image_id_by_tag/when_the_image_exists/returns_the_image_id.yml +19 -19
  28. data/spec/vcr/Bigrig_DockerAdapter/_kill/given_the_container_does_not_exist/should_raise_an_error.yml +20 -20
  29. data/spec/vcr/Bigrig_DockerAdapter/_kill/given_the_container_is_running/should_kill_the_container.yml +29 -29
  30. data/spec/vcr/Bigrig_DockerAdapter/_logs/streams_logs_to_a_block.yml +23 -23
  31. data/spec/vcr/Bigrig_DockerAdapter/_pull/given_a_block_to_capture_output/should_capture_output.yml +8 -8
  32. data/spec/vcr/Bigrig_DockerAdapter/_pull/given_the_repo_does_not_exist/raises_a_RepoNotFoundError.yml +3 -3
  33. data/spec/vcr/Bigrig_DockerAdapter/_pull/given_the_repo_exists/returns_the_image_id.yml +13 -13
  34. data/spec/vcr/Bigrig_DockerAdapter/_push/given_credentials/will_pass_login_and_password.yml +54 -54
  35. data/spec/vcr/Bigrig_DockerAdapter/_push/should_push_the_image.yml +1059 -553
  36. data/spec/vcr/Bigrig_DockerAdapter/_remove_container/when_the_container_does_not_exist/raises_a_ContainerNotFoundError.yml +40 -40
  37. data/spec/vcr/Bigrig_DockerAdapter/_remove_container/when_the_container_exists/should_remove_the_container.yml +44 -44
  38. data/spec/vcr/Bigrig_DockerAdapter/_remove_container/when_the_container_is_running/raises_a_ContainerRunningError.yml +13 -13
  39. data/spec/vcr/Bigrig_DockerAdapter/_remove_image/when_the_image_doesnt_exist/raises_an_error.yml +12 -12
  40. data/spec/vcr/Bigrig_DockerAdapter/_remove_image/when_the_image_exists/removes_the_image.yml +35 -35
  41. data/spec/vcr/Bigrig_DockerAdapter/_run/given_an_image_id_that_exists/and_a_name/starts_the_container_with_the_right_name.yml +35 -35
  42. 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 +35 -35
  43. data/spec/vcr/Bigrig_DockerAdapter/_run/given_an_image_id_that_exists/and_a_name_and_ports/starts_the_container_with_ports_exposed.yml +41 -41
  44. data/spec/vcr/Bigrig_DockerAdapter/_running_/when_the_container_does_not_exist/returns_false.yml +20 -20
  45. data/spec/vcr/Bigrig_DockerAdapter/_running_/when_the_container_is_not_running/returns_false.yml +13 -15
  46. data/spec/vcr/Bigrig_DockerAdapter/_running_/when_the_container_is_running/returns_true.yml +17 -17
  47. data/spec/vcr/Bigrig_DockerAdapter/_tag/should_tag_the_image.yml +34 -34
  48. data/spec/vcr/Bigrig_LogAction/_perform/follows_the_log.yml +43 -43
  49. data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_a_path/builds_the_image_before_starting_it.yml +222 -26
  50. data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_hosts_by_ip/should_pass_hosts_to_container.yml +180 -74
  51. data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_hosts_by_name/should_lookup_ips_for_hosts_with_a_hostname.yml +181 -75
  52. data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_links/should_pass_links_to_the_right_container.yml +351 -139
  53. data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_multiple_containers/launches_both_containers_in_parallel.yml +130 -130
  54. data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_multiple_containers/spins_up_multiple_containers.yml +140 -140
  55. data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_one_container/should_spin_up_a_single_container.yml +175 -69
  56. data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_one_container/when_a_dead_container_exists/should_remove_existing_containers.yml +159 -53
  57. data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_volumes/should_pass_volumes_to_the_right_container.yml +180 -74
  58. data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_volumes_from/should_pass_volumes_from_to_the_right_container.yml +351 -139
  59. data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_volumes_from/starts_the_dependant_container_last.yml +130 -130
  60. data/spec/vcr/Bigrig_RunAction/_perform/when_activating_profiles_that_do_not_exist/ignores_the_missing_profile.yml +268 -77
  61. data/spec/vcr/Bigrig_RunAction/_perform/with_a_file_with_active_profiles/uses_the_overridden_image.yml +180 -74
  62. data/spec/vcr/bigrig/destroy/spec/data/single_json/kills_the_container.yml +28 -28
  63. data/spec/vcr/bigrig/dev/spec/data/dev_json/activates_the_dev_profile.yml +266 -158
  64. data/spec/vcr/bigrig/dev/spec/data/dev_json/destroys_containers_on_exit.yml +78 -158
  65. data/spec/vcr/bigrig/dev/spec/data/dev_json/starts_the_containers.yml +187 -191
  66. data/spec/vcr/bigrig/dev/spec/data/dev_json/tails_the_logs.yml +38 -118
  67. data/spec/vcr/bigrig/dev/spec/data/scan_json/leaves_unaffected_containers_alone_when_the_scanned_file_changes.yml +811 -345
  68. data/spec/vcr/bigrig/dev/spec/data/scan_json/restarts_dependant_containers_when_the_scanned_file_changes.yml +813 -375
  69. data/spec/vcr/bigrig/dev/spec/data/scan_json/restarts_the_container_when_the_scanned_file_changes.yml +855 -363
  70. data/spec/vcr/bigrig/logs/spec/data/log_json/tails_the_logs.yml +23 -23
  71. data/spec/vcr/bigrig/run/spec/data/profiles_json_-p_qa/leaves_existing_env_values_alone.yml +14 -14
  72. data/spec/vcr/bigrig/run/spec/data/profiles_json_-p_qa/overrides_the_env.yml +14 -14
  73. data/spec/vcr/bigrig/run/spec/data/profiles_json_-p_qa/overrides_the_tag.yml +17 -17
  74. data/spec/vcr/bigrig/run/spec/data/single_json/sends_the_name_of_the_container_to_stdout.yml +12 -12
  75. data/spec/vcr/bigrig/run/spec/data/single_json/starts_the_container.yml +17 -17
  76. data/spec/vcr/bigrig/run/spec/data/wait_for/bigrig_json/waits_for_wait_for.yml +180 -0
  77. data/spec/vcr/bigrig/run/spec/data/wait_for_broken_json/fails_with_an_error.yml +12 -12
  78. data/spec/vcr/bigrig/ship/spec/data/ship_json/with_a_version/-c/cleans_the_image_when_its_done.yml +28 -28
  79. data/spec/vcr/bigrig/ship/spec/data/ship_json/with_a_version/builds_and_pushes_the_image.yml +21 -21
  80. data/spec/vcr/bigrig_bin_bigrig_destroy_spec/data/single_json_kills_the_container.yml +28 -28
  81. data/spec/vcr/bigrig_bin_bigrig_dev_spec/data/dev_json_activates_the_dev_profile.yml +135 -486
  82. data/spec/vcr/bigrig_bin_bigrig_dev_spec/data/dev_json_starts_the_containers.yml +146 -472
  83. data/spec/vcr/bigrig_bin_bigrig_dev_spec/data/dev_json_tails_the_logs.yml +402 -192
  84. data/spec/vcr/bigrig_bin_bigrig_dev_spec/data/scan_json_leaves_unaffected_containers_alone_when_the_scanned_file_changes.yml +980 -396
  85. data/spec/vcr/bigrig_bin_bigrig_dev_spec/data/scan_json_restarts_dependant_containers_when_the_scanned_file_changes.yml +916 -388
  86. data/spec/vcr/bigrig_bin_bigrig_dev_spec/data/scan_json_restarts_the_container_when_the_scanned_file_changes.yml +919 -391
  87. data/spec/vcr/bigrig_bin_bigrig_logs_spec/data/log_json_tails_the_logs.yml +23 -23
  88. data/spec/vcr/bigrig_bin_bigrig_run_spec/data/profiles_json_-p_qa_leaves_existing_env_values_alone.yml +159 -53
  89. data/spec/vcr/bigrig_bin_bigrig_run_spec/data/profiles_json_-p_qa_overrides_the_env.yml +159 -53
  90. data/spec/vcr/bigrig_bin_bigrig_run_spec/data/profiles_json_-p_qa_overrides_the_tag.yml +286 -31
  91. data/spec/vcr/bigrig_bin_bigrig_run_spec/data/single_json_sends_the_name_of_the_container_to_stdout.yml +159 -53
  92. data/spec/vcr/bigrig_bin_bigrig_run_spec/data/single_json_starts_the_container.yml +159 -53
  93. data/spec/vcr/bigrig_bin_bigrig_run_spec/data/wait_for/bigrig_json_waits_for_wait_for.yml +522 -0
  94. data/spec/vcr/bigrig_bin_bigrig_run_spec/data/wait_for_broken_json_fails_with_an_error.yml +175 -80
  95. data/spec/vcr/bigrig_bin_bigrig_ship_spec/data/ship_json_with_a_version_-c_cleans_the_image_when_its_done.yml +1036 -526
  96. data/spec/vcr/bigrig_bin_bigrig_ship_spec/data/ship_json_with_a_version_builds_and_pushes_the_image.yml +1024 -514
  97. metadata +17 -12
  98. data/spec/data/wait_for.json +0 -9
  99. data/spec/data/wait_for_broken.json +0 -9
  100. data/spec/vcr/bigrig/run/spec/data/wait_for_json/waits_for_wait_for.yml +0 -180
  101. data/spec/vcr/bigrig_bin_bigrig_run_spec/data/wait_for_json_waits_for_wait_for.yml +0 -412
@@ -8,7 +8,7 @@ http_interactions:
8
8
  string: ''
9
9
  headers:
10
10
  User-Agent:
11
- - Swipely/Docker-API 1.20.0
11
+ - Swipely/Docker-API 1.21.4
12
12
  Content-Type:
13
13
  - text/plain
14
14
  response:
@@ -19,15 +19,15 @@ http_interactions:
19
19
  Content-Type:
20
20
  - text/plain; charset=utf-8
21
21
  Date:
22
- - Mon, 20 Apr 2015 23:27:47 GMT
22
+ - Fri, 05 Jun 2015 23:25:00 GMT
23
23
  Content-Length:
24
- - '28'
24
+ - '21'
25
25
  body:
26
26
  encoding: UTF-8
27
27
  string: |
28
- No such container: log-test
28
+ no such id: log-test
29
29
  http_version:
30
- recorded_at: Mon, 20 Apr 2015 23:27:47 GMT
30
+ recorded_at: Fri, 05 Jun 2015 23:25:00 GMT
31
31
  - request:
32
32
  method: get
33
33
  uri: "<DOCKER_HOST>/v1.16/containers/log-test/json"
@@ -36,7 +36,7 @@ http_interactions:
36
36
  string: ''
37
37
  headers:
38
38
  User-Agent:
39
- - Swipely/Docker-API 1.20.0
39
+ - Swipely/Docker-API 1.21.4
40
40
  Content-Type:
41
41
  - text/plain
42
42
  response:
@@ -47,15 +47,15 @@ http_interactions:
47
47
  Content-Type:
48
48
  - text/plain; charset=utf-8
49
49
  Date:
50
- - Mon, 20 Apr 2015 23:27:47 GMT
50
+ - Fri, 05 Jun 2015 23:25:00 GMT
51
51
  Content-Length:
52
- - '28'
52
+ - '21'
53
53
  body:
54
54
  encoding: UTF-8
55
55
  string: |
56
- No such container: log-test
56
+ no such id: log-test
57
57
  http_version:
58
- recorded_at: Mon, 20 Apr 2015 23:27:47 GMT
58
+ recorded_at: Fri, 05 Jun 2015 23:25:01 GMT
59
59
  - request:
60
60
  method: get
61
61
  uri: "<DOCKER_HOST>/v1.16/containers/log-test/json"
@@ -64,7 +64,7 @@ http_interactions:
64
64
  string: ''
65
65
  headers:
66
66
  User-Agent:
67
- - Swipely/Docker-API 1.20.0
67
+ - Swipely/Docker-API 1.21.4
68
68
  Content-Type:
69
69
  - text/plain
70
70
  response:
@@ -75,15 +75,15 @@ http_interactions:
75
75
  Content-Type:
76
76
  - text/plain; charset=utf-8
77
77
  Date:
78
- - Mon, 20 Apr 2015 23:27:47 GMT
78
+ - Fri, 05 Jun 2015 23:25:01 GMT
79
79
  Content-Length:
80
- - '28'
80
+ - '21'
81
81
  body:
82
82
  encoding: UTF-8
83
83
  string: |
84
- No such container: log-test
84
+ no such id: log-test
85
85
  http_version:
86
- recorded_at: Mon, 20 Apr 2015 23:27:47 GMT
86
+ recorded_at: Fri, 05 Jun 2015 23:25:01 GMT
87
87
  - request:
88
88
  method: get
89
89
  uri: "<DOCKER_HOST>/v1.16/containers/log-test/json"
@@ -92,7 +92,7 @@ http_interactions:
92
92
  string: ''
93
93
  headers:
94
94
  User-Agent:
95
- - Swipely/Docker-API 1.20.0
95
+ - Swipely/Docker-API 1.21.4
96
96
  Content-Type:
97
97
  - text/plain
98
98
  response:
@@ -103,15 +103,15 @@ http_interactions:
103
103
  Content-Type:
104
104
  - text/plain; charset=utf-8
105
105
  Date:
106
- - Mon, 20 Apr 2015 23:27:47 GMT
106
+ - Fri, 05 Jun 2015 23:25:01 GMT
107
107
  Content-Length:
108
- - '28'
108
+ - '21'
109
109
  body:
110
110
  encoding: UTF-8
111
111
  string: |
112
- No such container: log-test
112
+ no such id: log-test
113
113
  http_version:
114
- recorded_at: Mon, 20 Apr 2015 23:27:47 GMT
114
+ recorded_at: Fri, 05 Jun 2015 23:25:01 GMT
115
115
  - request:
116
116
  method: post
117
117
  uri: "<DOCKER_HOST>/v1.16/images/create?fromImage=hawknewton%2Flog-test%3A0.0.1"
@@ -120,7 +120,7 @@ http_interactions:
120
120
  string: ''
121
121
  headers:
122
122
  User-Agent:
123
- - Swipely/Docker-API 1.20.0
123
+ - Swipely/Docker-API 1.21.4
124
124
  Content-Type:
125
125
  - text/plain
126
126
  response:
@@ -131,7 +131,7 @@ http_interactions:
131
131
  Content-Type:
132
132
  - application/json
133
133
  Date:
134
- - Mon, 20 Apr 2015 23:27:47 GMT
134
+ - Fri, 05 Jun 2015 23:25:03 GMT
135
135
  body:
136
136
  encoding: UTF-8
137
137
  string: "{\"status\":\"Pulling repository hawknewton/log-test\"}\r\n{\"status\":\"Pulling
@@ -148,7 +148,7 @@ http_interactions:
148
148
  complete\",\"progressDetail\":{},\"id\":\"bf0f8a45f956\"}{\"status\":\"Status:
149
149
  Image is up to date for hawknewton/log-test:0.0.1\"}\r\n"
150
150
  http_version:
151
- recorded_at: Mon, 20 Apr 2015 23:27:49 GMT
151
+ recorded_at: Fri, 05 Jun 2015 23:25:10 GMT
152
152
  - request:
153
153
  method: post
154
154
  uri: "<DOCKER_HOST>/v1.16/containers/create?name=log-test"
@@ -157,7 +157,7 @@ http_interactions:
157
157
  string: '{"Image":"bf0f8a45f956"}'
158
158
  headers:
159
159
  User-Agent:
160
- - Swipely/Docker-API 1.20.0
160
+ - Swipely/Docker-API 1.21.4
161
161
  Content-Type:
162
162
  - application/json
163
163
  response:
@@ -168,24 +168,24 @@ http_interactions:
168
168
  Content-Type:
169
169
  - application/json
170
170
  Date:
171
- - Mon, 20 Apr 2015 23:27:50 GMT
171
+ - Fri, 05 Jun 2015 23:25:10 GMT
172
172
  Content-Length:
173
173
  - '90'
174
174
  body:
175
175
  encoding: UTF-8
176
176
  string: |
177
- {"Id":"3a074ce96b5d5e59dc17bca86a3ac574849bfbfe0927cf1c15a52b593cd738d6","Warnings":null}
177
+ {"Id":"ced243fa74b3d9d628c9eb731f354b589a078960c29fd72583c6f7ae31e3a1f6","Warnings":null}
178
178
  http_version:
179
- recorded_at: Mon, 20 Apr 2015 23:27:49 GMT
179
+ recorded_at: Fri, 05 Jun 2015 23:25:10 GMT
180
180
  - request:
181
181
  method: post
182
- uri: "<DOCKER_HOST>/v1.16/containers/3a074ce96b5d5e59dc17bca86a3ac574849bfbfe0927cf1c15a52b593cd738d6/start"
182
+ uri: "<DOCKER_HOST>/v1.16/containers/ced243fa74b3d9d628c9eb731f354b589a078960c29fd72583c6f7ae31e3a1f6/start"
183
183
  body:
184
184
  encoding: UTF-8
185
185
  string: "{}"
186
186
  headers:
187
187
  User-Agent:
188
- - Swipely/Docker-API 1.20.0
188
+ - Swipely/Docker-API 1.21.4
189
189
  Content-Type:
190
190
  - application/json
191
191
  response:
@@ -194,12 +194,12 @@ http_interactions:
194
194
  message:
195
195
  headers:
196
196
  Date:
197
- - Mon, 20 Apr 2015 23:27:50 GMT
197
+ - Fri, 05 Jun 2015 23:25:10 GMT
198
198
  body:
199
199
  encoding: UTF-8
200
200
  string: ''
201
201
  http_version:
202
- recorded_at: Mon, 20 Apr 2015 23:27:50 GMT
202
+ recorded_at: Fri, 05 Jun 2015 23:25:10 GMT
203
203
  - request:
204
204
  method: get
205
205
  uri: "<DOCKER_HOST>/v1.16/containers/log-test/json"
@@ -208,7 +208,7 @@ http_interactions:
208
208
  string: ''
209
209
  headers:
210
210
  User-Agent:
211
- - Swipely/Docker-API 1.20.0
211
+ - Swipely/Docker-API 1.21.4
212
212
  Content-Type:
213
213
  - text/plain
214
214
  response:
@@ -219,22 +219,22 @@ http_interactions:
219
219
  Content-Type:
220
220
  - application/json
221
221
  Date:
222
- - Mon, 20 Apr 2015 23:27:50 GMT
222
+ - Fri, 05 Jun 2015 23:25:10 GMT
223
223
  body:
224
224
  encoding: UTF-8
225
225
  string: |
226
- {"AppArmorProfile":"","Args":[],"Config":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":["/run.sh"],"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":null,"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"ExposedPorts":null,"Hostname":"3a074ce96b5d","Image":"bf0f8a45f956","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:50.103710009Z","Driver":"aufs","ExecDriver":"native-0.2","ExecIDs":null,"HostConfig":{"Binds":null,"CapAdd":null,"CapDrop":null,"ContainerIDFile":"","Devices":null,"Dns":null,"DnsSearch":null,"ExtraHosts":null,"IpcMode":"","Links":null,"LxcConf":null,"NetworkMode":"","PidMode":"","PortBindings":null,"Privileged":false,"PublishAllPorts":false,"ReadonlyRootfs":false,"RestartPolicy":{"MaximumRetryCount":0,"Name":""},"SecurityOpt":null,"VolumesFrom":null},"HostnamePath":"/mnt/sda1/var/lib/docker/containers/3a074ce96b5d5e59dc17bca86a3ac574849bfbfe0927cf1c15a52b593cd738d6/hostname","HostsPath":"/mnt/sda1/var/lib/docker/containers/3a074ce96b5d5e59dc17bca86a3ac574849bfbfe0927cf1c15a52b593cd738d6/hosts","Id":"3a074ce96b5d5e59dc17bca86a3ac574849bfbfe0927cf1c15a52b593cd738d6","Image":"bf0f8a45f956aa470ab3c916c83925fdcffce23d37b1a9e33998561ce54ca030","MountLabel":"","Name":"/log-test","NetworkSettings":{"Bridge":"docker0","Gateway":"172.17.42.1","GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"IPAddress":"172.17.7.182","IPPrefixLen":16,"IPv6Gateway":"","LinkLocalIPv6Address":"fe80::42:acff:fe11:7b6","LinkLocalIPv6PrefixLen":64,"MacAddress":"02:42:ac:11:07:b6","PortMapping":null,"Ports":{}},"Path":"/run.sh","ProcessLabel":"","ResolvConfPath":"/mnt/sda1/var/lib/docker/containers/3a074ce96b5d5e59dc17bca86a3ac574849bfbfe0927cf1c15a52b593cd738d6/resolv.conf","RestartCount":0,"State":{"Error":"","ExitCode":0,"FinishedAt":"0001-01-01T00:00:00Z","OOMKilled":false,"Paused":false,"Pid":13111,"Restarting":false,"Running":true,"StartedAt":"2015-04-20T23:27:50.506829512Z"},"Volumes":{},"VolumesRW":{}}
226
+ {"AppArmorProfile":"","Args":[],"Config":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":["/run.sh"],"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":null,"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"ExposedPorts":null,"Hostname":"ced243fa74b3","Image":"bf0f8a45f956","Labels":{},"MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":null,"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Created":"2015-06-05T23:25:10.519772075Z","Driver":"aufs","ExecDriver":"native-0.2","ExecIDs":null,"HostConfig":{"Binds":null,"CapAdd":null,"CapDrop":null,"CgroupParent":"","ContainerIDFile":"","CpuShares":0,"CpusetCpus":"","Devices":null,"Dns":null,"DnsSearch":null,"ExtraHosts":null,"IpcMode":"","Links":null,"LogConfig":{"Config":null,"Type":"json-file"},"LxcConf":null,"Memory":0,"MemorySwap":0,"NetworkMode":"","PidMode":"","PortBindings":null,"Privileged":false,"PublishAllPorts":false,"ReadonlyRootfs":false,"RestartPolicy":{"MaximumRetryCount":0,"Name":""},"SecurityOpt":null,"Ulimits":null,"VolumesFrom":null},"HostnamePath":"/mnt/sda1/var/lib/docker/containers/ced243fa74b3d9d628c9eb731f354b589a078960c29fd72583c6f7ae31e3a1f6/hostname","HostsPath":"/mnt/sda1/var/lib/docker/containers/ced243fa74b3d9d628c9eb731f354b589a078960c29fd72583c6f7ae31e3a1f6/hosts","Id":"ced243fa74b3d9d628c9eb731f354b589a078960c29fd72583c6f7ae31e3a1f6","Image":"bf0f8a45f956aa470ab3c916c83925fdcffce23d37b1a9e33998561ce54ca030","LogPath":"/mnt/sda1/var/lib/docker/containers/ced243fa74b3d9d628c9eb731f354b589a078960c29fd72583c6f7ae31e3a1f6/ced243fa74b3d9d628c9eb731f354b589a078960c29fd72583c6f7ae31e3a1f6-json.log","MountLabel":"","Name":"/log-test","NetworkSettings":{"Bridge":"docker0","Gateway":"172.17.42.1","GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"IPAddress":"172.17.1.58","IPPrefixLen":16,"IPv6Gateway":"","LinkLocalIPv6Address":"fe80::42:acff:fe11:13a","LinkLocalIPv6PrefixLen":64,"MacAddress":"02:42:ac:11:01:3a","PortMapping":null,"Ports":{}},"Path":"/run.sh","ProcessLabel":"","ResolvConfPath":"/mnt/sda1/var/lib/docker/containers/ced243fa74b3d9d628c9eb731f354b589a078960c29fd72583c6f7ae31e3a1f6/resolv.conf","RestartCount":0,"State":{"Dead":false,"Error":"","ExitCode":0,"FinishedAt":"0001-01-01T00:00:00Z","OOMKilled":false,"Paused":false,"Pid":23261,"Restarting":false,"Running":true,"StartedAt":"2015-06-05T23:25:10.924717866Z"},"Volumes":{},"VolumesRW":{}}
227
227
  http_version:
228
- recorded_at: Mon, 20 Apr 2015 23:27:50 GMT
228
+ recorded_at: Fri, 05 Jun 2015 23:25:10 GMT
229
229
  - request:
230
230
  method: post
231
- uri: "<DOCKER_HOST>/v1.16/containers/3a074ce96b5d5e59dc17bca86a3ac574849bfbfe0927cf1c15a52b593cd738d6/kill"
231
+ uri: "<DOCKER_HOST>/v1.16/containers/ced243fa74b3d9d628c9eb731f354b589a078960c29fd72583c6f7ae31e3a1f6/kill"
232
232
  body:
233
233
  encoding: US-ASCII
234
234
  string: ''
235
235
  headers:
236
236
  User-Agent:
237
- - Swipely/Docker-API 1.20.0
237
+ - Swipely/Docker-API 1.21.4
238
238
  Content-Type:
239
239
  - text/plain
240
240
  response:
@@ -243,21 +243,21 @@ http_interactions:
243
243
  message:
244
244
  headers:
245
245
  Date:
246
- - Mon, 20 Apr 2015 23:27:50 GMT
246
+ - Fri, 05 Jun 2015 23:25:11 GMT
247
247
  body:
248
248
  encoding: UTF-8
249
249
  string: ''
250
250
  http_version:
251
- recorded_at: Mon, 20 Apr 2015 23:27:50 GMT
251
+ recorded_at: Fri, 05 Jun 2015 23:25:11 GMT
252
252
  - request:
253
253
  method: delete
254
- uri: "<DOCKER_HOST>/v1.16/containers/3a074ce96b5d5e59dc17bca86a3ac574849bfbfe0927cf1c15a52b593cd738d6"
254
+ uri: "<DOCKER_HOST>/v1.16/containers/ced243fa74b3d9d628c9eb731f354b589a078960c29fd72583c6f7ae31e3a1f6"
255
255
  body:
256
256
  encoding: US-ASCII
257
257
  string: ''
258
258
  headers:
259
259
  User-Agent:
260
- - Swipely/Docker-API 1.20.0
260
+ - Swipely/Docker-API 1.21.4
261
261
  Content-Type:
262
262
  - text/plain
263
263
  response:
@@ -266,10 +266,10 @@ http_interactions:
266
266
  message:
267
267
  headers:
268
268
  Date:
269
- - Mon, 20 Apr 2015 23:27:50 GMT
269
+ - Fri, 05 Jun 2015 23:25:11 GMT
270
270
  body:
271
271
  encoding: UTF-8
272
272
  string: ''
273
273
  http_version:
274
- recorded_at: Mon, 20 Apr 2015 23:27:50 GMT
274
+ recorded_at: Fri, 05 Jun 2015 23:25:11 GMT
275
275
  recorded_with: VCR 2.9.3