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:29:28 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:29:30 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:29:30 GMT
|
60
60
|
Content-Length:
|
61
61
|
- '90'
|
62
62
|
body:
|
63
63
|
encoding: UTF-8
|
64
64
|
string: |
|
65
|
-
{"Id":"
|
65
|
+
{"Id":"0d33e464c3f5397eeea691fd1d7304001614934b11bc57bb7767ca3a16e085f0","Warnings":null}
|
66
66
|
http_version:
|
67
|
-
recorded_at: Mon,
|
67
|
+
recorded_at: Mon, 20 Apr 2015 23:29:30 GMT
|
68
68
|
- request:
|
69
69
|
method: post
|
70
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
70
|
+
uri: "<DOCKER_HOST>/v1.16/containers/0d33e464c3f5397eeea691fd1d7304001614934b11bc57bb7767ca3a16e085f0/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:29:30 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:29:30 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:29:35 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":"0d33e464c3f5","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:29:30.362321606Z","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/0d33e464c3f5397eeea691fd1d7304001614934b11bc57bb7767ca3a16e085f0/hostname","HostsPath":"/mnt/sda1/var/lib/docker/containers/0d33e464c3f5397eeea691fd1d7304001614934b11bc57bb7767ca3a16e085f0/hosts","Id":"0d33e464c3f5397eeea691fd1d7304001614934b11bc57bb7767ca3a16e085f0","Image":"bf0f8a45f956aa470ab3c916c83925fdcffce23d37b1a9e33998561ce54ca030","MountLabel":"","Name":"/log-test","NetworkSettings":{"Bridge":"docker0","Gateway":"172.17.42.1","GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"IPAddress":"172.17.7.226","IPPrefixLen":16,"IPv6Gateway":"","LinkLocalIPv6Address":"fe80::42:acff:fe11:7e2","LinkLocalIPv6PrefixLen":64,"MacAddress":"02:42:ac:11:07:e2","PortMapping":null,"Ports":{}},"Path":"/run.sh","ProcessLabel":"","ResolvConfPath":"/mnt/sda1/var/lib/docker/containers/0d33e464c3f5397eeea691fd1d7304001614934b11bc57bb7767ca3a16e085f0/resolv.conf","RestartCount":0,"State":{"Error":"","ExitCode":0,"FinishedAt":"0001-01-01T00:00:00Z","OOMKilled":false,"Paused":false,"Pid":13812,"Restarting":false,"Running":true,"StartedAt":"2015-04-20T23:29:30.758234402Z"},"Volumes":{},"VolumesRW":{}}
|
115
115
|
http_version:
|
116
|
-
recorded_at: Mon,
|
116
|
+
recorded_at: Mon, 20 Apr 2015 23:29:35 GMT
|
117
117
|
- request:
|
118
118
|
method: post
|
119
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
119
|
+
uri: "<DOCKER_HOST>/v1.16/containers/0d33e464c3f5397eeea691fd1d7304001614934b11bc57bb7767ca3a16e085f0/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:29:36 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:29:35 GMT
|
140
140
|
- request:
|
141
141
|
method: delete
|
142
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
142
|
+
uri: "<DOCKER_HOST>/v1.16/containers/0d33e464c3f5397eeea691fd1d7304001614934b11bc57bb7767ca3a16e085f0"
|
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:29:36 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:29:35 GMT
|
163
163
|
recorded_with: VCR 2.9.3
|
@@ -26,7 +26,7 @@ http_interactions:
|
|
26
26
|
BUNDLE_APP_CONFIG=/usr/local/bundle
|
27
27
|
GEM_HOME=/usr/local/bundle
|
28
28
|
HOME=/root
|
29
|
-
HOSTNAME=
|
29
|
+
HOSTNAME=f571d0fd7a08
|
30
30
|
NAME1=VALUE1A
|
31
31
|
NAME2=VALUE2
|
32
32
|
PATH=/usr/local/bundle/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
|
@@ -34,7 +34,7 @@ http_interactions:
|
|
34
34
|
RUBY_MAJOR=2.1
|
35
35
|
RUBY_VERSION=2.1.3
|
36
36
|
http_version:
|
37
|
-
recorded_at: Mon,
|
37
|
+
recorded_at: Mon, 20 Apr 2015 23:29:44 GMT
|
38
38
|
- request:
|
39
39
|
method: get
|
40
40
|
uri: "<DOCKER_HOST>/v1.16/containers/profiles/json"
|
@@ -54,16 +54,16 @@ http_interactions:
|
|
54
54
|
Content-Type:
|
55
55
|
- application/json
|
56
56
|
Date:
|
57
|
-
- Mon,
|
57
|
+
- Mon, 20 Apr 2015 23:29:44 GMT
|
58
58
|
body:
|
59
59
|
encoding: UTF-8
|
60
60
|
string: |
|
61
|
-
{"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":["NAME1=VALUE1A","NAME2=VALUE2","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":"
|
61
|
+
{"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":["NAME1=VALUE1A","NAME2=VALUE2","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":"f571d0fd7a08","Image":"b9c5be3a918d80b0d898ed8eca3fc76f75c482b531238e539cb00f75bb4e12d2","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:29:43.937543862Z","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/f571d0fd7a0875236574e62188a590a3c7a8e00ba239af4f8e12e45d223011e3/hostname","HostsPath":"/mnt/sda1/var/lib/docker/containers/f571d0fd7a0875236574e62188a590a3c7a8e00ba239af4f8e12e45d223011e3/hosts","Id":"f571d0fd7a0875236574e62188a590a3c7a8e00ba239af4f8e12e45d223011e3","Image":"b9c5be3a918d80b0d898ed8eca3fc76f75c482b531238e539cb00f75bb4e12d2","MountLabel":"","Name":"/profiles","NetworkSettings":{"Bridge":"docker0","Gateway":"172.17.42.1","GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"IPAddress":"172.17.7.231","IPPrefixLen":16,"IPv6Gateway":"","LinkLocalIPv6Address":"fe80::42:acff:fe11:7e7","LinkLocalIPv6PrefixLen":64,"MacAddress":"02:42:ac:11:07:e7","PortMapping":null,"Ports":{"80/tcp":[{"HostIp":"0.0.0.0","HostPort":"4567"}]}},"Path":"/bin/sh","ProcessLabel":"","ResolvConfPath":"/mnt/sda1/var/lib/docker/containers/f571d0fd7a0875236574e62188a590a3c7a8e00ba239af4f8e12e45d223011e3/resolv.conf","RestartCount":0,"State":{"Error":"","ExitCode":0,"FinishedAt":"0001-01-01T00:00:00Z","OOMKilled":false,"Paused":false,"Pid":13910,"Restarting":false,"Running":true,"StartedAt":"2015-04-20T23:29:44.387670496Z"},"Volumes":{},"VolumesRW":{}}
|
62
62
|
http_version:
|
63
|
-
recorded_at: Mon,
|
63
|
+
recorded_at: Mon, 20 Apr 2015 23:29:44 GMT
|
64
64
|
- request:
|
65
65
|
method: post
|
66
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
66
|
+
uri: "<DOCKER_HOST>/v1.16/containers/f571d0fd7a0875236574e62188a590a3c7a8e00ba239af4f8e12e45d223011e3/kill"
|
67
67
|
body:
|
68
68
|
encoding: US-ASCII
|
69
69
|
string: ''
|
@@ -78,15 +78,15 @@ http_interactions:
|
|
78
78
|
message:
|
79
79
|
headers:
|
80
80
|
Date:
|
81
|
-
- Mon,
|
81
|
+
- Mon, 20 Apr 2015 23:29:44 GMT
|
82
82
|
body:
|
83
83
|
encoding: UTF-8
|
84
84
|
string: ''
|
85
85
|
http_version:
|
86
|
-
recorded_at: Mon,
|
86
|
+
recorded_at: Mon, 20 Apr 2015 23:29:44 GMT
|
87
87
|
- request:
|
88
88
|
method: delete
|
89
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
89
|
+
uri: "<DOCKER_HOST>/v1.16/containers/f571d0fd7a0875236574e62188a590a3c7a8e00ba239af4f8e12e45d223011e3"
|
90
90
|
body:
|
91
91
|
encoding: US-ASCII
|
92
92
|
string: ''
|
@@ -101,10 +101,10 @@ http_interactions:
|
|
101
101
|
message:
|
102
102
|
headers:
|
103
103
|
Date:
|
104
|
-
- Mon,
|
104
|
+
- Mon, 20 Apr 2015 23:29:44 GMT
|
105
105
|
body:
|
106
106
|
encoding: UTF-8
|
107
107
|
string: ''
|
108
108
|
http_version:
|
109
|
-
recorded_at: Mon,
|
109
|
+
recorded_at: Mon, 20 Apr 2015 23:29:44 GMT
|
110
110
|
recorded_with: VCR 2.9.3
|
@@ -26,7 +26,7 @@ http_interactions:
|
|
26
26
|
BUNDLE_APP_CONFIG=/usr/local/bundle
|
27
27
|
GEM_HOME=/usr/local/bundle
|
28
28
|
HOME=/root
|
29
|
-
HOSTNAME=
|
29
|
+
HOSTNAME=ce902ad9be84
|
30
30
|
NAME1=VALUE1A
|
31
31
|
NAME2=VALUE2
|
32
32
|
PATH=/usr/local/bundle/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
|
@@ -34,7 +34,7 @@ http_interactions:
|
|
34
34
|
RUBY_MAJOR=2.1
|
35
35
|
RUBY_VERSION=2.1.3
|
36
36
|
http_version:
|
37
|
-
recorded_at: Mon,
|
37
|
+
recorded_at: Mon, 20 Apr 2015 23:29:42 GMT
|
38
38
|
- request:
|
39
39
|
method: get
|
40
40
|
uri: "<DOCKER_HOST>/v1.16/containers/profiles/json"
|
@@ -54,16 +54,16 @@ http_interactions:
|
|
54
54
|
Content-Type:
|
55
55
|
- application/json
|
56
56
|
Date:
|
57
|
-
- Mon,
|
57
|
+
- Mon, 20 Apr 2015 23:29:42 GMT
|
58
58
|
body:
|
59
59
|
encoding: UTF-8
|
60
60
|
string: |
|
61
|
-
{"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":["NAME1=VALUE1A","NAME2=VALUE2","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":"
|
61
|
+
{"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":["NAME1=VALUE1A","NAME2=VALUE2","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":"ce902ad9be84","Image":"b9c5be3a918d80b0d898ed8eca3fc76f75c482b531238e539cb00f75bb4e12d2","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:29:42.172318202Z","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/ce902ad9be8410d03b4caf15c330fcbf95368802b7e13d110cce8f8c1dac595f/hostname","HostsPath":"/mnt/sda1/var/lib/docker/containers/ce902ad9be8410d03b4caf15c330fcbf95368802b7e13d110cce8f8c1dac595f/hosts","Id":"ce902ad9be8410d03b4caf15c330fcbf95368802b7e13d110cce8f8c1dac595f","Image":"b9c5be3a918d80b0d898ed8eca3fc76f75c482b531238e539cb00f75bb4e12d2","MountLabel":"","Name":"/profiles","NetworkSettings":{"Bridge":"docker0","Gateway":"172.17.42.1","GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"IPAddress":"172.17.7.230","IPPrefixLen":16,"IPv6Gateway":"","LinkLocalIPv6Address":"fe80::42:acff:fe11:7e6","LinkLocalIPv6PrefixLen":64,"MacAddress":"02:42:ac:11:07:e6","PortMapping":null,"Ports":{"80/tcp":[{"HostIp":"0.0.0.0","HostPort":"4567"}]}},"Path":"/bin/sh","ProcessLabel":"","ResolvConfPath":"/mnt/sda1/var/lib/docker/containers/ce902ad9be8410d03b4caf15c330fcbf95368802b7e13d110cce8f8c1dac595f/resolv.conf","RestartCount":0,"State":{"Error":"","ExitCode":0,"FinishedAt":"0001-01-01T00:00:00Z","OOMKilled":false,"Paused":false,"Pid":13891,"Restarting":false,"Running":true,"StartedAt":"2015-04-20T23:29:42.596715511Z"},"Volumes":{},"VolumesRW":{}}
|
62
62
|
http_version:
|
63
|
-
recorded_at: Mon,
|
63
|
+
recorded_at: Mon, 20 Apr 2015 23:29:42 GMT
|
64
64
|
- request:
|
65
65
|
method: post
|
66
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
66
|
+
uri: "<DOCKER_HOST>/v1.16/containers/ce902ad9be8410d03b4caf15c330fcbf95368802b7e13d110cce8f8c1dac595f/kill"
|
67
67
|
body:
|
68
68
|
encoding: US-ASCII
|
69
69
|
string: ''
|
@@ -78,15 +78,15 @@ http_interactions:
|
|
78
78
|
message:
|
79
79
|
headers:
|
80
80
|
Date:
|
81
|
-
- Mon,
|
81
|
+
- Mon, 20 Apr 2015 23:29:42 GMT
|
82
82
|
body:
|
83
83
|
encoding: UTF-8
|
84
84
|
string: ''
|
85
85
|
http_version:
|
86
|
-
recorded_at: Mon,
|
86
|
+
recorded_at: Mon, 20 Apr 2015 23:29:42 GMT
|
87
87
|
- request:
|
88
88
|
method: delete
|
89
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
89
|
+
uri: "<DOCKER_HOST>/v1.16/containers/ce902ad9be8410d03b4caf15c330fcbf95368802b7e13d110cce8f8c1dac595f"
|
90
90
|
body:
|
91
91
|
encoding: US-ASCII
|
92
92
|
string: ''
|
@@ -101,10 +101,10 @@ http_interactions:
|
|
101
101
|
message:
|
102
102
|
headers:
|
103
103
|
Date:
|
104
|
-
- Mon,
|
104
|
+
- Mon, 20 Apr 2015 23:29:42 GMT
|
105
105
|
body:
|
106
106
|
encoding: UTF-8
|
107
107
|
string: ''
|
108
108
|
http_version:
|
109
|
-
recorded_at: Mon,
|
109
|
+
recorded_at: Mon, 20 Apr 2015 23:29:42 GMT
|
110
110
|
recorded_with: VCR 2.9.3
|
@@ -19,13 +19,13 @@ http_interactions:
|
|
19
19
|
Content-Type:
|
20
20
|
- application/json
|
21
21
|
Date:
|
22
|
-
- Mon,
|
22
|
+
- Mon, 20 Apr 2015 23:29:40 GMT
|
23
23
|
body:
|
24
24
|
encoding: UTF-8
|
25
25
|
string: |
|
26
|
-
{"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":["NAME1=VALUE1A","NAME2=VALUE2","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":"
|
26
|
+
{"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":["NAME1=VALUE1A","NAME2=VALUE2","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":"fb1d09dc209d","Image":"b9c5be3a918d80b0d898ed8eca3fc76f75c482b531238e539cb00f75bb4e12d2","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:29:40.347206719Z","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/fb1d09dc209d67fc5c8e7372f965cb1e3f10ec8d75ce6ffb25a3c9dd240da9ab/hostname","HostsPath":"/mnt/sda1/var/lib/docker/containers/fb1d09dc209d67fc5c8e7372f965cb1e3f10ec8d75ce6ffb25a3c9dd240da9ab/hosts","Id":"fb1d09dc209d67fc5c8e7372f965cb1e3f10ec8d75ce6ffb25a3c9dd240da9ab","Image":"b9c5be3a918d80b0d898ed8eca3fc76f75c482b531238e539cb00f75bb4e12d2","MountLabel":"","Name":"/profiles","NetworkSettings":{"Bridge":"docker0","Gateway":"172.17.42.1","GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"IPAddress":"172.17.7.229","IPPrefixLen":16,"IPv6Gateway":"","LinkLocalIPv6Address":"fe80::42:acff:fe11:7e5","LinkLocalIPv6PrefixLen":64,"MacAddress":"02:42:ac:11:07:e5","PortMapping":null,"Ports":{"80/tcp":[{"HostIp":"0.0.0.0","HostPort":"4567"}]}},"Path":"/bin/sh","ProcessLabel":"","ResolvConfPath":"/mnt/sda1/var/lib/docker/containers/fb1d09dc209d67fc5c8e7372f965cb1e3f10ec8d75ce6ffb25a3c9dd240da9ab/resolv.conf","RestartCount":0,"State":{"Error":"","ExitCode":0,"FinishedAt":"0001-01-01T00:00:00Z","OOMKilled":false,"Paused":false,"Pid":13870,"Restarting":false,"Running":true,"StartedAt":"2015-04-20T23:29:40.777325224Z"},"Volumes":{},"VolumesRW":{}}
|
27
27
|
http_version:
|
28
|
-
recorded_at: Mon,
|
28
|
+
recorded_at: Mon, 20 Apr 2015 23:29:40 GMT
|
29
29
|
- request:
|
30
30
|
method: get
|
31
31
|
uri: "<DOCKER_HOST>/v1.16/images/hawknewton/show-env/json"
|
@@ -45,7 +45,7 @@ http_interactions:
|
|
45
45
|
Content-Type:
|
46
46
|
- application/json
|
47
47
|
Date:
|
48
|
-
- Mon,
|
48
|
+
- Mon, 20 Apr 2015 23:29:40 GMT
|
49
49
|
Content-Length:
|
50
50
|
- '1859'
|
51
51
|
body:
|
@@ -53,10 +53,10 @@ http_interactions:
|
|
53
53
|
string: |
|
54
54
|
{"Architecture":"amd64","Author":"","Comment":"","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":"e5474231b7cd","Image":"4929b61a5fda27a07a26efc94ad61504c0f4aa2fb50471bfa4fd61c656d42131","MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":[],"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Container":"d6d34d2bfd452f4175eab78597ddd29856f0af494d503b00f4160d5eb3f13f1b","ContainerConfig":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":["/bin/sh","-c","#(nop) ENTRYPOINT [/bin/sh -c ruby /code/server.rb]"],"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":"e5474231b7cd","Image":"4929b61a5fda27a07a26efc94ad61504c0f4aa2fb50471bfa4fd61c656d42131","MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":[],"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Created":"2014-10-23T20:00:42.057514693Z","DockerVersion":"1.3.0","Id":"b9c5be3a918d80b0d898ed8eca3fc76f75c482b531238e539cb00f75bb4e12d2","Os":"linux","Parent":"4929b61a5fda27a07a26efc94ad61504c0f4aa2fb50471bfa4fd61c656d42131","Size":0,"VirtualSize":801041825}
|
55
55
|
http_version:
|
56
|
-
recorded_at: Mon,
|
56
|
+
recorded_at: Mon, 20 Apr 2015 23:29:40 GMT
|
57
57
|
- request:
|
58
58
|
method: post
|
59
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
59
|
+
uri: "<DOCKER_HOST>/v1.16/containers/fb1d09dc209d67fc5c8e7372f965cb1e3f10ec8d75ce6ffb25a3c9dd240da9ab/kill"
|
60
60
|
body:
|
61
61
|
encoding: US-ASCII
|
62
62
|
string: ''
|
@@ -71,15 +71,15 @@ http_interactions:
|
|
71
71
|
message:
|
72
72
|
headers:
|
73
73
|
Date:
|
74
|
-
- Mon,
|
74
|
+
- Mon, 20 Apr 2015 23:29:41 GMT
|
75
75
|
body:
|
76
76
|
encoding: UTF-8
|
77
77
|
string: ''
|
78
78
|
http_version:
|
79
|
-
recorded_at: Mon,
|
79
|
+
recorded_at: Mon, 20 Apr 2015 23:29:40 GMT
|
80
80
|
- request:
|
81
81
|
method: delete
|
82
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
82
|
+
uri: "<DOCKER_HOST>/v1.16/containers/fb1d09dc209d67fc5c8e7372f965cb1e3f10ec8d75ce6ffb25a3c9dd240da9ab"
|
83
83
|
body:
|
84
84
|
encoding: US-ASCII
|
85
85
|
string: ''
|
@@ -94,10 +94,10 @@ http_interactions:
|
|
94
94
|
message:
|
95
95
|
headers:
|
96
96
|
Date:
|
97
|
-
- Mon,
|
97
|
+
- Mon, 20 Apr 2015 23:29:41 GMT
|
98
98
|
body:
|
99
99
|
encoding: UTF-8
|
100
100
|
string: ''
|
101
101
|
http_version:
|
102
|
-
recorded_at: Mon,
|
102
|
+
recorded_at: Mon, 20 Apr 2015 23:29:40 GMT
|
103
103
|
recorded_with: VCR 2.9.3
|
data/spec/vcr/bigrig/run/spec/data/single_json/sends_the_name_of_the_container_to_stdout.yml
CHANGED
@@ -19,16 +19,16 @@ http_interactions:
|
|
19
19
|
Content-Type:
|
20
20
|
- application/json
|
21
21
|
Date:
|
22
|
-
- Mon,
|
22
|
+
- Mon, 20 Apr 2015 23:29:39 GMT
|
23
23
|
body:
|
24
24
|
encoding: UTF-8
|
25
25
|
string: |
|
26
|
-
{"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":"
|
26
|
+
{"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":"dfe9d7dd74e8","Image":"b9c5be3a918d80b0d898ed8eca3fc76f75c482b531238e539cb00f75bb4e12d2","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:29:38.833167308Z","Driver":"aufs","ExecDriver":"native-0.2","ExecIDs":null,"HostConfig":{"Binds":[],"CapAdd":null,"CapDrop":null,"ContainerIDFile":"","Devices":null,"Dns":null,"DnsSearch":null,"ExtraHosts":[],"IpcMode":"","Links":null,"LxcConf":null,"NetworkMode":"","PidMode":"","PortBindings":{},"Privileged":false,"PublishAllPorts":false,"ReadonlyRootfs":false,"RestartPolicy":{"MaximumRetryCount":0,"Name":""},"SecurityOpt":null,"VolumesFrom":[]},"HostnamePath":"/mnt/sda1/var/lib/docker/containers/dfe9d7dd74e8465bb84128afc4cce42651503eafbc22dca31b988df85d15c3ac/hostname","HostsPath":"/mnt/sda1/var/lib/docker/containers/dfe9d7dd74e8465bb84128afc4cce42651503eafbc22dca31b988df85d15c3ac/hosts","Id":"dfe9d7dd74e8465bb84128afc4cce42651503eafbc22dca31b988df85d15c3ac","Image":"b9c5be3a918d80b0d898ed8eca3fc76f75c482b531238e539cb00f75bb4e12d2","MountLabel":"","Name":"/single-test","NetworkSettings":{"Bridge":"docker0","Gateway":"172.17.42.1","GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"IPAddress":"172.17.7.228","IPPrefixLen":16,"IPv6Gateway":"","LinkLocalIPv6Address":"fe80::42:acff:fe11:7e4","LinkLocalIPv6PrefixLen":64,"MacAddress":"02:42:ac:11:07:e4","PortMapping":null,"Ports":{"80/tcp":null}},"Path":"/bin/sh","ProcessLabel":"","ResolvConfPath":"/mnt/sda1/var/lib/docker/containers/dfe9d7dd74e8465bb84128afc4cce42651503eafbc22dca31b988df85d15c3ac/resolv.conf","RestartCount":0,"State":{"Error":"","ExitCode":0,"FinishedAt":"0001-01-01T00:00:00Z","OOMKilled":false,"Paused":false,"Pid":13852,"Restarting":false,"Running":true,"StartedAt":"2015-04-20T23:29:39.176956261Z"},"Volumes":{},"VolumesRW":{}}
|
27
27
|
http_version:
|
28
|
-
recorded_at: Mon,
|
28
|
+
recorded_at: Mon, 20 Apr 2015 23:29:39 GMT
|
29
29
|
- request:
|
30
30
|
method: post
|
31
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
31
|
+
uri: "<DOCKER_HOST>/v1.16/containers/dfe9d7dd74e8465bb84128afc4cce42651503eafbc22dca31b988df85d15c3ac/kill"
|
32
32
|
body:
|
33
33
|
encoding: US-ASCII
|
34
34
|
string: ''
|
@@ -43,15 +43,15 @@ http_interactions:
|
|
43
43
|
message:
|
44
44
|
headers:
|
45
45
|
Date:
|
46
|
-
- Mon,
|
46
|
+
- Mon, 20 Apr 2015 23:29:39 GMT
|
47
47
|
body:
|
48
48
|
encoding: UTF-8
|
49
49
|
string: ''
|
50
50
|
http_version:
|
51
|
-
recorded_at: Mon,
|
51
|
+
recorded_at: Mon, 20 Apr 2015 23:29:39 GMT
|
52
52
|
- request:
|
53
53
|
method: delete
|
54
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
54
|
+
uri: "<DOCKER_HOST>/v1.16/containers/dfe9d7dd74e8465bb84128afc4cce42651503eafbc22dca31b988df85d15c3ac"
|
55
55
|
body:
|
56
56
|
encoding: US-ASCII
|
57
57
|
string: ''
|
@@ -66,10 +66,10 @@ http_interactions:
|
|
66
66
|
message:
|
67
67
|
headers:
|
68
68
|
Date:
|
69
|
-
- Mon,
|
69
|
+
- Mon, 20 Apr 2015 23:29:39 GMT
|
70
70
|
body:
|
71
71
|
encoding: UTF-8
|
72
72
|
string: ''
|
73
73
|
http_version:
|
74
|
-
recorded_at: Mon,
|
74
|
+
recorded_at: Mon, 20 Apr 2015 23:29:39 GMT
|
75
75
|
recorded_with: VCR 2.9.3
|
@@ -19,16 +19,16 @@ http_interactions:
|
|
19
19
|
Content-Type:
|
20
20
|
- application/json
|
21
21
|
Date:
|
22
|
-
- Mon,
|
22
|
+
- Mon, 20 Apr 2015 23:29:37 GMT
|
23
23
|
body:
|
24
24
|
encoding: UTF-8
|
25
25
|
string: |
|
26
|
-
{"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":"
|
26
|
+
{"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":"3f54de84c91a","Image":"b9c5be3a918d80b0d898ed8eca3fc76f75c482b531238e539cb00f75bb4e12d2","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:29:37.072191573Z","Driver":"aufs","ExecDriver":"native-0.2","ExecIDs":null,"HostConfig":{"Binds":[],"CapAdd":null,"CapDrop":null,"ContainerIDFile":"","Devices":null,"Dns":null,"DnsSearch":null,"ExtraHosts":[],"IpcMode":"","Links":null,"LxcConf":null,"NetworkMode":"","PidMode":"","PortBindings":{},"Privileged":false,"PublishAllPorts":false,"ReadonlyRootfs":false,"RestartPolicy":{"MaximumRetryCount":0,"Name":""},"SecurityOpt":null,"VolumesFrom":[]},"HostnamePath":"/mnt/sda1/var/lib/docker/containers/3f54de84c91af8af4d558fd3795490f1dd875d0365bf4c537c435165f9ac9054/hostname","HostsPath":"/mnt/sda1/var/lib/docker/containers/3f54de84c91af8af4d558fd3795490f1dd875d0365bf4c537c435165f9ac9054/hosts","Id":"3f54de84c91af8af4d558fd3795490f1dd875d0365bf4c537c435165f9ac9054","Image":"b9c5be3a918d80b0d898ed8eca3fc76f75c482b531238e539cb00f75bb4e12d2","MountLabel":"","Name":"/single-test","NetworkSettings":{"Bridge":"docker0","Gateway":"172.17.42.1","GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"IPAddress":"172.17.7.227","IPPrefixLen":16,"IPv6Gateway":"","LinkLocalIPv6Address":"fe80::42:acff:fe11:7e3","LinkLocalIPv6PrefixLen":64,"MacAddress":"02:42:ac:11:07:e3","PortMapping":null,"Ports":{"80/tcp":null}},"Path":"/bin/sh","ProcessLabel":"","ResolvConfPath":"/mnt/sda1/var/lib/docker/containers/3f54de84c91af8af4d558fd3795490f1dd875d0365bf4c537c435165f9ac9054/resolv.conf","RestartCount":0,"State":{"Error":"","ExitCode":0,"FinishedAt":"0001-01-01T00:00:00Z","OOMKilled":false,"Paused":false,"Pid":13840,"Restarting":false,"Running":true,"StartedAt":"2015-04-20T23:29:37.458145973Z"},"Volumes":{},"VolumesRW":{}}
|
27
27
|
http_version:
|
28
|
-
recorded_at: Mon,
|
28
|
+
recorded_at: Mon, 20 Apr 2015 23:29:37 GMT
|
29
29
|
- request:
|
30
30
|
method: get
|
31
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
31
|
+
uri: "<DOCKER_HOST>/v1.16/containers/3f54de84c91af8af4d558fd3795490f1dd875d0365bf4c537c435165f9ac9054/json"
|
32
32
|
body:
|
33
33
|
encoding: US-ASCII
|
34
34
|
string: ''
|
@@ -45,16 +45,16 @@ http_interactions:
|
|
45
45
|
Content-Type:
|
46
46
|
- application/json
|
47
47
|
Date:
|
48
|
-
- Mon,
|
48
|
+
- Mon, 20 Apr 2015 23:29:37 GMT
|
49
49
|
body:
|
50
50
|
encoding: UTF-8
|
51
51
|
string: |
|
52
|
-
{"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":"
|
52
|
+
{"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":"3f54de84c91a","Image":"b9c5be3a918d80b0d898ed8eca3fc76f75c482b531238e539cb00f75bb4e12d2","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:29:37.072191573Z","Driver":"aufs","ExecDriver":"native-0.2","ExecIDs":null,"HostConfig":{"Binds":[],"CapAdd":null,"CapDrop":null,"ContainerIDFile":"","Devices":null,"Dns":null,"DnsSearch":null,"ExtraHosts":[],"IpcMode":"","Links":null,"LxcConf":null,"NetworkMode":"","PidMode":"","PortBindings":{},"Privileged":false,"PublishAllPorts":false,"ReadonlyRootfs":false,"RestartPolicy":{"MaximumRetryCount":0,"Name":""},"SecurityOpt":null,"VolumesFrom":[]},"HostnamePath":"/mnt/sda1/var/lib/docker/containers/3f54de84c91af8af4d558fd3795490f1dd875d0365bf4c537c435165f9ac9054/hostname","HostsPath":"/mnt/sda1/var/lib/docker/containers/3f54de84c91af8af4d558fd3795490f1dd875d0365bf4c537c435165f9ac9054/hosts","Id":"3f54de84c91af8af4d558fd3795490f1dd875d0365bf4c537c435165f9ac9054","Image":"b9c5be3a918d80b0d898ed8eca3fc76f75c482b531238e539cb00f75bb4e12d2","MountLabel":"","Name":"/single-test","NetworkSettings":{"Bridge":"docker0","Gateway":"172.17.42.1","GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"IPAddress":"172.17.7.227","IPPrefixLen":16,"IPv6Gateway":"","LinkLocalIPv6Address":"fe80::42:acff:fe11:7e3","LinkLocalIPv6PrefixLen":64,"MacAddress":"02:42:ac:11:07:e3","PortMapping":null,"Ports":{"80/tcp":null}},"Path":"/bin/sh","ProcessLabel":"","ResolvConfPath":"/mnt/sda1/var/lib/docker/containers/3f54de84c91af8af4d558fd3795490f1dd875d0365bf4c537c435165f9ac9054/resolv.conf","RestartCount":0,"State":{"Error":"","ExitCode":0,"FinishedAt":"0001-01-01T00:00:00Z","OOMKilled":false,"Paused":false,"Pid":13840,"Restarting":false,"Running":true,"StartedAt":"2015-04-20T23:29:37.458145973Z"},"Volumes":{},"VolumesRW":{}}
|
53
53
|
http_version:
|
54
|
-
recorded_at: Mon,
|
54
|
+
recorded_at: Mon, 20 Apr 2015 23:29:37 GMT
|
55
55
|
- request:
|
56
56
|
method: post
|
57
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
57
|
+
uri: "<DOCKER_HOST>/v1.16/containers/3f54de84c91af8af4d558fd3795490f1dd875d0365bf4c537c435165f9ac9054/kill"
|
58
58
|
body:
|
59
59
|
encoding: US-ASCII
|
60
60
|
string: ''
|
@@ -69,15 +69,15 @@ http_interactions:
|
|
69
69
|
message:
|
70
70
|
headers:
|
71
71
|
Date:
|
72
|
-
- Mon,
|
72
|
+
- Mon, 20 Apr 2015 23:29:37 GMT
|
73
73
|
body:
|
74
74
|
encoding: UTF-8
|
75
75
|
string: ''
|
76
76
|
http_version:
|
77
|
-
recorded_at: Mon,
|
77
|
+
recorded_at: Mon, 20 Apr 2015 23:29:37 GMT
|
78
78
|
- request:
|
79
79
|
method: delete
|
80
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
80
|
+
uri: "<DOCKER_HOST>/v1.16/containers/3f54de84c91af8af4d558fd3795490f1dd875d0365bf4c537c435165f9ac9054"
|
81
81
|
body:
|
82
82
|
encoding: US-ASCII
|
83
83
|
string: ''
|
@@ -92,10 +92,10 @@ http_interactions:
|
|
92
92
|
message:
|
93
93
|
headers:
|
94
94
|
Date:
|
95
|
-
- Mon,
|
95
|
+
- Mon, 20 Apr 2015 23:29:37 GMT
|
96
96
|
body:
|
97
97
|
encoding: UTF-8
|
98
98
|
string: ''
|
99
99
|
http_version:
|
100
|
-
recorded_at: Mon,
|
100
|
+
recorded_at: Mon, 20 Apr 2015 23:29:37 GMT
|
101
101
|
recorded_with: VCR 2.9.3
|