bigrig 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (83) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +6 -0
  3. data/Gemfile +2 -0
  4. data/Gemfile.lock +12 -2
  5. data/lib/bigrig/descriptor.rb +3 -0
  6. data/lib/bigrig/output_parser.rb +46 -7
  7. data/lib/bigrig/version.rb +1 -1
  8. data/spec/bigrig/descriptor_spec.rb +34 -0
  9. data/spec/bigrig/output_parser_spec.rb +22 -0
  10. data/spec/bigrig_spec.rb +9 -1
  11. data/spec/data/adds_volume.json +17 -0
  12. data/spec/data/adds_volumes_from.json +17 -0
  13. data/spec/data/multiple_overrides.json +22 -0
  14. data/spec/support/vcr.rb +7 -2
  15. data/spec/vcr/Bigrig_DestroyAction/_perform/given_json_with_a_single_container/and_the_container_has_exited/should_remove_the_container.yml +46 -46
  16. data/spec/vcr/Bigrig_DestroyAction/_perform/given_json_with_a_single_container/and_the_container_is_running/kills_and_removes_the_container.yml +49 -49
  17. data/spec/vcr/Bigrig_DockerAdapter/_build/builds_the_given_directory.yml +9 -9
  18. data/spec/vcr/Bigrig_DockerAdapter/_build/passes_build_input_to_a_block.yml +4 -4
  19. data/spec/vcr/Bigrig_DockerAdapter/_container_exists_/when_the_container_does_not_exist/is_false.yml +8 -8
  20. data/spec/vcr/Bigrig_DockerAdapter/_container_exists_/when_the_container_exists/is_true.yml +10 -10
  21. data/spec/vcr/Bigrig_DockerAdapter/_image_id_by_tag/when_the_image_does_not_exist/raise_a_ImageNotFoundError.yml +12 -12
  22. data/spec/vcr/Bigrig_DockerAdapter/_image_id_by_tag/when_the_image_exists/returns_the_image_id.yml +12 -12
  23. data/spec/vcr/Bigrig_DockerAdapter/_kill/given_the_container_does_not_exist/should_raise_an_error.yml +8 -8
  24. data/spec/vcr/Bigrig_DockerAdapter/_kill/given_the_container_is_running/should_kill_the_container.yml +22 -22
  25. data/spec/vcr/Bigrig_DockerAdapter/_logs/streams_logs_to_a_block.yml +17 -17
  26. data/spec/vcr/Bigrig_DockerAdapter/_pull/given_a_block_to_capture_output/should_capture_output.yml +4 -4
  27. data/spec/vcr/Bigrig_DockerAdapter/_pull/given_the_repo_does_not_exist/raises_a_RepoNotFoundError.yml +2 -2
  28. data/spec/vcr/Bigrig_DockerAdapter/_pull/given_the_repo_exists/returns_the_image_id.yml +6 -6
  29. data/spec/vcr/Bigrig_DockerAdapter/_push/given_credentials/will_pass_login_and_password.yml +43 -43
  30. data/spec/vcr/Bigrig_DockerAdapter/_push/should_push_the_image.yml +143 -107
  31. data/spec/vcr/Bigrig_DockerAdapter/_remove_container/when_the_container_does_not_exist/raises_a_ContainerNotFoundError.yml +16 -16
  32. data/spec/vcr/Bigrig_DockerAdapter/_remove_container/when_the_container_exists/should_remove_the_container.yml +32 -32
  33. data/spec/vcr/Bigrig_DockerAdapter/_remove_container/when_the_container_is_running/raises_a_ContainerRunningError.yml +10 -10
  34. data/spec/vcr/Bigrig_DockerAdapter/_remove_image/when_the_image_doesnt_exist/raises_an_error.yml +8 -8
  35. data/spec/vcr/Bigrig_DockerAdapter/_remove_image/when_the_image_exists/removes_the_image.yml +27 -27
  36. data/spec/vcr/Bigrig_DockerAdapter/_run/given_an_image_id_that_exists/and_a_name/starts_the_container_with_the_right_name.yml +28 -28
  37. 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 +28 -28
  38. data/spec/vcr/Bigrig_DockerAdapter/_run/given_an_image_id_that_exists/and_a_name_and_ports/starts_the_container_with_ports_exposed.yml +32 -32
  39. data/spec/vcr/Bigrig_DockerAdapter/_running_/when_the_container_does_not_exist/returns_false.yml +8 -8
  40. data/spec/vcr/Bigrig_DockerAdapter/_running_/when_the_container_is_not_running/returns_false.yml +11 -11
  41. data/spec/vcr/Bigrig_DockerAdapter/_running_/when_the_container_is_running/returns_true.yml +13 -13
  42. data/spec/vcr/Bigrig_DockerAdapter/_tag/should_tag_the_image.yml +30 -83
  43. data/spec/vcr/Bigrig_LogAction/_perform/follows_the_log.yml +17 -17
  44. data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_a_path/builds_the_image_before_starting_it.yml +27 -176
  45. data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_hosts_by_ip/should_pass_hosts_to_container.yml +41 -41
  46. data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_hosts_by_name/should_lookup_ips_for_hosts_with_a_hostname.yml +41 -41
  47. data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_links/should_pass_links_to_the_right_container.yml +75 -75
  48. data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_multiple_containers/launches_both_containers_in_parallel.yml +52 -52
  49. data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_multiple_containers/spins_up_multiple_containers.yml +74 -74
  50. data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_one_container/should_spin_up_a_single_container.yml +37 -37
  51. data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_one_container/when_a_dead_container_exists/should_remove_existing_containers.yml +39 -39
  52. data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_volumes/should_pass_volumes_to_the_right_container.yml +40 -40
  53. data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_volumes_from/should_pass_volumes_from_to_the_right_container.yml +75 -75
  54. data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_volumes_from/starts_the_dependant_container_last.yml +52 -52
  55. data/spec/vcr/Bigrig_RunAction/_perform/when_activating_profiles_that_do_not_exist/ignores_the_missing_profile.yml +43 -38
  56. data/spec/vcr/Bigrig_RunAction/_perform/with_a_file_with_active_profiles/uses_the_overridden_image.yml +39 -39
  57. data/spec/vcr/bigrig/destroy/spec/data/single_json/kills_the_container.yml +14 -14
  58. data/spec/vcr/bigrig/dev/spec/data/dev_json/activates_the_dev_profile.yml +227 -3
  59. data/spec/vcr/bigrig/dev/spec/data/dev_json/destroys_containers_on_exit.yml +240 -16
  60. data/spec/vcr/bigrig/dev/spec/data/dev_json/starts_the_containers.yml +238 -14
  61. data/spec/vcr/bigrig/dev/spec/data/dev_json/tails_the_logs.yml +227 -0
  62. data/spec/vcr/bigrig/logs/spec/data/log_json/tails_the_logs.yml +17 -17
  63. data/spec/vcr/bigrig/run/spec/data/profiles_json_-p_qa/leaves_existing_env_values_alone.yml +11 -11
  64. data/spec/vcr/bigrig/run/spec/data/profiles_json_-p_qa/overrides_the_env.yml +11 -11
  65. data/spec/vcr/bigrig/run/spec/data/profiles_json_-p_qa/overrides_the_tag.yml +11 -11
  66. data/spec/vcr/bigrig/run/spec/data/single_json/sends_the_name_of_the_container_to_stdout.yml +9 -9
  67. data/spec/vcr/bigrig/run/spec/data/single_json/starts_the_container.yml +13 -13
  68. data/spec/vcr/bigrig/ship/spec/data/ship_json/with_a_version/-c/cleans_the_image_when_its_done.yml +28 -28
  69. data/spec/vcr/bigrig/ship/spec/data/ship_json/with_a_version/builds_and_pushes_the_image.yml +17 -17
  70. data/spec/vcr/bigrig_bin_bigrig_destroy_spec/data/single_json_kills_the_container.yml +21 -21
  71. data/spec/vcr/bigrig_bin_bigrig_dev_spec/data/dev_json_activates_the_dev_profile.yml +109 -107
  72. data/spec/vcr/bigrig_bin_bigrig_dev_spec/data/dev_json_starts_the_containers.yml +108 -108
  73. data/spec/vcr/bigrig_bin_bigrig_dev_spec/data/dev_json_tails_the_logs.yml +118 -118
  74. data/spec/vcr/bigrig_bin_bigrig_logs_spec/data/log_json_tails_the_logs.yml +21 -21
  75. data/spec/vcr/bigrig_bin_bigrig_run_spec/data/profiles_json_-p_qa_leaves_existing_env_values_alone.yml +25 -25
  76. data/spec/vcr/bigrig_bin_bigrig_run_spec/data/profiles_json_-p_qa_overrides_the_env.yml +25 -25
  77. data/spec/vcr/bigrig_bin_bigrig_run_spec/data/profiles_json_-p_qa_overrides_the_tag.yml +24 -173
  78. data/spec/vcr/bigrig_bin_bigrig_run_spec/data/single_json_sends_the_name_of_the_container_to_stdout.yml +25 -25
  79. data/spec/vcr/bigrig_bin_bigrig_run_spec/data/single_json_starts_the_container.yml +25 -25
  80. data/spec/vcr/bigrig_bin_bigrig_ship_spec/data/ship_json_with_a_version_-c_cleans_the_image_when_its_done.yml +121 -85
  81. data/spec/vcr/bigrig_bin_bigrig_ship_spec/data/ship_json_with_a_version_builds_and_pushes_the_image.yml +113 -77
  82. metadata +6 -3
  83. data/spec/vcr/bigrig_bin_bigrig_dev_spec/data/dev_json_destroys_containers_on_exit.yml +0 -1070
