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
  - application/json
21
21
  Date:
22
- - Mon, 20 Apr 2015 23:28:12 GMT
22
+ - Fri, 05 Jun 2015 23:24:40 GMT
23
23
  Content-Length:
24
- - '1479'
24
+ - '1507'
25
25
  body:
26
26
  encoding: UTF-8
27
27
  string: |
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}
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","Labels":null,"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","Labels":null,"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}
29
29
  http_version:
30
- recorded_at: Mon, 20 Apr 2015 23:28:12 GMT
30
+ recorded_at: Fri, 05 Jun 2015 23:24:40 GMT
31
31
  - request:
32
32
  method: get
33
33
  uri: "<DOCKER_HOST>/v1.16/containers/profiles/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:28:12 GMT
50
+ - Fri, 05 Jun 2015 23:24:40 GMT
51
51
  Content-Length:
52
- - '28'
52
+ - '21'
53
53
  body:
54
54
  encoding: UTF-8
55
55
  string: |
56
- No such container: profiles
56
+ no such id: profiles
57
57
  http_version:
58
- recorded_at: Mon, 20 Apr 2015 23:28:12 GMT
58
+ recorded_at: Fri, 05 Jun 2015 23:24:40 GMT
59
59
  - request:
60
60
  method: get
61
61
  uri: "<DOCKER_HOST>/v1.16/containers/profiles/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:28:13 GMT
78
+ - Fri, 05 Jun 2015 23:24:40 GMT
79
79
  Content-Length:
80
- - '28'
80
+ - '21'
81
81
  body:
82
82
  encoding: UTF-8
83
83
  string: |
84
- No such container: profiles
84
+ no such id: profiles
85
85
  http_version:
86
- recorded_at: Mon, 20 Apr 2015 23:28:12 GMT
86
+ recorded_at: Fri, 05 Jun 2015 23:24:40 GMT
87
87
  - request:
88
88
  method: get
89
89
  uri: "<DOCKER_HOST>/v1.16/containers/profiles/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:28:13 GMT
106
+ - Fri, 05 Jun 2015 23:24:40 GMT
107
107
  Content-Length:
108
- - '28'
108
+ - '21'
109
109
  body:
110
110
  encoding: UTF-8
111
111
  string: |
112
- No such container: profiles
112
+ no such id: profiles
113
113
  http_version:
114
- recorded_at: Mon, 20 Apr 2015 23:28:12 GMT
114
+ recorded_at: Fri, 05 Jun 2015 23:24:40 GMT
115
115
  - request:
116
116
  method: get
117
117
  uri: "<DOCKER_HOST>/v1.16/containers/profiles/json"
@@ -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,15 +131,15 @@ http_interactions:
131
131
  Content-Type:
132
132
  - text/plain; charset=utf-8
133
133
  Date:
134
- - Mon, 20 Apr 2015 23:28:13 GMT
134
+ - Fri, 05 Jun 2015 23:24:40 GMT
135
135
  Content-Length:
136
- - '28'
136
+ - '21'
137
137
  body:
138
138
  encoding: UTF-8
139
139
  string: |
140
- No such container: profiles
140
+ no such id: profiles
141
141
  http_version:
142
- recorded_at: Mon, 20 Apr 2015 23:28:12 GMT
142
+ recorded_at: Fri, 05 Jun 2015 23:24:40 GMT
143
143
  - request:
144
144
  method: get
145
145
  uri: "<DOCKER_HOST>/v1.16/containers/profiles/json"
@@ -148,7 +148,7 @@ http_interactions:
148
148
  string: ''
149
149
  headers:
150
150
  User-Agent:
151
- - Swipely/Docker-API 1.20.0
151
+ - Swipely/Docker-API 1.21.4
152
152
  Content-Type:
153
153
  - text/plain
154
154
  response:
@@ -159,15 +159,15 @@ http_interactions:
159
159
  Content-Type:
160
160
  - text/plain; charset=utf-8
161
161
  Date:
162
- - Mon, 20 Apr 2015 23:28:13 GMT
162
+ - Fri, 05 Jun 2015 23:24:40 GMT
163
163
  Content-Length:
164
- - '28'
164
+ - '21'
165
165
  body:
166
166
  encoding: UTF-8
167
167
  string: |
168
- No such container: profiles
168
+ no such id: profiles
169
169
  http_version:
170
- recorded_at: Mon, 20 Apr 2015 23:28:12 GMT
170
+ recorded_at: Fri, 05 Jun 2015 23:24:40 GMT
171
171
  - request:
172
172
  method: get
173
173
  uri: "<DOCKER_HOST>/v1.16/containers/profiles/json"
@@ -176,7 +176,7 @@ http_interactions:
176
176
  string: ''
177
177
  headers:
178
178
  User-Agent:
