bigrig 0.6.0 → 0.6.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 +4 -0
- data/Gemfile.lock +4 -1
- data/lib/bigrig/docker_adapter.rb +1 -1
- data/lib/bigrig/version.rb +1 -1
- data/spec/bigrig/docker_adapter_spec.rb +1 -1
- 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 +51 -51
- 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 +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 +10 -10
- 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 +24 -24
- 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 +44 -44
- data/spec/vcr/Bigrig_DockerAdapter/_push/should_push_the_image.yml +697 -252
- 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/sets_the_hostname.yml +24 -24
- 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 +33 -33
- 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 +10 -10
- 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 +53 -52
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_hosts_by_ip/should_pass_hosts_to_container.yml +58 -58
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_hosts_by_name/should_lookup_ips_for_hosts_with_a_hostname.yml +57 -57
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_links/should_pass_links_to_the_right_container.yml +105 -105
- 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 +52 -52
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_one_container/when_a_dead_container_exists/should_remove_existing_containers.yml +56 -56
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_volumes/should_pass_volumes_to_the_right_container.yml +56 -56
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_volumes_from/should_pass_volumes_from_to_the_right_container.yml +105 -105
- 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 +212 -67
- data/spec/vcr/Bigrig_RunAction/_perform/with_a_file_with_active_profiles/uses_the_overridden_image.yml +54 -54
- 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 +67 -179
- data/spec/vcr/bigrig/dev/spec/data/dev_json/destroys_containers_on_exit.yml +34 -34
- data/spec/vcr/bigrig/dev/spec/data/dev_json/starts_the_containers.yml +83 -111
- data/spec/vcr/bigrig/dev/spec/data/dev_json/tails_the_logs.yml +18 -18
- data/spec/vcr/bigrig/dev/spec/data/scan_json/leaves_unaffected_containers_alone_when_the_scanned_file_changes.yml +266 -210
- data/spec/vcr/bigrig/dev/spec/data/scan_json/restarts_dependant_containers_when_the_scanned_file_changes.yml +249 -223
- data/spec/vcr/bigrig/dev/spec/data/scan_json/restarts_the_container_when_the_scanned_file_changes.yml +211 -353
- 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/run/spec/data/wait_for/bigrig_json/waits_for_wait_for.yml +24 -24
- data/spec/vcr/bigrig/run/spec/data/wait_for_broken_json/fails_with_an_error.yml +9 -9
- 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 +16 -16
- 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 +50 -158
- data/spec/vcr/bigrig_bin_bigrig_dev_spec/data/dev_json_starts_the_containers.yml +91 -66
- data/spec/vcr/bigrig_bin_bigrig_dev_spec/data/dev_json_tails_the_logs.yml +167 -167
- data/spec/vcr/bigrig_bin_bigrig_dev_spec/data/scan_json_leaves_unaffected_containers_alone_when_the_scanned_file_changes.yml +353 -353
- data/spec/vcr/bigrig_bin_bigrig_dev_spec/data/scan_json_restarts_dependant_containers_when_the_scanned_file_changes.yml +322 -322
- data/spec/vcr/bigrig_bin_bigrig_dev_spec/data/scan_json_restarts_the_container_when_the_scanned_file_changes.yml +325 -327
- 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 +40 -40
- data/spec/vcr/bigrig_bin_bigrig_run_spec/data/profiles_json_-p_qa_overrides_the_env.yml +40 -40
- data/spec/vcr/bigrig_bin_bigrig_run_spec/data/profiles_json_-p_qa_overrides_the_tag.yml +40 -40
- data/spec/vcr/bigrig_bin_bigrig_run_spec/data/single_json_sends_the_name_of_the_container_to_stdout.yml +40 -40
- data/spec/vcr/bigrig_bin_bigrig_run_spec/data/single_json_starts_the_container.yml +40 -40
- data/spec/vcr/bigrig_bin_bigrig_run_spec/data/wait_for/bigrig_json_waits_for_wait_for.yml +60 -60
- data/spec/vcr/bigrig_bin_bigrig_run_spec/data/wait_for_broken_json_fails_with_an_error.yml +60 -60
- data/spec/vcr/bigrig_bin_bigrig_ship_spec/data/ship_json_with_a_version_-c_cleans_the_image_when_its_done.yml +661 -216
- data/spec/vcr/bigrig_bin_bigrig_ship_spec/data/ship_json_with_a_version_builds_and_pushes_the_image.yml +662 -217
- metadata +2 -2
@@ -19,7 +19,7 @@ http_interactions:
|
|
19
19
|
Content-Type:
|
20
20
|
- application/json
|
21
21
|
Date:
|
22
|
-
-
|
22
|
+
- Tue, 23 Jun 2015 01:01:29 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:
|
39
|
+
recorded_at: Tue, 23 Jun 2015 01:01:31 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
|
-
-
|
59
|
+
- Tue, 23 Jun 2015 01:01:32 GMT
|
60
60
|
Content-Length:
|
61
61
|
- '90'
|
62
62
|
body:
|
63
63
|
encoding: UTF-8
|
64
64
|
string: |
|
65
|
-
{"Id":"
|
65
|
+
{"Id":"02d0e5fd199615fd8d52f5bfbd0b38bb536d25e3eb2c35994c698355bcb5e2ab","Warnings":null}
|
66
66
|
http_version:
|
67
|
-
recorded_at:
|
67
|
+
recorded_at: Tue, 23 Jun 2015 01:01:32 GMT
|
68
68
|
- request:
|
69
69
|
method: post
|
70
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
70
|
+
uri: "<DOCKER_HOST>/v1.16/containers/02d0e5fd199615fd8d52f5bfbd0b38bb536d25e3eb2c35994c698355bcb5e2ab/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
|
-
-
|
85
|
+
- Tue, 23 Jun 2015 01:01:32 GMT
|
86
86
|
body:
|
87
87
|
encoding: UTF-8
|
88
88
|
string: ''
|
89
89
|
http_version:
|
90
|
-
recorded_at:
|
90
|
+
recorded_at: Tue, 23 Jun 2015 01:01:32 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
|
-
-
|
110
|
+
- Tue, 23 Jun 2015 01:01:37 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":"02d0e5fd1996","Image":"bf0f8a45f956","Labels":{},"MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":null,"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Created":"2015-06-23T01:01:32.028597322Z","Driver":"aufs","ExecDriver":"native-0.2","ExecIDs":null,"HostConfig":{"Binds":null,"CapAdd":null,"CapDrop":null,"CgroupParent":"","ContainerIDFile":"","CpuShares":0,"CpusetCpus":"","Devices":null,"Dns":null,"DnsSearch":null,"ExtraHosts":null,"IpcMode":"","Links":null,"LogConfig":{"Config":null,"Type":"json-file"},"LxcConf":null,"Memory":0,"MemorySwap":0,"NetworkMode":"","PidMode":"","PortBindings":null,"Privileged":false,"PublishAllPorts":false,"ReadonlyRootfs":false,"RestartPolicy":{"MaximumRetryCount":0,"Name":""},"SecurityOpt":null,"Ulimits":null,"VolumesFrom":null},"HostnamePath":"/mnt/sda1/var/lib/docker/containers/02d0e5fd199615fd8d52f5bfbd0b38bb536d25e3eb2c35994c698355bcb5e2ab/hostname","HostsPath":"/mnt/sda1/var/lib/docker/containers/02d0e5fd199615fd8d52f5bfbd0b38bb536d25e3eb2c35994c698355bcb5e2ab/hosts","Id":"02d0e5fd199615fd8d52f5bfbd0b38bb536d25e3eb2c35994c698355bcb5e2ab","Image":"bf0f8a45f956aa470ab3c916c83925fdcffce23d37b1a9e33998561ce54ca030","LogPath":"/mnt/sda1/var/lib/docker/containers/02d0e5fd199615fd8d52f5bfbd0b38bb536d25e3eb2c35994c698355bcb5e2ab/02d0e5fd199615fd8d52f5bfbd0b38bb536d25e3eb2c35994c698355bcb5e2ab-json.log","MountLabel":"","Name":"/log-test","NetworkSettings":{"Bridge":"docker0","Gateway":"172.17.42.1","GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"IPAddress":"172.17.0.129","IPPrefixLen":16,"IPv6Gateway":"","LinkLocalIPv6Address":"fe80::42:acff:fe11:81","LinkLocalIPv6PrefixLen":64,"MacAddress":"02:42:ac:11:00:81","PortMapping":null,"Ports":{}},"Path":"/run.sh","ProcessLabel":"","ResolvConfPath":"/mnt/sda1/var/lib/docker/containers/02d0e5fd199615fd8d52f5bfbd0b38bb536d25e3eb2c35994c698355bcb5e2ab/resolv.conf","RestartCount":0,"State":{"Dead":false,"Error":"","ExitCode":0,"FinishedAt":"0001-01-01T00:00:00Z","OOMKilled":false,"Paused":false,"Pid":10783,"Restarting":false,"Running":true,"StartedAt":"2015-06-23T01:01:32.386657781Z"},"Volumes":{},"VolumesRW":{}}
|
115
115
|
http_version:
|
116
|
-
recorded_at:
|
116
|
+
recorded_at: Tue, 23 Jun 2015 01:01:37 GMT
|
117
117
|
- request:
|
118
118
|
method: post
|
119
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
119
|
+
uri: "<DOCKER_HOST>/v1.16/containers/02d0e5fd199615fd8d52f5bfbd0b38bb536d25e3eb2c35994c698355bcb5e2ab/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
|
-
-
|
134
|
+
- Tue, 23 Jun 2015 01:01:37 GMT
|
135
135
|
body:
|
136
136
|
encoding: UTF-8
|
137
137
|
string: ''
|
138
138
|
http_version:
|
139
|
-
recorded_at:
|
139
|
+
recorded_at: Tue, 23 Jun 2015 01:01:37 GMT
|
140
140
|
- request:
|
141
141
|
method: delete
|
142
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
142
|
+
uri: "<DOCKER_HOST>/v1.16/containers/02d0e5fd199615fd8d52f5bfbd0b38bb536d25e3eb2c35994c698355bcb5e2ab"
|
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
|
-
-
|
157
|
+
- Tue, 23 Jun 2015 01:01:37 GMT
|
158
158
|
body:
|
159
159
|
encoding: UTF-8
|
160
160
|
string: ''
|
161
161
|
http_version:
|
162
|
-
recorded_at:
|
162
|
+
recorded_at: Tue, 23 Jun 2015 01:01:37 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=HNEWTONMAC3
|
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:
|
37
|
+
recorded_at: Tue, 23 Jun 2015 01:01:47 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
|
-
-
|
57
|
+
- Tue, 23 Jun 2015 01:01:47 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":"HNEWTONMAC3","Image":"b9c5be3a918d80b0d898ed8eca3fc76f75c482b531238e539cb00f75bb4e12d2","Labels":{},"MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":null,"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Created":"2015-06-23T01:01:46.560283841Z","Driver":"aufs","ExecDriver":"native-0.2","ExecIDs":["eb16c680a37f38811033c4ea596338b402be18f7af3a773037fb55b27f640755"],"HostConfig":{"Binds":[],"CapAdd":null,"CapDrop":null,"CgroupParent":"","ContainerIDFile":"","CpuShares":0,"CpusetCpus":"","Devices":null,"Dns":null,"DnsSearch":null,"ExtraHosts":[],"IpcMode":"","Links":null,"LogConfig":{"Config":null,"Type":"json-file"},"LxcConf":null,"Memory":0,"MemorySwap":0,"NetworkMode":"","PidMode":"","PortBindings":{"80/tcp":[{"HostIp":"","HostPort":"4567"}]},"Privileged":false,"PublishAllPorts":false,"ReadonlyRootfs":false,"RestartPolicy":{"MaximumRetryCount":0,"Name":""},"SecurityOpt":null,"Ulimits":null,"VolumesFrom":[]},"HostnamePath":"/mnt/sda1/var/lib/docker/containers/56cf5893bc8b89865b24b506050ce2692457a212dc61d2833e70c785779cbc84/hostname","HostsPath":"/mnt/sda1/var/lib/docker/containers/56cf5893bc8b89865b24b506050ce2692457a212dc61d2833e70c785779cbc84/hosts","Id":"56cf5893bc8b89865b24b506050ce2692457a212dc61d2833e70c785779cbc84","Image":"b9c5be3a918d80b0d898ed8eca3fc76f75c482b531238e539cb00f75bb4e12d2","LogPath":"/mnt/sda1/var/lib/docker/containers/56cf5893bc8b89865b24b506050ce2692457a212dc61d2833e70c785779cbc84/56cf5893bc8b89865b24b506050ce2692457a212dc61d2833e70c785779cbc84-json.log","MountLabel":"","Name":"/profiles","NetworkSettings":{"Bridge":"docker0","Gateway":"172.17.42.1","GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"IPAddress":"172.17.0.134","IPPrefixLen":16,"IPv6Gateway":"","LinkLocalIPv6Address":"fe80::42:acff:fe11:86","LinkLocalIPv6PrefixLen":64,"MacAddress":"02:42:ac:11:00:86","PortMapping":null,"Ports":{"80/tcp":[{"HostIp":"0.0.0.0","HostPort":"4567"}]}},"Path":"/bin/sh","ProcessLabel":"","ResolvConfPath":"/mnt/sda1/var/lib/docker/containers/56cf5893bc8b89865b24b506050ce2692457a212dc61d2833e70c785779cbc84/resolv.conf","RestartCount":0,"State":{"Dead":false,"Error":"","ExitCode":0,"FinishedAt":"0001-01-01T00:00:00Z","OOMKilled":false,"Paused":false,"Pid":10902,"Restarting":false,"Running":true,"StartedAt":"2015-06-23T01:01:47.088713577Z"},"Volumes":{},"VolumesRW":{}}
|
62
62
|
http_version:
|
63
|
-
recorded_at:
|
63
|
+
recorded_at: Tue, 23 Jun 2015 01:01:47 GMT
|
64
64
|
- request:
|
65
65
|
method: post
|
66
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
66
|
+
uri: "<DOCKER_HOST>/v1.16/containers/56cf5893bc8b89865b24b506050ce2692457a212dc61d2833e70c785779cbc84/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
|
-
-
|
81
|
+
- Tue, 23 Jun 2015 01:01:47 GMT
|
82
82
|
body:
|
83
83
|
encoding: UTF-8
|
84
84
|
string: ''
|
85
85
|
http_version:
|
86
|
-
recorded_at:
|
86
|
+
recorded_at: Tue, 23 Jun 2015 01:01:47 GMT
|
87
87
|
- request:
|
88
88
|
method: delete
|
89
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
89
|
+
uri: "<DOCKER_HOST>/v1.16/containers/56cf5893bc8b89865b24b506050ce2692457a212dc61d2833e70c785779cbc84"
|
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
|
-
-
|
104
|
+
- Tue, 23 Jun 2015 01:01:47 GMT
|
105
105
|
body:
|
106
106
|
encoding: UTF-8
|
107
107
|
string: ''
|
108
108
|
http_version:
|
109
|
-
recorded_at:
|
109
|
+
recorded_at: Tue, 23 Jun 2015 01:01:47 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=HNEWTONMAC3
|
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:
|
37
|
+
recorded_at: Tue, 23 Jun 2015 01:01:45 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
|
-
-
|
57
|
+
- Tue, 23 Jun 2015 01:01:45 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":"HNEWTONMAC3","Image":"b9c5be3a918d80b0d898ed8eca3fc76f75c482b531238e539cb00f75bb4e12d2","Labels":{},"MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":null,"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Created":"2015-06-23T01:01:44.582549737Z","Driver":"aufs","ExecDriver":"native-0.2","ExecIDs":["31d577c1cce6759ea2bfcb6935413167c53e08a346a2ba2d6bd84292bde5a42a"],"HostConfig":{"Binds":[],"CapAdd":null,"CapDrop":null,"CgroupParent":"","ContainerIDFile":"","CpuShares":0,"CpusetCpus":"","Devices":null,"Dns":null,"DnsSearch":null,"ExtraHosts":[],"IpcMode":"","Links":null,"LogConfig":{"Config":null,"Type":"json-file"},"LxcConf":null,"Memory":0,"MemorySwap":0,"NetworkMode":"","PidMode":"","PortBindings":{"80/tcp":[{"HostIp":"","HostPort":"4567"}]},"Privileged":false,"PublishAllPorts":false,"ReadonlyRootfs":false,"RestartPolicy":{"MaximumRetryCount":0,"Name":""},"SecurityOpt":null,"Ulimits":null,"VolumesFrom":[]},"HostnamePath":"/mnt/sda1/var/lib/docker/containers/789ab7450c35919ca19bf5c06c3e1b6f510dfb28effcdcf7116aeb94adbb4f7b/hostname","HostsPath":"/mnt/sda1/var/lib/docker/containers/789ab7450c35919ca19bf5c06c3e1b6f510dfb28effcdcf7116aeb94adbb4f7b/hosts","Id":"789ab7450c35919ca19bf5c06c3e1b6f510dfb28effcdcf7116aeb94adbb4f7b","Image":"b9c5be3a918d80b0d898ed8eca3fc76f75c482b531238e539cb00f75bb4e12d2","LogPath":"/mnt/sda1/var/lib/docker/containers/789ab7450c35919ca19bf5c06c3e1b6f510dfb28effcdcf7116aeb94adbb4f7b/789ab7450c35919ca19bf5c06c3e1b6f510dfb28effcdcf7116aeb94adbb4f7b-json.log","MountLabel":"","Name":"/profiles","NetworkSettings":{"Bridge":"docker0","Gateway":"172.17.42.1","GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"IPAddress":"172.17.0.133","IPPrefixLen":16,"IPv6Gateway":"","LinkLocalIPv6Address":"fe80::42:acff:fe11:85","LinkLocalIPv6PrefixLen":64,"MacAddress":"02:42:ac:11:00:85","PortMapping":null,"Ports":{"80/tcp":[{"HostIp":"0.0.0.0","HostPort":"4567"}]}},"Path":"/bin/sh","ProcessLabel":"","ResolvConfPath":"/mnt/sda1/var/lib/docker/containers/789ab7450c35919ca19bf5c06c3e1b6f510dfb28effcdcf7116aeb94adbb4f7b/resolv.conf","RestartCount":0,"State":{"Dead":false,"Error":"","ExitCode":0,"FinishedAt":"0001-01-01T00:00:00Z","OOMKilled":false,"Paused":false,"Pid":10876,"Restarting":false,"Running":true,"StartedAt":"2015-06-23T01:01:45.039290999Z"},"Volumes":{},"VolumesRW":{}}
|
62
62
|
http_version:
|
63
|
-
recorded_at:
|
63
|
+
recorded_at: Tue, 23 Jun 2015 01:01:45 GMT
|
64
64
|
- request:
|
65
65
|
method: post
|
66
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
66
|
+
uri: "<DOCKER_HOST>/v1.16/containers/789ab7450c35919ca19bf5c06c3e1b6f510dfb28effcdcf7116aeb94adbb4f7b/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
|
-
-
|
81
|
+
- Tue, 23 Jun 2015 01:01:45 GMT
|
82
82
|
body:
|
83
83
|
encoding: UTF-8
|
84
84
|
string: ''
|
85
85
|
http_version:
|
86
|
-
recorded_at:
|
86
|
+
recorded_at: Tue, 23 Jun 2015 01:01:45 GMT
|
87
87
|
- request:
|
88
88
|
method: delete
|
89
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
89
|
+
uri: "<DOCKER_HOST>/v1.16/containers/789ab7450c35919ca19bf5c06c3e1b6f510dfb28effcdcf7116aeb94adbb4f7b"
|
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
|
-
-
|
104
|
+
- Tue, 23 Jun 2015 01:01:45 GMT
|
105
105
|
body:
|
106
106
|
encoding: UTF-8
|
107
107
|
string: ''
|
108
108
|
http_version:
|
109
|
-
recorded_at:
|
109
|
+
recorded_at: Tue, 23 Jun 2015 01:01:45 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
|
-
-
|
22
|
+
- Tue, 23 Jun 2015 01:01:43 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":"HNEWTONMAC3","Image":"b9c5be3a918d80b0d898ed8eca3fc76f75c482b531238e539cb00f75bb4e12d2","Labels":{},"MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":null,"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Created":"2015-06-23T01:01:42.57122014Z","Driver":"aufs","ExecDriver":"native-0.2","ExecIDs":["07575cd7fd46980c646bc3359ef47f98c64d269e0ef7d297135bfe22f62645a3"],"HostConfig":{"Binds":[],"CapAdd":null,"CapDrop":null,"CgroupParent":"","ContainerIDFile":"","CpuShares":0,"CpusetCpus":"","Devices":null,"Dns":null,"DnsSearch":null,"ExtraHosts":[],"IpcMode":"","Links":null,"LogConfig":{"Config":null,"Type":"json-file"},"LxcConf":null,"Memory":0,"MemorySwap":0,"NetworkMode":"","PidMode":"","PortBindings":{"80/tcp":[{"HostIp":"","HostPort":"4567"}]},"Privileged":false,"PublishAllPorts":false,"ReadonlyRootfs":false,"RestartPolicy":{"MaximumRetryCount":0,"Name":""},"SecurityOpt":null,"Ulimits":null,"VolumesFrom":[]},"HostnamePath":"/mnt/sda1/var/lib/docker/containers/d690fbae9f28d999ed84a05fb35ebbc81e9fd7a5c54c31bf0ebf231356bccf00/hostname","HostsPath":"/mnt/sda1/var/lib/docker/containers/d690fbae9f28d999ed84a05fb35ebbc81e9fd7a5c54c31bf0ebf231356bccf00/hosts","Id":"d690fbae9f28d999ed84a05fb35ebbc81e9fd7a5c54c31bf0ebf231356bccf00","Image":"b9c5be3a918d80b0d898ed8eca3fc76f75c482b531238e539cb00f75bb4e12d2","LogPath":"/mnt/sda1/var/lib/docker/containers/d690fbae9f28d999ed84a05fb35ebbc81e9fd7a5c54c31bf0ebf231356bccf00/d690fbae9f28d999ed84a05fb35ebbc81e9fd7a5c54c31bf0ebf231356bccf00-json.log","MountLabel":"","Name":"/profiles","NetworkSettings":{"Bridge":"docker0","Gateway":"172.17.42.1","GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"IPAddress":"172.17.0.132","IPPrefixLen":16,"IPv6Gateway":"","LinkLocalIPv6Address":"fe80::42:acff:fe11:84","LinkLocalIPv6PrefixLen":64,"MacAddress":"02:42:ac:11:00:84","PortMapping":null,"Ports":{"80/tcp":[{"HostIp":"0.0.0.0","HostPort":"4567"}]}},"Path":"/bin/sh","ProcessLabel":"","ResolvConfPath":"/mnt/sda1/var/lib/docker/containers/d690fbae9f28d999ed84a05fb35ebbc81e9fd7a5c54c31bf0ebf231356bccf00/resolv.conf","RestartCount":0,"State":{"Dead":false,"Error":"","ExitCode":0,"FinishedAt":"0001-01-01T00:00:00Z","OOMKilled":false,"Paused":false,"Pid":10852,"Restarting":false,"Running":true,"StartedAt":"2015-06-23T01:01:43.027460531Z"},"Volumes":{},"VolumesRW":{}}
|
27
27
|
http_version:
|
28
|
-
recorded_at:
|
28
|
+
recorded_at: Tue, 23 Jun 2015 01:01:43 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
|
-
-
|
48
|
+
- Tue, 23 Jun 2015 01:01:43 GMT
|
49
49
|
Content-Length:
|
50
50
|
- '1887'
|
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","Labels":null,"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","Labels":null,"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:
|
56
|
+
recorded_at: Tue, 23 Jun 2015 01:01:43 GMT
|
57
57
|
- request:
|
58
58
|
method: post
|
59
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
59
|
+
uri: "<DOCKER_HOST>/v1.16/containers/d690fbae9f28d999ed84a05fb35ebbc81e9fd7a5c54c31bf0ebf231356bccf00/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
|
-
-
|
74
|
+
- Tue, 23 Jun 2015 01:01:43 GMT
|
75
75
|
body:
|
76
76
|
encoding: UTF-8
|
77
77
|
string: ''
|
78
78
|
http_version:
|
79
|
-
recorded_at:
|
79
|
+
recorded_at: Tue, 23 Jun 2015 01:01:43 GMT
|
80
80
|
- request:
|
81
81
|
method: delete
|
82
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
82
|
+
uri: "<DOCKER_HOST>/v1.16/containers/d690fbae9f28d999ed84a05fb35ebbc81e9fd7a5c54c31bf0ebf231356bccf00"
|
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
|
+
- Tue, 23 Jun 2015 01:01:43 GMT
|
98
98
|
body:
|
99
99
|
encoding: UTF-8
|
100
100
|
string: ''
|
101
101
|
http_version:
|
102
|
-
recorded_at:
|
102
|
+
recorded_at: Tue, 23 Jun 2015 01:01:43 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
|
-
-
|
22
|
+
- Tue, 23 Jun 2015 01:01:41 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":"HNEWTONMAC3","Image":"b9c5be3a918d80b0d898ed8eca3fc76f75c482b531238e539cb00f75bb4e12d2","Labels":{},"MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":null,"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Created":"2015-06-23T01:01:40.62256601Z","Driver":"aufs","ExecDriver":"native-0.2","ExecIDs":["0d0c3649c9bb7f7496399057460f1c4c09733796b374b1e21acc1d5da15eee65"],"HostConfig":{"Binds":[],"CapAdd":null,"CapDrop":null,"CgroupParent":"","ContainerIDFile":"","CpuShares":0,"CpusetCpus":"","Devices":null,"Dns":null,"DnsSearch":null,"ExtraHosts":[],"IpcMode":"","Links":null,"LogConfig":{"Config":null,"Type":"json-file"},"LxcConf":null,"Memory":0,"MemorySwap":0,"NetworkMode":"","PidMode":"","PortBindings":{},"Privileged":false,"PublishAllPorts":false,"ReadonlyRootfs":false,"RestartPolicy":{"MaximumRetryCount":0,"Name":""},"SecurityOpt":null,"Ulimits":null,"VolumesFrom":[]},"HostnamePath":"/mnt/sda1/var/lib/docker/containers/392eff9e2d1bb2d9550a947e561d75acd7c720498ae34266765ba47123cb6484/hostname","HostsPath":"/mnt/sda1/var/lib/docker/containers/392eff9e2d1bb2d9550a947e561d75acd7c720498ae34266765ba47123cb6484/hosts","Id":"392eff9e2d1bb2d9550a947e561d75acd7c720498ae34266765ba47123cb6484","Image":"b9c5be3a918d80b0d898ed8eca3fc76f75c482b531238e539cb00f75bb4e12d2","LogPath":"/mnt/sda1/var/lib/docker/containers/392eff9e2d1bb2d9550a947e561d75acd7c720498ae34266765ba47123cb6484/392eff9e2d1bb2d9550a947e561d75acd7c720498ae34266765ba47123cb6484-json.log","MountLabel":"","Name":"/single-test","NetworkSettings":{"Bridge":"docker0","Gateway":"172.17.42.1","GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"IPAddress":"172.17.0.131","IPPrefixLen":16,"IPv6Gateway":"","LinkLocalIPv6Address":"fe80::42:acff:fe11:83","LinkLocalIPv6PrefixLen":64,"MacAddress":"02:42:ac:11:00:83","PortMapping":null,"Ports":{"80/tcp":null}},"Path":"/bin/sh","ProcessLabel":"","ResolvConfPath":"/mnt/sda1/var/lib/docker/containers/392eff9e2d1bb2d9550a947e561d75acd7c720498ae34266765ba47123cb6484/resolv.conf","RestartCount":0,"State":{"Dead":false,"Error":"","ExitCode":0,"FinishedAt":"0001-01-01T00:00:00Z","OOMKilled":false,"Paused":false,"Pid":10828,"Restarting":false,"Running":true,"StartedAt":"2015-06-23T01:01:40.977485686Z"},"Volumes":{},"VolumesRW":{}}
|
27
27
|
http_version:
|
28
|
-
recorded_at:
|
28
|
+
recorded_at: Tue, 23 Jun 2015 01:01:41 GMT
|
29
29
|
- request:
|
30
30
|
method: post
|
31
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
31
|
+
uri: "<DOCKER_HOST>/v1.16/containers/392eff9e2d1bb2d9550a947e561d75acd7c720498ae34266765ba47123cb6484/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
|
-
-
|
46
|
+
- Tue, 23 Jun 2015 01:01:41 GMT
|
47
47
|
body:
|
48
48
|
encoding: UTF-8
|
49
49
|
string: ''
|
50
50
|
http_version:
|
51
|
-
recorded_at:
|
51
|
+
recorded_at: Tue, 23 Jun 2015 01:01:41 GMT
|
52
52
|
- request:
|
53
53
|
method: delete
|
54
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
54
|
+
uri: "<DOCKER_HOST>/v1.16/containers/392eff9e2d1bb2d9550a947e561d75acd7c720498ae34266765ba47123cb6484"
|
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
|
-
-
|
69
|
+
- Tue, 23 Jun 2015 01:01:41 GMT
|
70
70
|
body:
|
71
71
|
encoding: UTF-8
|
72
72
|
string: ''
|
73
73
|
http_version:
|
74
|
-
recorded_at:
|
74
|
+
recorded_at: Tue, 23 Jun 2015 01:01:41 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
|
-
-
|
22
|
+
- Tue, 23 Jun 2015 01:01: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":"HNEWTONMAC3","Image":"b9c5be3a918d80b0d898ed8eca3fc76f75c482b531238e539cb00f75bb4e12d2","Labels":{},"MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":null,"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Created":"2015-06-23T01:01:38.68185337Z","Driver":"aufs","ExecDriver":"native-0.2","ExecIDs":["e87fd210bac1f66920ebebcf0e000ed40d2708ad89b3998e30dda0857955253e"],"HostConfig":{"Binds":[],"CapAdd":null,"CapDrop":null,"CgroupParent":"","ContainerIDFile":"","CpuShares":0,"CpusetCpus":"","Devices":null,"Dns":null,"DnsSearch":null,"ExtraHosts":[],"IpcMode":"","Links":null,"LogConfig":{"Config":null,"Type":"json-file"},"LxcConf":null,"Memory":0,"MemorySwap":0,"NetworkMode":"","PidMode":"","PortBindings":{},"Privileged":false,"PublishAllPorts":false,"ReadonlyRootfs":false,"RestartPolicy":{"MaximumRetryCount":0,"Name":""},"SecurityOpt":null,"Ulimits":null,"VolumesFrom":[]},"HostnamePath":"/mnt/sda1/var/lib/docker/containers/751a7c8e1aa9165340af01c602070620a6980480d49deb9e11b24323040e7c75/hostname","HostsPath":"/mnt/sda1/var/lib/docker/containers/751a7c8e1aa9165340af01c602070620a6980480d49deb9e11b24323040e7c75/hosts","Id":"751a7c8e1aa9165340af01c602070620a6980480d49deb9e11b24323040e7c75","Image":"b9c5be3a918d80b0d898ed8eca3fc76f75c482b531238e539cb00f75bb4e12d2","LogPath":"/mnt/sda1/var/lib/docker/containers/751a7c8e1aa9165340af01c602070620a6980480d49deb9e11b24323040e7c75/751a7c8e1aa9165340af01c602070620a6980480d49deb9e11b24323040e7c75-json.log","MountLabel":"","Name":"/single-test","NetworkSettings":{"Bridge":"docker0","Gateway":"172.17.42.1","GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"IPAddress":"172.17.0.130","IPPrefixLen":16,"IPv6Gateway":"","LinkLocalIPv6Address":"fe80::42:acff:fe11:82","LinkLocalIPv6PrefixLen":64,"MacAddress":"02:42:ac:11:00:82","PortMapping":null,"Ports":{"80/tcp":null}},"Path":"/bin/sh","ProcessLabel":"","ResolvConfPath":"/mnt/sda1/var/lib/docker/containers/751a7c8e1aa9165340af01c602070620a6980480d49deb9e11b24323040e7c75/resolv.conf","RestartCount":0,"State":{"Dead":false,"Error":"","ExitCode":0,"FinishedAt":"0001-01-01T00:00:00Z","OOMKilled":false,"Paused":false,"Pid":10811,"Restarting":false,"Running":true,"StartedAt":"2015-06-23T01:01:39.066875181Z"},"Volumes":{},"VolumesRW":{}}
|
27
27
|
http_version:
|
28
|
-
recorded_at:
|
28
|
+
recorded_at: Tue, 23 Jun 2015 01:01:39 GMT
|
29
29
|
- request:
|
30
30
|
method: get
|
31
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
31
|
+
uri: "<DOCKER_HOST>/v1.16/containers/751a7c8e1aa9165340af01c602070620a6980480d49deb9e11b24323040e7c75/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
|
-
-
|
48
|
+
- Tue, 23 Jun 2015 01:01:39 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":"HNEWTONMAC3","Image":"b9c5be3a918d80b0d898ed8eca3fc76f75c482b531238e539cb00f75bb4e12d2","Labels":{},"MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":null,"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Created":"2015-06-23T01:01:38.68185337Z","Driver":"aufs","ExecDriver":"native-0.2","ExecIDs":["e87fd210bac1f66920ebebcf0e000ed40d2708ad89b3998e30dda0857955253e"],"HostConfig":{"Binds":[],"CapAdd":null,"CapDrop":null,"CgroupParent":"","ContainerIDFile":"","CpuShares":0,"CpusetCpus":"","Devices":null,"Dns":null,"DnsSearch":null,"ExtraHosts":[],"IpcMode":"","Links":null,"LogConfig":{"Config":null,"Type":"json-file"},"LxcConf":null,"Memory":0,"MemorySwap":0,"NetworkMode":"","PidMode":"","PortBindings":{},"Privileged":false,"PublishAllPorts":false,"ReadonlyRootfs":false,"RestartPolicy":{"MaximumRetryCount":0,"Name":""},"SecurityOpt":null,"Ulimits":null,"VolumesFrom":[]},"HostnamePath":"/mnt/sda1/var/lib/docker/containers/751a7c8e1aa9165340af01c602070620a6980480d49deb9e11b24323040e7c75/hostname","HostsPath":"/mnt/sda1/var/lib/docker/containers/751a7c8e1aa9165340af01c602070620a6980480d49deb9e11b24323040e7c75/hosts","Id":"751a7c8e1aa9165340af01c602070620a6980480d49deb9e11b24323040e7c75","Image":"b9c5be3a918d80b0d898ed8eca3fc76f75c482b531238e539cb00f75bb4e12d2","LogPath":"/mnt/sda1/var/lib/docker/containers/751a7c8e1aa9165340af01c602070620a6980480d49deb9e11b24323040e7c75/751a7c8e1aa9165340af01c602070620a6980480d49deb9e11b24323040e7c75-json.log","MountLabel":"","Name":"/single-test","NetworkSettings":{"Bridge":"docker0","Gateway":"172.17.42.1","GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"IPAddress":"172.17.0.130","IPPrefixLen":16,"IPv6Gateway":"","LinkLocalIPv6Address":"fe80::42:acff:fe11:82","LinkLocalIPv6PrefixLen":64,"MacAddress":"02:42:ac:11:00:82","PortMapping":null,"Ports":{"80/tcp":null}},"Path":"/bin/sh","ProcessLabel":"","ResolvConfPath":"/mnt/sda1/var/lib/docker/containers/751a7c8e1aa9165340af01c602070620a6980480d49deb9e11b24323040e7c75/resolv.conf","RestartCount":0,"State":{"Dead":false,"Error":"","ExitCode":0,"FinishedAt":"0001-01-01T00:00:00Z","OOMKilled":false,"Paused":false,"Pid":10811,"Restarting":false,"Running":true,"StartedAt":"2015-06-23T01:01:39.066875181Z"},"Volumes":{},"VolumesRW":{}}
|
53
53
|
http_version:
|
54
|
-
recorded_at:
|
54
|
+
recorded_at: Tue, 23 Jun 2015 01:01:39 GMT
|
55
55
|
- request:
|
56
56
|
method: post
|
57
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
57
|
+
uri: "<DOCKER_HOST>/v1.16/containers/751a7c8e1aa9165340af01c602070620a6980480d49deb9e11b24323040e7c75/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
|
-
-
|
72
|
+
- Tue, 23 Jun 2015 01:01:39 GMT
|
73
73
|
body:
|
74
74
|
encoding: UTF-8
|
75
75
|
string: ''
|
76
76
|
http_version:
|
77
|
-
recorded_at:
|
77
|
+
recorded_at: Tue, 23 Jun 2015 01:01:39 GMT
|
78
78
|
- request:
|
79
79
|
method: delete
|
80
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
80
|
+
uri: "<DOCKER_HOST>/v1.16/containers/751a7c8e1aa9165340af01c602070620a6980480d49deb9e11b24323040e7c75"
|
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
|
-
-
|
95
|
+
- Tue, 23 Jun 2015 01:01:39 GMT
|
96
96
|
body:
|
97
97
|
encoding: UTF-8
|
98
98
|
string: ''
|
99
99
|
http_version:
|
100
|
-
recorded_at:
|
100
|
+
recorded_at: Tue, 23 Jun 2015 01:01:39 GMT
|
101
101
|
recorded_with: VCR 2.9.3
|
@@ -19,16 +19,16 @@ http_interactions:
|
|
19
19
|
Content-Type:
|
20
20
|
- application/json
|
21
21
|
Date:
|
22
|
-
-
|
22
|
+
- Tue, 23 Jun 2015 01:01:52 GMT
|
23
23
|
body:
|
24
24
|
encoding: UTF-8
|
25
25
|
string: |
|
26
|
-
{"AppArmorProfile":"","Args":["-c","tail -f /dev/null"],"Config":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":["/bin/sh","-c","tail -f /dev/null"],"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":null,"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"ExposedPorts":null,"Hostname":"
|
26
|
+
{"AppArmorProfile":"","Args":["-c","tail -f /dev/null"],"Config":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":["/bin/sh","-c","tail -f /dev/null"],"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":null,"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"ExposedPorts":null,"Hostname":"HNEWTONMAC3","Image":"ce10c2a39b6d","Labels":{},"MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":null,"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Created":"2015-06-23T01:01:49.433565883Z","Driver":"aufs","ExecDriver":"native-0.2","ExecIDs":["8d9d6a39da16e6f35c927ebb6637d1fcb757b6436f6767c9284c757f5e5209be","7c1e08b84bc13e3d5726fafc44d774b546e4d31ae3ab7086c277bfb60deb182a"],"HostConfig":{"Binds":[],"CapAdd":null,"CapDrop":null,"CgroupParent":"","ContainerIDFile":"","CpuShares":0,"CpusetCpus":"","Devices":null,"Dns":null,"DnsSearch":null,"ExtraHosts":[],"IpcMode":"","Links":null,"LogConfig":{"Config":null,"Type":"json-file"},"LxcConf":null,"Memory":0,"MemorySwap":0,"NetworkMode":"","PidMode":"","PortBindings":{},"Privileged":false,"PublishAllPorts":false,"ReadonlyRootfs":false,"RestartPolicy":{"MaximumRetryCount":0,"Name":""},"SecurityOpt":null,"Ulimits":null,"VolumesFrom":[]},"HostnamePath":"/mnt/sda1/var/lib/docker/containers/3a98b3ed4febd59280953676a481e499325e4da91fdff692552869610730082c/hostname","HostsPath":"/mnt/sda1/var/lib/docker/containers/3a98b3ed4febd59280953676a481e499325e4da91fdff692552869610730082c/hosts","Id":"3a98b3ed4febd59280953676a481e499325e4da91fdff692552869610730082c","Image":"ce10c2a39b6dce8955c91a7513e8f8751ebadc6ba1493a06d2b49ef0023a220d","LogPath":"/mnt/sda1/var/lib/docker/containers/3a98b3ed4febd59280953676a481e499325e4da91fdff692552869610730082c/3a98b3ed4febd59280953676a481e499325e4da91fdff692552869610730082c-json.log","MountLabel":"","Name":"/wait_for-test","NetworkSettings":{"Bridge":"docker0","Gateway":"172.17.42.1","GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"IPAddress":"172.17.0.135","IPPrefixLen":16,"IPv6Gateway":"","LinkLocalIPv6Address":"fe80::42:acff:fe11:87","LinkLocalIPv6PrefixLen":64,"MacAddress":"02:42:ac:11:00:87","PortMapping":null,"Ports":{}},"Path":"/bin/sh","ProcessLabel":"","ResolvConfPath":"/mnt/sda1/var/lib/docker/containers/3a98b3ed4febd59280953676a481e499325e4da91fdff692552869610730082c/resolv.conf","RestartCount":0,"State":{"Dead":false,"Error":"","ExitCode":0,"FinishedAt":"0001-01-01T00:00:00Z","OOMKilled":false,"Paused":false,"Pid":10948,"Restarting":false,"Running":true,"StartedAt":"2015-06-23T01:01:49.777446714Z"},"Volumes":{},"VolumesRW":{}}
|
27
27
|
http_version:
|
28
|
-
recorded_at:
|
28
|
+
recorded_at: Tue, 23 Jun 2015 01:01:52 GMT
|
29
29
|
- request:
|
30
30
|
method: post
|
31
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
31
|
+
uri: "<DOCKER_HOST>/v1.16/containers/3a98b3ed4febd59280953676a481e499325e4da91fdff692552869610730082c/exec"
|
32
32
|
body:
|
33
33
|
encoding: UTF-8
|
34
34
|
string: '{"AttachStdin":false,"AttachStdout":true,"AttachStderr":true,"Tty":false,"Cmd":["cat","/tmp/result.txt"]}'
|
@@ -45,18 +45,18 @@ http_interactions:
|
|
45
45
|
Content-Type:
|
46
46
|
- application/json
|
47
47
|
Date:
|
48
|
-
-
|
48
|
+
- Tue, 23 Jun 2015 01:01:52 GMT
|
49
49
|
Content-Length:
|
50
50
|
- '74'
|
51
51
|
body:
|
52
52
|
encoding: UTF-8
|
53
53
|
string: |
|
54
|
-
{"Id":"
|
54
|
+
{"Id":"b0ae1d538116a80a410e8073867cdae7fe5df25d41f42d3294d9e28da86b2d04"}
|
55
55
|
http_version:
|
56
|
-
recorded_at:
|
56
|
+
recorded_at: Tue, 23 Jun 2015 01:01:52 GMT
|
57
57
|
- request:
|
58
58
|
method: post
|
59
|
-
uri: "<DOCKER_HOST>/v1.16/exec/
|
59
|
+
uri: "<DOCKER_HOST>/v1.16/exec/b0ae1d538116a80a410e8073867cdae7fe5df25d41f42d3294d9e28da86b2d04/start"
|
60
60
|
body:
|
61
61
|
encoding: UTF-8
|
62
62
|
string: '{"Tty":false,"Detach":false}'
|
@@ -77,10 +77,10 @@ http_interactions:
|
|
77
77
|
string: !binary |-
|
78
78
|
AQAAAAAAAAIyCg==
|
79
79
|
http_version:
|
80
|
-
recorded_at:
|
80
|
+
recorded_at: Tue, 23 Jun 2015 01:01:52 GMT
|
81
81
|
- request:
|
82
82
|
method: get
|
83
|
-
uri: "<DOCKER_HOST>/v1.16/exec/
|
83
|
+
uri: "<DOCKER_HOST>/v1.16/exec/b0ae1d538116a80a410e8073867cdae7fe5df25d41f42d3294d9e28da86b2d04/json"
|
84
84
|
body:
|
85
85
|
encoding: US-ASCII
|
86
86
|
string: ''
|
@@ -97,14 +97,14 @@ http_interactions:
|
|
97
97
|
Content-Type:
|
98
98
|
- application/json
|
99
99
|
Date:
|
100
|
-
-
|
100
|
+
- Tue, 23 Jun 2015 01:01:52 GMT
|
101
101
|
body:
|
102
102
|
encoding: UTF-8
|
103
|
-
string: '{"ID":"
|
104
|
-
-f /dev/null"],"Config":{"Hostname":"
|
105
|
-
-f /dev/null"],"Image":"
|
103
|
+
string: '{"ID":"b0ae1d538116a80a410e8073867cdae7fe5df25d41f42d3294d9e28da86b2d04","Running":false,"ExitCode":0,"ProcessConfig":{"privileged":false,"user":"","tty":false,"entrypoint":"cat","arguments":["/tmp/result.txt"]},"OpenStdin":false,"OpenStderr":true,"OpenStdout":true,"Container":{"State":{"Running":true,"Paused":false,"Restarting":false,"OOMKilled":false,"Dead":false,"Pid":10948,"ExitCode":0,"Error":"","StartedAt":"2015-06-23T01:01:49.777446714Z","FinishedAt":"0001-01-01T00:00:00Z"},"ID":"3a98b3ed4febd59280953676a481e499325e4da91fdff692552869610730082c","Created":"2015-06-23T01:01:49.433565883Z","Path":"/bin/sh","Args":["-c","tail
|
104
|
+
-f /dev/null"],"Config":{"Hostname":"HNEWTONMAC3","Domainname":"","User":"","Memory":0,"MemorySwap":0,"CpuShares":0,"Cpuset":"","AttachStdin":false,"AttachStdout":false,"AttachStderr":false,"PortSpecs":null,"ExposedPorts":null,"Tty":false,"OpenStdin":false,"StdinOnce":false,"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"Cmd":["/bin/sh","-c","tail
|
105
|
+
-f /dev/null"],"Image":"ce10c2a39b6d","Volumes":null,"WorkingDir":"","Entrypoint":null,"NetworkDisabled":false,"MacAddress":"","OnBuild":null,"Labels":{}},"Image":"ce10c2a39b6dce8955c91a7513e8f8751ebadc6ba1493a06d2b49ef0023a220d","NetworkSettings":{"IPAddress":"172.17.0.135","IPPrefixLen":16,"MacAddress":"02:42:ac:11:00:87","LinkLocalIPv6Address":"fe80::42:acff:fe11:87","LinkLocalIPv6PrefixLen":64,"GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"Gateway":"172.17.42.1","IPv6Gateway":"","Bridge":"docker0","PortMapping":null,"Ports":{}},"ResolvConfPath":"/mnt/sda1/var/lib/docker/containers/3a98b3ed4febd59280953676a481e499325e4da91fdff692552869610730082c/resolv.conf","HostnamePath":"/mnt/sda1/var/lib/docker/containers/3a98b3ed4febd59280953676a481e499325e4da91fdff692552869610730082c/hostname","HostsPath":"/mnt/sda1/var/lib/docker/containers/3a98b3ed4febd59280953676a481e499325e4da91fdff692552869610730082c/hosts","LogPath":"/mnt/sda1/var/lib/docker/containers/3a98b3ed4febd59280953676a481e499325e4da91fdff692552869610730082c/3a98b3ed4febd59280953676a481e499325e4da91fdff692552869610730082c-json.log","Name":"/wait_for-test","Driver":"aufs","ExecDriver":"native-0.2","MountLabel":"","ProcessLabel":"","AppArmorProfile":"","RestartCount":0,"UpdateDns":false,"Volumes":{},"VolumesRW":{},"AppliedVolumesFrom":null}}'
|
106
106
|
http_version:
|
107
|
-
recorded_at:
|
107
|
+
recorded_at: Tue, 23 Jun 2015 01:01:52 GMT
|
108
108
|
- request:
|
109
109
|
method: get
|
110
110
|
uri: "<DOCKER_HOST>/v1.16/containers/wait_for-test/json"
|
@@ -124,16 +124,16 @@ http_interactions:
|
|
124
124
|
Content-Type:
|
125
125
|
- application/json
|
126
126
|
Date:
|
127
|
-
-
|
127
|
+
- Tue, 23 Jun 2015 01:01:52 GMT
|
128
128
|
body:
|
129
129
|
encoding: UTF-8
|
130
130
|
string: |
|
131
|
-
{"AppArmorProfile":"","Args":["-c","tail -f /dev/null"],"Config":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":["/bin/sh","-c","tail -f /dev/null"],"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":null,"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"ExposedPorts":null,"Hostname":"
|
131
|
+
{"AppArmorProfile":"","Args":["-c","tail -f /dev/null"],"Config":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":["/bin/sh","-c","tail -f /dev/null"],"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":null,"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"ExposedPorts":null,"Hostname":"HNEWTONMAC3","Image":"ce10c2a39b6d","Labels":{},"MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":null,"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Created":"2015-06-23T01:01:49.433565883Z","Driver":"aufs","ExecDriver":"native-0.2","ExecIDs":["8d9d6a39da16e6f35c927ebb6637d1fcb757b6436f6767c9284c757f5e5209be","b0ae1d538116a80a410e8073867cdae7fe5df25d41f42d3294d9e28da86b2d04","7c1e08b84bc13e3d5726fafc44d774b546e4d31ae3ab7086c277bfb60deb182a"],"HostConfig":{"Binds":[],"CapAdd":null,"CapDrop":null,"CgroupParent":"","ContainerIDFile":"","CpuShares":0,"CpusetCpus":"","Devices":null,"Dns":null,"DnsSearch":null,"ExtraHosts":[],"IpcMode":"","Links":null,"LogConfig":{"Config":null,"Type":"json-file"},"LxcConf":null,"Memory":0,"MemorySwap":0,"NetworkMode":"","PidMode":"","PortBindings":{},"Privileged":false,"PublishAllPorts":false,"ReadonlyRootfs":false,"RestartPolicy":{"MaximumRetryCount":0,"Name":""},"SecurityOpt":null,"Ulimits":null,"VolumesFrom":[]},"HostnamePath":"/mnt/sda1/var/lib/docker/containers/3a98b3ed4febd59280953676a481e499325e4da91fdff692552869610730082c/hostname","HostsPath":"/mnt/sda1/var/lib/docker/containers/3a98b3ed4febd59280953676a481e499325e4da91fdff692552869610730082c/hosts","Id":"3a98b3ed4febd59280953676a481e499325e4da91fdff692552869610730082c","Image":"ce10c2a39b6dce8955c91a7513e8f8751ebadc6ba1493a06d2b49ef0023a220d","LogPath":"/mnt/sda1/var/lib/docker/containers/3a98b3ed4febd59280953676a481e499325e4da91fdff692552869610730082c/3a98b3ed4febd59280953676a481e499325e4da91fdff692552869610730082c-json.log","MountLabel":"","Name":"/wait_for-test","NetworkSettings":{"Bridge":"docker0","Gateway":"172.17.42.1","GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"IPAddress":"172.17.0.135","IPPrefixLen":16,"IPv6Gateway":"","LinkLocalIPv6Address":"fe80::42:acff:fe11:87","LinkLocalIPv6PrefixLen":64,"MacAddress":"02:42:ac:11:00:87","PortMapping":null,"Ports":{}},"Path":"/bin/sh","ProcessLabel":"","ResolvConfPath":"/mnt/sda1/var/lib/docker/containers/3a98b3ed4febd59280953676a481e499325e4da91fdff692552869610730082c/resolv.conf","RestartCount":0,"State":{"Dead":false,"Error":"","ExitCode":0,"FinishedAt":"0001-01-01T00:00:00Z","OOMKilled":false,"Paused":false,"Pid":10948,"Restarting":false,"Running":true,"StartedAt":"2015-06-23T01:01:49.777446714Z"},"Volumes":{},"VolumesRW":{}}
|
132
132
|
http_version:
|
133
|
-
recorded_at:
|
133
|
+
recorded_at: Tue, 23 Jun 2015 01:01:52 GMT
|
134
134
|
- request:
|
135
135
|
method: post
|
136
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
136
|
+
uri: "<DOCKER_HOST>/v1.16/containers/3a98b3ed4febd59280953676a481e499325e4da91fdff692552869610730082c/kill"
|
137
137
|
body:
|
138
138
|
encoding: US-ASCII
|
139
139
|
string: ''
|
@@ -148,15 +148,15 @@ http_interactions:
|
|
148
148
|
message:
|
149
149
|
headers:
|
150
150
|
Date:
|
151
|
-
-
|
151
|
+
- Tue, 23 Jun 2015 01:01:53 GMT
|
152
152
|
body:
|
153
153
|
encoding: UTF-8
|
154
154
|
string: ''
|
155
155
|
http_version:
|
156
|
-
recorded_at:
|
156
|
+
recorded_at: Tue, 23 Jun 2015 01:01:53 GMT
|
157
157
|
- request:
|
158
158
|
method: delete
|
159
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
159
|
+
uri: "<DOCKER_HOST>/v1.16/containers/3a98b3ed4febd59280953676a481e499325e4da91fdff692552869610730082c"
|
160
160
|
body:
|
161
161
|
encoding: US-ASCII
|
162
162
|
string: ''
|
@@ -171,10 +171,10 @@ http_interactions:
|
|
171
171
|
message:
|
172
172
|
headers:
|
173
173
|
Date:
|
174
|
-
-
|
174
|
+
- Tue, 23 Jun 2015 01:01:53 GMT
|
175
175
|
body:
|
176
176
|
encoding: UTF-8
|
177
177
|
string: ''
|
178
178
|
http_version:
|
179
|
-
recorded_at:
|
179
|
+
recorded_at: Tue, 23 Jun 2015 01:01:53 GMT
|
180
180
|
recorded_with: VCR 2.9.3
|