bigrig 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +3 -1
- data/bigrig.gemspec +1 -0
- data/lib/bigrig/dependency_graph.rb +3 -1
- data/lib/bigrig/version.rb +1 -1
- data/spec/bigrig/dependency_graph_spec.rb +10 -4
- data/spec/bigrig_spec.rb +44 -34
- data/spec/data/scan.json +2 -1
- data/spec/spec_helper.rb +1 -13
- data/spec/support/wait_for.rb +35 -0
- data/spec/vcr/Bigrig_DestroyAction/_perform/given_json_with_a_single_container/and_the_container_has_exited/should_remove_the_container.yml +46 -46
- data/spec/vcr/Bigrig_DestroyAction/_perform/given_json_with_a_single_container/and_the_container_is_running/kills_and_removes_the_container.yml +49 -49
- data/spec/vcr/Bigrig_DockerAdapter/_build/builds_the_given_directory.yml +8 -8
- data/spec/vcr/Bigrig_DockerAdapter/_build/passes_build_input_to_a_block.yml +4 -4
- data/spec/vcr/Bigrig_DockerAdapter/_container_exists_/when_the_container_does_not_exist/is_false.yml +8 -8
- data/spec/vcr/Bigrig_DockerAdapter/_container_exists_/when_the_container_exists/is_true.yml +9 -9
- data/spec/vcr/Bigrig_DockerAdapter/_image_id_by_tag/when_the_image_does_not_exist/raise_a_ImageNotFoundError.yml +12 -12
- data/spec/vcr/Bigrig_DockerAdapter/_image_id_by_tag/when_the_image_exists/returns_the_image_id.yml +12 -12
- data/spec/vcr/Bigrig_DockerAdapter/_kill/given_the_container_does_not_exist/should_raise_an_error.yml +8 -8
- data/spec/vcr/Bigrig_DockerAdapter/_kill/given_the_container_is_running/should_kill_the_container.yml +22 -22
- data/spec/vcr/Bigrig_DockerAdapter/_logs/streams_logs_to_a_block.yml +17 -17
- data/spec/vcr/Bigrig_DockerAdapter/_pull/given_a_block_to_capture_output/should_capture_output.yml +4 -4
- data/spec/vcr/Bigrig_DockerAdapter/_pull/given_the_repo_does_not_exist/raises_a_RepoNotFoundError.yml +2 -2
- data/spec/vcr/Bigrig_DockerAdapter/_pull/given_the_repo_exists/returns_the_image_id.yml +6 -6
- data/spec/vcr/Bigrig_DockerAdapter/_push/given_credentials/will_pass_login_and_password.yml +36 -36
- data/spec/vcr/Bigrig_DockerAdapter/_push/should_push_the_image.yml +453 -77
- data/spec/vcr/Bigrig_DockerAdapter/_remove_container/when_the_container_does_not_exist/raises_a_ContainerNotFoundError.yml +16 -16
- data/spec/vcr/Bigrig_DockerAdapter/_remove_container/when_the_container_exists/should_remove_the_container.yml +32 -32
- data/spec/vcr/Bigrig_DockerAdapter/_remove_container/when_the_container_is_running/raises_a_ContainerRunningError.yml +10 -10
- data/spec/vcr/Bigrig_DockerAdapter/_remove_image/when_the_image_doesnt_exist/raises_an_error.yml +8 -8
- data/spec/vcr/Bigrig_DockerAdapter/_remove_image/when_the_image_exists/removes_the_image.yml +28 -28
- data/spec/vcr/Bigrig_DockerAdapter/_run/given_an_image_id_that_exists/and_a_name/starts_the_container_with_the_right_name.yml +27 -27
- data/spec/vcr/Bigrig_DockerAdapter/_run/given_an_image_id_that_exists/and_a_name_and_env_variables/starts_the_container_with_env_set.yml +27 -27
- data/spec/vcr/Bigrig_DockerAdapter/_run/given_an_image_id_that_exists/and_a_name_and_ports/starts_the_container_with_ports_exposed.yml +32 -32
- data/spec/vcr/Bigrig_DockerAdapter/_running_/when_the_container_does_not_exist/returns_false.yml +8 -8
- data/spec/vcr/Bigrig_DockerAdapter/_running_/when_the_container_is_not_running/returns_false.yml +11 -11
- data/spec/vcr/Bigrig_DockerAdapter/_running_/when_the_container_is_running/returns_true.yml +13 -13
- data/spec/vcr/Bigrig_DockerAdapter/_tag/should_tag_the_image.yml +16 -16
- data/spec/vcr/Bigrig_LogAction/_perform/follows_the_log.yml +25 -25
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_a_path/builds_the_image_before_starting_it.yml +20 -20
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_hosts_by_ip/should_pass_hosts_to_container.yml +40 -40
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_hosts_by_name/should_lookup_ips_for_hosts_with_a_hostname.yml +41 -41
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_links/should_pass_links_to_the_right_container.yml +73 -73
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_multiple_containers/launches_both_containers_in_parallel.yml +52 -52
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_multiple_containers/spins_up_multiple_containers.yml +74 -74
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_one_container/should_spin_up_a_single_container.yml +36 -36
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_one_container/when_a_dead_container_exists/should_remove_existing_containers.yml +38 -38
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_volumes/should_pass_volumes_to_the_right_container.yml +40 -40
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_volumes_from/should_pass_volumes_from_to_the_right_container.yml +73 -73
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_volumes_from/starts_the_dependant_container_last.yml +52 -52
- data/spec/vcr/Bigrig_RunAction/_perform/when_activating_profiles_that_do_not_exist/ignores_the_missing_profile.yml +35 -35
- data/spec/vcr/Bigrig_RunAction/_perform/with_a_file_with_active_profiles/uses_the_overridden_image.yml +38 -38
- data/spec/vcr/bigrig/destroy/spec/data/single_json/kills_the_container.yml +14 -14
- data/spec/vcr/bigrig/dev/spec/data/dev_json/activates_the_dev_profile.yml +427 -37
- data/spec/vcr/bigrig/dev/spec/data/dev_json/destroys_containers_on_exit.yml +32 -32
- data/spec/vcr/bigrig/dev/spec/data/dev_json/starts_the_containers.yml +472 -76
- data/spec/vcr/bigrig/dev/spec/data/dev_json/tails_the_logs.yml +16 -16
- data/spec/vcr/bigrig/dev/spec/data/scan_json/leaves_unaffected_containers_alone_when_the_scanned_file_changes.yml +1544 -86
- data/spec/vcr/bigrig/dev/spec/data/scan_json/restarts_dependant_containers_when_the_scanned_file_changes.yml +1725 -69
- data/spec/vcr/bigrig/dev/spec/data/scan_json/restarts_the_container_when_the_scanned_file_changes.yml +1536 -96
- data/spec/vcr/bigrig/logs/spec/data/log_json/tails_the_logs.yml +17 -17
- data/spec/vcr/bigrig/run/spec/data/profiles_json_-p_qa/leaves_existing_env_values_alone.yml +11 -11
- data/spec/vcr/bigrig/run/spec/data/profiles_json_-p_qa/overrides_the_env.yml +11 -11
- data/spec/vcr/bigrig/run/spec/data/profiles_json_-p_qa/overrides_the_tag.yml +11 -11
- data/spec/vcr/bigrig/run/spec/data/single_json/sends_the_name_of_the_container_to_stdout.yml +9 -9
- data/spec/vcr/bigrig/run/spec/data/single_json/starts_the_container.yml +13 -13
- data/spec/vcr/bigrig/ship/spec/data/ship_json/with_a_version/-c/cleans_the_image_when_its_done.yml +20 -20
- data/spec/vcr/bigrig/ship/spec/data/ship_json/with_a_version/builds_and_pushes_the_image.yml +15 -15
- data/spec/vcr/bigrig_bin_bigrig_destroy_spec/data/single_json_kills_the_container.yml +21 -21
- data/spec/vcr/bigrig_bin_bigrig_dev_spec/data/dev_json_activates_the_dev_profile.yml +105 -305
- data/spec/vcr/bigrig_bin_bigrig_dev_spec/data/dev_json_starts_the_containers.yml +109 -307
- data/spec/vcr/bigrig_bin_bigrig_dev_spec/data/dev_json_tails_the_logs.yml +116 -116
- data/spec/vcr/bigrig_bin_bigrig_dev_spec/data/scan_json_leaves_unaffected_containers_alone_when_the_scanned_file_changes.yml +385 -382
- data/spec/vcr/bigrig_bin_bigrig_dev_spec/data/scan_json_restarts_dependant_containers_when_the_scanned_file_changes.yml +357 -354
- data/spec/vcr/bigrig_bin_bigrig_dev_spec/data/scan_json_restarts_the_container_when_the_scanned_file_changes.yml +358 -1091
- data/spec/vcr/bigrig_bin_bigrig_logs_spec/data/log_json_tails_the_logs.yml +21 -21
- data/spec/vcr/bigrig_bin_bigrig_run_spec/data/profiles_json_-p_qa_leaves_existing_env_values_alone.yml +24 -24
- data/spec/vcr/bigrig_bin_bigrig_run_spec/data/profiles_json_-p_qa_overrides_the_env.yml +24 -24
- data/spec/vcr/bigrig_bin_bigrig_run_spec/data/profiles_json_-p_qa_overrides_the_tag.yml +17 -17
- data/spec/vcr/bigrig_bin_bigrig_run_spec/data/single_json_sends_the_name_of_the_container_to_stdout.yml +24 -24
- data/spec/vcr/bigrig_bin_bigrig_run_spec/data/single_json_starts_the_container.yml +24 -24
- data/spec/vcr/bigrig_bin_bigrig_ship_spec/data/ship_json_with_a_version_-c_cleans_the_image_when_its_done.yml +439 -63
- data/spec/vcr/bigrig_bin_bigrig_ship_spec/data/ship_json_with_a_version_builds_and_pushes_the_image.yml +430 -54
- data/spec/waitfor_spec.rb +10 -0
- metadata +18 -2
@@ -19,7 +19,7 @@ http_interactions:
|
|
19
19
|
Content-Type:
|
20
20
|
- application/json
|
21
21
|
Date:
|
22
|
-
- Mon,
|
22
|
+
- Mon, 20 Apr 2015 23:27:44 GMT
|
23
23
|
body:
|
24
24
|
encoding: UTF-8
|
25
25
|
string: "{\"status\":\"Pulling repository hawknewton/show-env\"}\r\n{\"status\":\"Pulling
|
@@ -47,7 +47,7 @@ http_interactions:
|
|
47
47
|
complete\",\"progressDetail\":{},\"id\":\"b9c5be3a918d\"}{\"status\":\"Status:
|
48
48
|
Image is up to date for hawknewton/show-env\"}\r\n"
|
49
49
|
http_version:
|
50
|
-
recorded_at: Mon,
|
50
|
+
recorded_at: Mon, 20 Apr 2015 23:27:46 GMT
|
51
51
|
- request:
|
52
52
|
method: post
|
53
53
|
uri: "<DOCKER_HOST>/v1.16/containers/create?name=single-test"
|
@@ -67,18 +67,18 @@ http_interactions:
|
|
67
67
|
Content-Type:
|
68
68
|
- application/json
|
69
69
|
Date:
|
70
|
-
- Mon,
|
70
|
+
- Mon, 20 Apr 2015 23:27:46 GMT
|
71
71
|
Content-Length:
|
72
72
|
- '90'
|
73
73
|
body:
|
74
74
|
encoding: UTF-8
|
75
75
|
string: |
|
76
|
-
{"Id":"
|
76
|
+
{"Id":"50d9c0c51ebc08b29728cac713fdcecf49a93d19902c8f8491c3c940ae3afc77","Warnings":null}
|
77
77
|
http_version:
|
78
|
-
recorded_at: Mon,
|
78
|
+
recorded_at: Mon, 20 Apr 2015 23:27:46 GMT
|
79
79
|
- request:
|
80
80
|
method: post
|
81
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
81
|
+
uri: "<DOCKER_HOST>/v1.16/containers/50d9c0c51ebc08b29728cac713fdcecf49a93d19902c8f8491c3c940ae3afc77/start"
|
82
82
|
body:
|
83
83
|
encoding: UTF-8
|
84
84
|
string: "{}"
|
@@ -93,15 +93,15 @@ http_interactions:
|
|
93
93
|
message:
|
94
94
|
headers:
|
95
95
|
Date:
|
96
|
-
- Mon,
|
96
|
+
- Mon, 20 Apr 2015 23:27:47 GMT
|
97
97
|
body:
|
98
98
|
encoding: UTF-8
|
99
99
|
string: ''
|
100
100
|
http_version:
|
101
|
-
recorded_at: Mon,
|
101
|
+
recorded_at: Mon, 20 Apr 2015 23:27:46 GMT
|
102
102
|
- request:
|
103
103
|
method: post
|
104
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
104
|
+
uri: "<DOCKER_HOST>/v1.16/containers/50d9c0c51ebc08b29728cac713fdcecf49a93d19902c8f8491c3c940ae3afc77/kill"
|
105
105
|
body:
|
106
106
|
encoding: US-ASCII
|
107
107
|
string: ''
|
@@ -116,12 +116,12 @@ http_interactions:
|
|
116
116
|
message:
|
117
117
|
headers:
|
118
118
|
Date:
|
119
|
-
- Mon,
|
119
|
+
- Mon, 20 Apr 2015 23:27:47 GMT
|
120
120
|
body:
|
121
121
|
encoding: UTF-8
|
122
122
|
string: ''
|
123
123
|
http_version:
|
124
|
-
recorded_at: Mon,
|
124
|
+
recorded_at: Mon, 20 Apr 2015 23:27:47 GMT
|
125
125
|
- request:
|
126
126
|
method: get
|
127
127
|
uri: "<DOCKER_HOST>/v1.16/containers/single-test/json"
|
@@ -141,13 +141,13 @@ http_interactions:
|
|
141
141
|
Content-Type:
|
142
142
|
- application/json
|
143
143
|
Date:
|
144
|
-
- Mon,
|
144
|
+
- Mon, 20 Apr 2015 23:27:47 GMT
|
145
145
|
body:
|
146
146
|
encoding: UTF-8
|
147
147
|
string: |
|
148
|
-
{"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":"
|
148
|
+
{"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":"50d9c0c51ebc","Image":"b9c5be3a918d","MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":null,"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Created":"2015-04-20T23:27:46.688944067Z","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/50d9c0c51ebc08b29728cac713fdcecf49a93d19902c8f8491c3c940ae3afc77/hostname","HostsPath":"/mnt/sda1/var/lib/docker/containers/50d9c0c51ebc08b29728cac713fdcecf49a93d19902c8f8491c3c940ae3afc77/hosts","Id":"50d9c0c51ebc08b29728cac713fdcecf49a93d19902c8f8491c3c940ae3afc77","Image":"b9c5be3a918d80b0d898ed8eca3fc76f75c482b531238e539cb00f75bb4e12d2","MountLabel":"","Name":"/single-test","NetworkSettings":{"Bridge":"","Gateway":"","GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"IPAddress":"","IPPrefixLen":0,"IPv6Gateway":"","LinkLocalIPv6Address":"","LinkLocalIPv6PrefixLen":0,"MacAddress":"","PortMapping":null,"Ports":null},"Path":"/bin/sh","ProcessLabel":"","ResolvConfPath":"/mnt/sda1/var/lib/docker/containers/50d9c0c51ebc08b29728cac713fdcecf49a93d19902c8f8491c3c940ae3afc77/resolv.conf","RestartCount":0,"State":{"Error":"","ExitCode":137,"FinishedAt":"2015-04-20T23:27:47.2591485Z","OOMKilled":false,"Paused":false,"Pid":0,"Restarting":false,"Running":false,"StartedAt":"2015-04-20T23:27:47.108780444Z"},"Volumes":{},"VolumesRW":{}}
|
149
149
|
http_version:
|
150
|
-
recorded_at: Mon,
|
150
|
+
recorded_at: Mon, 20 Apr 2015 23:27:47 GMT
|
151
151
|
- request:
|
152
152
|
method: get
|
153
153
|
uri: "<DOCKER_HOST>/v1.16/containers/single-test/json"
|
@@ -167,13 +167,13 @@ http_interactions:
|
|
167
167
|
Content-Type:
|
168
168
|
- application/json
|
169
169
|
Date:
|
170
|
-
- Mon,
|
170
|
+
- Mon, 20 Apr 2015 23:27:47 GMT
|
171
171
|
body:
|
172
172
|
encoding: UTF-8
|
173
173
|
string: |
|
174
|
-
{"AppArmorProfile":"","Args":["-c","ruby /code/server.rb"],"Config":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":null,"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":["/bin/sh","-c","ruby /code/server.rb"],"Env":["PATH=/usr/local/bundle/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin","RUBY_MAJOR=2.1","RUBY_VERSION=2.1.3","GEM_HOME=/usr/local/bundle","BUNDLE_APP_CONFIG=/usr/local/bundle"],"ExposedPorts":{"80/tcp":{}},"Hostname":"
|
174
|
+
{"AppArmorProfile":"","Args":["-c","ruby /code/server.rb"],"Config":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":null,"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":["/bin/sh","-c","ruby /code/server.rb"],"Env":["PATH=/usr/local/bundle/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin","RUBY_MAJOR=2.1","RUBY_VERSION=2.1.3","GEM_HOME=/usr/local/bundle","BUNDLE_APP_CONFIG=/usr/local/bundle"],"ExposedPorts":{"80/tcp":{}},"Hostname":"50d9c0c51ebc","Image":"b9c5be3a918d","MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":null,"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Created":"2015-04-20T23:27:46.688944067Z","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/50d9c0c51ebc08b29728cac713fdcecf49a93d19902c8f8491c3c940ae3afc77/hostname","HostsPath":"/mnt/sda1/var/lib/docker/containers/50d9c0c51ebc08b29728cac713fdcecf49a93d19902c8f8491c3c940ae3afc77/hosts","Id":"50d9c0c51ebc08b29728cac713fdcecf49a93d19902c8f8491c3c940ae3afc77","Image":"b9c5be3a918d80b0d898ed8eca3fc76f75c482b531238e539cb00f75bb4e12d2","MountLabel":"","Name":"/single-test","NetworkSettings":{"Bridge":"","Gateway":"","GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"IPAddress":"","IPPrefixLen":0,"IPv6Gateway":"","LinkLocalIPv6Address":"","LinkLocalIPv6PrefixLen":0,"MacAddress":"","PortMapping":null,"Ports":null},"Path":"/bin/sh","ProcessLabel":"","ResolvConfPath":"/mnt/sda1/var/lib/docker/containers/50d9c0c51ebc08b29728cac713fdcecf49a93d19902c8f8491c3c940ae3afc77/resolv.conf","RestartCount":0,"State":{"Error":"","ExitCode":137,"FinishedAt":"2015-04-20T23:27:47.2591485Z","OOMKilled":false,"Paused":false,"Pid":0,"Restarting":false,"Running":false,"StartedAt":"2015-04-20T23:27:47.108780444Z"},"Volumes":{},"VolumesRW":{}}
|
175
175
|
http_version:
|
176
|
-
recorded_at: Mon,
|
176
|
+
recorded_at: Mon, 20 Apr 2015 23:27:47 GMT
|
177
177
|
- request:
|
178
178
|
method: get
|
179
179
|
uri: "<DOCKER_HOST>/v1.16/containers/single-test/json"
|
@@ -193,13 +193,13 @@ http_interactions:
|
|
193
193
|
Content-Type:
|
194
194
|
- application/json
|
195
195
|
Date:
|
196
|
-
- Mon,
|
196
|
+
- Mon, 20 Apr 2015 23:27:47 GMT
|
197
197
|
body:
|
198
198
|
encoding: UTF-8
|
199
199
|
string: |
|
200
|
-
{"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":"
|
200
|
+
{"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":"50d9c0c51ebc","Image":"b9c5be3a918d","MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":null,"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Created":"2015-04-20T23:27:46.688944067Z","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/50d9c0c51ebc08b29728cac713fdcecf49a93d19902c8f8491c3c940ae3afc77/hostname","HostsPath":"/mnt/sda1/var/lib/docker/containers/50d9c0c51ebc08b29728cac713fdcecf49a93d19902c8f8491c3c940ae3afc77/hosts","Id":"50d9c0c51ebc08b29728cac713fdcecf49a93d19902c8f8491c3c940ae3afc77","Image":"b9c5be3a918d80b0d898ed8eca3fc76f75c482b531238e539cb00f75bb4e12d2","MountLabel":"","Name":"/single-test","NetworkSettings":{"Bridge":"","Gateway":"","GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"IPAddress":"","IPPrefixLen":0,"IPv6Gateway":"","LinkLocalIPv6Address":"","LinkLocalIPv6PrefixLen":0,"MacAddress":"","PortMapping":null,"Ports":null},"Path":"/bin/sh","ProcessLabel":"","ResolvConfPath":"/mnt/sda1/var/lib/docker/containers/50d9c0c51ebc08b29728cac713fdcecf49a93d19902c8f8491c3c940ae3afc77/resolv.conf","RestartCount":0,"State":{"Error":"","ExitCode":137,"FinishedAt":"2015-04-20T23:27:47.2591485Z","OOMKilled":false,"Paused":false,"Pid":0,"Restarting":false,"Running":false,"StartedAt":"2015-04-20T23:27:47.108780444Z"},"Volumes":{},"VolumesRW":{}}
|
201
201
|
http_version:
|
202
|
-
recorded_at: Mon,
|
202
|
+
recorded_at: Mon, 20 Apr 2015 23:27:47 GMT
|
203
203
|
- request:
|
204
204
|
method: get
|
205
205
|
uri: "<DOCKER_HOST>/v1.16/containers/single-test/json"
|
@@ -219,16 +219,16 @@ http_interactions:
|
|
219
219
|
Content-Type:
|
220
220
|
- application/json
|
221
221
|
Date:
|
222
|
-
- Mon,
|
222
|
+
- Mon, 20 Apr 2015 23:27:47 GMT
|
223
223
|
body:
|
224
224
|
encoding: UTF-8
|
225
225
|
string: |
|
226
|
-
{"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":"
|
226
|
+
{"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":"50d9c0c51ebc","Image":"b9c5be3a918d","MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":null,"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Created":"2015-04-20T23:27:46.688944067Z","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/50d9c0c51ebc08b29728cac713fdcecf49a93d19902c8f8491c3c940ae3afc77/hostname","HostsPath":"/mnt/sda1/var/lib/docker/containers/50d9c0c51ebc08b29728cac713fdcecf49a93d19902c8f8491c3c940ae3afc77/hosts","Id":"50d9c0c51ebc08b29728cac713fdcecf49a93d19902c8f8491c3c940ae3afc77","Image":"b9c5be3a918d80b0d898ed8eca3fc76f75c482b531238e539cb00f75bb4e12d2","MountLabel":"","Name":"/single-test","NetworkSettings":{"Bridge":"","Gateway":"","GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"IPAddress":"","IPPrefixLen":0,"IPv6Gateway":"","LinkLocalIPv6Address":"","LinkLocalIPv6PrefixLen":0,"MacAddress":"","PortMapping":null,"Ports":null},"Path":"/bin/sh","ProcessLabel":"","ResolvConfPath":"/mnt/sda1/var/lib/docker/containers/50d9c0c51ebc08b29728cac713fdcecf49a93d19902c8f8491c3c940ae3afc77/resolv.conf","RestartCount":0,"State":{"Error":"","ExitCode":137,"FinishedAt":"2015-04-20T23:27:47.2591485Z","OOMKilled":false,"Paused":false,"Pid":0,"Restarting":false,"Running":false,"StartedAt":"2015-04-20T23:27:47.108780444Z"},"Volumes":{},"VolumesRW":{}}
|
227
227
|
http_version:
|
228
|
-
recorded_at: Mon,
|
228
|
+
recorded_at: Mon, 20 Apr 2015 23:27:47 GMT
|
229
229
|
- request:
|
230
230
|
method: delete
|
231
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
231
|
+
uri: "<DOCKER_HOST>/v1.16/containers/50d9c0c51ebc08b29728cac713fdcecf49a93d19902c8f8491c3c940ae3afc77"
|
232
232
|
body:
|
233
233
|
encoding: US-ASCII
|
234
234
|
string: ''
|
@@ -243,15 +243,15 @@ http_interactions:
|
|
243
243
|
message:
|
244
244
|
headers:
|
245
245
|
Date:
|
246
|
-
- Mon,
|
246
|
+
- Mon, 20 Apr 2015 23:27:47 GMT
|
247
247
|
body:
|
248
248
|
encoding: UTF-8
|
249
249
|
string: ''
|
250
250
|
http_version:
|
251
|
-
recorded_at: Mon,
|
251
|
+
recorded_at: Mon, 20 Apr 2015 23:27:47 GMT
|
252
252
|
- request:
|
253
253
|
method: get
|
254
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
254
|
+
uri: "<DOCKER_HOST>/v1.16/containers/50d9c0c51ebc08b29728cac713fdcecf49a93d19902c8f8491c3c940ae3afc77/json"
|
255
255
|
body:
|
256
256
|
encoding: US-ASCII
|
257
257
|
string: ''
|
@@ -268,18 +268,18 @@ http_interactions:
|
|
268
268
|
Content-Type:
|
269
269
|
- text/plain; charset=utf-8
|
270
270
|
Date:
|
271
|
-
- Mon,
|
271
|
+
- Mon, 20 Apr 2015 23:27:47 GMT
|
272
272
|
Content-Length:
|
273
273
|
- '84'
|
274
274
|
body:
|
275
275
|
encoding: UTF-8
|
276
276
|
string: |
|
277
|
-
No such container:
|
277
|
+
No such container: 50d9c0c51ebc08b29728cac713fdcecf49a93d19902c8f8491c3c940ae3afc77
|
278
278
|
http_version:
|
279
|
-
recorded_at: Mon,
|
279
|
+
recorded_at: Mon, 20 Apr 2015 23:27:47 GMT
|
280
280
|
- request:
|
281
281
|
method: get
|
282
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
282
|
+
uri: "<DOCKER_HOST>/v1.16/containers/50d9c0c51ebc08b29728cac713fdcecf49a93d19902c8f8491c3c940ae3afc77/json"
|
283
283
|
body:
|
284
284
|
encoding: US-ASCII
|
285
285
|
string: ''
|
@@ -296,18 +296,18 @@ http_interactions:
|
|
296
296
|
Content-Type:
|
297
297
|
- text/plain; charset=utf-8
|
298
298
|
Date:
|
299
|
-
- Mon,
|
299
|
+
- Mon, 20 Apr 2015 23:27:47 GMT
|
300
300
|
Content-Length:
|
301
301
|
- '84'
|
302
302
|
body:
|
303
303
|
encoding: UTF-8
|
304
304
|
string: |
|
305
|
-
No such container:
|
305
|
+
No such container: 50d9c0c51ebc08b29728cac713fdcecf49a93d19902c8f8491c3c940ae3afc77
|
306
306
|
http_version:
|
307
|
-
recorded_at: Mon,
|
307
|
+
recorded_at: Mon, 20 Apr 2015 23:27:47 GMT
|
308
308
|
- request:
|
309
309
|
method: get
|
310
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
310
|
+
uri: "<DOCKER_HOST>/v1.16/containers/50d9c0c51ebc08b29728cac713fdcecf49a93d19902c8f8491c3c940ae3afc77/json"
|
311
311
|
body:
|
312
312
|
encoding: US-ASCII
|
313
313
|
string: ''
|
@@ -324,18 +324,18 @@ http_interactions:
|
|
324
324
|
Content-Type:
|
325
325
|
- text/plain; charset=utf-8
|
326
326
|
Date:
|
327
|
-
- Mon,
|
327
|
+
- Mon, 20 Apr 2015 23:27:47 GMT
|
328
328
|
Content-Length:
|
329
329
|
- '84'
|
330
330
|
body:
|
331
331
|
encoding: UTF-8
|
332
332
|
string: |
|
333
|
-
No such container:
|
333
|
+
No such container: 50d9c0c51ebc08b29728cac713fdcecf49a93d19902c8f8491c3c940ae3afc77
|
334
334
|
http_version:
|
335
|
-
recorded_at: Mon,
|
335
|
+
recorded_at: Mon, 20 Apr 2015 23:27:47 GMT
|
336
336
|
- request:
|
337
337
|
method: get
|
338
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
338
|
+
uri: "<DOCKER_HOST>/v1.16/containers/50d9c0c51ebc08b29728cac713fdcecf49a93d19902c8f8491c3c940ae3afc77/json"
|
339
339
|
body:
|
340
340
|
encoding: US-ASCII
|
341
341
|
string: ''
|
@@ -352,18 +352,18 @@ http_interactions:
|
|
352
352
|
Content-Type:
|
353
353
|
- text/plain; charset=utf-8
|
354
354
|
Date:
|
355
|
-
- Mon,
|
355
|
+
- Mon, 20 Apr 2015 23:27:47 GMT
|
356
356
|
Content-Length:
|
357
357
|
- '84'
|
358
358
|
body:
|
359
359
|
encoding: UTF-8
|
360
360
|
string: |
|
361
|
-
No such container:
|
361
|
+
No such container: 50d9c0c51ebc08b29728cac713fdcecf49a93d19902c8f8491c3c940ae3afc77
|
362
362
|
http_version:
|
363
|
-
recorded_at: Mon,
|
363
|
+
recorded_at: Mon, 20 Apr 2015 23:27:47 GMT
|
364
364
|
- request:
|
365
365
|
method: post
|
366
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
366
|
+
uri: "<DOCKER_HOST>/v1.16/containers/50d9c0c51ebc08b29728cac713fdcecf49a93d19902c8f8491c3c940ae3afc77/kill"
|
367
367
|
body:
|
368
368
|
encoding: US-ASCII
|
369
369
|
string: ''
|
@@ -380,13 +380,13 @@ http_interactions:
|
|
380
380
|
Content-Type:
|
381
381
|
- text/plain; charset=utf-8
|
382
382
|
Date:
|
383
|
-
- Mon,
|
383
|
+
- Mon, 20 Apr 2015 23:27:47 GMT
|
384
384
|
Content-Length:
|
385
385
|
- '84'
|
386
386
|
body:
|
387
387
|
encoding: UTF-8
|
388
388
|
string: |
|
389
|
-
No such container:
|
389
|
+
No such container: 50d9c0c51ebc08b29728cac713fdcecf49a93d19902c8f8491c3c940ae3afc77
|
390
390
|
http_version:
|
391
|
-
recorded_at: Mon,
|
391
|
+
recorded_at: Mon, 20 Apr 2015 23:27:47 GMT
|
392
392
|
recorded_with: VCR 2.9.3
|