179
- - Swipely/Docker-API 1.20.0
179
+ - Swipely/Docker-API 1.21.4
180
180
  Content-Type:
181
181
  - text/plain
182
182
  response:
@@ -187,15 +187,15 @@ http_interactions:
187
187
  Content-Type:
188
188
  - text/plain; charset=utf-8
189
189
  Date:
190
- - Mon, 20 Apr 2015 23:28:13 GMT
190
+ - Fri, 05 Jun 2015 23:24:40 GMT
191
191
  Content-Length:
192
- - '28'
192
+ - '21'
193
193
  body:
194
194
  encoding: UTF-8
195
195
  string: |
196
- No such container: profiles
196
+ no such id: profiles
197
197
  http_version:
198
- recorded_at: Mon, 20 Apr 2015 23:28:12 GMT
198
+ recorded_at: Fri, 05 Jun 2015 23:24:40 GMT
199
199
  - request:
200
200
  method: get
201
201
  uri: "<DOCKER_HOST>/v1.16/containers/profiles/json"
@@ -204,7 +204,7 @@ http_interactions:
204
204
  string: ''
205
205
  headers:
206
206
  User-Agent:
207
- - Swipely/Docker-API 1.20.0
207
+ - Swipely/Docker-API 1.21.4
208
208
  Content-Type:
209
209
  - text/plain
210
210
  response:
@@ -215,15 +215,15 @@ http_interactions:
215
215
  Content-Type:
216
216
  - text/plain; charset=utf-8
217
217
  Date:
218
- - Mon, 20 Apr 2015 23:28:13 GMT
218
+ - Fri, 05 Jun 2015 23:24:40 GMT
219
219
  Content-Length:
220
- - '28'
220
+ - '21'
221
221
  body:
222
222
  encoding: UTF-8
223
223
  string: |
224
- No such container: profiles
224
+ no such id: profiles
225
225
  http_version:
226
- recorded_at: Mon, 20 Apr 2015 23:28:12 GMT
226
+ recorded_at: Fri, 05 Jun 2015 23:24:40 GMT
227
227
  - request:
228
228
  method: get
229
229
  uri: "<DOCKER_HOST>/v1.16/containers/profiles/json"
@@ -232,7 +232,7 @@ http_interactions:
232
232
  string: ''
233
233
  headers:
234
234
  User-Agent:
235
- - Swipely/Docker-API 1.20.0
235
+ - Swipely/Docker-API 1.21.4
236
236
  Content-Type:
237
237
  - text/plain
238
238
  response:
@@ -243,15 +243,15 @@ http_interactions:
243
243
  Content-Type:
244
244
  - text/plain; charset=utf-8
245
245
  Date:
246
- - Mon, 20 Apr 2015 23:28:13 GMT
246
+ - Fri, 05 Jun 2015 23:24:40 GMT
247
247
  Content-Length:
248
- - '28'
248
+ - '21'
249
249
  body:
250
250
  encoding: UTF-8
251
251
  string: |
252
- No such container: profiles
252
+ no such id: profiles
253
253
  http_version:
254
- recorded_at: Mon, 20 Apr 2015 23:28:13 GMT
254
+ recorded_at: Fri, 05 Jun 2015 23:24:40 GMT
255
255
  - request:
256
256
  method: post
257
257
  uri: "<DOCKER_HOST>/v1.16/containers/create?name=profiles"
@@ -260,7 +260,7 @@ http_interactions:
260
260
  string: '{"Env":["NAME1=VALUE1","NAME2=VALUE2"],"Image":"5fbce35eb33780adf252ee2f87b7156660fdb5c7ca54a0fb4e262a87447cceeb","ExposedPorts":{"80/tcp":{}}}'
261
261
  headers:
262
262
  User-Agent:
263
- - Swipely/Docker-API 1.20.0
263
+ - Swipely/Docker-API 1.21.4
264
264
  Content-Type:
265
265
  - application/json
266
266
  response:
@@ -271,24 +271,24 @@ http_interactions:
271
271
  Content-Type:
272
272
  - application/json
273
273
  Date:
274
- - Mon, 20 Apr 2015 23:28:13 GMT
274
+ - Fri, 05 Jun 2015 23:24:41 GMT
275
275
  Content-Length:
276
276
  - '90'
277
277
  body:
278
278
  encoding: UTF-8
279
279
  string: |
280
- {"Id":"ec3c80b8598b94f30a5b5132e655a67e1df29c314d2c7f75cb75043ce3d09c2d","Warnings":null}
280
+ {"Id":"518eb52792b34b59b8aa7dafc6556bdf9203abcb07f5c0a3f3423536752759d4","Warnings":null}
281
281
  http_version:
