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,18 +19,18 @@ http_interactions:
|
|
19
19
|
Content-Type:
|
20
20
|
- application/json
|
21
21
|
Date:
|
22
|
-
- Mon,
|
22
|
+
- Mon, 20 Apr 2015 23:28:47 GMT
|
23
23
|
Content-Length:
|
24
24
|
- '90'
|
25
25
|
body:
|
26
26
|
encoding: UTF-8
|
27
27
|
string: |
|
28
|
-
{"Id":"
|
28
|
+
{"Id":"40eb43c6b1ba81088cc465229837d8bfa2daded8c3345a716a61057641b1d462","Warnings":null}
|
29
29
|
http_version:
|
30
|
-
recorded_at: Mon,
|
30
|
+
recorded_at: Mon, 20 Apr 2015 23:28:46 GMT
|
31
31
|
- request:
|
32
32
|
method: post
|
33
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
33
|
+
uri: "<DOCKER_HOST>/v1.16/containers/40eb43c6b1ba81088cc465229837d8bfa2daded8c3345a716a61057641b1d462/start"
|
34
34
|
body:
|
35
35
|
encoding: UTF-8
|
36
36
|
string: '{"Links":null,"ExtraHosts":[],"PortBindings":{},"VolumesFrom":null,"Binds":null}'
|
@@ -45,15 +45,15 @@ http_interactions:
|
|
45
45
|
message:
|
46
46
|
headers:
|
47
47
|
Date:
|
48
|
-
- Mon,
|
48
|
+
- Mon, 20 Apr 2015 23:28:47 GMT
|
49
49
|
body:
|
50
50
|
encoding: UTF-8
|
51
51
|
string: ''
|
52
52
|
http_version:
|
53
|
-
recorded_at: Mon,
|
53
|
+
recorded_at: Mon, 20 Apr 2015 23:28:47 GMT
|
54
54
|
- request:
|
55
55
|
method: get
|
56
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
56
|
+
uri: "<DOCKER_HOST>/v1.16/containers/40eb43c6b1ba81088cc465229837d8bfa2daded8c3345a716a61057641b1d462/json"
|
57
57
|
body:
|
58
58
|
encoding: US-ASCII
|
59
59
|
string: ''
|
@@ -70,16 +70,16 @@ http_interactions:
|
|
70
70
|
Content-Type:
|
71
71
|
- application/json
|
72
72
|
Date:
|
73
|
-
- Mon,
|
73
|
+
- Mon, 20 Apr 2015 23:28:47 GMT
|
74
74
|
body:
|
75
75
|
encoding: UTF-8
|
76
76
|
string: |
|
77
|
-
{"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":"
|
77
|
+
{"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":"40eb43c6b1ba","Image":"hawknewton/show-env","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:46.96134269Z","Driver":"aufs","ExecDriver":"native-0.2","ExecIDs":null,"HostConfig":{"Binds":null,"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":null},"HostnamePath":"/mnt/sda1/var/lib/docker/containers/40eb43c6b1ba81088cc465229837d8bfa2daded8c3345a716a61057641b1d462/hostname","HostsPath":"/mnt/sda1/var/lib/docker/containers/40eb43c6b1ba81088cc465229837d8bfa2daded8c3345a716a61057641b1d462/hosts","Id":"40eb43c6b1ba81088cc465229837d8bfa2daded8c3345a716a61057641b1d462","Image":"b9c5be3a918d80b0d898ed8eca3fc76f75c482b531238e539cb00f75bb4e12d2","MountLabel":"","Name":"/and_a_name","NetworkSettings":{"Bridge":"docker0","Gateway":"172.17.42.1","GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"IPAddress":"172.17.7.203","IPPrefixLen":16,"IPv6Gateway":"","LinkLocalIPv6Address":"fe80::42:acff:fe11:7cb","LinkLocalIPv6PrefixLen":64,"MacAddress":"02:42:ac:11:07:cb","PortMapping":null,"Ports":{"80/tcp":null}},"Path":"/bin/sh","ProcessLabel":"","ResolvConfPath":"/mnt/sda1/var/lib/docker/containers/40eb43c6b1ba81088cc465229837d8bfa2daded8c3345a716a61057641b1d462/resolv.conf","RestartCount":0,"State":{"Error":"","ExitCode":0,"FinishedAt":"0001-01-01T00:00:00Z","OOMKilled":false,"Paused":false,"Pid":13461,"Restarting":false,"Running":true,"StartedAt":"2015-04-20T23:28:47.367251632Z"},"Volumes":{},"VolumesRW":{}}
|
78
78
|
http_version:
|
79
|
-
recorded_at: Mon,
|
79
|
+
recorded_at: Mon, 20 Apr 2015 23:28:47 GMT
|
80
80
|
- request:
|
81
81
|
method: get
|
82
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
82
|
+
uri: "<DOCKER_HOST>/v1.16/containers/40eb43c6b1ba81088cc465229837d8bfa2daded8c3345a716a61057641b1d462/json"
|
83
83
|
body:
|
84
84
|
encoding: US-ASCII
|
85
85
|
string: ''
|
@@ -96,16 +96,16 @@ http_interactions:
|
|
96
96
|
Content-Type:
|
97
97
|
- application/json
|
98
98
|
Date:
|
99
|
-
- Mon,
|
99
|
+
- Mon, 20 Apr 2015 23:28:47 GMT
|
100
100
|
body:
|
101
101
|
encoding: UTF-8
|
102
102
|
string: |
|
103
|
-
{"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":"
|
103
|
+
{"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":"40eb43c6b1ba","Image":"hawknewton/show-env","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:46.96134269Z","Driver":"aufs","ExecDriver":"native-0.2","ExecIDs":null,"HostConfig":{"Binds":null,"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":null},"HostnamePath":"/mnt/sda1/var/lib/docker/containers/40eb43c6b1ba81088cc465229837d8bfa2daded8c3345a716a61057641b1d462/hostname","HostsPath":"/mnt/sda1/var/lib/docker/containers/40eb43c6b1ba81088cc465229837d8bfa2daded8c3345a716a61057641b1d462/hosts","Id":"40eb43c6b1ba81088cc465229837d8bfa2daded8c3345a716a61057641b1d462","Image":"b9c5be3a918d80b0d898ed8eca3fc76f75c482b531238e539cb00f75bb4e12d2","MountLabel":"","Name":"/and_a_name","NetworkSettings":{"Bridge":"docker0","Gateway":"172.17.42.1","GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"IPAddress":"172.17.7.203","IPPrefixLen":16,"IPv6Gateway":"","LinkLocalIPv6Address":"fe80::42:acff:fe11:7cb","LinkLocalIPv6PrefixLen":64,"MacAddress":"02:42:ac:11:07:cb","PortMapping":null,"Ports":{"80/tcp":null}},"Path":"/bin/sh","ProcessLabel":"","ResolvConfPath":"/mnt/sda1/var/lib/docker/containers/40eb43c6b1ba81088cc465229837d8bfa2daded8c3345a716a61057641b1d462/resolv.conf","RestartCount":0,"State":{"Error":"","ExitCode":0,"FinishedAt":"0001-01-01T00:00:00Z","OOMKilled":false,"Paused":false,"Pid":13461,"Restarting":false,"Running":true,"StartedAt":"2015-04-20T23:28:47.367251632Z"},"Volumes":{},"VolumesRW":{}}
|
104
104
|
http_version:
|
105
|
-
recorded_at: Mon,
|
105
|
+
recorded_at: Mon, 20 Apr 2015 23:28:47 GMT
|
106
106
|
- request:
|
107
107
|
method: get
|
108
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
108
|
+
uri: "<DOCKER_HOST>/v1.16/containers/40eb43c6b1ba81088cc465229837d8bfa2daded8c3345a716a61057641b1d462/json"
|
109
109
|
body:
|
110
110
|
encoding: US-ASCII
|
111
111
|
string: ''
|
@@ -122,13 +122,13 @@ http_interactions:
|
|
122
122
|
Content-Type:
|
123
123
|
- application/json
|
124
124
|
Date:
|
125
|
-
- Mon,
|
125
|
+
- Mon, 20 Apr 2015 23:28:47 GMT
|
126
126
|
body:
|
127
127
|
encoding: UTF-8
|
128
128
|
string: |
|
129
|
-
{"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":"
|
129
|
+
{"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":"40eb43c6b1ba","Image":"hawknewton/show-env","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:46.96134269Z","Driver":"aufs","ExecDriver":"native-0.2","ExecIDs":null,"HostConfig":{"Binds":null,"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":null},"HostnamePath":"/mnt/sda1/var/lib/docker/containers/40eb43c6b1ba81088cc465229837d8bfa2daded8c3345a716a61057641b1d462/hostname","HostsPath":"/mnt/sda1/var/lib/docker/containers/40eb43c6b1ba81088cc465229837d8bfa2daded8c3345a716a61057641b1d462/hosts","Id":"40eb43c6b1ba81088cc465229837d8bfa2daded8c3345a716a61057641b1d462","Image":"b9c5be3a918d80b0d898ed8eca3fc76f75c482b531238e539cb00f75bb4e12d2","MountLabel":"","Name":"/and_a_name","NetworkSettings":{"Bridge":"docker0","Gateway":"172.17.42.1","GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"IPAddress":"172.17.7.203","IPPrefixLen":16,"IPv6Gateway":"","LinkLocalIPv6Address":"fe80::42:acff:fe11:7cb","LinkLocalIPv6PrefixLen":64,"MacAddress":"02:42:ac:11:07:cb","PortMapping":null,"Ports":{"80/tcp":null}},"Path":"/bin/sh","ProcessLabel":"","ResolvConfPath":"/mnt/sda1/var/lib/docker/containers/40eb43c6b1ba81088cc465229837d8bfa2daded8c3345a716a61057641b1d462/resolv.conf","RestartCount":0,"State":{"Error":"","ExitCode":0,"FinishedAt":"0001-01-01T00:00:00Z","OOMKilled":false,"Paused":false,"Pid":13461,"Restarting":false,"Running":true,"StartedAt":"2015-04-20T23:28:47.367251632Z"},"Volumes":{},"VolumesRW":{}}
|
130
130
|
http_version:
|
131
|
-
recorded_at: Mon,
|
131
|
+
recorded_at: Mon, 20 Apr 2015 23:28:47 GMT
|
132
132
|
- request:
|
133
133
|
method: get
|
134
134
|
uri: "<DOCKER_HOST>/v1.16/containers/and_a_name/json"
|
@@ -148,16 +148,16 @@ http_interactions:
|
|
148
148
|
Content-Type:
|
149
149
|
- application/json
|
150
150
|
Date:
|
151
|
-
- Mon,
|
151
|
+
- Mon, 20 Apr 2015 23:28:47 GMT
|
152
152
|
body:
|
153
153
|
encoding: UTF-8
|
154
154
|
string: |
|
155
|
-
{"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":"
|
155
|
+
{"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":"40eb43c6b1ba","Image":"hawknewton/show-env","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:46.96134269Z","Driver":"aufs","ExecDriver":"native-0.2","ExecIDs":null,"HostConfig":{"Binds":null,"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":null},"HostnamePath":"/mnt/sda1/var/lib/docker/containers/40eb43c6b1ba81088cc465229837d8bfa2daded8c3345a716a61057641b1d462/hostname","HostsPath":"/mnt/sda1/var/lib/docker/containers/40eb43c6b1ba81088cc465229837d8bfa2daded8c3345a716a61057641b1d462/hosts","Id":"40eb43c6b1ba81088cc465229837d8bfa2daded8c3345a716a61057641b1d462","Image":"b9c5be3a918d80b0d898ed8eca3fc76f75c482b531238e539cb00f75bb4e12d2","MountLabel":"","Name":"/and_a_name","NetworkSettings":{"Bridge":"docker0","Gateway":"172.17.42.1","GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"IPAddress":"172.17.7.203","IPPrefixLen":16,"IPv6Gateway":"","LinkLocalIPv6Address":"fe80::42:acff:fe11:7cb","LinkLocalIPv6PrefixLen":64,"MacAddress":"02:42:ac:11:07:cb","PortMapping":null,"Ports":{"80/tcp":null}},"Path":"/bin/sh","ProcessLabel":"","ResolvConfPath":"/mnt/sda1/var/lib/docker/containers/40eb43c6b1ba81088cc465229837d8bfa2daded8c3345a716a61057641b1d462/resolv.conf","RestartCount":0,"State":{"Error":"","ExitCode":0,"FinishedAt":"0001-01-01T00:00:00Z","OOMKilled":false,"Paused":false,"Pid":13461,"Restarting":false,"Running":true,"StartedAt":"2015-04-20T23:28:47.367251632Z"},"Volumes":{},"VolumesRW":{}}
|
156
156
|
http_version:
|
157
|
-
recorded_at: Mon,
|
157
|
+
recorded_at: Mon, 20 Apr 2015 23:28:47 GMT
|
158
158
|
- request:
|
159
159
|
method: post
|
160
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
160
|
+
uri: "<DOCKER_HOST>/v1.16/containers/40eb43c6b1ba81088cc465229837d8bfa2daded8c3345a716a61057641b1d462/kill"
|
161
161
|
body:
|
162
162
|
encoding: US-ASCII
|
163
163
|
string: ''
|
@@ -172,15 +172,15 @@ http_interactions:
|
|
172
172
|
message:
|
173
173
|
headers:
|
174
174
|
Date:
|
175
|
-
- Mon,
|
175
|
+
- Mon, 20 Apr 2015 23:28:47 GMT
|
176
176
|
body:
|
177
177
|
encoding: UTF-8
|
178
178
|
string: ''
|
179
179
|
http_version:
|
180
|
-
recorded_at: Mon,
|
180
|
+
recorded_at: Mon, 20 Apr 2015 23:28:47 GMT
|
181
181
|
- request:
|
182
182
|
method: delete
|
183
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
183
|
+
uri: "<DOCKER_HOST>/v1.16/containers/40eb43c6b1ba81088cc465229837d8bfa2daded8c3345a716a61057641b1d462"
|
184
184
|
body:
|
185
185
|
encoding: US-ASCII
|
186
186
|
string: ''
|
@@ -195,10 +195,10 @@ http_interactions:
|
|
195
195
|
message:
|
196
196
|
headers:
|
197
197
|
Date:
|
198
|
-
- Mon,
|
198
|
+
- Mon, 20 Apr 2015 23:28:47 GMT
|
199
199
|
body:
|
200
200
|
encoding: UTF-8
|
201
201
|
string: ''
|
202
202
|
http_version:
|
203
|
-
recorded_at: Mon,
|
203
|
+
recorded_at: Mon, 20 Apr 2015 23:28:47 GMT
|
204
204
|
recorded_with: VCR 2.9.3
|
@@ -19,18 +19,18 @@ http_interactions:
|
|
19
19
|
Content-Type:
|
20
20
|
- application/json
|
21
21
|
Date:
|
22
|
-
- Mon,
|
22
|
+
- Mon, 20 Apr 2015 23:28:49 GMT
|
23
23
|
Content-Length:
|
24
24
|
- '90'
|
25
25
|
body:
|
26
26
|
encoding: UTF-8
|
27
27
|
string: |
|
28
|
-
{"Id":"
|
28
|
+
{"Id":"355ed6512f5a015a1b95d745afdd12fc6a293ff6f8ad6b897740971a722f805e","Warnings":null}
|
29
29
|
http_version:
|
30
|
-
recorded_at: Mon,
|
30
|
+
recorded_at: Mon, 20 Apr 2015 23:28:48 GMT
|
31
31
|
- request:
|
32
32
|
method: post
|
33
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
33
|
+
uri: "<DOCKER_HOST>/v1.16/containers/355ed6512f5a015a1b95d745afdd12fc6a293ff6f8ad6b897740971a722f805e/start"
|
34
34
|
body:
|
35
35
|
encoding: UTF-8
|
36
36
|
string: '{"Links":null,"ExtraHosts":[],"PortBindings":{},"VolumesFrom":null,"Binds":null}'
|
@@ -45,15 +45,15 @@ http_interactions:
|
|
45
45
|
message:
|
46
46
|
headers:
|
47
47
|
Date:
|
48
|
-
- Mon,
|
48
|
+
- Mon, 20 Apr 2015 23:28:49 GMT
|
49
49
|
body:
|
50
50
|
encoding: UTF-8
|
51
51
|
string: ''
|
52
52
|
http_version:
|
53
|
-
recorded_at: Mon,
|
53
|
+
recorded_at: Mon, 20 Apr 2015 23:28:49 GMT
|
54
54
|
- request:
|
55
55
|
method: get
|
56
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
56
|
+
uri: "<DOCKER_HOST>/v1.16/containers/355ed6512f5a015a1b95d745afdd12fc6a293ff6f8ad6b897740971a722f805e/json"
|
57
57
|
body:
|
58
58
|
encoding: US-ASCII
|
59
59
|
string: ''
|
@@ -70,16 +70,16 @@ http_interactions:
|
|
70
70
|
Content-Type:
|
71
71
|
- application/json
|
72
72
|
Date:
|
73
|
-
- Mon,
|
73
|
+
- Mon, 20 Apr 2015 23:28:49 GMT
|
74
74
|
body:
|
75
75
|
encoding: UTF-8
|
76
76
|
string: |
|
77
|
-
{"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=VALUE1","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":"
|
77
|
+
{"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=VALUE1","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":"355ed6512f5a","Image":"hawknewton/show-env","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:48.974705772Z","Driver":"aufs","ExecDriver":"native-0.2","ExecIDs":null,"HostConfig":{"Binds":null,"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":null},"HostnamePath":"/mnt/sda1/var/lib/docker/containers/355ed6512f5a015a1b95d745afdd12fc6a293ff6f8ad6b897740971a722f805e/hostname","HostsPath":"/mnt/sda1/var/lib/docker/containers/355ed6512f5a015a1b95d745afdd12fc6a293ff6f8ad6b897740971a722f805e/hosts","Id":"355ed6512f5a015a1b95d745afdd12fc6a293ff6f8ad6b897740971a722f805e","Image":"b9c5be3a918d80b0d898ed8eca3fc76f75c482b531238e539cb00f75bb4e12d2","MountLabel":"","Name":"/with_env","NetworkSettings":{"Bridge":"docker0","Gateway":"172.17.42.1","GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"IPAddress":"172.17.7.205","IPPrefixLen":16,"IPv6Gateway":"","LinkLocalIPv6Address":"fe80::42:acff:fe11:7cd","LinkLocalIPv6PrefixLen":64,"MacAddress":"02:42:ac:11:07:cd","PortMapping":null,"Ports":{"80/tcp":null}},"Path":"/bin/sh","ProcessLabel":"","ResolvConfPath":"/mnt/sda1/var/lib/docker/containers/355ed6512f5a015a1b95d745afdd12fc6a293ff6f8ad6b897740971a722f805e/resolv.conf","RestartCount":0,"State":{"Error":"","ExitCode":0,"FinishedAt":"0001-01-01T00:00:00Z","OOMKilled":false,"Paused":false,"Pid":13501,"Restarting":false,"Running":true,"StartedAt":"2015-04-20T23:28:49.567375861Z"},"Volumes":{},"VolumesRW":{}}
|
78
78
|
http_version:
|
79
|
-
recorded_at: Mon,
|
79
|
+
recorded_at: Mon, 20 Apr 2015 23:28:49 GMT
|
80
80
|
- request:
|
81
81
|
method: get
|
82
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
82
|
+
uri: "<DOCKER_HOST>/v1.16/containers/355ed6512f5a015a1b95d745afdd12fc6a293ff6f8ad6b897740971a722f805e/json"
|
83
83
|
body:
|
84
84
|
encoding: US-ASCII
|
85
85
|
string: ''
|
@@ -96,16 +96,16 @@ http_interactions:
|
|
96
96
|
Content-Type:
|
97
97
|
- application/json
|
98
98
|
Date:
|
99
|
-
- Mon,
|
99
|
+
- Mon, 20 Apr 2015 23:28:49 GMT
|
100
100
|
body:
|
101
101
|
encoding: UTF-8
|
102
102
|
string: |
|
103
|
-
{"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=VALUE1","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":"
|
103
|
+
{"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=VALUE1","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":"355ed6512f5a","Image":"hawknewton/show-env","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:48.974705772Z","Driver":"aufs","ExecDriver":"native-0.2","ExecIDs":null,"HostConfig":{"Binds":null,"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":null},"HostnamePath":"/mnt/sda1/var/lib/docker/containers/355ed6512f5a015a1b95d745afdd12fc6a293ff6f8ad6b897740971a722f805e/hostname","HostsPath":"/mnt/sda1/var/lib/docker/containers/355ed6512f5a015a1b95d745afdd12fc6a293ff6f8ad6b897740971a722f805e/hosts","Id":"355ed6512f5a015a1b95d745afdd12fc6a293ff6f8ad6b897740971a722f805e","Image":"b9c5be3a918d80b0d898ed8eca3fc76f75c482b531238e539cb00f75bb4e12d2","MountLabel":"","Name":"/with_env","NetworkSettings":{"Bridge":"docker0","Gateway":"172.17.42.1","GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"IPAddress":"172.17.7.205","IPPrefixLen":16,"IPv6Gateway":"","LinkLocalIPv6Address":"fe80::42:acff:fe11:7cd","LinkLocalIPv6PrefixLen":64,"MacAddress":"02:42:ac:11:07:cd","PortMapping":null,"Ports":{"80/tcp":null}},"Path":"/bin/sh","ProcessLabel":"","ResolvConfPath":"/mnt/sda1/var/lib/docker/containers/355ed6512f5a015a1b95d745afdd12fc6a293ff6f8ad6b897740971a722f805e/resolv.conf","RestartCount":0,"State":{"Error":"","ExitCode":0,"FinishedAt":"0001-01-01T00:00:00Z","OOMKilled":false,"Paused":false,"Pid":13501,"Restarting":false,"Running":true,"StartedAt":"2015-04-20T23:28:49.567375861Z"},"Volumes":{},"VolumesRW":{}}
|
104
104
|
http_version:
|
105
|
-
recorded_at: Mon,
|
105
|
+
recorded_at: Mon, 20 Apr 2015 23:28:49 GMT
|
106
106
|
- request:
|
107
107
|
method: get
|
108
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
108
|
+
uri: "<DOCKER_HOST>/v1.16/containers/355ed6512f5a015a1b95d745afdd12fc6a293ff6f8ad6b897740971a722f805e/json"
|
109
109
|
body:
|
110
110
|
encoding: US-ASCII
|
111
111
|
string: ''
|
@@ -122,13 +122,13 @@ http_interactions:
|
|
122
122
|
Content-Type:
|
123
123
|
- application/json
|
124
124
|
Date:
|
125
|
-
- Mon,
|
125
|
+
- Mon, 20 Apr 2015 23:28:49 GMT
|
126
126
|
body:
|
127
127
|
encoding: UTF-8
|
128
128
|
string: |
|
129
|
-
{"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=VALUE1","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":"
|
129
|
+
{"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=VALUE1","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":"355ed6512f5a","Image":"hawknewton/show-env","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:48.974705772Z","Driver":"aufs","ExecDriver":"native-0.2","ExecIDs":null,"HostConfig":{"Binds":null,"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":null},"HostnamePath":"/mnt/sda1/var/lib/docker/containers/355ed6512f5a015a1b95d745afdd12fc6a293ff6f8ad6b897740971a722f805e/hostname","HostsPath":"/mnt/sda1/var/lib/docker/containers/355ed6512f5a015a1b95d745afdd12fc6a293ff6f8ad6b897740971a722f805e/hosts","Id":"355ed6512f5a015a1b95d745afdd12fc6a293ff6f8ad6b897740971a722f805e","Image":"b9c5be3a918d80b0d898ed8eca3fc76f75c482b531238e539cb00f75bb4e12d2","MountLabel":"","Name":"/with_env","NetworkSettings":{"Bridge":"docker0","Gateway":"172.17.42.1","GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"IPAddress":"172.17.7.205","IPPrefixLen":16,"IPv6Gateway":"","LinkLocalIPv6Address":"fe80::42:acff:fe11:7cd","LinkLocalIPv6PrefixLen":64,"MacAddress":"02:42:ac:11:07:cd","PortMapping":null,"Ports":{"80/tcp":null}},"Path":"/bin/sh","ProcessLabel":"","ResolvConfPath":"/mnt/sda1/var/lib/docker/containers/355ed6512f5a015a1b95d745afdd12fc6a293ff6f8ad6b897740971a722f805e/resolv.conf","RestartCount":0,"State":{"Error":"","ExitCode":0,"FinishedAt":"0001-01-01T00:00:00Z","OOMKilled":false,"Paused":false,"Pid":13501,"Restarting":false,"Running":true,"StartedAt":"2015-04-20T23:28:49.567375861Z"},"Volumes":{},"VolumesRW":{}}
|
130
130
|
http_version:
|
131
|
-
recorded_at: Mon,
|
131
|
+
recorded_at: Mon, 20 Apr 2015 23:28:49 GMT
|
132
132
|
- request:
|
133
133
|
method: get
|
134
134
|
uri: "<DOCKER_HOST>/v1.16/containers/with_env/json"
|
@@ -148,16 +148,16 @@ http_interactions:
|
|
148
148
|
Content-Type:
|
149
149
|
- application/json
|
150
150
|
Date:
|
151
|
-
- Mon,
|
151
|
+
- Mon, 20 Apr 2015 23:28:49 GMT
|
152
152
|
body:
|
153
153
|
encoding: UTF-8
|
154
154
|
string: |
|
155
|
-
{"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=VALUE1","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":"
|
155
|
+
{"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=VALUE1","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":"355ed6512f5a","Image":"hawknewton/show-env","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:48.974705772Z","Driver":"aufs","ExecDriver":"native-0.2","ExecIDs":null,"HostConfig":{"Binds":null,"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":null},"HostnamePath":"/mnt/sda1/var/lib/docker/containers/355ed6512f5a015a1b95d745afdd12fc6a293ff6f8ad6b897740971a722f805e/hostname","HostsPath":"/mnt/sda1/var/lib/docker/containers/355ed6512f5a015a1b95d745afdd12fc6a293ff6f8ad6b897740971a722f805e/hosts","Id":"355ed6512f5a015a1b95d745afdd12fc6a293ff6f8ad6b897740971a722f805e","Image":"b9c5be3a918d80b0d898ed8eca3fc76f75c482b531238e539cb00f75bb4e12d2","MountLabel":"","Name":"/with_env","NetworkSettings":{"Bridge":"docker0","Gateway":"172.17.42.1","GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"IPAddress":"172.17.7.205","IPPrefixLen":16,"IPv6Gateway":"","LinkLocalIPv6Address":"fe80::42:acff:fe11:7cd","LinkLocalIPv6PrefixLen":64,"MacAddress":"02:42:ac:11:07:cd","PortMapping":null,"Ports":{"80/tcp":null}},"Path":"/bin/sh","ProcessLabel":"","ResolvConfPath":"/mnt/sda1/var/lib/docker/containers/355ed6512f5a015a1b95d745afdd12fc6a293ff6f8ad6b897740971a722f805e/resolv.conf","RestartCount":0,"State":{"Error":"","ExitCode":0,"FinishedAt":"0001-01-01T00:00:00Z","OOMKilled":false,"Paused":false,"Pid":13501,"Restarting":false,"Running":true,"StartedAt":"2015-04-20T23:28:49.567375861Z"},"Volumes":{},"VolumesRW":{}}
|
156
156
|
http_version:
|
157
|
-
recorded_at: Mon,
|
157
|
+
recorded_at: Mon, 20 Apr 2015 23:28:49 GMT
|
158
158
|
- request:
|
159
159
|
method: post
|
160
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
160
|
+
uri: "<DOCKER_HOST>/v1.16/containers/355ed6512f5a015a1b95d745afdd12fc6a293ff6f8ad6b897740971a722f805e/kill"
|
161
161
|
body:
|
162
162
|
encoding: US-ASCII
|
163
163
|
string: ''
|
@@ -172,15 +172,15 @@ http_interactions:
|
|
172
172
|
message:
|
173
173
|
headers:
|
174
174
|
Date:
|
175
|
-
- Mon,
|
175
|
+
- Mon, 20 Apr 2015 23:28:49 GMT
|
176
176
|
body:
|
177
177
|
encoding: UTF-8
|
178
178
|
string: ''
|
179
179
|
http_version:
|
180
|
-
recorded_at: Mon,
|
180
|
+
recorded_at: Mon, 20 Apr 2015 23:28:49 GMT
|
181
181
|
- request:
|
182
182
|
method: delete
|
183
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
183
|
+
uri: "<DOCKER_HOST>/v1.16/containers/355ed6512f5a015a1b95d745afdd12fc6a293ff6f8ad6b897740971a722f805e"
|
184
184
|
body:
|
185
185
|
encoding: US-ASCII
|
186
186
|
string: ''
|
@@ -195,10 +195,10 @@ http_interactions:
|
|
195
195
|
message:
|
196
196
|
headers:
|
197
197
|
Date:
|
198
|
-
- Mon,
|
198
|
+
- Mon, 20 Apr 2015 23:28:49 GMT
|
199
199
|
body:
|
200
200
|
encoding: UTF-8
|
201
201
|
string: ''
|
202
202
|
http_version:
|
203
|
-
recorded_at: Mon,
|
203
|
+
recorded_at: Mon, 20 Apr 2015 23:28:49 GMT
|
204
204
|
recorded_with: VCR 2.9.3
|