bigrig 0.4.2 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/Gemfile.lock +24 -26
- data/bigrig.gemspec +2 -2
- data/lib/bigrig/models/container.rb +2 -2
- data/lib/bigrig/runner.rb +2 -10
- data/lib/bigrig/version.rb +1 -1
- data/lib/bigrig/waiter.rb +20 -0
- data/lib/bigrig.rb +1 -0
- data/spec/bigrig/actions/run_action_spec.rb +8 -0
- data/spec/bigrig/docker_adapter_spec.rb +1 -1
- data/spec/bigrig/models/container_spec.rb +0 -18
- data/spec/bigrig_spec.rb +20 -6
- data/spec/data/wait_for/Dockerfile +4 -0
- data/spec/data/wait_for/bigrig-wait.sh +5 -0
- data/spec/data/wait_for/bigrig.json +8 -0
- data/spec/data/wait_for_broken/Dockerfile +4 -0
- data/spec/data/wait_for_broken/bigrig-wait.sh +3 -0
- data/spec/data/wait_for_broken/bigrig.json +8 -0
- data/spec/vcr/Bigrig_DestroyAction/_perform/given_json_with_a_single_container/and_the_container_has_exited/should_remove_the_container.yml +65 -65
- 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
- data/spec/vcr/Bigrig_DockerAdapter/_build/builds_the_given_directory.yml +11 -11
- data/spec/vcr/Bigrig_DockerAdapter/_build/passes_build_input_to_a_block.yml +5 -5
- data/spec/vcr/Bigrig_DockerAdapter/_container_exists_/when_the_container_does_not_exist/is_false.yml +20 -20
- data/spec/vcr/Bigrig_DockerAdapter/_container_exists_/when_the_container_exists/is_true.yml +13 -13
- data/spec/vcr/Bigrig_DockerAdapter/_image_id_by_tag/when_the_image_does_not_exist/raise_a_ImageNotFoundError.yml +20 -20
- data/spec/vcr/Bigrig_DockerAdapter/_image_id_by_tag/when_the_image_exists/returns_the_image_id.yml +19 -19
- data/spec/vcr/Bigrig_DockerAdapter/_kill/given_the_container_does_not_exist/should_raise_an_error.yml +20 -20
- data/spec/vcr/Bigrig_DockerAdapter/_kill/given_the_container_is_running/should_kill_the_container.yml +29 -29
- data/spec/vcr/Bigrig_DockerAdapter/_logs/streams_logs_to_a_block.yml +23 -23
- data/spec/vcr/Bigrig_DockerAdapter/_pull/given_a_block_to_capture_output/should_capture_output.yml +8 -8
- data/spec/vcr/Bigrig_DockerAdapter/_pull/given_the_repo_does_not_exist/raises_a_RepoNotFoundError.yml +3 -3
- data/spec/vcr/Bigrig_DockerAdapter/_pull/given_the_repo_exists/returns_the_image_id.yml +13 -13
- data/spec/vcr/Bigrig_DockerAdapter/_push/given_credentials/will_pass_login_and_password.yml +54 -54
- data/spec/vcr/Bigrig_DockerAdapter/_push/should_push_the_image.yml +1059 -553
- data/spec/vcr/Bigrig_DockerAdapter/_remove_container/when_the_container_does_not_exist/raises_a_ContainerNotFoundError.yml +40 -40
- data/spec/vcr/Bigrig_DockerAdapter/_remove_container/when_the_container_exists/should_remove_the_container.yml +44 -44
- data/spec/vcr/Bigrig_DockerAdapter/_remove_container/when_the_container_is_running/raises_a_ContainerRunningError.yml +13 -13
- data/spec/vcr/Bigrig_DockerAdapter/_remove_image/when_the_image_doesnt_exist/raises_an_error.yml +12 -12
- data/spec/vcr/Bigrig_DockerAdapter/_remove_image/when_the_image_exists/removes_the_image.yml +35 -35
- 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
- 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
- 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
- data/spec/vcr/Bigrig_DockerAdapter/_running_/when_the_container_does_not_exist/returns_false.yml +20 -20
- data/spec/vcr/Bigrig_DockerAdapter/_running_/when_the_container_is_not_running/returns_false.yml +13 -15
- data/spec/vcr/Bigrig_DockerAdapter/_running_/when_the_container_is_running/returns_true.yml +17 -17
- data/spec/vcr/Bigrig_DockerAdapter/_tag/should_tag_the_image.yml +34 -34
- data/spec/vcr/Bigrig_LogAction/_perform/follows_the_log.yml +43 -43
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_a_path/builds_the_image_before_starting_it.yml +222 -26
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_hosts_by_ip/should_pass_hosts_to_container.yml +180 -74
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_hosts_by_name/should_lookup_ips_for_hosts_with_a_hostname.yml +181 -75
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_links/should_pass_links_to_the_right_container.yml +351 -139
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_multiple_containers/launches_both_containers_in_parallel.yml +130 -130
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_multiple_containers/spins_up_multiple_containers.yml +140 -140
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_one_container/should_spin_up_a_single_container.yml +175 -69
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_one_container/when_a_dead_container_exists/should_remove_existing_containers.yml +159 -53
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_volumes/should_pass_volumes_to_the_right_container.yml +180 -74
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_volumes_from/should_pass_volumes_from_to_the_right_container.yml +351 -139
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_volumes_from/starts_the_dependant_container_last.yml +130 -130
- data/spec/vcr/Bigrig_RunAction/_perform/when_activating_profiles_that_do_not_exist/ignores_the_missing_profile.yml +268 -77
- data/spec/vcr/Bigrig_RunAction/_perform/with_a_file_with_active_profiles/uses_the_overridden_image.yml +180 -74
- data/spec/vcr/bigrig/destroy/spec/data/single_json/kills_the_container.yml +28 -28
- data/spec/vcr/bigrig/dev/spec/data/dev_json/activates_the_dev_profile.yml +266 -158
- data/spec/vcr/bigrig/dev/spec/data/dev_json/destroys_containers_on_exit.yml +78 -158
- data/spec/vcr/bigrig/dev/spec/data/dev_json/starts_the_containers.yml +187 -191
- data/spec/vcr/bigrig/dev/spec/data/dev_json/tails_the_logs.yml +38 -118
- data/spec/vcr/bigrig/dev/spec/data/scan_json/leaves_unaffected_containers_alone_when_the_scanned_file_changes.yml +811 -345
- data/spec/vcr/bigrig/dev/spec/data/scan_json/restarts_dependant_containers_when_the_scanned_file_changes.yml +813 -375
- data/spec/vcr/bigrig/dev/spec/data/scan_json/restarts_the_container_when_the_scanned_file_changes.yml +855 -363
- data/spec/vcr/bigrig/logs/spec/data/log_json/tails_the_logs.yml +23 -23
- data/spec/vcr/bigrig/run/spec/data/profiles_json_-p_qa/leaves_existing_env_values_alone.yml +14 -14
- data/spec/vcr/bigrig/run/spec/data/profiles_json_-p_qa/overrides_the_env.yml +14 -14
- data/spec/vcr/bigrig/run/spec/data/profiles_json_-p_qa/overrides_the_tag.yml +17 -17
- data/spec/vcr/bigrig/run/spec/data/single_json/sends_the_name_of_the_container_to_stdout.yml +12 -12
- data/spec/vcr/bigrig/run/spec/data/single_json/starts_the_container.yml +17 -17
- data/spec/vcr/bigrig/run/spec/data/wait_for/bigrig_json/waits_for_wait_for.yml +180 -0
- data/spec/vcr/bigrig/run/spec/data/wait_for_broken_json/fails_with_an_error.yml +12 -12
- data/spec/vcr/bigrig/ship/spec/data/ship_json/with_a_version/-c/cleans_the_image_when_its_done.yml +28 -28
- data/spec/vcr/bigrig/ship/spec/data/ship_json/with_a_version/builds_and_pushes_the_image.yml +21 -21
- data/spec/vcr/bigrig_bin_bigrig_destroy_spec/data/single_json_kills_the_container.yml +28 -28
- data/spec/vcr/bigrig_bin_bigrig_dev_spec/data/dev_json_activates_the_dev_profile.yml +135 -486
- data/spec/vcr/bigrig_bin_bigrig_dev_spec/data/dev_json_starts_the_containers.yml +146 -472
- data/spec/vcr/bigrig_bin_bigrig_dev_spec/data/dev_json_tails_the_logs.yml +402 -192
- data/spec/vcr/bigrig_bin_bigrig_dev_spec/data/scan_json_leaves_unaffected_containers_alone_when_the_scanned_file_changes.yml +980 -396
- data/spec/vcr/bigrig_bin_bigrig_dev_spec/data/scan_json_restarts_dependant_containers_when_the_scanned_file_changes.yml +916 -388
- data/spec/vcr/bigrig_bin_bigrig_dev_spec/data/scan_json_restarts_the_container_when_the_scanned_file_changes.yml +919 -391
- data/spec/vcr/bigrig_bin_bigrig_logs_spec/data/log_json_tails_the_logs.yml +23 -23
- data/spec/vcr/bigrig_bin_bigrig_run_spec/data/profiles_json_-p_qa_leaves_existing_env_values_alone.yml +159 -53
- data/spec/vcr/bigrig_bin_bigrig_run_spec/data/profiles_json_-p_qa_overrides_the_env.yml +159 -53
- data/spec/vcr/bigrig_bin_bigrig_run_spec/data/profiles_json_-p_qa_overrides_the_tag.yml +286 -31
- data/spec/vcr/bigrig_bin_bigrig_run_spec/data/single_json_sends_the_name_of_the_container_to_stdout.yml +159 -53
- data/spec/vcr/bigrig_bin_bigrig_run_spec/data/single_json_starts_the_container.yml +159 -53
- data/spec/vcr/bigrig_bin_bigrig_run_spec/data/wait_for/bigrig_json_waits_for_wait_for.yml +522 -0
- data/spec/vcr/bigrig_bin_bigrig_run_spec/data/wait_for_broken_json_fails_with_an_error.yml +175 -80
- data/spec/vcr/bigrig_bin_bigrig_ship_spec/data/ship_json_with_a_version_-c_cleans_the_image_when_its_done.yml +1036 -526
- data/spec/vcr/bigrig_bin_bigrig_ship_spec/data/ship_json_with_a_version_builds_and_pushes_the_image.yml +1024 -514
- metadata +17 -12
- data/spec/data/wait_for.json +0 -9
- data/spec/data/wait_for_broken.json +0 -9
- data/spec/vcr/bigrig/run/spec/data/wait_for_json/waits_for_wait_for.yml +0 -180
- 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.
|
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
|
-
-
|
22
|
+
- Fri, 05 Jun 2015 23:26:23 GMT
|
23
23
|
Content-Length:
|
24
|
-
- '
|
24
|
+
- '25'
|
25
25
|
body:
|
26
26
|
encoding: UTF-8
|
27
27
|
string: |
|
28
|
-
|
28
|
+
no such id: doesnotexist
|
29
29
|
http_version:
|
30
|
-
recorded_at:
|
30
|
+
recorded_at: Fri, 05 Jun 2015 23:26:23 GMT
|
31
31
|
- request:
|
32
32
|
method: get
|
33
33
|
uri: "<DOCKER_HOST>/v1.16/containers/doesnotexist/json"
|
@@ -36,7 +36,7 @@ http_interactions:
|
|
36
36
|
string: ''
|
37
37
|
headers:
|
38
38
|
User-Agent:
|
39
|
-
- Swipely/Docker-API 1.
|
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
|
-
-
|
50
|
+
- Fri, 05 Jun 2015 23:26:23 GMT
|
51
51
|
Content-Length:
|
52
|
-
- '
|
52
|
+
- '25'
|
53
53
|
body:
|
54
54
|
encoding: UTF-8
|
55
55
|
string: |
|
56
|
-
|
56
|
+
no such id: doesnotexist
|
57
57
|
http_version:
|
58
|
-
recorded_at:
|
58
|
+
recorded_at: Fri, 05 Jun 2015 23:26:23 GMT
|
59
59
|
- request:
|
60
60
|
method: get
|
61
61
|
uri: "<DOCKER_HOST>/v1.16/containers/doesnotexist/json"
|
@@ -64,7 +64,7 @@ http_interactions:
|
|
64
64
|
string: ''
|
65
65
|
headers:
|
66
66
|
User-Agent:
|
67
|
-
- Swipely/Docker-API 1.
|
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
|
-
-
|
78
|
+
- Fri, 05 Jun 2015 23:26:23 GMT
|
79
79
|
Content-Length:
|
80
|
-
- '
|
80
|
+
- '25'
|
81
81
|
body:
|
82
82
|
encoding: UTF-8
|
83
83
|
string: |
|
84
|
-
|
84
|
+
no such id: doesnotexist
|
85
85
|
http_version:
|
86
|
-
recorded_at:
|
86
|
+
recorded_at: Fri, 05 Jun 2015 23:26:23 GMT
|
87
87
|
- request:
|
88
88
|
method: get
|
89
89
|
uri: "<DOCKER_HOST>/v1.16/containers/doesnotexist/json"
|
@@ -92,7 +92,7 @@ http_interactions:
|
|
92
92
|
string: ''
|
93
93
|
headers:
|
94
94
|
User-Agent:
|
95
|
-
- Swipely/Docker-API 1.
|
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
|
-
-
|
106
|
+
- Fri, 05 Jun 2015 23:26:23 GMT
|
107
107
|
Content-Length:
|
108
|
-
- '
|
108
|
+
- '25'
|
109
109
|
body:
|
110
110
|
encoding: UTF-8
|
111
111
|
string: |
|
112
|
-
|
112
|
+
no such id: doesnotexist
|
113
113
|
http_version:
|
114
|
-
recorded_at:
|
114
|
+
recorded_at: Fri, 05 Jun 2015 23:26:23 GMT
|
115
115
|
- request:
|
116
116
|
method: get
|
117
117
|
uri: "<DOCKER_HOST>/v1.16/containers/doesnotexist/json"
|
@@ -120,7 +120,7 @@ http_interactions:
|
|
120
120
|
string: ''
|
121
121
|
headers:
|
122
122
|
User-Agent:
|
123
|
-
- Swipely/Docker-API 1.
|
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
|
-
-
|
134
|
+
- Fri, 05 Jun 2015 23:26:23 GMT
|
135
135
|
Content-Length:
|
136
|
-
- '
|
136
|
+
- '25'
|
137
137
|
body:
|
138
138
|
encoding: UTF-8
|
139
139
|
string: |
|
140
|
-
|
140
|
+
no such id: doesnotexist
|
141
141
|
http_version:
|
142
|
-
recorded_at:
|
142
|
+
recorded_at: Fri, 05 Jun 2015 23:26:23 GMT
|
143
143
|
- request:
|
144
144
|
method: get
|
145
145
|
uri: "<DOCKER_HOST>/v1.16/containers/doesnotexist/json"
|
@@ -148,7 +148,7 @@ http_interactions:
|
|
148
148
|
string: ''
|
149
149
|
headers:
|
150
150
|
User-Agent:
|
151
|
-
- Swipely/Docker-API 1.
|
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
|
-
-
|
162
|
+
- Fri, 05 Jun 2015 23:26:23 GMT
|
163
163
|
Content-Length:
|
164
|
-
- '
|
164
|
+
- '25'
|
165
165
|
body:
|
166
166
|
encoding: UTF-8
|
167
167
|
string: |
|
168
|
-
|
168
|
+
no such id: doesnotexist
|
169
169
|
http_version:
|
170
|
-
recorded_at:
|
170
|
+
recorded_at: Fri, 05 Jun 2015 23:26:23 GMT
|
171
171
|
- request:
|
172
172
|
method: get
|
173
173
|
uri: "<DOCKER_HOST>/v1.16/containers/doesnotexist/json"
|
@@ -176,7 +176,7 @@ http_interactions:
|
|
176
176
|
string: ''
|
177
177
|
headers:
|
178
178
|
User-Agent:
|
179
|
-
- Swipely/Docker-API 1.
|
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
|
-
-
|
190
|
+
- Fri, 05 Jun 2015 23:26:23 GMT
|
191
191
|
Content-Length:
|
192
|
-
- '
|
192
|
+
- '25'
|
193
193
|
body:
|
194
194
|
encoding: UTF-8
|
195
195
|
string: |
|
196
|
-
|
196
|
+
no such id: doesnotexist
|
197
197
|
http_version:
|
198
|
-
recorded_at:
|
198
|
+
recorded_at: Fri, 05 Jun 2015 23:26:24 GMT
|
199
199
|
- request:
|
200
200
|
method: get
|
201
201
|
uri: "<DOCKER_HOST>/v1.16/containers/doesnotexist/json"
|
@@ -204,7 +204,7 @@ http_interactions:
|
|
204
204
|
string: ''
|
205
205
|
headers:
|
206
206
|
User-Agent:
|
207
|
-
- Swipely/Docker-API 1.
|
207
|
+
- Swipely/Docker-API 1.21.4
|
208
208
|
Content-Type:
|
209
209
|
- text/plain
|
210
210
|
response:
|
@@ -215,13 +215,13 @@ http_interactions:
|
|
215
215
|
Content-Type:
|
216
216
|
- text/plain; charset=utf-8
|
217
217
|
Date:
|
218
|
-
-
|
218
|
+
- Fri, 05 Jun 2015 23:26:24 GMT
|
219
219
|
Content-Length:
|
220
|
-
- '
|
220
|
+
- '25'
|
221
221
|
body:
|
222
222
|
encoding: UTF-8
|
223
223
|
string: |
|
224
|
-
|
224
|
+
no such id: doesnotexist
|
225
225
|
http_version:
|
226
|
-
recorded_at:
|
226
|
+
recorded_at: Fri, 05 Jun 2015 23:26:24 GMT
|
227
227
|
recorded_with: VCR 2.9.3
|
@@ -8,7 +8,7 @@ http_interactions:
|
|
8
8
|
string: '{"Image":"hawknewton/true"}'
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- Swipely/Docker-API 1.
|
11
|
+
- Swipely/Docker-API 1.21.4
|
12
12
|
Content-Type:
|
13
13
|
- application/json
|
14
14
|
response:
|
@@ -19,24 +19,24 @@ http_interactions:
|
|
19
19
|
Content-Type:
|
20
20
|
- application/json
|
21
21
|
Date:
|
22
|
-
-
|
22
|
+
- Fri, 05 Jun 2015 23:26:23 GMT
|
23
23
|
Content-Length:
|
24
24
|
- '90'
|
25
25
|
body:
|
26
26
|
encoding: UTF-8
|
27
27
|
string: |
|
28
|
-
{"Id":"
|
28
|
+
{"Id":"893eeb9c084169e6aee1a9c49a3ec583a1d9694fb66f807c3392406bc506452a","Warnings":null}
|
29
29
|
http_version:
|
30
|
-
recorded_at:
|
30
|
+
recorded_at: Fri, 05 Jun 2015 23:26:23 GMT
|
31
31
|
- request:
|
32
32
|
method: get
|
33
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
33
|
+
uri: "<DOCKER_HOST>/v1.16/containers/893eeb9c084169e6aee1a9c49a3ec583a1d9694fb66f807c3392406bc506452a/json"
|
34
34
|
body:
|
35
35
|
encoding: US-ASCII
|
36
36
|
string: ''
|
37
37
|
headers:
|
38
38
|
User-Agent:
|
39
|
-
- Swipely/Docker-API 1.
|
39
|
+
- Swipely/Docker-API 1.21.4
|
40
40
|
Content-Type:
|
41
41
|
- text/plain
|
42
42
|
response:
|
@@ -47,24 +47,24 @@ http_interactions:
|
|
47
47
|
Content-Type:
|
48
48
|
- application/json
|
49
49
|
Date:
|
50
|
-
-
|
50
|
+
- Fri, 05 Jun 2015 23:26:23 GMT
|
51
51
|
Content-Length:
|
52
|
-
- '
|
52
|
+
- '1912'
|
53
53
|
body:
|
54
54
|
encoding: UTF-8
|
55
55
|
string: |
|
56
|
-
{"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":"
|
56
|
+
{"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":"893eeb9c0841","Image":"hawknewton/true","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:26:23.428939468Z","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":"","HostsPath":"","Id":"893eeb9c084169e6aee1a9c49a3ec583a1d9694fb66f807c3392406bc506452a","Image":"5fbce35eb33780adf252ee2f87b7156660fdb5c7ca54a0fb4e262a87447cceeb","LogPath":"","MountLabel":"","Name":"/jovial_brown","NetworkSettings":{"Bridge":"","Gateway":"","GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"IPAddress":"","IPPrefixLen":0,"IPv6Gateway":"","LinkLocalIPv6Address":"","LinkLocalIPv6PrefixLen":0,"MacAddress":"","PortMapping":null,"Ports":null},"Path":"/true","ProcessLabel":"","ResolvConfPath":"","RestartCount":0,"State":{"Dead":false,"Error":"","ExitCode":0,"FinishedAt":"0001-01-01T00:00:00Z","OOMKilled":false,"Paused":false,"Pid":0,"Restarting":false,"Running":false,"StartedAt":"0001-01-01T00:00:00Z"},"Volumes":{},"VolumesRW":{}}
|
57
57
|
http_version:
|
58
|
-
recorded_at:
|
58
|
+
recorded_at: Fri, 05 Jun 2015 23:26:23 GMT
|
59
59
|
- request:
|
60
60
|
method: get
|
61
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
61
|
+
uri: "<DOCKER_HOST>/v1.16/containers/893eeb9c084169e6aee1a9c49a3ec583a1d9694fb66f807c3392406bc506452a/json"
|
62
62
|
body:
|
63
63
|
encoding: US-ASCII
|
64
64
|
string: ''
|
65
65
|
headers:
|
66
66
|
User-Agent:
|
67
|
-
- Swipely/Docker-API 1.
|
67
|
+
- Swipely/Docker-API 1.21.4
|
68
68
|
Content-Type:
|
69
69
|
- text/plain
|
70
70
|
response:
|
@@ -75,24 +75,24 @@ http_interactions:
|
|
75
75
|
Content-Type:
|
76
76
|
- application/json
|
77
77
|
Date:
|
78
|
-
-
|
78
|
+
- Fri, 05 Jun 2015 23:26:23 GMT
|
79
79
|
Content-Length:
|
80
|
-
- '
|
80
|
+
- '1912'
|
81
81
|
body:
|
82
82
|
encoding: UTF-8
|
83
83
|
string: |
|
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":"
|
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":"893eeb9c0841","Image":"hawknewton/true","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:26:23.428939468Z","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":"","HostsPath":"","Id":"893eeb9c084169e6aee1a9c49a3ec583a1d9694fb66f807c3392406bc506452a","Image":"5fbce35eb33780adf252ee2f87b7156660fdb5c7ca54a0fb4e262a87447cceeb","LogPath":"","MountLabel":"","Name":"/jovial_brown","NetworkSettings":{"Bridge":"","Gateway":"","GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"IPAddress":"","IPPrefixLen":0,"IPv6Gateway":"","LinkLocalIPv6Address":"","LinkLocalIPv6PrefixLen":0,"MacAddress":"","PortMapping":null,"Ports":null},"Path":"/true","ProcessLabel":"","ResolvConfPath":"","RestartCount":0,"State":{"Dead":false,"Error":"","ExitCode":0,"FinishedAt":"0001-01-01T00:00:00Z","OOMKilled":false,"Paused":false,"Pid":0,"Restarting":false,"Running":false,"StartedAt":"0001-01-01T00:00:00Z"},"Volumes":{},"VolumesRW":{}}
|
85
85
|
http_version:
|
86
|
-
recorded_at:
|
86
|
+
recorded_at: Fri, 05 Jun 2015 23:26:23 GMT
|
87
87
|
- request:
|
88
88
|
method: delete
|
89
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
89
|
+
uri: "<DOCKER_HOST>/v1.16/containers/893eeb9c084169e6aee1a9c49a3ec583a1d9694fb66f807c3392406bc506452a"
|
90
90
|
body:
|
91
91
|
encoding: US-ASCII
|
92
92
|
string: ''
|
93
93
|
headers:
|
94
94
|
User-Agent:
|
95
|
-
- Swipely/Docker-API 1.
|
95
|
+
- Swipely/Docker-API 1.21.4
|
96
96
|
Content-Type:
|
97
97
|
- text/plain
|
98
98
|
response:
|
@@ -101,21 +101,21 @@ http_interactions:
|
|
101
101
|
message:
|
102
102
|
headers:
|
103
103
|
Date:
|
104
|
-
-
|
104
|
+
- Fri, 05 Jun 2015 23:26:23 GMT
|
105
105
|
body:
|
106
106
|
encoding: UTF-8
|
107
107
|
string: ''
|
108
108
|
http_version:
|
109
|
-
recorded_at:
|
109
|
+
recorded_at: Fri, 05 Jun 2015 23:26:23 GMT
|
110
110
|
- request:
|
111
111
|
method: get
|
112
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
112
|
+
uri: "<DOCKER_HOST>/v1.16/containers/893eeb9c084169e6aee1a9c49a3ec583a1d9694fb66f807c3392406bc506452a/json"
|
113
113
|
body:
|
114
114
|
encoding: US-ASCII
|
115
115
|
string: ''
|
116
116
|
headers:
|
117
117
|
User-Agent:
|
118
|
-
- Swipely/Docker-API 1.
|
118
|
+
- Swipely/Docker-API 1.21.4
|
119
119
|
Content-Type:
|
120
120
|
- text/plain
|
121
121
|
response:
|
@@ -126,24 +126,24 @@ http_interactions:
|
|
126
126
|
Content-Type:
|
127
127
|
- text/plain; charset=utf-8
|
128
128
|
Date:
|
129
|
-
-
|
129
|
+
- Fri, 05 Jun 2015 23:26:23 GMT
|
130
130
|
Content-Length:
|
131
|
-
- '
|
131
|
+
- '77'
|
132
132
|
body:
|
133
133
|
encoding: UTF-8
|
134
134
|
string: |
|
135
|
-
|
135
|
+
no such id: 893eeb9c084169e6aee1a9c49a3ec583a1d9694fb66f807c3392406bc506452a
|
136
136
|
http_version:
|
137
|
-
recorded_at:
|
137
|
+
recorded_at: Fri, 05 Jun 2015 23:26:23 GMT
|
138
138
|
- request:
|
139
139
|
method: get
|
140
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
140
|
+
uri: "<DOCKER_HOST>/v1.16/containers/893eeb9c084169e6aee1a9c49a3ec583a1d9694fb66f807c3392406bc506452a/json"
|
141
141
|
body:
|
142
142
|
encoding: US-ASCII
|
143
143
|
string: ''
|
144
144
|
headers:
|
145
145
|
User-Agent:
|
146
|
-
- Swipely/Docker-API 1.
|
146
|
+
- Swipely/Docker-API 1.21.4
|
147
147
|
Content-Type:
|
148
148
|
- text/plain
|
149
149
|
response:
|
@@ -154,24 +154,24 @@ http_interactions:
|
|
154
154
|
Content-Type:
|
155
155
|
- text/plain; charset=utf-8
|
156
156
|
Date:
|
157
|
-
-
|
157
|
+
- Fri, 05 Jun 2015 23:26:23 GMT
|
158
158
|
Content-Length:
|
159
|
-
- '
|
159
|
+
- '77'
|
160
160
|
body:
|
161
161
|
encoding: UTF-8
|
162
162
|
string: |
|
163
|
-
|
163
|
+
no such id: 893eeb9c084169e6aee1a9c49a3ec583a1d9694fb66f807c3392406bc506452a
|
164
164
|
http_version:
|
165
|
-
recorded_at:
|
165
|
+
recorded_at: Fri, 05 Jun 2015 23:26:23 GMT
|
166
166
|
- request:
|
167
167
|
method: get
|
168
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
168
|
+
uri: "<DOCKER_HOST>/v1.16/containers/893eeb9c084169e6aee1a9c49a3ec583a1d9694fb66f807c3392406bc506452a/json"
|
169
169
|
body:
|
170
170
|
encoding: US-ASCII
|
171
171
|
string: ''
|
172
172
|
headers:
|
173
173
|
User-Agent:
|
174
|
-
- Swipely/Docker-API 1.
|
174
|
+
- Swipely/Docker-API 1.21.4
|
175
175
|
Content-Type:
|
176
176
|
- text/plain
|
177
177
|
response:
|
@@ -182,24 +182,24 @@ http_interactions:
|
|
182
182
|
Content-Type:
|
183
183
|
- text/plain; charset=utf-8
|
184
184
|
Date:
|
185
|
-
-
|
185
|
+
- Fri, 05 Jun 2015 23:26:23 GMT
|
186
186
|
Content-Length:
|
187
|
-
- '
|
187
|
+
- '77'
|
188
188
|
body:
|
189
189
|
encoding: UTF-8
|
190
190
|
string: |
|
191
|
-
|
191
|
+
no such id: 893eeb9c084169e6aee1a9c49a3ec583a1d9694fb66f807c3392406bc506452a
|
192
192
|
http_version:
|
193
|
-
recorded_at:
|
193
|
+
recorded_at: Fri, 05 Jun 2015 23:26:23 GMT
|
194
194
|
- request:
|
195
195
|
method: get
|
196
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
196
|
+
uri: "<DOCKER_HOST>/v1.16/containers/893eeb9c084169e6aee1a9c49a3ec583a1d9694fb66f807c3392406bc506452a/json"
|
197
197
|
body:
|
198
198
|
encoding: US-ASCII
|
199
199
|
string: ''
|
200
200
|
headers:
|
201
201
|
User-Agent:
|
202
|
-
- Swipely/Docker-API 1.
|
202
|
+
- Swipely/Docker-API 1.21.4
|
203
203
|
Content-Type:
|
204
204
|
- text/plain
|
205
205
|
response:
|
@@ -210,13 +210,13 @@ http_interactions:
|
|
210
210
|
Content-Type:
|
211
211
|
- text/plain; charset=utf-8
|
212
212
|
Date:
|
213
|
-
-
|
213
|
+
- Fri, 05 Jun 2015 23:26:23 GMT
|
214
214
|
Content-Length:
|
215
|
-
- '
|
215
|
+
- '77'
|
216
216
|
body:
|
217
217
|
encoding: UTF-8
|
218
218
|
string: |
|
219
|
-
|
219
|
+
no such id: 893eeb9c084169e6aee1a9c49a3ec583a1d9694fb66f807c3392406bc506452a
|
220
220
|
http_version:
|
221
|
-
recorded_at:
|
221
|
+
recorded_at: Fri, 05 Jun 2015 23:26:23 GMT
|
222
222
|
recorded_with: VCR 2.9.3
|
@@ -8,7 +8,7 @@ http_interactions:
|
|
8
8
|
string: '{"Image":"hawknewton/true"}'
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- Swipely/Docker-API 1.
|
11
|
+
- Swipely/Docker-API 1.21.4
|
12
12
|
Content-Type:
|
13
13
|
- application/json
|
14
14
|
response:
|
@@ -19,24 +19,24 @@ http_interactions:
|
|
19
19
|
Content-Type:
|
20
20
|
- application/json
|
21
21
|
Date:
|
22
|
-
-
|
22
|
+
- Fri, 05 Jun 2015 23:26:24 GMT
|
23
23
|
Content-Length:
|
24
24
|
- '90'
|
25
25
|
body:
|
26
26
|
encoding: UTF-8
|
27
27
|
string: |
|
28
|
-
{"Id":"
|
28
|
+
{"Id":"f8611168fb00cf9f3d45632a2dac7091198a11ec3abbbf623b6ed5191222b2dd","Warnings":null}
|
29
29
|
http_version:
|
30
|
-
recorded_at:
|
30
|
+
recorded_at: Fri, 05 Jun 2015 23:26:24 GMT
|
31
31
|
- request:
|
32
32
|
method: post
|
33
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
33
|
+
uri: "<DOCKER_HOST>/v1.16/containers/f8611168fb00cf9f3d45632a2dac7091198a11ec3abbbf623b6ed5191222b2dd/start"
|
34
34
|
body:
|
35
35
|
encoding: UTF-8
|
36
36
|
string: "{}"
|
37
37
|
headers:
|
38
38
|
User-Agent:
|
39
|
-
- Swipely/Docker-API 1.
|
39
|
+
- Swipely/Docker-API 1.21.4
|
40
40
|
Content-Type:
|
41
41
|
- application/json
|
42
42
|
response:
|
@@ -45,21 +45,21 @@ http_interactions:
|
|
45
45
|
message:
|
46
46
|
headers:
|
47
47
|
Date:
|
48
|
-
-
|
48
|
+
- Fri, 05 Jun 2015 23:26:24 GMT
|
49
49
|
body:
|
50
50
|
encoding: UTF-8
|
51
51
|
string: ''
|
52
52
|
http_version:
|
53
|
-
recorded_at:
|
53
|
+
recorded_at: Fri, 05 Jun 2015 23:26:24 GMT
|
54
54
|
- request:
|
55
55
|
method: get
|
56
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
56
|
+
uri: "<DOCKER_HOST>/v1.16/containers/f8611168fb00cf9f3d45632a2dac7091198a11ec3abbbf623b6ed5191222b2dd/json"
|
57
57
|
body:
|
58
58
|
encoding: US-ASCII
|
59
59
|
string: ''
|
60
60
|
headers:
|
61
61
|
User-Agent:
|
62
|
-
- Swipely/Docker-API 1.
|
62
|
+
- Swipely/Docker-API 1.21.4
|
63
63
|
Content-Type:
|
64
64
|
- text/plain
|
65
65
|
response:
|
@@ -70,11 +70,11 @@ http_interactions:
|
|
70
70
|
Content-Type:
|
71
71
|
- application/json
|
72
72
|
Date:
|
73
|
-
-
|
73
|
+
- Fri, 05 Jun 2015 23:26:24 GMT
|
74
74
|
body:
|
75
75
|
encoding: UTF-8
|
76
76
|
string: |
|
77
|
-
{"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":"
|
77
|
+
{"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":"f8611168fb00","Image":"hawknewton/true","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:26:24.100101825Z","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/f8611168fb00cf9f3d45632a2dac7091198a11ec3abbbf623b6ed5191222b2dd/hostname","HostsPath":"/mnt/sda1/var/lib/docker/containers/f8611168fb00cf9f3d45632a2dac7091198a11ec3abbbf623b6ed5191222b2dd/hosts","Id":"f8611168fb00cf9f3d45632a2dac7091198a11ec3abbbf623b6ed5191222b2dd","Image":"5fbce35eb33780adf252ee2f87b7156660fdb5c7ca54a0fb4e262a87447cceeb","LogPath":"/mnt/sda1/var/lib/docker/containers/f8611168fb00cf9f3d45632a2dac7091198a11ec3abbbf623b6ed5191222b2dd/f8611168fb00cf9f3d45632a2dac7091198a11ec3abbbf623b6ed5191222b2dd-json.log","MountLabel":"","Name":"/romantic_hopper","NetworkSettings":{"Bridge":"docker0","Gateway":"172.17.42.1","GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"IPAddress":"172.17.1.77","IPPrefixLen":16,"IPv6Gateway":"","LinkLocalIPv6Address":"fe80::42:acff:fe11:14d","LinkLocalIPv6PrefixLen":64,"MacAddress":"02:42:ac:11:01:4d","PortMapping":null,"Ports":{}},"Path":"/true","ProcessLabel":"","ResolvConfPath":"/mnt/sda1/var/lib/docker/containers/f8611168fb00cf9f3d45632a2dac7091198a11ec3abbbf623b6ed5191222b2dd/resolv.conf","RestartCount":0,"State":{"Dead":false,"Error":"","ExitCode":0,"FinishedAt":"0001-01-01T00:00:00Z","OOMKilled":false,"Paused":false,"Pid":23630,"Restarting":false,"Running":true,"StartedAt":"2015-06-05T23:26:24.454755262Z"},"Volumes":{},"VolumesRW":{}}
|
78
78
|
http_version:
|
79
|
-
recorded_at:
|
79
|
+
recorded_at: Fri, 05 Jun 2015 23:26:24 GMT
|
80
80
|
recorded_with: VCR 2.9.3
|