282
- recorded_at: Mon, 20 Apr 2015 23:28:13 GMT
282
+ recorded_at: Fri, 05 Jun 2015 23:24:41 GMT
283
283
  - request:
284
284
  method: post
285
- uri: "<DOCKER_HOST>/v1.16/containers/ec3c80b8598b94f30a5b5132e655a67e1df29c314d2c7f75cb75043ce3d09c2d/start"
285
+ uri: "<DOCKER_HOST>/v1.16/containers/518eb52792b34b59b8aa7dafc6556bdf9203abcb07f5c0a3f3423536752759d4/start"
286
286
  body:
287
287
  encoding: UTF-8
288
288
  string: '{"Links":[],"ExtraHosts":[],"PortBindings":{"80/tcp":[{"HostPort":"4567"}]},"VolumesFrom":[],"Binds":[]}'
289
289
  headers:
290
290
  User-Agent:
291
- - Swipely/Docker-API 1.20.0
291
+ - Swipely/Docker-API 1.21.4
292
292
  Content-Type:
293
293
  - application/json
294
294
  response:
@@ -297,12 +297,12 @@ http_interactions:
297
297
  message:
298
298
  headers:
299
299
  Date:
300
- - Mon, 20 Apr 2015 23:28:13 GMT
300
+ - Fri, 05 Jun 2015 23:24:41 GMT
301
301
  body:
302
302
  encoding: UTF-8
303
303
  string: ''
304
304
  http_version:
305
- recorded_at: Mon, 20 Apr 2015 23:28:13 GMT
305
+ recorded_at: Fri, 05 Jun 2015 23:24:41 GMT
306
306
  - request:
307
307
  method: get
308
308
  uri: "<DOCKER_HOST>/v1.16/containers/profiles/json"
@@ -311,7 +311,7 @@ http_interactions:
311
311
  string: ''
312
312
  headers:
313
313
  User-Agent:
314
- - Swipely/Docker-API 1.20.0
314
+ - Swipely/Docker-API 1.21.4
315
315
  Content-Type:
316
316
  - text/plain
317
317
  response:
@@ -322,13 +322,209 @@ http_interactions:
322
322
  Content-Type:
323
323
  - application/json
324
324
  Date:
325
- - Mon, 20 Apr 2015 23:28:13 GMT
325
+ - Fri, 05 Jun 2015 23:24:41 GMT
326
326
  body:
327
327
  encoding: UTF-8
328
328
  string: |
