bigrig 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +3 -1
- data/bigrig.gemspec +1 -0
- data/lib/bigrig/dependency_graph.rb +3 -1
- data/lib/bigrig/version.rb +1 -1
- data/spec/bigrig/dependency_graph_spec.rb +10 -4
- data/spec/bigrig_spec.rb +44 -34
- data/spec/data/scan.json +2 -1
- data/spec/spec_helper.rb +1 -13
- data/spec/support/wait_for.rb +35 -0
- data/spec/vcr/Bigrig_DestroyAction/_perform/given_json_with_a_single_container/and_the_container_has_exited/should_remove_the_container.yml +46 -46
- 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
- data/spec/vcr/Bigrig_DockerAdapter/_build/builds_the_given_directory.yml +8 -8
- data/spec/vcr/Bigrig_DockerAdapter/_build/passes_build_input_to_a_block.yml +4 -4
- data/spec/vcr/Bigrig_DockerAdapter/_container_exists_/when_the_container_does_not_exist/is_false.yml +8 -8
- data/spec/vcr/Bigrig_DockerAdapter/_container_exists_/when_the_container_exists/is_true.yml +9 -9
- data/spec/vcr/Bigrig_DockerAdapter/_image_id_by_tag/when_the_image_does_not_exist/raise_a_ImageNotFoundError.yml +12 -12
- data/spec/vcr/Bigrig_DockerAdapter/_image_id_by_tag/when_the_image_exists/returns_the_image_id.yml +12 -12
- data/spec/vcr/Bigrig_DockerAdapter/_kill/given_the_container_does_not_exist/should_raise_an_error.yml +8 -8
- data/spec/vcr/Bigrig_DockerAdapter/_kill/given_the_container_is_running/should_kill_the_container.yml +22 -22
- data/spec/vcr/Bigrig_DockerAdapter/_logs/streams_logs_to_a_block.yml +17 -17
- data/spec/vcr/Bigrig_DockerAdapter/_pull/given_a_block_to_capture_output/should_capture_output.yml +4 -4
- data/spec/vcr/Bigrig_DockerAdapter/_pull/given_the_repo_does_not_exist/raises_a_RepoNotFoundError.yml +2 -2
- data/spec/vcr/Bigrig_DockerAdapter/_pull/given_the_repo_exists/returns_the_image_id.yml +6 -6
- data/spec/vcr/Bigrig_DockerAdapter/_push/given_credentials/will_pass_login_and_password.yml +36 -36
- data/spec/vcr/Bigrig_DockerAdapter/_push/should_push_the_image.yml +453 -77
- data/spec/vcr/Bigrig_DockerAdapter/_remove_container/when_the_container_does_not_exist/raises_a_ContainerNotFoundError.yml +16 -16
- data/spec/vcr/Bigrig_DockerAdapter/_remove_container/when_the_container_exists/should_remove_the_container.yml +32 -32
- data/spec/vcr/Bigrig_DockerAdapter/_remove_container/when_the_container_is_running/raises_a_ContainerRunningError.yml +10 -10
- data/spec/vcr/Bigrig_DockerAdapter/_remove_image/when_the_image_doesnt_exist/raises_an_error.yml +8 -8
- data/spec/vcr/Bigrig_DockerAdapter/_remove_image/when_the_image_exists/removes_the_image.yml +28 -28
- data/spec/vcr/Bigrig_DockerAdapter/_run/given_an_image_id_that_exists/and_a_name/starts_the_container_with_the_right_name.yml +27 -27
- 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 +27 -27
- 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
- data/spec/vcr/Bigrig_DockerAdapter/_running_/when_the_container_does_not_exist/returns_false.yml +8 -8
- data/spec/vcr/Bigrig_DockerAdapter/_running_/when_the_container_is_not_running/returns_false.yml +11 -11
- data/spec/vcr/Bigrig_DockerAdapter/_running_/when_the_container_is_running/returns_true.yml +13 -13
- data/spec/vcr/Bigrig_DockerAdapter/_tag/should_tag_the_image.yml +16 -16
- data/spec/vcr/Bigrig_LogAction/_perform/follows_the_log.yml +25 -25
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_a_path/builds_the_image_before_starting_it.yml +20 -20
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_hosts_by_ip/should_pass_hosts_to_container.yml +40 -40
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_hosts_by_name/should_lookup_ips_for_hosts_with_a_hostname.yml +41 -41
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_links/should_pass_links_to_the_right_container.yml +73 -73
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_multiple_containers/launches_both_containers_in_parallel.yml +52 -52
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_multiple_containers/spins_up_multiple_containers.yml +74 -74
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_one_container/should_spin_up_a_single_container.yml +36 -36
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_one_container/when_a_dead_container_exists/should_remove_existing_containers.yml +38 -38
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_volumes/should_pass_volumes_to_the_right_container.yml +40 -40
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_volumes_from/should_pass_volumes_from_to_the_right_container.yml +73 -73
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_volumes_from/starts_the_dependant_container_last.yml +52 -52
- data/spec/vcr/Bigrig_RunAction/_perform/when_activating_profiles_that_do_not_exist/ignores_the_missing_profile.yml +35 -35
- data/spec/vcr/Bigrig_RunAction/_perform/with_a_file_with_active_profiles/uses_the_overridden_image.yml +38 -38
- data/spec/vcr/bigrig/destroy/spec/data/single_json/kills_the_container.yml +14 -14
- data/spec/vcr/bigrig/dev/spec/data/dev_json/activates_the_dev_profile.yml +427 -37
- data/spec/vcr/bigrig/dev/spec/data/dev_json/destroys_containers_on_exit.yml +32 -32
- data/spec/vcr/bigrig/dev/spec/data/dev_json/starts_the_containers.yml +472 -76
- data/spec/vcr/bigrig/dev/spec/data/dev_json/tails_the_logs.yml +16 -16
- data/spec/vcr/bigrig/dev/spec/data/scan_json/leaves_unaffected_containers_alone_when_the_scanned_file_changes.yml +1544 -86
- data/spec/vcr/bigrig/dev/spec/data/scan_json/restarts_dependant_containers_when_the_scanned_file_changes.yml +1725 -69
- data/spec/vcr/bigrig/dev/spec/data/scan_json/restarts_the_container_when_the_scanned_file_changes.yml +1536 -96
- data/spec/vcr/bigrig/logs/spec/data/log_json/tails_the_logs.yml +17 -17
- data/spec/vcr/bigrig/run/spec/data/profiles_json_-p_qa/leaves_existing_env_values_alone.yml +11 -11
- data/spec/vcr/bigrig/run/spec/data/profiles_json_-p_qa/overrides_the_env.yml +11 -11
- data/spec/vcr/bigrig/run/spec/data/profiles_json_-p_qa/overrides_the_tag.yml +11 -11
- data/spec/vcr/bigrig/run/spec/data/single_json/sends_the_name_of_the_container_to_stdout.yml +9 -9
- data/spec/vcr/bigrig/run/spec/data/single_json/starts_the_container.yml +13 -13
- data/spec/vcr/bigrig/ship/spec/data/ship_json/with_a_version/-c/cleans_the_image_when_its_done.yml +20 -20
- data/spec/vcr/bigrig/ship/spec/data/ship_json/with_a_version/builds_and_pushes_the_image.yml +15 -15
- data/spec/vcr/bigrig_bin_bigrig_destroy_spec/data/single_json_kills_the_container.yml +21 -21
- data/spec/vcr/bigrig_bin_bigrig_dev_spec/data/dev_json_activates_the_dev_profile.yml +105 -305
- data/spec/vcr/bigrig_bin_bigrig_dev_spec/data/dev_json_starts_the_containers.yml +109 -307
- data/spec/vcr/bigrig_bin_bigrig_dev_spec/data/dev_json_tails_the_logs.yml +116 -116
- data/spec/vcr/bigrig_bin_bigrig_dev_spec/data/scan_json_leaves_unaffected_containers_alone_when_the_scanned_file_changes.yml +385 -382
- data/spec/vcr/bigrig_bin_bigrig_dev_spec/data/scan_json_restarts_dependant_containers_when_the_scanned_file_changes.yml +357 -354
- data/spec/vcr/bigrig_bin_bigrig_dev_spec/data/scan_json_restarts_the_container_when_the_scanned_file_changes.yml +358 -1091
- data/spec/vcr/bigrig_bin_bigrig_logs_spec/data/log_json_tails_the_logs.yml +21 -21
- data/spec/vcr/bigrig_bin_bigrig_run_spec/data/profiles_json_-p_qa_leaves_existing_env_values_alone.yml +24 -24
- data/spec/vcr/bigrig_bin_bigrig_run_spec/data/profiles_json_-p_qa_overrides_the_env.yml +24 -24
- data/spec/vcr/bigrig_bin_bigrig_run_spec/data/profiles_json_-p_qa_overrides_the_tag.yml +17 -17
- data/spec/vcr/bigrig_bin_bigrig_run_spec/data/single_json_sends_the_name_of_the_container_to_stdout.yml +24 -24
- data/spec/vcr/bigrig_bin_bigrig_run_spec/data/single_json_starts_the_container.yml +24 -24
- data/spec/vcr/bigrig_bin_bigrig_ship_spec/data/ship_json_with_a_version_-c_cleans_the_image_when_its_done.yml +439 -63
- data/spec/vcr/bigrig_bin_bigrig_ship_spec/data/ship_json_with_a_version_builds_and_pushes_the_image.yml +430 -54
- data/spec/waitfor_spec.rb +10 -0
- metadata +18 -2
@@ -19,7 +19,7 @@ http_interactions:
|
|
19
19
|
Content-Type:
|
20
20
|
- application/json
|
21
21
|
Date:
|
22
|
-
- Mon,
|
22
|
+
- Mon, 20 Apr 2015 23:28:17 GMT
|
23
23
|
Content-Length:
|
24
24
|
- '1479'
|
25
25
|
body:
|
@@ -27,7 +27,7 @@ http_interactions:
|
|
27
27
|
string: |
|
28
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}
|
29
29
|
http_version:
|
30
|
-
recorded_at: Mon,
|
30
|
+
recorded_at: Mon, 20 Apr 2015 23:28:17 GMT
|
31
31
|
- request:
|
32
32
|
method: delete
|
33
33
|
uri: "<DOCKER_HOST>/v1.16/images/hawknewton/true:not_exist"
|
@@ -47,7 +47,7 @@ http_interactions:
|
|
47
47
|
Content-Type:
|
48
48
|
- application/json
|
49
49
|
Date:
|
50
|
-
- Mon,
|
50
|
+
- Mon, 20 Apr 2015 23:28:17 GMT
|
51
51
|
Content-Length:
|
52
52
|
- '43'
|
53
53
|
body:
|
@@ -56,7 +56,7 @@ http_interactions:
|
|
56
56
|
[{"Untagged":"hawknewton/true:not_exist"}
|
57
57
|
]
|
58
58
|
http_version:
|
59
|
-
recorded_at: Mon,
|
59
|
+
recorded_at: Mon, 20 Apr 2015 23:28:17 GMT
|
60
60
|
- request:
|
61
61
|
method: get
|
62
62
|
uri: "<DOCKER_HOST>/v1.16/images/hawknewton/true:not_exist/json"
|
@@ -76,7 +76,7 @@ http_interactions:
|
|
76
76
|
Content-Type:
|
77
77
|
- text/plain; charset=utf-8
|
78
78
|
Date:
|
79
|
-
- Mon,
|
79
|
+
- Mon, 20 Apr 2015 23:28:17 GMT
|
80
80
|
Content-Length:
|
81
81
|
- '41'
|
82
82
|
body:
|
@@ -84,7 +84,7 @@ http_interactions:
|
|
84
84
|
string: |
|
85
85
|
No such image: hawknewton/true:not_exist
|
86
86
|
http_version:
|
87
|
-
recorded_at: Mon,
|
87
|
+
recorded_at: Mon, 20 Apr 2015 23:28:17 GMT
|
88
88
|
- request:
|
89
89
|
method: get
|
90
90
|
uri: "<DOCKER_HOST>/v1.16/images/hawknewton/true:not_exist/json"
|
@@ -104,7 +104,7 @@ http_interactions:
|
|
104
104
|
Content-Type:
|
105
105
|
- text/plain; charset=utf-8
|
106
106
|
Date:
|
107
|
-
- Mon,
|
107
|
+
- Mon, 20 Apr 2015 23:28:17 GMT
|
108
108
|
Content-Length:
|
109
109
|
- '41'
|
110
110
|
body:
|
@@ -112,7 +112,7 @@ http_interactions:
|
|
112
112
|
string: |
|
113
113
|
No such image: hawknewton/true:not_exist
|
114
114
|
http_version:
|
115
|
-
recorded_at: Mon,
|
115
|
+
recorded_at: Mon, 20 Apr 2015 23:28:17 GMT
|
116
116
|
- request:
|
117
117
|
method: get
|
118
118
|
uri: "<DOCKER_HOST>/v1.16/images/hawknewton/true:not_exist/json"
|
@@ -132,7 +132,7 @@ http_interactions:
|
|
132
132
|
Content-Type:
|
133
133
|
- text/plain; charset=utf-8
|
134
134
|
Date:
|
135
|
-
- Mon,
|
135
|
+
- Mon, 20 Apr 2015 23:28:17 GMT
|
136
136
|
Content-Length:
|
137
137
|
- '41'
|
138
138
|
body:
|
@@ -140,7 +140,7 @@ http_interactions:
|
|
140
140
|
string: |
|
141
141
|
No such image: hawknewton/true:not_exist
|
142
142
|
http_version:
|
143
|
-
recorded_at: Mon,
|
143
|
+
recorded_at: Mon, 20 Apr 2015 23:28:17 GMT
|
144
144
|
- request:
|
145
145
|
method: get
|
146
146
|
uri: "<DOCKER_HOST>/v1.16/images/hawknewton/true:not_exist/json"
|
@@ -160,7 +160,7 @@ http_interactions:
|
|
160
160
|
Content-Type:
|
161
161
|
- text/plain; charset=utf-8
|
162
162
|
Date:
|
163
|
-
- Mon,
|
163
|
+
- Mon, 20 Apr 2015 23:28:17 GMT
|
164
164
|
Content-Length:
|
165
165
|
- '41'
|
166
166
|
body:
|
@@ -168,5 +168,5 @@ http_interactions:
|
|
168
168
|
string: |
|
169
169
|
No such image: hawknewton/true:not_exist
|
170
170
|
http_version:
|
171
|
-
recorded_at: Mon,
|
171
|
+
recorded_at: Mon, 20 Apr 2015 23:28:17 GMT
|
172
172
|
recorded_with: VCR 2.9.3
|
data/spec/vcr/Bigrig_DockerAdapter/_image_id_by_tag/when_the_image_exists/returns_the_image_id.yml
CHANGED
@@ -19,12 +19,12 @@ http_interactions:
|
|
19
19
|
Content-Type:
|
20
20
|
- application/json
|
21
21
|
Date:
|
22
|
-
- Mon,
|
22
|
+
- Mon, 20 Apr 2015 23:28:15 GMT
|
23
23
|
body:
|
24
24
|
encoding: UTF-8
|
25
25
|
string: "{\"status\":\"Pulling repository hawknewton/true\"}\r\n{\"status\":\"Pulling
|
26
|
-
image (
|
27
|
-
image (
|
26
|
+
image (not_exist) from hawknewton/true\",\"progressDetail\":{},\"id\":\"5fbce35eb337\"}{\"status\":\"Pulling
|
27
|
+
image (not_exist) from hawknewton/true, endpoint: https://registry-1.docker.io/v1/\",\"progressDetail\":{},\"id\":\"5fbce35eb337\"}{\"status\":\"Pulling
|
28
28
|
dependent layers\",\"progressDetail\":{},\"id\":\"5fbce35eb337\"}{\"status\":\"Download
|
29
29
|
complete\",\"progressDetail\":{},\"id\":\"511136ea3c5a\"}{\"status\":\"Download
|
30
30
|
complete\",\"progressDetail\":{},\"id\":\"c0d559283422\"}{\"status\":\"Download
|
@@ -32,7 +32,7 @@ http_interactions:
|
|
32
32
|
complete\",\"progressDetail\":{},\"id\":\"5fbce35eb337\"}{\"status\":\"Status:
|
33
33
|
Image is up to date for hawknewton/true\"}\r\n"
|
34
34
|
http_version:
|
35
|
-
recorded_at: Mon,
|
35
|
+
recorded_at: Mon, 20 Apr 2015 23:28:17 GMT
|
36
36
|
- request:
|
37
37
|
method: post
|
38
38
|
uri: "<DOCKER_HOST>/v1.16/images/5fbce35eb337/tag?repo=image_exists"
|
@@ -50,7 +50,7 @@ http_interactions:
|
|
50
50
|
message:
|
51
51
|
headers:
|
52
52
|
Date:
|
53
|
-
- Mon,
|
53
|
+
- Mon, 20 Apr 2015 23:28:17 GMT
|
54
54
|
Content-Length:
|
55
55
|
- '0'
|
56
56
|
Content-Type:
|
@@ -59,7 +59,7 @@ http_interactions:
|
|
59
59
|
encoding: UTF-8
|
60
60
|
string: ''
|
61
61
|
http_version:
|
62
|
-
recorded_at: Mon,
|
62
|
+
recorded_at: Mon, 20 Apr 2015 23:28:17 GMT
|
63
63
|
- request:
|
64
64
|
method: get
|
65
65
|
uri: "<DOCKER_HOST>/v1.16/images/image_exists/json"
|
@@ -79,7 +79,7 @@ http_interactions:
|
|
79
79
|
Content-Type:
|
80
80
|
- application/json
|
81
81
|
Date:
|
82
|
-
- Mon,
|
82
|
+
- Mon, 20 Apr 2015 23:28:17 GMT
|
83
83
|
Content-Length:
|
84
84
|
- '1479'
|
85
85
|
body:
|
@@ -87,7 +87,7 @@ http_interactions:
|
|
87
87
|
string: |
|
88
88
|
{"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}
|
89
89
|
http_version:
|
90
|
-
recorded_at: Mon,
|
90
|
+
recorded_at: Mon, 20 Apr 2015 23:28:17 GMT
|
91
91
|
- request:
|
92
92
|
method: get
|
93
93
|
uri: "<DOCKER_HOST>/v1.16/images/5fbce35eb337/json"
|
@@ -107,7 +107,7 @@ http_interactions:
|
|
107
107
|
Content-Type:
|
108
108
|
- application/json
|
109
109
|
Date:
|
110
|
-
- Mon,
|
110
|
+
- Mon, 20 Apr 2015 23:28:17 GMT
|
111
111
|
Content-Length:
|
112
112
|
- '1479'
|
113
113
|
body:
|
@@ -115,7 +115,7 @@ http_interactions:
|
|
115
115
|
string: |
|
116
116
|
{"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}
|
117
117
|
http_version:
|
118
|
-
recorded_at: Mon,
|
118
|
+
recorded_at: Mon, 20 Apr 2015 23:28:17 GMT
|
119
119
|
- request:
|
120
120
|
method: delete
|
121
121
|
uri: "<DOCKER_HOST>/v1.16/images/image_exists"
|
@@ -135,7 +135,7 @@ http_interactions:
|
|
135
135
|
Content-Type:
|
136
136
|
- application/json
|
137
137
|
Date:
|
138
|
-
- Mon,
|
138
|
+
- Mon, 20 Apr 2015 23:28:17 GMT
|
139
139
|
Content-Length:
|
140
140
|
- '37'
|
141
141
|
body:
|
@@ -144,5 +144,5 @@ http_interactions:
|
|
144
144
|
[{"Untagged":"image_exists:latest"}
|
145
145
|
]
|
146
146
|
http_version:
|
147
|
-
recorded_at: Mon,
|
147
|
+
recorded_at: Mon, 20 Apr 2015 23:28:17 GMT
|
148
148
|
recorded_with: VCR 2.9.3
|
@@ -19,7 +19,7 @@ http_interactions:
|
|
19
19
|
Content-Type:
|
20
20
|
- text/plain; charset=utf-8
|
21
21
|
Date:
|
22
|
-
- Mon,
|
22
|
+
- Mon, 20 Apr 2015 23:28:20 GMT
|
23
23
|
Content-Length:
|
24
24
|
- '32'
|
25
25
|
body:
|
@@ -27,7 +27,7 @@ http_interactions:
|
|
27
27
|
string: |
|
28
28
|
No such container: doesnotexist
|
29
29
|
http_version:
|
30
|
-
recorded_at: Mon,
|
30
|
+
recorded_at: Mon, 20 Apr 2015 23:28:20 GMT
|
31
31
|
- request:
|
32
32
|
method: get
|
33
33
|
uri: "<DOCKER_HOST>/v1.16/containers/doesnotexist/json"
|
@@ -47,7 +47,7 @@ http_interactions:
|
|
47
47
|
Content-Type:
|
48
48
|
- text/plain; charset=utf-8
|
49
49
|
Date:
|
50
|
-
- Mon,
|
50
|
+
- Mon, 20 Apr 2015 23:28:20 GMT
|
51
51
|
Content-Length:
|
52
52
|
- '32'
|
53
53
|
body:
|
@@ -55,7 +55,7 @@ http_interactions:
|
|
55
55
|
string: |
|
56
56
|
No such container: doesnotexist
|
57
57
|
http_version:
|
58
|
-
recorded_at: Mon,
|
58
|
+
recorded_at: Mon, 20 Apr 2015 23:28:20 GMT
|
59
59
|
- request:
|
60
60
|
method: get
|
61
61
|
uri: "<DOCKER_HOST>/v1.16/containers/doesnotexist/json"
|
@@ -75,7 +75,7 @@ http_interactions:
|
|
75
75
|
Content-Type:
|
76
76
|
- text/plain; charset=utf-8
|
77
77
|
Date:
|
78
|
-
- Mon,
|
78
|
+
- Mon, 20 Apr 2015 23:28:20 GMT
|
79
79
|
Content-Length:
|
80
80
|
- '32'
|
81
81
|
body:
|
@@ -83,7 +83,7 @@ http_interactions:
|
|
83
83
|
string: |
|
84
84
|
No such container: doesnotexist
|
85
85
|
http_version:
|
86
|
-
recorded_at: Mon,
|
86
|
+
recorded_at: Mon, 20 Apr 2015 23:28:20 GMT
|
87
87
|
- request:
|
88
88
|
method: get
|
89
89
|
uri: "<DOCKER_HOST>/v1.16/containers/doesnotexist/json"
|
@@ -103,7 +103,7 @@ http_interactions:
|
|
103
103
|
Content-Type:
|
104
104
|
- text/plain; charset=utf-8
|
105
105
|
Date:
|
106
|
-
- Mon,
|
106
|
+
- Mon, 20 Apr 2015 23:28:20 GMT
|
107
107
|
Content-Length:
|
108
108
|
- '32'
|
109
109
|
body:
|
@@ -111,5 +111,5 @@ http_interactions:
|
|
111
111
|
string: |
|
112
112
|
No such container: doesnotexist
|
113
113
|
http_version:
|
114
|
-
recorded_at: Mon,
|
114
|
+
recorded_at: Mon, 20 Apr 2015 23:28:20 GMT
|
115
115
|
recorded_with: VCR 2.9.3
|
@@ -19,7 +19,7 @@ http_interactions:
|
|
19
19
|
Content-Type:
|
20
20
|
- application/json
|
21
21
|
Date:
|
22
|
-
- Mon,
|
22
|
+
- Mon, 20 Apr 2015 23:28:17 GMT
|
23
23
|
body:
|
24
24
|
encoding: UTF-8
|
25
25
|
string: "{\"status\":\"Pulling repository hawknewton/show-env\"}\r\n{\"status\":\"Pulling
|
@@ -47,7 +47,7 @@ http_interactions:
|
|
47
47
|
complete\",\"progressDetail\":{},\"id\":\"b9c5be3a918d\"}{\"status\":\"Status:
|
48
48
|
Image is up to date for hawknewton/show-env\"}\r\n"
|
49
49
|
http_version:
|
50
|
-
recorded_at: Mon,
|
50
|
+
recorded_at: Mon, 20 Apr 2015 23:28:19 GMT
|
51
51
|
- request:
|
52
52
|
method: post
|
53
53
|
uri: "<DOCKER_HOST>/v1.16/containers/create"
|
@@ -67,18 +67,18 @@ http_interactions:
|
|
67
67
|
Content-Type:
|
68
68
|
- application/json
|
69
69
|
Date:
|
70
|
-
- Mon,
|
70
|
+
- Mon, 20 Apr 2015 23:28:19 GMT
|
71
71
|
Content-Length:
|
72
72
|
- '90'
|
73
73
|
body:
|
74
74
|
encoding: UTF-8
|
75
75
|
string: |
|
76
|
-
{"Id":"
|
76
|
+
{"Id":"71bb69c95dd92b1ff0dcde3af531c655e4418f841d676bbc2c9240db1edf9661","Warnings":null}
|
77
77
|
http_version:
|
78
|
-
recorded_at: Mon,
|
78
|
+
recorded_at: Mon, 20 Apr 2015 23:28:19 GMT
|
79
79
|
- request:
|
80
80
|
method: post
|
81
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
81
|
+
uri: "<DOCKER_HOST>/v1.16/containers/71bb69c95dd92b1ff0dcde3af531c655e4418f841d676bbc2c9240db1edf9661/start"
|
82
82
|
body:
|
83
83
|
encoding: UTF-8
|
84
84
|
string: "{}"
|
@@ -93,15 +93,15 @@ http_interactions:
|
|
93
93
|
message:
|
94
94
|
headers:
|
95
95
|
Date:
|
96
|
-
- Mon,
|
96
|
+
- Mon, 20 Apr 2015 23:28:20 GMT
|
97
97
|
body:
|
98
98
|
encoding: UTF-8
|
99
99
|
string: ''
|
100
100
|
http_version:
|
101
|
-
recorded_at: Mon,
|
101
|
+
recorded_at: Mon, 20 Apr 2015 23:28:20 GMT
|
102
102
|
- request:
|
103
103
|
method: get
|
104
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
104
|
+
uri: "<DOCKER_HOST>/v1.16/containers/71bb69c95dd92b1ff0dcde3af531c655e4418f841d676bbc2c9240db1edf9661/json"
|
105
105
|
body:
|
106
106
|
encoding: US-ASCII
|
107
107
|
string: ''
|
@@ -118,16 +118,16 @@ http_interactions:
|
|
118
118
|
Content-Type:
|
119
119
|
- application/json
|
120
120
|
Date:
|
121
|
-
- Mon,
|
121
|
+
- Mon, 20 Apr 2015 23:28:20 GMT
|
122
122
|
body:
|
123
123
|
encoding: UTF-8
|
124
124
|
string: |
|
125
|
-
{"AppArmorProfile":"","Args":["-c","ruby /code/server.rb"],"Config":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":null,"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":["/bin/sh","-c","ruby /code/server.rb"],"Env":["PATH=/usr/local/bundle/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin","RUBY_MAJOR=2.1","RUBY_VERSION=2.1.3","GEM_HOME=/usr/local/bundle","BUNDLE_APP_CONFIG=/usr/local/bundle"],"ExposedPorts":{"80/tcp":{}},"Hostname":"
|
125
|
+
{"AppArmorProfile":"","Args":["-c","ruby /code/server.rb"],"Config":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":null,"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":["/bin/sh","-c","ruby /code/server.rb"],"Env":["PATH=/usr/local/bundle/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin","RUBY_MAJOR=2.1","RUBY_VERSION=2.1.3","GEM_HOME=/usr/local/bundle","BUNDLE_APP_CONFIG=/usr/local/bundle"],"ExposedPorts":{"80/tcp":{}},"Hostname":"71bb69c95dd9","Image":"b9c5be3a918d","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:19.854291829Z","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/71bb69c95dd92b1ff0dcde3af531c655e4418f841d676bbc2c9240db1edf9661/hostname","HostsPath":"/mnt/sda1/var/lib/docker/containers/71bb69c95dd92b1ff0dcde3af531c655e4418f841d676bbc2c9240db1edf9661/hosts","Id":"71bb69c95dd92b1ff0dcde3af531c655e4418f841d676bbc2c9240db1edf9661","Image":"b9c5be3a918d80b0d898ed8eca3fc76f75c482b531238e539cb00f75bb4e12d2","MountLabel":"","Name":"/berserk_mestorf","NetworkSettings":{"Bridge":"docker0","Gateway":"172.17.42.1","GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"IPAddress":"172.17.7.198","IPPrefixLen":16,"IPv6Gateway":"","LinkLocalIPv6Address":"fe80::42:acff:fe11:7c6","LinkLocalIPv6PrefixLen":64,"MacAddress":"02:42:ac:11:07:c6","PortMapping":null,"Ports":{"80/tcp":null}},"Path":"/bin/sh","ProcessLabel":"","ResolvConfPath":"/mnt/sda1/var/lib/docker/containers/71bb69c95dd92b1ff0dcde3af531c655e4418f841d676bbc2c9240db1edf9661/resolv.conf","RestartCount":0,"State":{"Error":"","ExitCode":0,"FinishedAt":"0001-01-01T00:00:00Z","OOMKilled":false,"Paused":false,"Pid":13341,"Restarting":false,"Running":true,"StartedAt":"2015-04-20T23:28:20.2171852Z"},"Volumes":{},"VolumesRW":{}}
|
126
126
|
http_version:
|
127
|
-
recorded_at: Mon,
|
127
|
+
recorded_at: Mon, 20 Apr 2015 23:28:20 GMT
|
128
128
|
- request:
|
129
129
|
method: post
|
130
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
130
|
+
uri: "<DOCKER_HOST>/v1.16/containers/71bb69c95dd92b1ff0dcde3af531c655e4418f841d676bbc2c9240db1edf9661/kill"
|
131
131
|
body:
|
132
132
|
encoding: US-ASCII
|
133
133
|
string: ''
|
@@ -142,15 +142,15 @@ http_interactions:
|
|
142
142
|
message:
|
143
143
|
headers:
|
144
144
|
Date:
|
145
|
-
- Mon,
|
145
|
+
- Mon, 20 Apr 2015 23:28:20 GMT
|
146
146
|
body:
|
147
147
|
encoding: UTF-8
|
148
148
|
string: ''
|
149
149
|
http_version:
|
150
|
-
recorded_at: Mon,
|
150
|
+
recorded_at: Mon, 20 Apr 2015 23:28:20 GMT
|
151
151
|
- request:
|
152
152
|
method: get
|
153
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
153
|
+
uri: "<DOCKER_HOST>/v1.16/containers/71bb69c95dd92b1ff0dcde3af531c655e4418f841d676bbc2c9240db1edf9661/json"
|
154
154
|
body:
|
155
155
|
encoding: US-ASCII
|
156
156
|
string: ''
|
@@ -167,16 +167,16 @@ http_interactions:
|
|
167
167
|
Content-Type:
|
168
168
|
- application/json
|
169
169
|
Date:
|
170
|
-
- Mon,
|
170
|
+
- Mon, 20 Apr 2015 23:28:20 GMT
|
171
171
|
body:
|
172
172
|
encoding: UTF-8
|
173
173
|
string: |
|
174
|
-
{"AppArmorProfile":"","Args":["-c","ruby /code/server.rb"],"Config":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":null,"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":["/bin/sh","-c","ruby /code/server.rb"],"Env":["PATH=/usr/local/bundle/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin","RUBY_MAJOR=2.1","RUBY_VERSION=2.1.3","GEM_HOME=/usr/local/bundle","BUNDLE_APP_CONFIG=/usr/local/bundle"],"ExposedPorts":{"80/tcp":{}},"Hostname":"
|
174
|
+
{"AppArmorProfile":"","Args":["-c","ruby /code/server.rb"],"Config":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":null,"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":["/bin/sh","-c","ruby /code/server.rb"],"Env":["PATH=/usr/local/bundle/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin","RUBY_MAJOR=2.1","RUBY_VERSION=2.1.3","GEM_HOME=/usr/local/bundle","BUNDLE_APP_CONFIG=/usr/local/bundle"],"ExposedPorts":{"80/tcp":{}},"Hostname":"71bb69c95dd9","Image":"b9c5be3a918d","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:19.854291829Z","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/71bb69c95dd92b1ff0dcde3af531c655e4418f841d676bbc2c9240db1edf9661/hostname","HostsPath":"/mnt/sda1/var/lib/docker/containers/71bb69c95dd92b1ff0dcde3af531c655e4418f841d676bbc2c9240db1edf9661/hosts","Id":"71bb69c95dd92b1ff0dcde3af531c655e4418f841d676bbc2c9240db1edf9661","Image":"b9c5be3a918d80b0d898ed8eca3fc76f75c482b531238e539cb00f75bb4e12d2","MountLabel":"","Name":"/berserk_mestorf","NetworkSettings":{"Bridge":"","Gateway":"","GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"IPAddress":"","IPPrefixLen":0,"IPv6Gateway":"","LinkLocalIPv6Address":"","LinkLocalIPv6PrefixLen":0,"MacAddress":"","PortMapping":null,"Ports":null},"Path":"/bin/sh","ProcessLabel":"","ResolvConfPath":"/mnt/sda1/var/lib/docker/containers/71bb69c95dd92b1ff0dcde3af531c655e4418f841d676bbc2c9240db1edf9661/resolv.conf","RestartCount":0,"State":{"Error":"","ExitCode":137,"FinishedAt":"2015-04-20T23:28:20.426248488Z","OOMKilled":false,"Paused":false,"Pid":0,"Restarting":false,"Running":false,"StartedAt":"2015-04-20T23:28:20.2171852Z"},"Volumes":{},"VolumesRW":{}}
|
175
175
|
http_version:
|
176
|
-
recorded_at: Mon,
|
176
|
+
recorded_at: Mon, 20 Apr 2015 23:28:20 GMT
|
177
177
|
- request:
|
178
178
|
method: delete
|
179
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
179
|
+
uri: "<DOCKER_HOST>/v1.16/containers/71bb69c95dd92b1ff0dcde3af531c655e4418f841d676bbc2c9240db1edf9661?force=true"
|
180
180
|
body:
|
181
181
|
encoding: US-ASCII
|
182
182
|
string: ''
|
@@ -191,10 +191,10 @@ http_interactions:
|
|
191
191
|
message:
|
192
192
|
headers:
|
193
193
|
Date:
|
194
|
-
- Mon,
|
194
|
+
- Mon, 20 Apr 2015 23:28:20 GMT
|
195
195
|
body:
|
196
196
|
encoding: UTF-8
|
197
197
|
string: ''
|
198
198
|
http_version:
|
199
|
-
recorded_at: Mon,
|
199
|
+
recorded_at: Mon, 20 Apr 2015 23:28:20 GMT
|
200
200
|
recorded_with: VCR 2.9.3
|
@@ -19,7 +19,7 @@ http_interactions:
|
|
19
19
|
Content-Type:
|
20
20
|
- application/json
|
21
21
|
Date:
|
22
|
-
- Mon,
|
22
|
+
- Mon, 20 Apr 2015 23:28:20 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: Mon,
|
39
|
+
recorded_at: Mon, 20 Apr 2015 23:28:22 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
|
-
- Mon,
|
59
|
+
- Mon, 20 Apr 2015 23:28:22 GMT
|
60
60
|
Content-Length:
|
61
61
|
- '90'
|
62
62
|
body:
|
63
63
|
encoding: UTF-8
|
64
64
|
string: |
|
65
|
-
{"Id":"
|
65
|
+
{"Id":"a6373c7f0ab61cb6f8f7548a0e0f80bf201d573f38b8043c94f9663809f2ff43","Warnings":null}
|
66
66
|
http_version:
|
67
|
-
recorded_at: Mon,
|
67
|
+
recorded_at: Mon, 20 Apr 2015 23:28:22 GMT
|
68
68
|
- request:
|
69
69
|
method: post
|
70
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
70
|
+
uri: "<DOCKER_HOST>/v1.16/containers/a6373c7f0ab61cb6f8f7548a0e0f80bf201d573f38b8043c94f9663809f2ff43/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
|
-
- Mon,
|
85
|
+
- Mon, 20 Apr 2015 23:28:23 GMT
|
86
86
|
body:
|
87
87
|
encoding: UTF-8
|
88
88
|
string: ''
|
89
89
|
http_version:
|
90
|
-
recorded_at: Mon,
|
90
|
+
recorded_at: Mon, 20 Apr 2015 23:28:23 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
|
-
- Mon,
|
110
|
+
- Mon, 20 Apr 2015 23:28:23 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":"
|
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":"a6373c7f0ab6","Image":"bf0f8a45f956","MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":null,"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Created":"2015-04-20T23:28:22.874047755Z","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/a6373c7f0ab61cb6f8f7548a0e0f80bf201d573f38b8043c94f9663809f2ff43/hostname","HostsPath":"/mnt/sda1/var/lib/docker/containers/a6373c7f0ab61cb6f8f7548a0e0f80bf201d573f38b8043c94f9663809f2ff43/hosts","Id":"a6373c7f0ab61cb6f8f7548a0e0f80bf201d573f38b8043c94f9663809f2ff43","Image":"bf0f8a45f956aa470ab3c916c83925fdcffce23d37b1a9e33998561ce54ca030","MountLabel":"","Name":"/log-test","NetworkSettings":{"Bridge":"docker0","Gateway":"172.17.42.1","GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"IPAddress":"172.17.7.199","IPPrefixLen":16,"IPv6Gateway":"","LinkLocalIPv6Address":"fe80::42:acff:fe11:7c7","LinkLocalIPv6PrefixLen":64,"MacAddress":"02:42:ac:11:07:c7","PortMapping":null,"Ports":{}},"Path":"/run.sh","ProcessLabel":"","ResolvConfPath":"/mnt/sda1/var/lib/docker/containers/a6373c7f0ab61cb6f8f7548a0e0f80bf201d573f38b8043c94f9663809f2ff43/resolv.conf","RestartCount":0,"State":{"Error":"","ExitCode":0,"FinishedAt":"0001-01-01T00:00:00Z","OOMKilled":false,"Paused":false,"Pid":13351,"Restarting":false,"Running":true,"StartedAt":"2015-04-20T23:28:23.306993824Z"},"Volumes":{},"VolumesRW":{}}
|
115
115
|
http_version:
|
116
|
-
recorded_at: Mon,
|
116
|
+
recorded_at: Mon, 20 Apr 2015 23:28:23 GMT
|
117
117
|
- request:
|
118
118
|
method: post
|
119
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
119
|
+
uri: "<DOCKER_HOST>/v1.16/containers/a6373c7f0ab61cb6f8f7548a0e0f80bf201d573f38b8043c94f9663809f2ff43/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
|
-
- Mon,
|
134
|
+
- Mon, 20 Apr 2015 23:28:23 GMT
|
135
135
|
body:
|
136
136
|
encoding: UTF-8
|
137
137
|
string: ''
|
138
138
|
http_version:
|
139
|
-
recorded_at: Mon,
|
139
|
+
recorded_at: Mon, 20 Apr 2015 23:28:23 GMT
|
140
140
|
- request:
|
141
141
|
method: delete
|
142
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
142
|
+
uri: "<DOCKER_HOST>/v1.16/containers/a6373c7f0ab61cb6f8f7548a0e0f80bf201d573f38b8043c94f9663809f2ff43"
|
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
|
-
- Mon,
|
157
|
+
- Mon, 20 Apr 2015 23:28:23 GMT
|
158
158
|
body:
|
159
159
|
encoding: UTF-8
|
160
160
|
string: ''
|
161
161
|
http_version:
|
162
|
-
recorded_at: Mon,
|
162
|
+
recorded_at: Mon, 20 Apr 2015 23:28:23 GMT
|
163
163
|
recorded_with: VCR 2.9.3
|
data/spec/vcr/Bigrig_DockerAdapter/_pull/given_a_block_to_capture_output/should_capture_output.yml
CHANGED
@@ -19,7 +19,7 @@ http_interactions:
|
|
19
19
|
Content-Type:
|
20
20
|
- application/json
|
21
21
|
Date:
|
22
|
-
- Mon,
|
22
|
+
- Mon, 20 Apr 2015 23:28:43 GMT
|
23
23
|
body:
|
24
24
|
encoding: UTF-8
|
25
25
|
string: "{\"status\":\"Pulling repository hawknewton/true\"}\r\n{\"status\":\"Pulling
|
@@ -32,7 +32,7 @@ http_interactions:
|
|
32
32
|
complete\",\"progressDetail\":{},\"id\":\"5fbce35eb337\"}{\"status\":\"Status:
|
33
33
|
Image is up to date for hawknewton/true\"}\r\n"
|
34
34
|
http_version:
|
35
|
-
recorded_at: Mon,
|
35
|
+
recorded_at: Mon, 20 Apr 2015 23:28:44 GMT
|
36
36
|
- request:
|
37
37
|
method: get
|
38
38
|
uri: "<DOCKER_HOST>/v1.16/images/5fbce35eb337/json"
|
@@ -52,7 +52,7 @@ http_interactions:
|
|
52
52
|
Content-Type:
|
53
53
|
- application/json
|
54
54
|
Date:
|
55
|
-
- Mon,
|
55
|
+
- Mon, 20 Apr 2015 23:28:45 GMT
|
56
56
|
Content-Length:
|
57
57
|
- '1479'
|
58
58
|
body:
|
@@ -60,5 +60,5 @@ http_interactions:
|
|
60
60
|
string: |
|
61
61
|
{"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}
|
62
62
|
http_version:
|
63
|
-
recorded_at: Mon,
|
63
|
+
recorded_at: Mon, 20 Apr 2015 23:28:44 GMT
|
64
64
|
recorded_with: VCR 2.9.3
|
@@ -19,12 +19,12 @@ http_interactions:
|
|
19
19
|
Content-Type:
|
20
20
|
- application/json
|
21
21
|
Date:
|
22
|
-
- Mon,
|
22
|
+
- Mon, 20 Apr 2015 23:28:42 GMT
|
23
23
|
body:
|
24
24
|
encoding: UTF-8
|
25
25
|
string: "{\"status\":\"Pulling repository hawknewton/doesnotexist\"}\r\n{\"errorDetail\":{\"message\":\"Error:
|
26
26
|
image hawknewton/doesnotexist: not found\"},\"error\":\"Error: image hawknewton/doesnotexist:
|
27
27
|
not found\"}\r\n"
|
28
28
|
http_version:
|
29
|
-
recorded_at: Mon,
|
29
|
+
recorded_at: Mon, 20 Apr 2015 23:28:42 GMT
|
30
30
|
recorded_with: VCR 2.9.3
|