@@ -13,80 +13,24 @@ http_interactions:
13
13
  - text/plain
14
14
  response:
15
15
  status:
16
- code: 404
17
- message:
18
- headers:
19
- Content-Type:
20
- - text/plain; charset=utf-8
21
- Date:
22
- - Thu, 12 Mar 2015 21:38:09 GMT
23
- Content-Length:
24
- - '30'
25
- body:
26
- encoding: UTF-8
27
- string: |
28
- No such image: test/tag:1.2.3
29
- http_version:
30
- recorded_at: Thu, 12 Mar 2015 21:38:11 GMT
31
- - request:
32
- method: get
33
- uri: "<DOCKER_HOST>/v1.16/images/test/tag:1.2.3/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:38:09 GMT
51
- Content-Length:
52
- - '30'
53
- body:
54
- encoding: UTF-8
55
- string: |
56
- No such image: test/tag:1.2.3
57
- http_version:
58
- recorded_at: Thu, 12 Mar 2015 21:38:11 GMT
59
- - request:
60
- method: get
61
- uri: "<DOCKER_HOST>/v1.16/images/test/tag:1.2.3/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
16
+ code: 200
73
17
  message:
74
18
  headers:
75
19
  Content-Type:
76
- - text/plain; charset=utf-8
20
+ - application/json
77
21
  Date:
78
- - Thu, 12 Mar 2015 21:38:09 GMT
22
+ - Mon, 06 Apr 2015 21:59:38 GMT
79
23
  Content-Length:
80
- - '30'
24
+ - '1479'
81
25
  body:
82
26
  encoding: UTF-8
83
27
  string: |