329
- {"AppArmorProfile":"","Args":[],"Config":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":["/true"],"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":[],"Env":["NAME1=VALUE1","NAME2=VALUE2","PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"ExposedPorts":{"80/tcp":{}},"Hostname":"ec3c80b8598b","Image":"5fbce35eb33780adf252ee2f87b7156660fdb5c7ca54a0fb4e262a87447cceeb","MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":null,"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Created":"2015-04-20T23:28:13.295080924Z","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":{"80/tcp":[{"HostIp":"","HostPort":"4567"}]},"Privileged":false,"PublishAllPorts":false,"ReadonlyRootfs":false,"RestartPolicy":{"MaximumRetryCount":0,"Name":""},"SecurityOpt":null,"VolumesFrom":[]},"HostnamePath":"/mnt/sda1/var/lib/docker/containers/ec3c80b8598b94f30a5b5132e655a67e1df29c314d2c7f75cb75043ce3d09c2d/hostname","HostsPath":"/mnt/sda1/var/lib/docker/containers/ec3c80b8598b94f30a5b5132e655a67e1df29c314d2c7f75cb75043ce3d09c2d/hosts","Id":"ec3c80b8598b94f30a5b5132e655a67e1df29c314d2c7f75cb75043ce3d09c2d","Image":"5fbce35eb33780adf252ee2f87b7156660fdb5c7ca54a0fb4e262a87447cceeb","MountLabel":"","Name":"/profiles","NetworkSettings":{"Bridge":"docker0","Gateway":"172.17.42.1","GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"IPAddress":"172.17.7.197","IPPrefixLen":16,"IPv6Gateway":"","LinkLocalIPv6Address":"fe80::42:acff:fe11:7c5","LinkLocalIPv6PrefixLen":64,"MacAddress":"02:42:ac:11:07:c5","PortMapping":null,"Ports":{"80/tcp":[{"HostIp":"0.0.0.0","HostPort":"4567"}]}},"Path":"/true","ProcessLabel":"","ResolvConfPath":"/mnt/sda1/var/lib/docker/containers/ec3c80b8598b94f30a5b5132e655a67e1df29c314d2c7f75cb75043ce3d09c2d/resolv.conf","RestartCount":0,"State":{"Error":"","ExitCode":0,"FinishedAt":"0001-01-01T00:00:00Z","OOMKilled":false,"Paused":false,"Pid":13296,"Restarting":false,"Running":true,"StartedAt":"2015-04-20T23:28:13.736974686Z"},"Volumes":{},"VolumesRW":{}}
329
+ {"AppArmorProfile":"","Args":[],"Config":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":["/true"],"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":[],"Env":["NAME1=VALUE1","NAME2=VALUE2","PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"ExposedPorts":{"80/tcp":{}},"Hostname":"518eb52792b3","Image":"5fbce35eb33780adf252ee2f87b7156660fdb5c7ca54a0fb4e262a87447cceeb","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:24:40.967901554Z","Driver":"aufs","ExecDriver":"native-0.2","ExecIDs":null,"HostConfig":{"Binds":[],"CapAdd":null,"CapDrop":null,"CgroupParent":"","ContainerIDFile":"","CpuShares":0,"CpusetCpus":"","Devices":null,"Dns":null,"DnsSearch":null,"ExtraHosts":[],"IpcMode":"","Links":null,"LogConfig":{"Config":null,"Type":"json-file"},"LxcConf":null,"Memory":0,"MemorySwap":0,"NetworkMode":"","PidMode":"","PortBindings":{"80/tcp":[{"HostIp":"","HostPort":"4567"}]},"Privileged":false,"PublishAllPorts":false,"ReadonlyRootfs":false,"RestartPolicy":{"MaximumRetryCount":0,"Name":""},"SecurityOpt":null,"Ulimits":null,"VolumesFrom":[]},"HostnamePath":"/mnt/sda1/var/lib/docker/containers/518eb52792b34b59b8aa7dafc6556bdf9203abcb07f5c0a3f3423536752759d4/hostname","HostsPath":"/mnt/sda1/var/lib/docker/containers/518eb52792b34b59b8aa7dafc6556bdf9203abcb07f5c0a3f3423536752759d4/hosts","Id":"518eb52792b34b59b8aa7dafc6556bdf9203abcb07f5c0a3f3423536752759d4","Image":"5fbce35eb33780adf252ee2f87b7156660fdb5c7ca54a0fb4e262a87447cceeb","LogPath":"/mnt/sda1/var/lib/docker/containers/518eb52792b34b59b8aa7dafc6556bdf9203abcb07f5c0a3f3423536752759d4/518eb52792b34b59b8aa7dafc6556bdf9203abcb07f5c0a3f3423536752759d4-json.log","MountLabel":"","Name":"/profiles","NetworkSettings":{"Bridge":"docker0","Gateway":"172.17.42.1","GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"IPAddress":"172.17.1.55","IPPrefixLen":16,"IPv6Gateway":"","LinkLocalIPv6Address":"fe80::42:acff:fe11:137","LinkLocalIPv6PrefixLen":64,"MacAddress":"02:42:ac:11:01:37","PortMapping":null,"Ports":{"80/tcp":[{"HostIp":"0.0.0.0","HostPort":"4567"}]}},"Path":"/true","ProcessLabel":"","ResolvConfPath":"/mnt/sda1/var/lib/docker/containers/518eb52792b34b59b8aa7dafc6556bdf9203abcb07f5c0a3f3423536752759d4/resolv.conf","RestartCount":0,"State":{"Dead":false,"Error":"","ExitCode":0,"FinishedAt":"0001-01-01T00:00:00Z","OOMKilled":false,"Paused":false,"Pid":23223,"Restarting":false,"Running":true,"StartedAt":"2015-06-05T23:24:41.403770785Z"},"Volumes":{},"VolumesRW":{}}
330
330
  http_version:
331
- recorded_at: Mon, 20 Apr 2015 23:28:13 GMT
331
+ recorded_at: Fri, 05 Jun 2015 23:24:41 GMT
332
+ - request:
333
+ method: post
334
+ uri: "<DOCKER_HOST>/v1.16/containers/518eb52792b34b59b8aa7dafc6556bdf9203abcb07f5c0a3f3423536752759d4/exec"
335
+ body:
336
+ encoding: UTF-8
337
+ string: '{"AttachStdin":false,"AttachStdout":true,"AttachStderr":true,"Tty":false,"Cmd":["ls","/bigrig-wait.sh"]}'
338
+ headers:
339
+ User-Agent:
340
+ - Swipely/Docker-API 1.21.4
341
+ Content-Type:
342
+ - application/json
343
+ response:
344
+ status:
345
+ code: 201
346
+ message:
347
+ headers:
348
+ Content-Type:
349
+ - application/json
350
+ Date:
351
+ - Fri, 05 Jun 2015 23:24:41 GMT
352
+ Content-Length:
353
+ - '74'
354
+ body:
355
+ encoding: UTF-8
356
+ string: |
357
+ {"Id":"e321b6c62c3532e1a998ee3912b2a0a249b78b20be5f7b5e09b41ffa2c6a8204"}
358
+ http_version:
359
+ recorded_at: Fri, 05 Jun 2015 23:24:41 GMT
360
+ - request:
361
+ method: post
362
+ uri: "<DOCKER_HOST>/v1.16/exec/e321b6c62c3532e1a998ee3912b2a0a249b78b20be5f7b5e09b41ffa2c6a8204/start"
363
+ body:
364
+ encoding: UTF-8
365
+ string: '{"Tty":false,"Detach":false}'
366
+ headers:
367
+ User-Agent:
368
+ - Swipely/Docker-API 1.21.4
369
+ Content-Type:
370
+ - application/json
371
+ response:
372
+ status:
373
+ code: 200
374
+ message:
375
+ headers:
376
+ Content-Type:
377
+ - application/vnd.docker.raw-stream
378
+ body:
379
+ encoding: ASCII-8BIT
380
+ string: !binary |-
381
+ AgAAAAAAAFpDb250YWluZXIgNTE4ZWI1Mjc5MmIzNGI1OWI4YWE3ZGFmYzY1
382
+ NTZiZGY5MjAzYWJjYjA3ZjVjMGEzZjM0MjM1MzY3NTI3NTlkNCBpcyBub3Qg
383
+ cnVubmluZwoBAAAAAAAAxUVycm9yIHN0YXJ0aW5nIGV4ZWMgY29tbWFuZCBp
384
+ biBjb250YWluZXIgZTMyMWI2YzYyYzM1MzJlMWE5OThlZTM5MTJiMmEwYTI0
385
+ OWI3OGIyMGJlNWY3YjVlMDliNDFmZmEyYzZhODIwNDogQ29udGFpbmVyIDUx
386
+ OGViNTI3OTJiMzRiNTliOGFhN2RhZmM2NTU2YmRmOTIwM2FiY2IwN2Y1YzBh
387
+ M2YzNDIzNTM2NzUyNzU5ZDQgaXMgbm90IHJ1bm5pbmcK
388
+ http_version:
389
+ recorded_at: Fri, 05 Jun 2015 23:24:41 GMT
390
+ - request:
391
+ method: get
392
+ uri: "<DOCKER_HOST>/v1.16/exec/e321b6c62c3532e1a998ee3912b2a0a249b78b20be5f7b5e09b41ffa2c6a8204/json"
393
+ body:
394
+ encoding: US-ASCII
395
+ string: ''
396
+ headers:
397
+ User-Agent:
398
+ - Swipely/Docker-API 1.21.4
399
+ Content-Type:
400
+ - text/plain
401
+ response:
402
+ status:
403
+ code: 404
404
+ message:
405
+ headers:
406
+ Content-Type:
407
+ - text/plain; charset=utf-8
408
+ Date:
409
+ - Fri, 05 Jun 2015 23:24:41 GMT
410
+ Content-Length:
411
+ - '105'
412
+ body:
413
+ encoding: UTF-8
414
+ string: |
415
+ No such exec instance 'e321b6c62c3532e1a998ee3912b2a0a249b78b20be5f7b5e09b41ffa2c6a8204' found in daemon
416
+ http_version:
417
+ recorded_at: Fri, 05 Jun 2015 23:24:41 GMT
418
+ - request:
419
+ method: get
420
+ uri: "<DOCKER_HOST>/v1.16/exec/e321b6c62c3532e1a998ee3912b2a0a249b78b20be5f7b5e09b41ffa2c6a8204/json"
421
+ body:
422
+ encoding: US-ASCII
423
+ string: ''
424
+ headers:
425
+ User-Agent:
426
+ - Swipely/Docker-API 1.21.4
427
+ Content-Type:
428
+ - text/plain
429
+ response:
430
+ status:
431
+ code: 404
432
+ message:
433
+ headers:
434
+ Content-Type:
435
+ - text/plain; charset=utf-8
436
+ Date:
437
+ - Fri, 05 Jun 2015 23:24:41 GMT
438
+ Content-Length:
439
+ - '105'
440
+ body:
441
+ encoding: UTF-8
442
+ string: |
443
+ No such exec instance 'e321b6c62c3532e1a998ee3912b2a0a249b78b20be5f7b5e09b41ffa2c6a8204' found in daemon
444
+ http_version:
445
+ recorded_at: Fri, 05 Jun 2015 23:24:41 GMT
446
+ - request:
447
+ method: get
448
+ uri: "<DOCKER_HOST>/v1.16/exec/e321b6c62c3532e1a998ee3912b2a0a249b78b20be5f7b5e09b41ffa2c6a8204/json"
449
+ body:
450
+ encoding: US-ASCII
451
+ string: ''
452
+ headers:
453
+ User-Agent:
454
+ - Swipely/Docker-API 1.21.4
455
+ Content-Type:
456
+ - text/plain
457
+ response:
458
+ status:
459
+ code: 404
460
+ message:
461
+ headers:
462
+ Content-Type:
463
+ - text/plain; charset=utf-8
464
+ Date:
465
+ - Fri, 05 Jun 2015 23:24:41 GMT
466
+ Content-Length:
467
+ - '105'
468
+ body:
469
+ encoding: UTF-8
470
+ string: |
471
+ No such exec instance 'e321b6c62c3532e1a998ee3912b2a0a249b78b20be5f7b5e09b41ffa2c6a8204' found in daemon
472
+ http_version:
473
+ recorded_at: Fri, 05 Jun 2015 23:24:41 GMT
474
+ - request:
475
+ method: get
476
+ uri: "<DOCKER_HOST>/v1.16/exec/e321b6c62c3532e1a998ee3912b2a0a249b78b20be5f7b5e09b41ffa2c6a8204/json"
477
+ body:
478
+ encoding: US-ASCII
479
+ string: ''
480
+ headers:
481
+ User-Agent:
482
+ - Swipely/Docker-API 1.21.4
483
+ Content-Type:
484
+ - text/plain
485
+ response:
486
+ status:
487
+ code: 404
488
+ message:
489
+ headers:
490
+ Content-Type:
491
+ - text/plain; charset=utf-8
492
+ Date:
493
+ - Fri, 05 Jun 2015 23:24:41 GMT
494
+ Content-Length:
495
+ - '105'
496
+ body:
497
+ encoding: UTF-8
498
+ string: |
499
+ No such exec instance 'e321b6c62c3532e1a998ee3912b2a0a249b78b20be5f7b5e09b41ffa2c6a8204' found in daemon
500
+ http_version:
501
+ recorded_at: Fri, 05 Jun 2015 23:24:41 GMT
502
+ - request:
503
+ method: get
504
+ uri: "<DOCKER_HOST>/v1.16/containers/profiles/json"
505
+ body:
506
+ encoding: US-ASCII
507
+ string: ''
508
+ headers:
509
+ User-Agent:
510
+ - Swipely/Docker-API 1.21.4
511
+ Content-Type:
512
+ - text/plain
513
+ response:
514
+ status:
515
+ code: 200
516
+ message:
517
+ headers:
518
+ Content-Type:
519
+ - application/json
520
+ Date:
521
+ - Fri, 05 Jun 2015 23:24:41 GMT
522
+ body:
523
+ encoding: UTF-8
524
+ string: |
525
+ {"AppArmorProfile":"","Args":[],"Config":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":["/true"],"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":[],"Env":["NAME1=VALUE1","NAME2=VALUE2","PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"ExposedPorts":{"80/tcp":{}},"Hostname":"518eb52792b3","Image":"5fbce35eb33780adf252ee2f87b7156660fdb5c7ca54a0fb4e262a87447cceeb","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:24:40.967901554Z","Driver":"aufs","ExecDriver":"native-0.2","ExecIDs":null,"HostConfig":{"Binds":[],"CapAdd":null,"CapDrop":null,"CgroupParent":"","ContainerIDFile":"","CpuShares":0,"CpusetCpus":"","Devices":null,"Dns":null,"DnsSearch":null,"ExtraHosts":[],"IpcMode":"","Links":null,"LogConfig":{"Config":null,"Type":"json-file"},"LxcConf":null,"Memory":0,"MemorySwap":0,"NetworkMode":"","PidMode":"","PortBindings":{"80/tcp":[{"HostIp":"","HostPort":"4567"}]},"Privileged":false,"PublishAllPorts":false,"ReadonlyRootfs":false,"RestartPolicy":{"MaximumRetryCount":0,"Name":""},"SecurityOpt":null,"Ulimits":null,"VolumesFrom":[]},"HostnamePath":"/mnt/sda1/var/lib/docker/containers/518eb52792b34b59b8aa7dafc6556bdf9203abcb07f5c0a3f3423536752759d4/hostname","HostsPath":"/mnt/sda1/var/lib/docker/containers/518eb52792b34b59b8aa7dafc6556bdf9203abcb07f5c0a3f3423536752759d4/hosts","Id":"518eb52792b34b59b8aa7dafc6556bdf9203abcb07f5c0a3f3423536752759d4","Image":"5fbce35eb33780adf252ee2f87b7156660fdb5c7ca54a0fb4e262a87447cceeb","LogPath":"/mnt/sda1/var/lib/docker/containers/518eb52792b34b59b8aa7dafc6556bdf9203abcb07f5c0a3f3423536752759d4/518eb52792b34b59b8aa7dafc6556bdf9203abcb07f5c0a3f3423536752759d4-json.log","MountLabel":"","Name":"/profiles","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/518eb52792b34b59b8aa7dafc6556bdf9203abcb07f5c0a3f3423536752759d4/resolv.conf","RestartCount":0,"State":{"Dead":false,"Error":"","ExitCode":0,"FinishedAt":"2015-06-05T23:24:41.523225622Z","OOMKilled":false,"Paused":false,"Pid":0,"Restarting":false,"Running":false,"StartedAt":"2015-06-05T23:24:41.403770785Z"},"Volumes":{},"VolumesRW":{}}
526
+ http_version:
527
+ recorded_at: Fri, 05 Jun 2015 23:24:41 GMT
332
528
  - request:
333
529
  method: get
334
530
  uri: "<DOCKER_HOST>/v1.16/images/hawknewton/true/json"
@@ -337,7 +533,7 @@ http_interactions:
337
533
  string: ''
338
534
  headers:
339
535
  User-Agent:
340
- - Swipely/Docker-API 1.20.0
536
+ - Swipely/Docker-API 1.21.4
341
537
  Content-Type:
342
538
  - text/plain
343
539
  response:
@@ -348,15 +544,15 @@ http_interactions:
348
544
  Content-Type:
349
545
  - application/json
350
546
  Date:
351
- - Mon, 20 Apr 2015 23:28:13 GMT
547
+ - Fri, 05 Jun 2015 23:24:41 GMT
352
548
  Content-Length:
353
- - '1479'
549
+ - '1507'
354
550
  body:
355
551
  encoding: UTF-8
356
552
  string: |
357
- {"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}
553
+ {"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","Labels":null,"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","Labels":null,"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}
358
554
  http_version:
359
- recorded_at: Mon, 20 Apr 2015 23:28:13 GMT
555
+ recorded_at: Fri, 05 Jun 2015 23:24:41 GMT
360
556
  - request:
361
557
  method: get
362
558
  uri: "<DOCKER_HOST>/v1.16/containers/profiles/json"
@@ -365,7 +561,7 @@ http_interactions:
365
561
  string: ''
366
562
  headers:
367
563
  User-Agent:
368
- - Swipely/Docker-API 1.20.0
564
+ - Swipely/Docker-API 1.21.4
369
565
  Content-Type:
370
566
  - text/plain
371
567
  response:
@@ -376,39 +572,34 @@ http_interactions:
376
572
  Content-Type:
377
573
  - application/json
378
574
  Date:
379
- - Mon, 20 Apr 2015 23:28:13 GMT
575
+ - Fri, 05 Jun 2015 23:24:41 GMT
380
576
  body:
381
577
  encoding: UTF-8
382
578
  string: |
383
- {"AppArmorProfile":"","Args":[],"Config":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":["/true"],"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":[],"Env":["NAME1=VALUE1","NAME2=VALUE2","PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"ExposedPorts":{"80/tcp":{}},"Hostname":"ec3c80b8598b","Image":"5fbce35eb33780adf252ee2f87b7156660fdb5c7ca54a0fb4e262a87447cceeb","MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":null,"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Created":"2015-04-20T23:28:13.295080924Z","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":{"80/tcp":[{"HostIp":"","HostPort":"4567"}]},"Privileged":false,"PublishAllPorts":false,"ReadonlyRootfs":false,"RestartPolicy":{"MaximumRetryCount":0,"Name":""},"SecurityOpt":null,"VolumesFrom":[]},"HostnamePath":"/mnt/sda1/var/lib/docker/containers/ec3c80b8598b94f30a5b5132e655a67e1df29c314d2c7f75cb75043ce3d09c2d/hostname","HostsPath":"/mnt/sda1/var/lib/docker/containers/ec3c80b8598b94f30a5b5132e655a67e1df29c314d2c7f75cb75043ce3d09c2d/hosts","Id":"ec3c80b8598b94f30a5b5132e655a67e1df29c314d2c7f75cb75043ce3d09c2d","Image":"5fbce35eb33780adf252ee2f87b7156660fdb5c7ca54a0fb4e262a87447cceeb","MountLabel":"","Name":"/profiles","NetworkSettings":{"Bridge":"docker0","Gateway":"172.17.42.1","GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"IPAddress":"172.17.7.197","IPPrefixLen":16,"IPv6Gateway":"","LinkLocalIPv6Address":"fe80::42:acff:fe11:7c5","LinkLocalIPv6PrefixLen":64,"MacAddress":"02:42:ac:11:07:c5","PortMapping":null,"Ports":{"80/tcp":[{"HostIp":"0.0.0.0","HostPort":"4567"}]}},"Path":"/true","ProcessLabel":"","ResolvConfPath":"/mnt/sda1/var/lib/docker/containers/ec3c80b8598b94f30a5b5132e655a67e1df29c314d2c7f75cb75043ce3d09c2d/resolv.conf","RestartCount":0,"State":{"Error":"","ExitCode":0,"FinishedAt":"0001-01-01T00:00:00Z","OOMKilled":false,"Paused":false,"Pid":13296,"Restarting":false,"Running":true,"StartedAt":"2015-04-20T23:28:13.736974686Z"},"Volumes":{},"VolumesRW":{}}
579
+ {"AppArmorProfile":"","Args":[],"Config":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":["/true"],"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":[],"Env":["NAME1=VALUE1","NAME2=VALUE2","PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"ExposedPorts":{"80/tcp":{}},"Hostname":"518eb52792b3","Image":"5fbce35eb33780adf252ee2f87b7156660fdb5c7ca54a0fb4e262a87447cceeb","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:24:40.967901554Z","Driver":"aufs","ExecDriver":"native-0.2","ExecIDs":null,"HostConfig":{"Binds":[],"CapAdd":null,"CapDrop":null,"CgroupParent":"","ContainerIDFile":"","CpuShares":0,"CpusetCpus":"","Devices":null,"Dns":null,"DnsSearch":null,"ExtraHosts":[],"IpcMode":"","Links":null,"LogConfig":{"Config":null,"Type":"json-file"},"LxcConf":null,"Memory":0,"MemorySwap":0,"NetworkMode":"","PidMode":"","PortBindings":{"80/tcp":[{"HostIp":"","HostPort":"4567"}]},"Privileged":false,"PublishAllPorts":false,"ReadonlyRootfs":false,"RestartPolicy":{"MaximumRetryCount":0,"Name":""},"SecurityOpt":null,"Ulimits":null,"VolumesFrom":[]},"HostnamePath":"/mnt/sda1/var/lib/docker/containers/518eb52792b34b59b8aa7dafc6556bdf9203abcb07f5c0a3f3423536752759d4/hostname","HostsPath":"/mnt/sda1/var/lib/docker/containers/518eb52792b34b59b8aa7dafc6556bdf9203abcb07f5c0a3f3423536752759d4/hosts","Id":"518eb52792b34b59b8aa7dafc6556bdf9203abcb07f5c0a3f3423536752759d4","Image":"5fbce35eb33780adf252ee2f87b7156660fdb5c7ca54a0fb4e262a87447cceeb","LogPath":"/mnt/sda1/var/lib/docker/containers/518eb52792b34b59b8aa7dafc6556bdf9203abcb07f5c0a3f3423536752759d4/518eb52792b34b59b8aa7dafc6556bdf9203abcb07f5c0a3f3423536752759d4-json.log","MountLabel":"","Name":"/profiles","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/518eb52792b34b59b8aa7dafc6556bdf9203abcb07f5c0a3f3423536752759d4/resolv.conf","RestartCount":0,"State":{"Dead":false,"Error":"","ExitCode":0,"FinishedAt":"2015-06-05T23:24:41.523225622Z","OOMKilled":false,"Paused":false,"Pid":0,"Restarting":false,"Running":false,"StartedAt":"2015-06-05T23:24:41.403770785Z"},"Volumes":{},"VolumesRW":{}}
384
580
  http_version:
385
- recorded_at: Mon, 20 Apr 2015 23:28:13 GMT
581
+ recorded_at: Fri, 05 Jun 2015 23:24:41 GMT
386
582
  - request:
387
583
  method: delete
388
- uri: "<DOCKER_HOST>/v1.16/containers/ec3c80b8598b94f30a5b5132e655a67e1df29c314d2c7f75cb75043ce3d09c2d?force=true"
584
+ uri: "<DOCKER_HOST>/v1.16/containers/518eb52792b34b59b8aa7dafc6556bdf9203abcb07f5c0a3f3423536752759d4?force=true"
389
585
  body:
390
586
  encoding: US-ASCII
391
587
  string: ''
392
588
  headers:
393
589
  User-Agent:
394
- - Swipely/Docker-API 1.20.0
590
+ - Swipely/Docker-API 1.21.4
395
591
  Content-Type:
396
592
  - text/plain
397
593
  response:
398
594
  status:
399
- code: 404
595
+ code: 204
400
596
  message:
401
597
  headers:
402
- Content-Type:
403
- - text/plain; charset=utf-8
404
598
  Date:
405
- - Mon, 20 Apr 2015 23:28:13 GMT
406
- Content-Length:
407
- - '66'
599
+ - Fri, 05 Jun 2015 23:24:41 GMT
408
600
  body:
409
601
  encoding: UTF-8
410
- string: |
411
- Could not kill running container, cannot remove - no such process
602
+ string: ''
412
603
  http_version:
413
- recorded_at: Mon, 20 Apr 2015 23:28:13 GMT
604
+ recorded_at: Fri, 05 Jun 2015 23:24:41 GMT
414
605
  recorded_with: VCR 2.9.3