bigrig 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/Gemfile +2 -0
- data/Gemfile.lock +12 -2
- data/lib/bigrig/descriptor.rb +3 -0
- data/lib/bigrig/output_parser.rb +46 -7
- data/lib/bigrig/version.rb +1 -1
- data/spec/bigrig/descriptor_spec.rb +34 -0
- data/spec/bigrig/output_parser_spec.rb +22 -0
- data/spec/bigrig_spec.rb +9 -1
- data/spec/data/adds_volume.json +17 -0
- data/spec/data/adds_volumes_from.json +17 -0
- data/spec/data/multiple_overrides.json +22 -0
- data/spec/support/vcr.rb +7 -2
- 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 +9 -9
- 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 +10 -10
- 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 +43 -43
- data/spec/vcr/Bigrig_DockerAdapter/_push/should_push_the_image.yml +143 -107
- 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 +27 -27
- data/spec/vcr/Bigrig_DockerAdapter/_run/given_an_image_id_that_exists/and_a_name/starts_the_container_with_the_right_name.yml +28 -28
- 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 +28 -28
- 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 +30 -83
- data/spec/vcr/Bigrig_LogAction/_perform/follows_the_log.yml +17 -17
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_a_path/builds_the_image_before_starting_it.yml +27 -176
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_hosts_by_ip/should_pass_hosts_to_container.yml +41 -41
- 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 +75 -75
- 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 +37 -37
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_one_container/when_a_dead_container_exists/should_remove_existing_containers.yml +39 -39
- 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 +75 -75
- 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 +43 -38
- data/spec/vcr/Bigrig_RunAction/_perform/with_a_file_with_active_profiles/uses_the_overridden_image.yml +39 -39
- 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 +227 -3
- data/spec/vcr/bigrig/dev/spec/data/dev_json/destroys_containers_on_exit.yml +240 -16
- data/spec/vcr/bigrig/dev/spec/data/dev_json/starts_the_containers.yml +238 -14
- data/spec/vcr/bigrig/dev/spec/data/dev_json/tails_the_logs.yml +227 -0
- 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 +28 -28
- data/spec/vcr/bigrig/ship/spec/data/ship_json/with_a_version/builds_and_pushes_the_image.yml +17 -17
- 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 +109 -107
- data/spec/vcr/bigrig_bin_bigrig_dev_spec/data/dev_json_starts_the_containers.yml +108 -108
- data/spec/vcr/bigrig_bin_bigrig_dev_spec/data/dev_json_tails_the_logs.yml +118 -118
- 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 +25 -25
- data/spec/vcr/bigrig_bin_bigrig_run_spec/data/profiles_json_-p_qa_overrides_the_env.yml +25 -25
- data/spec/vcr/bigrig_bin_bigrig_run_spec/data/profiles_json_-p_qa_overrides_the_tag.yml +24 -173
- data/spec/vcr/bigrig_bin_bigrig_run_spec/data/single_json_sends_the_name_of_the_container_to_stdout.yml +25 -25
- data/spec/vcr/bigrig_bin_bigrig_run_spec/data/single_json_starts_the_container.yml +25 -25
- data/spec/vcr/bigrig_bin_bigrig_ship_spec/data/ship_json_with_a_version_-c_cleans_the_image_when_its_done.yml +121 -85
- data/spec/vcr/bigrig_bin_bigrig_ship_spec/data/ship_json_with_a_version_builds_and_pushes_the_image.yml +113 -77
- metadata +6 -3
- data/spec/vcr/bigrig_bin_bigrig_dev_spec/data/dev_json_destroys_containers_on_exit.yml +0 -1070
@@ -19,21 +19,21 @@ http_interactions:
|
|
19
19
|
Content-Type:
|
20
20
|
- application/json
|
21
21
|
Date:
|
22
|
-
-
|
22
|
+
- Mon, 06 Apr 2015 21:59:35 GMT
|
23
23
|
Content-Length:
|
24
24
|
- '90'
|
25
25
|
body:
|
26
26
|
encoding: UTF-8
|
27
27
|
string: |
|
28
|
-
{"Id":"
|
28
|
+
{"Id":"6c9bd4444ea51a62788c560fa980d93fd52410aed9965cfeb8de200dec654469","Warnings":null}
|
29
29
|
http_version:
|
30
|
-
recorded_at:
|
30
|
+
recorded_at: Mon, 06 Apr 2015 21:59:33 GMT
|
31
31
|
- request:
|
32
32
|
method: post
|
33
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
33
|
+
uri: "<DOCKER_HOST>/v1.16/containers/6c9bd4444ea51a62788c560fa980d93fd52410aed9965cfeb8de200dec654469/start"
|
34
34
|
body:
|
35
35
|
encoding: UTF-8
|
36
|
-
string: '{"Links":null,"ExtraHosts":[],"PortBindings":{"80/tcp":[{"HostPort":"
|
36
|
+
string: '{"Links":null,"ExtraHosts":[],"PortBindings":{"80/tcp":[{"HostPort":"55130"}],"70/tcp":[{}]},"VolumesFrom":null,"Binds":null}'
|
37
37
|
headers:
|
38
38
|
User-Agent:
|
39
39
|
- Swipely/Docker-API 1.20.0
|
@@ -45,15 +45,15 @@ http_interactions:
|
|
45
45
|
message:
|
46
46
|
headers:
|
47
47
|
Date:
|
48
|
-
-
|
48
|
+
- Mon, 06 Apr 2015 21:59:35 GMT
|
49
49
|
body:
|
50
50
|
encoding: UTF-8
|
51
51
|
string: ''
|
52
52
|
http_version:
|
53
|
-
recorded_at:
|
53
|
+
recorded_at: Mon, 06 Apr 2015 21:59:34 GMT
|
54
54
|
- request:
|
55
55
|
method: get
|
56
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
56
|
+
uri: "<DOCKER_HOST>/v1.16/containers/6c9bd4444ea51a62788c560fa980d93fd52410aed9965cfeb8de200dec654469/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
|
-
-
|
73
|
+
- Mon, 06 Apr 2015 21:59:35 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":{"70/tcp":{},"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":{"70/tcp":{},"80/tcp":{}},"Hostname":"6c9bd4444ea5","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-06T21:59:34.979757907Z","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":{"70/tcp":[{"HostIp":"","HostPort":""}],"80/tcp":[{"HostIp":"","HostPort":"55130"}]},"Privileged":false,"PublishAllPorts":false,"ReadonlyRootfs":false,"RestartPolicy":{"MaximumRetryCount":0,"Name":""},"SecurityOpt":null,"VolumesFrom":null},"HostnamePath":"/mnt/sda1/var/lib/docker/containers/6c9bd4444ea51a62788c560fa980d93fd52410aed9965cfeb8de200dec654469/hostname","HostsPath":"/mnt/sda1/var/lib/docker/containers/6c9bd4444ea51a62788c560fa980d93fd52410aed9965cfeb8de200dec654469/hosts","Id":"6c9bd4444ea51a62788c560fa980d93fd52410aed9965cfeb8de200dec654469","Image":"b9c5be3a918d80b0d898ed8eca3fc76f75c482b531238e539cb00f75bb4e12d2","MountLabel":"","Name":"/with_ports","NetworkSettings":{"Bridge":"docker0","Gateway":"172.17.42.1","GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"IPAddress":"172.17.1.224","IPPrefixLen":16,"IPv6Gateway":"","LinkLocalIPv6Address":"fe80::42:acff:fe11:1e0","LinkLocalIPv6PrefixLen":64,"MacAddress":"02:42:ac:11:01:e0","PortMapping":null,"Ports":{"70/tcp":[{"HostIp":"0.0.0.0","HostPort":"49163"}],"80/tcp":[{"HostIp":"0.0.0.0","HostPort":"55130"}]}},"Path":"/bin/sh","ProcessLabel":"","ResolvConfPath":"/mnt/sda1/var/lib/docker/containers/6c9bd4444ea51a62788c560fa980d93fd52410aed9965cfeb8de200dec654469/resolv.conf","RestartCount":0,"State":{"Error":"","ExitCode":0,"FinishedAt":"0001-01-01T00:00:00Z","OOMKilled":false,"Paused":false,"Pid":7664,"Restarting":false,"Running":true,"StartedAt":"2015-04-06T21:59:35.6240984Z"},"Volumes":{},"VolumesRW":{}}
|
78
78
|
http_version:
|
79
|
-
recorded_at:
|
79
|
+
recorded_at: Mon, 06 Apr 2015 21:59:34 GMT
|
80
80
|
- request:
|
81
81
|
method: get
|
82
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
82
|
+
uri: "<DOCKER_HOST>/v1.16/containers/6c9bd4444ea51a62788c560fa980d93fd52410aed9965cfeb8de200dec654469/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
|
-
-
|
99
|
+
- Mon, 06 Apr 2015 21:59:35 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":{"70/tcp":{},"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":{"70/tcp":{},"80/tcp":{}},"Hostname":"6c9bd4444ea5","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-06T21:59:34.979757907Z","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":{"70/tcp":[{"HostIp":"","HostPort":""}],"80/tcp":[{"HostIp":"","HostPort":"55130"}]},"Privileged":false,"PublishAllPorts":false,"ReadonlyRootfs":false,"RestartPolicy":{"MaximumRetryCount":0,"Name":""},"SecurityOpt":null,"VolumesFrom":null},"HostnamePath":"/mnt/sda1/var/lib/docker/containers/6c9bd4444ea51a62788c560fa980d93fd52410aed9965cfeb8de200dec654469/hostname","HostsPath":"/mnt/sda1/var/lib/docker/containers/6c9bd4444ea51a62788c560fa980d93fd52410aed9965cfeb8de200dec654469/hosts","Id":"6c9bd4444ea51a62788c560fa980d93fd52410aed9965cfeb8de200dec654469","Image":"b9c5be3a918d80b0d898ed8eca3fc76f75c482b531238e539cb00f75bb4e12d2","MountLabel":"","Name":"/with_ports","NetworkSettings":{"Bridge":"docker0","Gateway":"172.17.42.1","GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"IPAddress":"172.17.1.224","IPPrefixLen":16,"IPv6Gateway":"","LinkLocalIPv6Address":"fe80::42:acff:fe11:1e0","LinkLocalIPv6PrefixLen":64,"MacAddress":"02:42:ac:11:01:e0","PortMapping":null,"Ports":{"70/tcp":[{"HostIp":"0.0.0.0","HostPort":"49163"}],"80/tcp":[{"HostIp":"0.0.0.0","HostPort":"55130"}]}},"Path":"/bin/sh","ProcessLabel":"","ResolvConfPath":"/mnt/sda1/var/lib/docker/containers/6c9bd4444ea51a62788c560fa980d93fd52410aed9965cfeb8de200dec654469/resolv.conf","RestartCount":0,"State":{"Error":"","ExitCode":0,"FinishedAt":"0001-01-01T00:00:00Z","OOMKilled":false,"Paused":false,"Pid":7664,"Restarting":false,"Running":true,"StartedAt":"2015-04-06T21:59:35.6240984Z"},"Volumes":{},"VolumesRW":{}}
|
104
104
|
http_version:
|
105
|
-
recorded_at:
|
105
|
+
recorded_at: Mon, 06 Apr 2015 21:59:34 GMT
|
106
106
|
- request:
|
107
107
|
method: get
|
108
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
108
|
+
uri: "<DOCKER_HOST>/v1.16/containers/6c9bd4444ea51a62788c560fa980d93fd52410aed9965cfeb8de200dec654469/json"
|
109
109
|
body:
|
110
110
|
encoding: US-ASCII
|
111
111
|
string: ''
|
@@ -122,16 +122,16 @@ http_interactions:
|
|
122
122
|
Content-Type:
|
123
123
|
- application/json
|
124
124
|
Date:
|
125
|
-
-
|
125
|
+
- Mon, 06 Apr 2015 21:59:35 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":{"70/tcp":{},"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":{"70/tcp":{},"80/tcp":{}},"Hostname":"6c9bd4444ea5","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-06T21:59:34.979757907Z","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":{"70/tcp":[{"HostIp":"","HostPort":""}],"80/tcp":[{"HostIp":"","HostPort":"55130"}]},"Privileged":false,"PublishAllPorts":false,"ReadonlyRootfs":false,"RestartPolicy":{"MaximumRetryCount":0,"Name":""},"SecurityOpt":null,"VolumesFrom":null},"HostnamePath":"/mnt/sda1/var/lib/docker/containers/6c9bd4444ea51a62788c560fa980d93fd52410aed9965cfeb8de200dec654469/hostname","HostsPath":"/mnt/sda1/var/lib/docker/containers/6c9bd4444ea51a62788c560fa980d93fd52410aed9965cfeb8de200dec654469/hosts","Id":"6c9bd4444ea51a62788c560fa980d93fd52410aed9965cfeb8de200dec654469","Image":"b9c5be3a918d80b0d898ed8eca3fc76f75c482b531238e539cb00f75bb4e12d2","MountLabel":"","Name":"/with_ports","NetworkSettings":{"Bridge":"docker0","Gateway":"172.17.42.1","GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"IPAddress":"172.17.1.224","IPPrefixLen":16,"IPv6Gateway":"","LinkLocalIPv6Address":"fe80::42:acff:fe11:1e0","LinkLocalIPv6PrefixLen":64,"MacAddress":"02:42:ac:11:01:e0","PortMapping":null,"Ports":{"70/tcp":[{"HostIp":"0.0.0.0","HostPort":"49163"}],"80/tcp":[{"HostIp":"0.0.0.0","HostPort":"55130"}]}},"Path":"/bin/sh","ProcessLabel":"","ResolvConfPath":"/mnt/sda1/var/lib/docker/containers/6c9bd4444ea51a62788c560fa980d93fd52410aed9965cfeb8de200dec654469/resolv.conf","RestartCount":0,"State":{"Error":"","ExitCode":0,"FinishedAt":"0001-01-01T00:00:00Z","OOMKilled":false,"Paused":false,"Pid":7664,"Restarting":false,"Running":true,"StartedAt":"2015-04-06T21:59:35.6240984Z"},"Volumes":{},"VolumesRW":{}}
|
130
130
|
http_version:
|
131
|
-
recorded_at:
|
131
|
+
recorded_at: Mon, 06 Apr 2015 21:59:34 GMT
|
132
132
|
- request:
|
133
133
|
method: get
|
134
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
134
|
+
uri: "<DOCKER_HOST>/v1.16/containers/6c9bd4444ea51a62788c560fa980d93fd52410aed9965cfeb8de200dec654469/json"
|
135
135
|
body:
|
136
136
|
encoding: US-ASCII
|
137
137
|
string: ''
|
@@ -148,13 +148,13 @@ http_interactions:
|
|
148
148
|
Content-Type:
|
149
149
|
- application/json
|
150
150
|
Date:
|
151
|
-
-
|
151
|
+
- Mon, 06 Apr 2015 21:59:35 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":{"70/tcp":{},"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":{"70/tcp":{},"80/tcp":{}},"Hostname":"6c9bd4444ea5","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-06T21:59:34.979757907Z","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":{"70/tcp":[{"HostIp":"","HostPort":""}],"80/tcp":[{"HostIp":"","HostPort":"55130"}]},"Privileged":false,"PublishAllPorts":false,"ReadonlyRootfs":false,"RestartPolicy":{"MaximumRetryCount":0,"Name":""},"SecurityOpt":null,"VolumesFrom":null},"HostnamePath":"/mnt/sda1/var/lib/docker/containers/6c9bd4444ea51a62788c560fa980d93fd52410aed9965cfeb8de200dec654469/hostname","HostsPath":"/mnt/sda1/var/lib/docker/containers/6c9bd4444ea51a62788c560fa980d93fd52410aed9965cfeb8de200dec654469/hosts","Id":"6c9bd4444ea51a62788c560fa980d93fd52410aed9965cfeb8de200dec654469","Image":"b9c5be3a918d80b0d898ed8eca3fc76f75c482b531238e539cb00f75bb4e12d2","MountLabel":"","Name":"/with_ports","NetworkSettings":{"Bridge":"docker0","Gateway":"172.17.42.1","GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"IPAddress":"172.17.1.224","IPPrefixLen":16,"IPv6Gateway":"","LinkLocalIPv6Address":"fe80::42:acff:fe11:1e0","LinkLocalIPv6PrefixLen":64,"MacAddress":"02:42:ac:11:01:e0","PortMapping":null,"Ports":{"70/tcp":[{"HostIp":"0.0.0.0","HostPort":"49163"}],"80/tcp":[{"HostIp":"0.0.0.0","HostPort":"55130"}]}},"Path":"/bin/sh","ProcessLabel":"","ResolvConfPath":"/mnt/sda1/var/lib/docker/containers/6c9bd4444ea51a62788c560fa980d93fd52410aed9965cfeb8de200dec654469/resolv.conf","RestartCount":0,"State":{"Error":"","ExitCode":0,"FinishedAt":"0001-01-01T00:00:00Z","OOMKilled":false,"Paused":false,"Pid":7664,"Restarting":false,"Running":true,"StartedAt":"2015-04-06T21:59:35.6240984Z"},"Volumes":{},"VolumesRW":{}}
|
156
156
|
http_version:
|
157
|
-
recorded_at:
|
157
|
+
recorded_at: Mon, 06 Apr 2015 21:59:34 GMT
|
158
158
|
- request:
|
159
159
|
method: get
|
160
160
|
uri: "<DOCKER_HOST>/v1.16/containers/with_ports/json"
|
@@ -174,16 +174,16 @@ http_interactions:
|
|
174
174
|
Content-Type:
|
175
175
|
- application/json
|
176
176
|
Date:
|
177
|
-
-
|
177
|
+
- Mon, 06 Apr 2015 21:59:35 GMT
|
178
178
|
body:
|
179
179
|
encoding: UTF-8
|
180
180
|
string: |
|
181
|
-
{"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":{"70/tcp":{},"80/tcp":{}},"Hostname":"
|
181
|
+
{"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":{"70/tcp":{},"80/tcp":{}},"Hostname":"6c9bd4444ea5","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-06T21:59:34.979757907Z","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":{"70/tcp":[{"HostIp":"","HostPort":""}],"80/tcp":[{"HostIp":"","HostPort":"55130"}]},"Privileged":false,"PublishAllPorts":false,"ReadonlyRootfs":false,"RestartPolicy":{"MaximumRetryCount":0,"Name":""},"SecurityOpt":null,"VolumesFrom":null},"HostnamePath":"/mnt/sda1/var/lib/docker/containers/6c9bd4444ea51a62788c560fa980d93fd52410aed9965cfeb8de200dec654469/hostname","HostsPath":"/mnt/sda1/var/lib/docker/containers/6c9bd4444ea51a62788c560fa980d93fd52410aed9965cfeb8de200dec654469/hosts","Id":"6c9bd4444ea51a62788c560fa980d93fd52410aed9965cfeb8de200dec654469","Image":"b9c5be3a918d80b0d898ed8eca3fc76f75c482b531238e539cb00f75bb4e12d2","MountLabel":"","Name":"/with_ports","NetworkSettings":{"Bridge":"docker0","Gateway":"172.17.42.1","GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"IPAddress":"172.17.1.224","IPPrefixLen":16,"IPv6Gateway":"","LinkLocalIPv6Address":"fe80::42:acff:fe11:1e0","LinkLocalIPv6PrefixLen":64,"MacAddress":"02:42:ac:11:01:e0","PortMapping":null,"Ports":{"70/tcp":[{"HostIp":"0.0.0.0","HostPort":"49163"}],"80/tcp":[{"HostIp":"0.0.0.0","HostPort":"55130"}]}},"Path":"/bin/sh","ProcessLabel":"","ResolvConfPath":"/mnt/sda1/var/lib/docker/containers/6c9bd4444ea51a62788c560fa980d93fd52410aed9965cfeb8de200dec654469/resolv.conf","RestartCount":0,"State":{"Error":"","ExitCode":0,"FinishedAt":"0001-01-01T00:00:00Z","OOMKilled":false,"Paused":false,"Pid":7664,"Restarting":false,"Running":true,"StartedAt":"2015-04-06T21:59:35.6240984Z"},"Volumes":{},"VolumesRW":{}}
|
182
182
|
http_version:
|
183
|
-
recorded_at:
|
183
|
+
recorded_at: Mon, 06 Apr 2015 21:59:34 GMT
|
184
184
|
- request:
|
185
185
|
method: post
|
186
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
186
|
+
uri: "<DOCKER_HOST>/v1.16/containers/6c9bd4444ea51a62788c560fa980d93fd52410aed9965cfeb8de200dec654469/kill"
|
187
187
|
body:
|
188
188
|
encoding: US-ASCII
|
189
189
|
string: ''
|
@@ -198,15 +198,15 @@ http_interactions:
|
|
198
198
|
message:
|
199
199
|
headers:
|
200
200
|
Date:
|
201
|
-
-
|
201
|
+
- Mon, 06 Apr 2015 21:59:36 GMT
|
202
202
|
body:
|
203
203
|
encoding: UTF-8
|
204
204
|
string: ''
|
205
205
|
http_version:
|
206
|
-
recorded_at:
|
206
|
+
recorded_at: Mon, 06 Apr 2015 21:59:34 GMT
|
207
207
|
- request:
|
208
208
|
method: delete
|
209
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
209
|
+
uri: "<DOCKER_HOST>/v1.16/containers/6c9bd4444ea51a62788c560fa980d93fd52410aed9965cfeb8de200dec654469"
|
210
210
|
body:
|
211
211
|
encoding: US-ASCII
|
212
212
|
string: ''
|
@@ -221,10 +221,10 @@ http_interactions:
|
|
221
221
|
message:
|
222
222
|
headers:
|
223
223
|
Date:
|
224
|
-
-
|
224
|
+
- Mon, 06 Apr 2015 21:59:36 GMT
|
225
225
|
body:
|
226
226
|
encoding: UTF-8
|
227
227
|
string: ''
|
228
228
|
http_version:
|
229
|
-
recorded_at:
|
229
|
+
recorded_at: Mon, 06 Apr 2015 21:59:34 GMT
|
230
230
|
recorded_with: VCR 2.9.3
|
data/spec/vcr/Bigrig_DockerAdapter/_running_/when_the_container_does_not_exist/returns_false.yml
CHANGED
@@ -19,7 +19,7 @@ http_interactions:
|
|
19
19
|
Content-Type:
|
20
20
|
- text/plain; charset=utf-8
|
21
21
|
Date:
|
22
|
-
-
|
22
|
+
- Mon, 06 Apr 2015 21:59:38 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:
|
30
|
+
recorded_at: Mon, 06 Apr 2015 21:59:37 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
|
-
-
|
50
|
+
- Mon, 06 Apr 2015 21:59:38 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:
|
58
|
+
recorded_at: Mon, 06 Apr 2015 21:59:37 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
|
-
-
|
78
|
+
- Mon, 06 Apr 2015 21:59:38 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:
|
86
|
+
recorded_at: Mon, 06 Apr 2015 21:59:37 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
|
-
-
|
106
|
+
- Mon, 06 Apr 2015 21:59:38 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:
|
114
|
+
recorded_at: Mon, 06 Apr 2015 21:59:37 GMT
|
115
115
|
recorded_with: VCR 2.9.3
|
data/spec/vcr/Bigrig_DockerAdapter/_running_/when_the_container_is_not_running/returns_false.yml
CHANGED
@@ -19,18 +19,18 @@ http_interactions:
|
|
19
19
|
Content-Type:
|
20
20
|
- application/json
|
21
21
|
Date:
|
22
|
-
-
|
22
|
+
- Mon, 06 Apr 2015 21:59:38 GMT
|
23
23
|
Content-Length:
|
24
24
|
- '90'
|
25
25
|
body:
|
26
26
|
encoding: UTF-8
|
27
27
|
string: |
|
28
|
-
{"Id":"
|
28
|
+
{"Id":"397d41bd644cfc0bfb1919f0900ca9f5981095637310b29d423af40f824b6e92","Warnings":null}
|
29
29
|
http_version:
|
30
|
-
recorded_at:
|
30
|
+
recorded_at: Mon, 06 Apr 2015 21:59:37 GMT
|
31
31
|
- request:
|
32
32
|
method: get
|
33
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
33
|
+
uri: "<DOCKER_HOST>/v1.16/containers/397d41bd644cfc0bfb1919f0900ca9f5981095637310b29d423af40f824b6e92/json"
|
34
34
|
body:
|
35
35
|
encoding: US-ASCII
|
36
36
|
string: ''
|
@@ -47,18 +47,18 @@ http_interactions:
|
|
47
47
|
Content-Type:
|
48
48
|
- application/json
|
49
49
|
Date:
|
50
|
-
-
|
50
|
+
- Mon, 06 Apr 2015 21:59:38 GMT
|
51
51
|
Content-Length:
|
52
|
-
- '
|
52
|
+
- '1938'
|
53
53
|
body:
|
54
54
|
encoding: UTF-8
|
55
55
|
string: |
|
56
|
-
{"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":"
|
56
|
+
{"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":"397d41bd644c","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-06T21:59:38.357970253Z","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":"","HostsPath":"","Id":"397d41bd644cfc0bfb1919f0900ca9f5981095637310b29d423af40f824b6e92","Image":"b9c5be3a918d80b0d898ed8eca3fc76f75c482b531238e539cb00f75bb4e12d2","MountLabel":"","Name":"/cocky_elion","NetworkSettings":{"Bridge":"","Gateway":"","GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"IPAddress":"","IPPrefixLen":0,"IPv6Gateway":"","LinkLocalIPv6Address":"","LinkLocalIPv6PrefixLen":0,"MacAddress":"","PortMapping":null,"Ports":null},"Path":"/bin/sh","ProcessLabel":"","ResolvConfPath":"","RestartCount":0,"State":{"Error":"","ExitCode":0,"FinishedAt":"0001-01-01T00:00:00Z","OOMKilled":false,"Paused":false,"Pid":0,"Restarting":false,"Running":false,"StartedAt":"0001-01-01T00:00:00Z"},"Volumes":{},"VolumesRW":{}}
|
57
57
|
http_version:
|
58
|
-
recorded_at:
|
58
|
+
recorded_at: Mon, 06 Apr 2015 21:59:37 GMT
|
59
59
|
- request:
|
60
60
|
method: delete
|
61
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
61
|
+
uri: "<DOCKER_HOST>/v1.16/containers/397d41bd644cfc0bfb1919f0900ca9f5981095637310b29d423af40f824b6e92?force=true"
|
62
62
|
body:
|
63
63
|
encoding: US-ASCII
|
64
64
|
string: ''
|
@@ -73,10 +73,10 @@ http_interactions:
|
|
73
73
|
message:
|
74
74
|
headers:
|
75
75
|
Date:
|
76
|
-
-
|
76
|
+
- Mon, 06 Apr 2015 21:59:38 GMT
|
77
77
|
body:
|
78
78
|
encoding: UTF-8
|
79
79
|
string: ''
|
80
80
|
http_version:
|
81
|
-
recorded_at:
|
81
|
+
recorded_at: Mon, 06 Apr 2015 21:59:37 GMT
|
82
82
|
recorded_with: VCR 2.9.3
|
@@ -19,18 +19,18 @@ http_interactions:
|
|
19
19
|
Content-Type:
|
20
20
|
- application/json
|
21
21
|
Date:
|
22
|
-
-
|
22
|
+
- Mon, 06 Apr 2015 21:59:37 GMT
|
23
23
|
Content-Length:
|
24
24
|
- '90'
|
25
25
|
body:
|
26
26
|
encoding: UTF-8
|
27
27
|
string: |
|
28
|
-
{"Id":"
|
28
|
+
{"Id":"59b29554aa4dac1fb9d8785193861989b8b57b86e4f39e114c9bd98247bd37e0","Warnings":null}
|
29
29
|
http_version:
|
30
|
-
recorded_at:
|
30
|
+
recorded_at: Mon, 06 Apr 2015 21:59:36 GMT
|
31
31
|
- request:
|
32
32
|
method: post
|
33
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
33
|
+
uri: "<DOCKER_HOST>/v1.16/containers/59b29554aa4dac1fb9d8785193861989b8b57b86e4f39e114c9bd98247bd37e0/start"
|
34
34
|
body:
|
35
35
|
encoding: UTF-8
|
36
36
|
string: "{}"
|
@@ -45,15 +45,15 @@ http_interactions:
|
|
45
45
|
message:
|
46
46
|
headers:
|
47
47
|
Date:
|
48
|
-
-
|
48
|
+
- Mon, 06 Apr 2015 21:59:38 GMT
|
49
49
|
body:
|
50
50
|
encoding: UTF-8
|
51
51
|
string: ''
|
52
52
|
http_version:
|
53
|
-
recorded_at:
|
53
|
+
recorded_at: Mon, 06 Apr 2015 21:59:36 GMT
|
54
54
|
- request:
|
55
55
|
method: get
|
56
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
56
|
+
uri: "<DOCKER_HOST>/v1.16/containers/59b29554aa4dac1fb9d8785193861989b8b57b86e4f39e114c9bd98247bd37e0/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
|
-
-
|
73
|
+
- Mon, 06 Apr 2015 21:59:38 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":"59b29554aa4d","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-06T21:59:37.308635432Z","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/59b29554aa4dac1fb9d8785193861989b8b57b86e4f39e114c9bd98247bd37e0/hostname","HostsPath":"/mnt/sda1/var/lib/docker/containers/59b29554aa4dac1fb9d8785193861989b8b57b86e4f39e114c9bd98247bd37e0/hosts","Id":"59b29554aa4dac1fb9d8785193861989b8b57b86e4f39e114c9bd98247bd37e0","Image":"b9c5be3a918d80b0d898ed8eca3fc76f75c482b531238e539cb00f75bb4e12d2","MountLabel":"","Name":"/ecstatic_lovelace","NetworkSettings":{"Bridge":"docker0","Gateway":"172.17.42.1","GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"IPAddress":"172.17.1.226","IPPrefixLen":16,"IPv6Gateway":"","LinkLocalIPv6Address":"fe80::42:acff:fe11:1e2","LinkLocalIPv6PrefixLen":64,"MacAddress":"02:42:ac:11:01:e2","PortMapping":null,"Ports":{"80/tcp":null}},"Path":"/bin/sh","ProcessLabel":"","ResolvConfPath":"/mnt/sda1/var/lib/docker/containers/59b29554aa4dac1fb9d8785193861989b8b57b86e4f39e114c9bd98247bd37e0/resolv.conf","RestartCount":0,"State":{"Error":"","ExitCode":0,"FinishedAt":"0001-01-01T00:00:00Z","OOMKilled":false,"Paused":false,"Pid":7688,"Restarting":false,"Running":true,"StartedAt":"2015-04-06T21:59:38.014211815Z"},"Volumes":{},"VolumesRW":{}}
|
78
78
|
http_version:
|
79
|
-
recorded_at:
|
79
|
+
recorded_at: Mon, 06 Apr 2015 21:59:36 GMT
|
80
80
|
- request:
|
81
81
|
method: delete
|
82
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
82
|
+
uri: "<DOCKER_HOST>/v1.16/containers/59b29554aa4dac1fb9d8785193861989b8b57b86e4f39e114c9bd98247bd37e0?force=true"
|
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
|
-
-
|
97
|
+
- Mon, 06 Apr 2015 21:59:38 GMT
|
98
98
|
body:
|
99
99
|
encoding: UTF-8
|
100
100
|
string: ''
|
101
101
|
http_version:
|
102
|
-
recorded_at:
|
102
|
+
recorded_at: Mon, 06 Apr 2015 21:59:36 GMT
|
103
103
|
recorded_with: VCR 2.9.3
|