84
- No such image: test/tag:1.2.3
28
+ {"Architecture":"amd64","Author":"","Comment":"","Config":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":["/true"],"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":[],"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"ExposedPorts":null,"Hostname":"5a0d2e5f7af6","Image":"c0d55928342254f4d19858c0b9ef3991e22ee7d5c2e8f4a0239a398e4b4e657f","MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":[],"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Container":"cb0575974a6a573010bf8f4fa1ca6ce5ac4760b880c30db72ffe47a4c62849c0","ContainerConfig":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":["/bin/sh","-c","#(nop) CMD [/true]"],"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":[],"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"ExposedPorts":null,"Hostname":"5a0d2e5f7af6","Image":"c0d55928342254f4d19858c0b9ef3991e22ee7d5c2e8f4a0239a398e4b4e657f","MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":[],"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Created":"2015-01-10T13:42:58.118276832Z","DockerVersion":"1.3.0","Id":"5fbce35eb33780adf252ee2f87b7156660fdb5c7ca54a0fb4e262a87447cceeb","Os":"linux","Parent":"c0d55928342254f4d19858c0b9ef3991e22ee7d5c2e8f4a0239a398e4b4e657f","Size":0,"VirtualSize":125}
85
29
  http_version:
86
- recorded_at: Thu, 12 Mar 2015 21:38:11 GMT
30
+ recorded_at: Mon, 06 Apr 2015 21:59:37 GMT
87
31
  - request:
88
- method: get
89
- uri: "<DOCKER_HOST>/v1.16/images/test/tag:1.2.3/json"
32
+ method: delete
33
+ uri: "<DOCKER_HOST>/v1.16/images/5fbce35eb33780adf252ee2f87b7156660fdb5c7ca54a0fb4e262a87447cceeb?force=true"
90
34
  body:
91
35
  encoding: US-ASCII
92
36
  string: ''
@@ -97,21 +41,24 @@ http_interactions:
97
41
  - text/plain
98
42
  response:
99
43
  status:
100
- code: 404
44
+ code: 200
101
45
  message:
102
46
  headers:
103
47
  Content-Type:
104
- - text/plain; charset=utf-8
48
+ - application/json
105
49
  Date:
106
- - Thu, 12 Mar 2015 21:38:09 GMT
50
+ - Mon, 06 Apr 2015 21:59:38 GMT
107
51
  Content-Length:
108
- - '30'
52
+ - '120'
109
53
  body:
110
54
  encoding: UTF-8
111
- string: |
112
- No such image: test/tag:1.2.3
55
+ string: |-
56
+ [{"Untagged":"hawknewton/true:0.0.1"}
57
+ ,{"Untagged":"hawknewton/true:latest"}
58
+ ,{"Untagged":"hawknewton/true:not_exist"}
59
+ ]
113
60
  http_version:
114
- recorded_at: Thu, 12 Mar 2015 21:38:11 GMT
61
+ recorded_at: Mon, 06 Apr 2015 21:59:37 GMT
115
62
  - request:
116
63
  method: post
117
64
  uri: "<DOCKER_HOST>/v1.16/images/create?fromImage=hawknewton%2Ftrue"
@@ -131,7 +78,7 @@ http_interactions:
131
78
  Content-Type:
132
79
  - application/json
133
80
  Date:
134
- - Thu, 12 Mar 2015 21:38:09 GMT
81
+ - Mon, 06 Apr 2015 21:59:38 GMT
135
82
  body:
136
83
  encoding: UTF-8
137
84
  string: "{\"status\":\"Pulling repository hawknewton/true\"}\r\n{\"status\":\"Pulling
@@ -144,7 +91,7 @@ http_interactions:
144
91
  complete\",\"progressDetail\":{},\"id\":\"5fbce35eb337\"}{\"status\":\"Status:
145
92
  Image is up to date for hawknewton/true\"}\r\n"
146
93
  http_version:
147
- recorded_at: Thu, 12 Mar 2015 21:38:12 GMT
94
+ recorded_at: Mon, 06 Apr 2015 21:59:40 GMT
148
95
  - request:
149
96
  method: get
150
97
  uri: "<DOCKER_HOST>/v1.16/images/5fbce35eb337/json"
@@ -164,7 +111,7 @@ http_interactions:
164
111
  Content-Type:
165
112
  - application/json
166
113
  Date:
167
- - Thu, 12 Mar 2015 21:38:09 GMT
114
+ - Mon, 06 Apr 2015 21:59:42 GMT
168
115
  Content-Length:
169
116
  - '1479'
170
117
  body:
@@ -172,7 +119,7 @@ http_interactions:
172
119
  string: |
173
120
  {"Architecture":"amd64","Author":"","Comment":"","Config":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":["/true"],"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":[],"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"ExposedPorts":null,"Hostname":"5a0d2e5f7af6","Image":"c0d55928342254f4d19858c0b9ef3991e22ee7d5c2e8f4a0239a398e4b4e657f","MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":[],"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Container":"cb0575974a6a573010bf8f4fa1ca6ce5ac4760b880c30db72ffe47a4c62849c0","ContainerConfig":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":["/bin/sh","-c","#(nop) CMD [/true]"],"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":[],"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"ExposedPorts":null,"Hostname":"5a0d2e5f7af6","Image":"c0d55928342254f4d19858c0b9ef3991e22ee7d5c2e8f4a0239a398e4b4e657f","MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":[],"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Created":"2015-01-10T13:42:58.118276832Z","DockerVersion":"1.3.0","Id":"5fbce35eb33780adf252ee2f87b7156660fdb5c7ca54a0fb4e262a87447cceeb","Os":"linux","Parent":"c0d55928342254f4d19858c0b9ef3991e22ee7d5c2e8f4a0239a398e4b4e657f","Size":0,"VirtualSize":125}
174
121
  http_version:
175
- recorded_at: Thu, 12 Mar 2015 21:38:12 GMT
122
+ recorded_at: Mon, 06 Apr 2015 21:59:40 GMT
176
123
  - request:
177
124
  method: post
178
125
  uri: "<DOCKER_HOST>/v1.16/images/5fbce35eb33780adf252ee2f87b7156660fdb5c7ca54a0fb4e262a87447cceeb/tag?force=true&repo=test%2Ftag&tag=1.2.3"
@@ -190,7 +137,7 @@ http_interactions:
190
137
  message:
191
138
  headers:
192
139
  Date:
193
- - Thu, 12 Mar 2015 21:38:09 GMT
140
+ - Mon, 06 Apr 2015 21:59:42 GMT
194
141
  Content-Length:
195
142
  - '0'
196
143
  Content-Type:
@@ -199,7 +146,7 @@ http_interactions:
199
146
  encoding: UTF-8
200
147
  string: ''
201
148
  http_version:
202
- recorded_at: Thu, 12 Mar 2015 21:38:12 GMT
149
+ recorded_at: Mon, 06 Apr 2015 21:59:40 GMT
203
150
  - request:
204
151
  method: get
205
152
  uri: "<DOCKER_HOST>/v1.16/images/test/tag:1.2.3/json"
@@ -219,7 +166,7 @@ http_interactions:
219
166
  Content-Type:
220
167
  - application/json
221
168
  Date:
222
- - Thu, 12 Mar 2015 21:38:09 GMT
169
+ - Mon, 06 Apr 2015 21:59:42 GMT
223
170
  Content-Length:
224
171
  - '1479'
225
172
  body:
@@ -227,7 +174,7 @@ http_interactions:
227
174
  string: |
228
175
  {"Architecture":"amd64","Author":"","Comment":"","Config":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":["/true"],"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":[],"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"ExposedPorts":null,"Hostname":"5a0d2e5f7af6","Image":"c0d55928342254f4d19858c0b9ef3991e22ee7d5c2e8f4a0239a398e4b4e657f","MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":[],"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Container":"cb0575974a6a573010bf8f4fa1ca6ce5ac4760b880c30db72ffe47a4c62849c0","ContainerConfig":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":["/bin/sh","-c","#(nop) CMD [/true]"],"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":[],"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"ExposedPorts":null,"Hostname":"5a0d2e5f7af6","Image":"c0d55928342254f4d19858c0b9ef3991e22ee7d5c2e8f4a0239a398e4b4e657f","MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":[],"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Created":"2015-01-10T13:42:58.118276832Z","DockerVersion":"1.3.0","Id":"5fbce35eb33780adf252ee2f87b7156660fdb5c7ca54a0fb4e262a87447cceeb","Os":"linux","Parent":"c0d55928342254f4d19858c0b9ef3991e22ee7d5c2e8f4a0239a398e4b4e657f","Size":0,"VirtualSize":125}
229
176
  http_version:
230
- recorded_at: Thu, 12 Mar 2015 21:38:12 GMT
177
+ recorded_at: Mon, 06 Apr 2015 21:59:40 GMT
231
178
  - request:
232
179
  method: get
233
180
  uri: "<DOCKER_HOST>/v1.16/images/test/tag:1.2.3/json"
@@ -247,7 +194,7 @@ http_interactions:
247
194
  Content-Type:
248
195
  - application/json
249
196
  Date:
250
- - Thu, 12 Mar 2015 21:38:09 GMT
197
+ - Mon, 06 Apr 2015 21:59:42 GMT
251
198
  Content-Length:
252
199
  - '1479'
253
200
  body:
@@ -255,7 +202,7 @@ http_interactions:
255
202
  string: |
256
203
  {"Architecture":"amd64","Author":"","Comment":"","Config":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":["/true"],"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":[],"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"ExposedPorts":null,"Hostname":"5a0d2e5f7af6","Image":"c0d55928342254f4d19858c0b9ef3991e22ee7d5c2e8f4a0239a398e4b4e657f","MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":[],"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Container":"cb0575974a6a573010bf8f4fa1ca6ce5ac4760b880c30db72ffe47a4c62849c0","ContainerConfig":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":["/bin/sh","-c","#(nop) CMD [/true]"],"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":[],"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"ExposedPorts":null,"Hostname":"5a0d2e5f7af6","Image":"c0d55928342254f4d19858c0b9ef3991e22ee7d5c2e8f4a0239a398e4b4e657f","MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":[],"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Created":"2015-01-10T13:42:58.118276832Z","DockerVersion":"1.3.0","Id":"5fbce35eb33780adf252ee2f87b7156660fdb5c7ca54a0fb4e262a87447cceeb","Os":"linux","Parent":"c0d55928342254f4d19858c0b9ef3991e22ee7d5c2e8f4a0239a398e4b4e657f","Size":0,"VirtualSize":125}
257
204
  http_version:
258
- recorded_at: Thu, 12 Mar 2015 21:38:12 GMT
205
+ recorded_at: Mon, 06 Apr 2015 21:59:40 GMT
259
206
  - request:
260
207
  method: delete
261
208
  uri: "<DOCKER_HOST>/v1.16/images/5fbce35eb33780adf252ee2f87b7156660fdb5c7ca54a0fb4e262a87447cceeb?force=true"
@@ -275,7 +222,7 @@ http_interactions:
275
222
  Content-Type:
276
223
  - application/json
277
224
  Date:
278
- - Thu, 12 Mar 2015 21:38:10 GMT
225
+ - Mon, 06 Apr 2015 21:59:42 GMT
279
226
  Content-Length:
280
227
  - '120'
281
228
  body:
@@ -286,5 +233,5 @@ http_interactions:
286
233
  ,{"Untagged":"hawknewton/true:not_exist"}
287
234
  ]
288
235
  http_version:
289
- recorded_at: Thu, 12 Mar 2015 21:38:12 GMT
236
+ recorded_at: Mon, 06 Apr 2015 21:59:41 GMT
290
237
  recorded_with: VCR 2.9.3
@@ -19,7 +19,7 @@ http_interactions:
19
19
  Content-Type:
20
20
  - application/json
21
21
  Date:
22
- - Thu, 12 Mar 2015 21:37:20 GMT
22
+ - Mon, 06 Apr 2015 21:58:34 GMT
23
23
  body:
24
24
  encoding: UTF-8
25
25
  string: "{\"status\":\"Pulling repository hawknewton/log-test\"}\r\n{\"status\":\"Pulling
@@ -36,7 +36,7 @@ http_interactions:
36
36
  complete\",\"progressDetail\":{},\"id\":\"bf0f8a45f956\"}{\"status\":\"Status:
37
37
  Image is up to date for hawknewton/log-test:0.0.1\"}\r\n"
38
38
  http_version:
39
- recorded_at: Thu, 12 Mar 2015 21:37:23 GMT
39
+ recorded_at: Mon, 06 Apr 2015 21:58:35 GMT
40
40
  - request:
41
41
  method: post
42
42
  uri: "<DOCKER_HOST>/v1.16/containers/create?name=log-test"
@@ -56,18 +56,18 @@ http_interactions:
56
56
  Content-Type:
57
57
  - application/json
58
58
  Date:
59
- - Thu, 12 Mar 2015 21:37:21 GMT
59
+ - Mon, 06 Apr 2015 21:58:36 GMT
60
60
  Content-Length:
61
61
  - '90'
62
62
  body:
63
63
  encoding: UTF-8
64
64
  string: |
65
- {"Id":"8ec229e000ed64e9b5d169c1aee57f082d864c0240551fb7cef4661165091f92","Warnings":null}
65
+ {"Id":"ab1bfaf3666a0ef1f304fffbce6e4e359f8793850839580fe34ddb7fc0ae2af5","Warnings":null}
66
66
  http_version:
67
- recorded_at: Thu, 12 Mar 2015 21:37:23 GMT
67
+ recorded_at: Mon, 06 Apr 2015 21:58:35 GMT
68
68
  - request:
69
69
  method: post
70
- uri: "<DOCKER_HOST>/v1.16/containers/8ec229e000ed64e9b5d169c1aee57f082d864c0240551fb7cef4661165091f92/start"
70
+ uri: "<DOCKER_HOST>/v1.16/containers/ab1bfaf3666a0ef1f304fffbce6e4e359f8793850839580fe34ddb7fc0ae2af5/start"
71
71
  body:
72
72
  encoding: UTF-8
73
73
  string: "{}"
@@ -82,12 +82,12 @@ http_interactions:
82
82
  message:
83
83
  headers:
84
84
  Date:
85
- - Thu, 12 Mar 2015 21:37:21 GMT
85
+ - Mon, 06 Apr 2015 21:58:37 GMT
86
86
  body:
87
87
  encoding: UTF-8
88
88
  string: ''
89
89
  http_version:
90
- recorded_at: Thu, 12 Mar 2015 21:37:23 GMT
90
+ recorded_at: Mon, 06 Apr 2015 21:58:35 GMT
91
91
  - request:
92
92
  method: get
93
93
  uri: "<DOCKER_HOST>/v1.16/containers/log-test/json"
@@ -107,16 +107,16 @@ http_interactions:
107
107
  Content-Type:
108
108
  - application/json
109
109
  Date:
110
- - Thu, 12 Mar 2015 21:37:21 GMT
110
+ - Mon, 06 Apr 2015 21:58:37 GMT
111
111
  body:
112
112
  encoding: UTF-8
113
113
  string: |
114
- {"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":"8ec229e000ed","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-03-12T21:37:21.056586871Z","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/8ec229e000ed64e9b5d169c1aee57f082d864c0240551fb7cef4661165091f92/hostname","HostsPath":"/mnt/sda1/var/lib/docker/containers/8ec229e000ed64e9b5d169c1aee57f082d864c0240551fb7cef4661165091f92/hosts","Id":"8ec229e000ed64e9b5d169c1aee57f082d864c0240551fb7cef4661165091f92","Image":"bf0f8a45f956aa470ab3c916c83925fdcffce23d37b1a9e33998561ce54ca030","MountLabel":"","Name":"/log-test","NetworkSettings":{"Bridge":"docker0","Gateway":"172.17.42.1","GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"IPAddress":"172.17.2.79","IPPrefixLen":16,"IPv6Gateway":"","LinkLocalIPv6Address":"fe80::42:acff:fe11:24f","LinkLocalIPv6PrefixLen":64,"MacAddress":"02:42:ac:11:02:4f","PortMapping":null,"Ports":{}},"Path":"/run.sh","ProcessLabel":"","ResolvConfPath":"/mnt/sda1/var/lib/docker/containers/8ec229e000ed64e9b5d169c1aee57f082d864c0240551fb7cef4661165091f92/resolv.conf","RestartCount":0,"State":{"Error":"","ExitCode":0,"FinishedAt":"0001-01-01T00:00:00Z","OOMKilled":false,"Paused":false,"Pid":11462,"Restarting":false,"Running":true,"StartedAt":"2015-03-12T21:37:21.431241327Z"},"Volumes":{},"VolumesRW":{}}
114
+ {"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":"ab1bfaf3666a","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-06T21:58:36.809888363Z","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/ab1bfaf3666a0ef1f304fffbce6e4e359f8793850839580fe34ddb7fc0ae2af5/hostname","HostsPath":"/mnt/sda1/var/lib/docker/containers/ab1bfaf3666a0ef1f304fffbce6e4e359f8793850839580fe34ddb7fc0ae2af5/hosts","Id":"ab1bfaf3666a0ef1f304fffbce6e4e359f8793850839580fe34ddb7fc0ae2af5","Image":"bf0f8a45f956aa470ab3c916c83925fdcffce23d37b1a9e33998561ce54ca030","MountLabel":"","Name":"/log-test","NetworkSettings":{"Bridge":"docker0","Gateway":"172.17.42.1","GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"IPAddress":"172.17.1.202","IPPrefixLen":16,"IPv6Gateway":"","LinkLocalIPv6Address":"fe80::42:acff:fe11:1ca","LinkLocalIPv6PrefixLen":64,"MacAddress":"02:42:ac:11:01:ca","PortMapping":null,"Ports":{}},"Path":"/run.sh","ProcessLabel":"","ResolvConfPath":"/mnt/sda1/var/lib/docker/containers/ab1bfaf3666a0ef1f304fffbce6e4e359f8793850839580fe34ddb7fc0ae2af5/resolv.conf","RestartCount":0,"State":{"Error":"","ExitCode":0,"FinishedAt":"0001-01-01T00:00:00Z","OOMKilled":false,"Paused":false,"Pid":7293,"Restarting":false,"Running":true,"StartedAt":"2015-04-06T21:58:37.17438085Z"},"Volumes":{},"VolumesRW":{}}
115
115
  http_version:
116
- recorded_at: Thu, 12 Mar 2015 21:37:23 GMT
116
+ recorded_at: Mon, 06 Apr 2015 21:58:35 GMT
117
117
  - request:
118
118
  method: post
119
- uri: "<DOCKER_HOST>/v1.16/containers/8ec229e000ed64e9b5d169c1aee57f082d864c0240551fb7cef4661165091f92/kill"
119
+ uri: "<DOCKER_HOST>/v1.16/containers/ab1bfaf3666a0ef1f304fffbce6e4e359f8793850839580fe34ddb7fc0ae2af5/kill"
120
120
  body:
121
121
  encoding: US-ASCII
122
122
  string: ''
@@ -131,15 +131,15 @@ http_interactions:
131
131
  message:
132
132
  headers:
133
133
  Date:
134
- - Thu, 12 Mar 2015 21:37:21 GMT
134
+ - Mon, 06 Apr 2015 21:58:37 GMT
135
135
  body:
136
136
  encoding: UTF-8
137
137
  string: ''
138
138
  http_version:
139
- recorded_at: Thu, 12 Mar 2015 21:37:23 GMT
139
+ recorded_at: Mon, 06 Apr 2015 21:58:36 GMT
140
140
  - request:
141
141
  method: delete
142
- uri: "<DOCKER_HOST>/v1.16/containers/8ec229e000ed64e9b5d169c1aee57f082d864c0240551fb7cef4661165091f92"
142
+ uri: "<DOCKER_HOST>/v1.16/containers/ab1bfaf3666a0ef1f304fffbce6e4e359f8793850839580fe34ddb7fc0ae2af5"
143
143
  body:
144
144
  encoding: US-ASCII
145
145
  string: ''
@@ -154,10 +154,10 @@ http_interactions:
154
154
  message:
155
155
  headers:
156
156
  Date:
157
- - Thu, 12 Mar 2015 21:37:21 GMT
157
+ - Mon, 06 Apr 2015 21:58:37 GMT
158
158
  body:
159
159
  encoding: UTF-8
160
160
  string: ''
161
161
  http_version:
162
- recorded_at: Thu, 12 Mar 2015 21:37:23 GMT
162
+ recorded_at: Mon, 06 Apr 2015 21:58:36 GMT
163
163
  recorded_with: VCR 2.9.3
@@ -23,15 +23,15 @@ http_interactions:
23
23
  Content-Type:
24
24
  - application/json
25
25
  Date:
26
- - Thu, 12 Mar 2015 21:37:37 GMT
26
+ - Mon, 06 Apr 2015 21:58:54 GMT
27
27
  body:
28
28
  encoding: UTF-8
29
29
  string: "{\"stream\":\"Step 0 : FROM hawknewton/true\\n\"}\r\n{\"stream\":\"
30
30
  ---\\u003e 5fbce35eb337\\n\"}\r\n{\"stream\":\"Step 1 : ADD test /\\n\"}\r\n{\"stream\":\"
31
- ---\\u003e c5ff9957f6ce\\n\"}\r\n{\"stream\":\"Removing intermediate container
32
- 98ff4c8696ea\\n\"}\r\n{\"stream\":\"Successfully built c5ff9957f6ce\\n\"}\r\n"
31
+ ---\\u003e e2037e82a884\\n\"}\r\n{\"stream\":\"Removing intermediate container
32
+ b7abbfd104e8\\n\"}\r\n{\"stream\":\"Successfully built e2037e82a884\\n\"}\r\n"
33
33
  http_version:
34
- recorded_at: Thu, 12 Mar 2015 21:37:39 GMT
34
+ recorded_at: Mon, 06 Apr 2015 21:58:53 GMT
35
35
  - request:
36
36
  method: get
37
37
  uri: "<DOCKER_HOST>/v1.16/containers/build_me/json"
@@ -45,133 +45,19 @@ http_interactions:
45
45
  - text/plain
46
46
  response:
47
47
  status:
48
- code: 404
49
- message:
50
- headers:
51
- Content-Type:
52
- - text/plain; charset=utf-8
53
- Date:
54
- - Thu, 12 Mar 2015 21:37:37 GMT
55
- Content-Length:
56
- - '28'
57
- body:
58
- encoding: UTF-8
59
- string: |
60
- No such container: build_me
61
- http_version:
62
- recorded_at: Thu, 12 Mar 2015 21:37:39 GMT
63
- - request:
64
- method: get
65
- uri: "<DOCKER_HOST>/v1.16/containers/build_me/json"
66
- body:
67
- encoding: US-ASCII
68
- string: ''
69
- headers:
70
- User-Agent:
71
- - Swipely/Docker-API 1.20.0
72
- Content-Type:
73
- - text/plain
74
- response:
75
- status:
76
- code: 404
77
- message:
78
- headers:
79
- Content-Type:
80
- - text/plain; charset=utf-8
81
- Date:
82
- - Thu, 12 Mar 2015 21:37:37 GMT
83
- Content-Length:
84
- - '28'
85
- body:
86
- encoding: UTF-8
87
- string: |
88
- No such container: build_me
89
- http_version:
90
- recorded_at: Thu, 12 Mar 2015 21:37:40 GMT
91
- - request:
92
- method: get
93
- uri: "<DOCKER_HOST>/v1.16/containers/build_me/json"
94
- body:
95
- encoding: US-ASCII
96
- string: ''
97
- headers:
98
- User-Agent:
99
- - Swipely/Docker-API 1.20.0
100
- Content-Type:
101
- - text/plain
102
- response:
103
- status:
104
- code: 404
105
- message:
106
- headers:
107
- Content-Type:
108
- - text/plain; charset=utf-8
109
- Date:
110
- - Thu, 12 Mar 2015 21:37:37 GMT
111
- Content-Length:
112
- - '28'
113
- body:
114
- encoding: UTF-8
115
- string: |
116
- No such container: build_me
117
- http_version:
118
- recorded_at: Thu, 12 Mar 2015 21:37:40 GMT
119
- - request:
120
- method: get
121
- uri: "<DOCKER_HOST>/v1.16/containers/build_me/json"
122
- body:
123
- encoding: US-ASCII
124
- string: ''
125
- headers:
126
- User-Agent:
127
- - Swipely/Docker-API 1.20.0
128
- Content-Type:
129
- - text/plain
130
- response:
131
- status:
132
- code: 404
133
- message:
134
- headers:
135
- Content-Type:
136
- - text/plain; charset=utf-8
137
- Date:
138
- - Thu, 12 Mar 2015 21:37:37 GMT
139
- Content-Length:
140
- - '28'
141
- body:
142
- encoding: UTF-8
143
- string: |
144
- No such container: build_me
145
- http_version:
146
- recorded_at: Thu, 12 Mar 2015 21:37:40 GMT
147
- - request:
148
- method: get
149
- uri: "<DOCKER_HOST>/v1.16/containers/build_me/json"
150
- body:
151
- encoding: US-ASCII
152
- string: ''
153
- headers:
154
- User-Agent:
155
- - Swipely/Docker-API 1.20.0
156
- Content-Type:
157
- - text/plain
158
- response:
159
- status:
160
- code: 404
48
+ code: 200
161
49
  message:
162
50
  headers:
163
51
  Content-Type:
164
- - text/plain; charset=utf-8
52
+ - application/json
165
53
  Date:
166
- - Thu, 12 Mar 2015 21:37:37 GMT
167
- Content-Length:
168
- - '28'
54
+ - Mon, 06 Apr 2015 21:58:55 GMT
169
55
  body:
170
56
  encoding: UTF-8
171
57
  string: |
172
- No such container: build_me
58
+ {"AppArmorProfile":"","Args":[],"Config":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":["/true"],"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":[],"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"ExposedPorts":null,"Hostname":"59b8e7c3c3ab","Image":"b66bd1b60f88","MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":null,"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Created":"2015-04-06T21:27:19.339105595Z","Driver":"aufs","ExecDriver":"native-0.2","ExecIDs":null,"HostConfig":{"Binds":[],"CapAdd":null,"CapDrop":null,"ContainerIDFile":"","Devices":null,"Dns":null,"DnsSearch":null,"ExtraHosts":[],"IpcMode":"","Links":null,"LxcConf":null,"NetworkMode":"","PidMode":"","PortBindings":{},"Privileged":false,"PublishAllPorts":false,"ReadonlyRootfs":false,"RestartPolicy":{"MaximumRetryCount":0,"Name":""},"SecurityOpt":null,"VolumesFrom":[]},"HostnamePath":"/mnt/sda1/var/lib/docker/containers/59b8e7c3c3ab9a6e6f2f9e0b4c8a580be42daea8c7d6fafeb81a6306094c4f37/hostname","HostsPath":"/mnt/sda1/var/lib/docker/containers/59b8e7c3c3ab9a6e6f2f9e0b4c8a580be42daea8c7d6fafeb81a6306094c4f37/hosts","Id":"59b8e7c3c3ab9a6e6f2f9e0b4c8a580be42daea8c7d6fafeb81a6306094c4f37","Image":"b66bd1b60f8893c68850c90616f11370c21e021cbe9f0416394c537e388c6564","MountLabel":"","Name":"/build_me","NetworkSettings":{"Bridge":"","Gateway":"","GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"IPAddress":"","IPPrefixLen":0,"IPv6Gateway":"","LinkLocalIPv6Address":"","LinkLocalIPv6PrefixLen":0,"MacAddress":"","PortMapping":null,"Ports":null},"Path":"/true","ProcessLabel":"","ResolvConfPath":"/mnt/sda1/var/lib/docker/containers/59b8e7c3c3ab9a6e6f2f9e0b4c8a580be42daea8c7d6fafeb81a6306094c4f37/resolv.conf","RestartCount":0,"State":{"Error":"","ExitCode":0,"FinishedAt":"2015-04-06T21:27:20.023515357Z","OOMKilled":false,"Paused":false,"Pid":0,"Restarting":false,"Running":false,"StartedAt":"2015-04-06T21:27:19.852575764Z"},"Volumes":{},"VolumesRW":{}}
173
59
  http_version:
174
- recorded_at: Thu, 12 Mar 2015 21:37:40 GMT
60
+ recorded_at: Mon, 06 Apr 2015 21:58:53 GMT
175
61
  - request:
176
62
  method: get
177
63
  uri: "<DOCKER_HOST>/v1.16/containers/build_me/json"
@@ -185,24 +71,22 @@ http_interactions:
185
71
  - text/plain
186
72
  response:
187
73
  status:
188
- code: 404
74
+ code: 200
189
75
  message:
190
76
  headers:
191
77
  Content-Type:
192
- - text/plain; charset=utf-8
78
+ - application/json
193
79
  Date:
194
- - Thu, 12 Mar 2015 21:37:37 GMT
195
- Content-Length:
196
- - '28'
80
+ - Mon, 06 Apr 2015 21:58:55 GMT
197
81
  body:
198
82
  encoding: UTF-8
199
83
  string: |
200
- No such container: build_me
84
+ {"AppArmorProfile":"","Args":[],"Config":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":["/true"],"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":[],"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"ExposedPorts":null,"Hostname":"59b8e7c3c3ab","Image":"b66bd1b60f88","MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":null,"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Created":"2015-04-06T21:27:19.339105595Z","Driver":"aufs","ExecDriver":"native-0.2","ExecIDs":null,"HostConfig":{"Binds":[],"CapAdd":null,"CapDrop":null,"ContainerIDFile":"","Devices":null,"Dns":null,"DnsSearch":null,"ExtraHosts":[],"IpcMode":"","Links":null,"LxcConf":null,"NetworkMode":"","PidMode":"","PortBindings":{},"Privileged":false,"PublishAllPorts":false,"ReadonlyRootfs":false,"RestartPolicy":{"MaximumRetryCount":0,"Name":""},"SecurityOpt":null,"VolumesFrom":[]},"HostnamePath":"/mnt/sda1/var/lib/docker/containers/59b8e7c3c3ab9a6e6f2f9e0b4c8a580be42daea8c7d6fafeb81a6306094c4f37/hostname","HostsPath":"/mnt/sda1/var/lib/docker/containers/59b8e7c3c3ab9a6e6f2f9e0b4c8a580be42daea8c7d6fafeb81a6306094c4f37/hosts","Id":"59b8e7c3c3ab9a6e6f2f9e0b4c8a580be42daea8c7d6fafeb81a6306094c4f37","Image":"b66bd1b60f8893c68850c90616f11370c21e021cbe9f0416394c537e388c6564","MountLabel":"","Name":"/build_me","NetworkSettings":{"Bridge":"","Gateway":"","GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"IPAddress":"","IPPrefixLen":0,"IPv6Gateway":"","LinkLocalIPv6Address":"","LinkLocalIPv6PrefixLen":0,"MacAddress":"","PortMapping":null,"Ports":null},"Path":"/true","ProcessLabel":"","ResolvConfPath":"/mnt/sda1/var/lib/docker/containers/59b8e7c3c3ab9a6e6f2f9e0b4c8a580be42daea8c7d6fafeb81a6306094c4f37/resolv.conf","RestartCount":0,"State":{"Error":"","ExitCode":0,"FinishedAt":"2015-04-06T21:27:20.023515357Z","OOMKilled":false,"Paused":false,"Pid":0,"Restarting":false,"Running":false,"StartedAt":"2015-04-06T21:27:19.852575764Z"},"Volumes":{},"VolumesRW":{}}
201
85
  http_version:
202
- recorded_at: Thu, 12 Mar 2015 21:37:40 GMT
86
+ recorded_at: Mon, 06 Apr 2015 21:58:53 GMT
203
87
  - request:
204
- method: get
205
- uri: "<DOCKER_HOST>/v1.16/containers/build_me/json"
88
+ method: delete
89
+ uri: "<DOCKER_HOST>/v1.16/containers/59b8e7c3c3ab9a6e6f2f9e0b4c8a580be42daea8c7d6fafeb81a6306094c4f37"
206
90
  body:
207
91
  encoding: US-ASCII
208
92
  string: ''
@@ -213,55 +97,22 @@ http_interactions:
213
97
  - text/plain
214
98
  response:
215
99
  status:
216
- code: 404
100
+ code: 204
217
101
  message:
218
102
  headers:
219
- Content-Type:
220
- - text/plain; charset=utf-8
221
103
  Date:
222
- - Thu, 12 Mar 2015 21:37:37 GMT
223
- Content-Length:
224
- - '28'
104
+ - Mon, 06 Apr 2015 21:58:55 GMT
225
105
  body:
226
106
  encoding: UTF-8
227
- string: |
228
- No such container: build_me
229
- http_version:
230
- recorded_at: Thu, 12 Mar 2015 21:37:40 GMT
231
- - request:
232
- method: get
233
- uri: "<DOCKER_HOST>/v1.16/containers/build_me/json"
234
- body:
235
- encoding: US-ASCII
236
107
  string: ''
237
- headers:
238
- User-Agent:
239
- - Swipely/Docker-API 1.20.0
240
- Content-Type:
241
- - text/plain
242
- response:
243
- status:
244
- code: 404
245
- message:
246
- headers:
247
- Content-Type:
248
- - text/plain; charset=utf-8
249
- Date:
250
- - Thu, 12 Mar 2015 21:37:37 GMT
251
- Content-Length:
252
- - '28'
253
- body:
254
- encoding: UTF-8
255
- string: |
256
- No such container: build_me
257
108
  http_version:
258
- recorded_at: Thu, 12 Mar 2015 21:37:40 GMT
109
+ recorded_at: Mon, 06 Apr 2015 21:58:53 GMT
259
110
  - request:
260
111
  method: post
261
112
  uri: "<DOCKER_HOST>/v1.16/containers/create?name=build_me"
262
113
  body:
263
114
  encoding: UTF-8
264
- string: '{"Env":[],"Image":"c5ff9957f6ce","ExposedPorts":{}}'
115
+ string: '{"Env":[],"Image":"e2037e82a884","ExposedPorts":{}}'
265
116
  headers:
266
117
  User-Agent:
267
118
  - Swipely/Docker-API 1.20.0
@@ -275,21 +126,21 @@ http_interactions:
275
126
  Content-Type:
276
127
  - application/json
277
128
  Date:
278
- - Thu, 12 Mar 2015 21:37:38 GMT
129
+ - Mon, 06 Apr 2015 21:58:55 GMT
279
130
  Content-Length:
280
131
  - '90'
281
132
  body:
282
133
  encoding: UTF-8
283
134
  string: |
284
- {"Id":"c01ac47fb65994b46f195432993ba77f7591b9ee48b4f8089f174595f2cd6000","Warnings":null}
135
+ {"Id":"246ef82862db85f3c3bbc8d31551a128d3cda16f0663bfcdd4639340410be90d","Warnings":null}
285
136
  http_version:
286
- recorded_at: Thu, 12 Mar 2015 21:37:40 GMT
137
+ recorded_at: Mon, 06 Apr 2015 21:58:54 GMT
287
138
  - request:
288
139
  method: post
289
- uri: "<DOCKER_HOST>/v1.16/containers/c01ac47fb65994b46f195432993ba77f7591b9ee48b4f8089f174595f2cd6000/start"
140
+ uri: "<DOCKER_HOST>/v1.16/containers/246ef82862db85f3c3bbc8d31551a128d3cda16f0663bfcdd4639340410be90d/start"
290
141
  body:
291
142
  encoding: UTF-8
292
- string: '{"Links":[],"ExtraHosts":[],"PortBindings":{},"VolumesFrom":[]}'
143
+ string: '{"Links":[],"ExtraHosts":[],"PortBindings":{},"VolumesFrom":[],"Binds":[]}'
293
144
  headers:
294
145
  User-Agent:
295
146
  - Swipely/Docker-API 1.20.0
@@ -301,10 +152,10 @@ http_interactions:
301
152
  message:
302
153
  headers:
303
154
  Date:
304
- - Thu, 12 Mar 2015 21:37:38 GMT
155
+ - Mon, 06 Apr 2015 21:58:55 GMT
305
156
  body:
306
157
  encoding: UTF-8
307
158
  string: ''
308
159
  http_version:
309
- recorded_at: Thu, 12 Mar 2015 21:37:40 GMT
160
+ recorded_at: Mon, 06 Apr 2015 21:58:54 GMT
310
161
  recorded_with: VCR 2.9.3