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:41 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:43 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:43 GMT
|
71
71
|
Content-Length:
|
72
72
|
- '90'
|
73
73
|
body:
|
74
74
|
encoding: UTF-8
|
75
75
|
string: |
|
76
|
-
{"Id":"
|
76
|
+
{"Id":"e55da81cf4346e004bd4fa7c0dd88d3e2423521c5c506020f081974270f85d73","Warnings":null}
|
77
77
|
http_version:
|
78
|
-
recorded_at: Mon,
|
78
|
+
recorded_at: Mon, 20 Apr 2015 23:27:43 GMT
|
79
79
|
- request:
|
80
80
|
method: post
|
81
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
81
|
+
uri: "<DOCKER_HOST>/v1.16/containers/e55da81cf4346e004bd4fa7c0dd88d3e2423521c5c506020f081974270f85d73/start"
|
82
82
|
body:
|
83
83
|
encoding: UTF-8
|
84
84
|
string: "{}"
|
@@ -93,12 +93,12 @@ http_interactions:
|
|
93
93
|
message:
|
94
94
|
headers:
|
95
95
|
Date:
|
96
|
-
- Mon,
|
96
|
+
- Mon, 20 Apr 2015 23:27:43 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:43 GMT
|
102
102
|
- request:
|
103
103
|
method: get
|
104
104
|
uri: "<DOCKER_HOST>/v1.16/containers/single-test/json"
|
@@ -118,13 +118,13 @@ http_interactions:
|
|
118
118
|
Content-Type:
|
119
119
|
- application/json
|
120
120
|
Date:
|
121
|
-
- Mon,
|
121
|
+
- Mon, 20 Apr 2015 23:27:43 GMT
|
122
122
|
body:
|
123
123
|
encoding: UTF-8
|
124
124
|
string: |
|
125
|
-
{"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":"
|
125
|
+
{"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":"e55da81cf434","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:43.566377213Z","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/e55da81cf4346e004bd4fa7c0dd88d3e2423521c5c506020f081974270f85d73/hostname","HostsPath":"/mnt/sda1/var/lib/docker/containers/e55da81cf4346e004bd4fa7c0dd88d3e2423521c5c506020f081974270f85d73/hosts","Id":"e55da81cf4346e004bd4fa7c0dd88d3e2423521c5c506020f081974270f85d73","Image":"b9c5be3a918d80b0d898ed8eca3fc76f75c482b531238e539cb00f75bb4e12d2","MountLabel":"","Name":"/single-test","NetworkSettings":{"Bridge":"docker0","Gateway":"172.17.42.1","GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"IPAddress":"172.17.7.180","IPPrefixLen":16,"IPv6Gateway":"","LinkLocalIPv6Address":"fe80::42:acff:fe11:7b4","LinkLocalIPv6PrefixLen":64,"MacAddress":"02:42:ac:11:07:b4","PortMapping":null,"Ports":{"80/tcp":null}},"Path":"/bin/sh","ProcessLabel":"","ResolvConfPath":"/mnt/sda1/var/lib/docker/containers/e55da81cf4346e004bd4fa7c0dd88d3e2423521c5c506020f081974270f85d73/resolv.conf","RestartCount":0,"State":{"Error":"","ExitCode":0,"FinishedAt":"0001-01-01T00:00:00Z","OOMKilled":false,"Paused":false,"Pid":13089,"Restarting":false,"Running":true,"StartedAt":"2015-04-20T23:27:43.957773161Z"},"Volumes":{},"VolumesRW":{}}
|
126
126
|
http_version:
|
127
|
-
recorded_at: Mon,
|
127
|
+
recorded_at: Mon, 20 Apr 2015 23:27:43 GMT
|
128
128
|
- request:
|
129
129
|
method: get
|
130
130
|
uri: "<DOCKER_HOST>/v1.16/containers/single-test/json"
|
@@ -144,16 +144,16 @@ http_interactions:
|
|
144
144
|
Content-Type:
|
145
145
|
- application/json
|
146
146
|
Date:
|
147
|
-
- Mon,
|
147
|
+
- Mon, 20 Apr 2015 23:27:44 GMT
|
148
148
|
body:
|
149
149
|
encoding: UTF-8
|
150
150
|
string: |
|
151
|
-
{"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":"
|
151
|
+
{"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":"e55da81cf434","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:43.566377213Z","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/e55da81cf4346e004bd4fa7c0dd88d3e2423521c5c506020f081974270f85d73/hostname","HostsPath":"/mnt/sda1/var/lib/docker/containers/e55da81cf4346e004bd4fa7c0dd88d3e2423521c5c506020f081974270f85d73/hosts","Id":"e55da81cf4346e004bd4fa7c0dd88d3e2423521c5c506020f081974270f85d73","Image":"b9c5be3a918d80b0d898ed8eca3fc76f75c482b531238e539cb00f75bb4e12d2","MountLabel":"","Name":"/single-test","NetworkSettings":{"Bridge":"docker0","Gateway":"172.17.42.1","GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"IPAddress":"172.17.7.180","IPPrefixLen":16,"IPv6Gateway":"","LinkLocalIPv6Address":"fe80::42:acff:fe11:7b4","LinkLocalIPv6PrefixLen":64,"MacAddress":"02:42:ac:11:07:b4","PortMapping":null,"Ports":{"80/tcp":null}},"Path":"/bin/sh","ProcessLabel":"","ResolvConfPath":"/mnt/sda1/var/lib/docker/containers/e55da81cf4346e004bd4fa7c0dd88d3e2423521c5c506020f081974270f85d73/resolv.conf","RestartCount":0,"State":{"Error":"","ExitCode":0,"FinishedAt":"0001-01-01T00:00:00Z","OOMKilled":false,"Paused":false,"Pid":13089,"Restarting":false,"Running":true,"StartedAt":"2015-04-20T23:27:43.957773161Z"},"Volumes":{},"VolumesRW":{}}
|
152
152
|
http_version:
|
153
|
-
recorded_at: Mon,
|
153
|
+
recorded_at: Mon, 20 Apr 2015 23:27:43 GMT
|
154
154
|
- request:
|
155
155
|
method: post
|
156
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
156
|
+
uri: "<DOCKER_HOST>/v1.16/containers/e55da81cf4346e004bd4fa7c0dd88d3e2423521c5c506020f081974270f85d73/kill"
|
157
157
|
body:
|
158
158
|
encoding: US-ASCII
|
159
159
|
string: ''
|
@@ -168,12 +168,12 @@ http_interactions:
|
|
168
168
|
message:
|
169
169
|
headers:
|
170
170
|
Date:
|
171
|
-
- Mon,
|
171
|
+
- Mon, 20 Apr 2015 23:27:44 GMT
|
172
172
|
body:
|
173
173
|
encoding: UTF-8
|
174
174
|
string: ''
|
175
175
|
http_version:
|
176
|
-
recorded_at: Mon,
|
176
|
+
recorded_at: Mon, 20 Apr 2015 23:27:44 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:44 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":"e55da81cf434","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:43.566377213Z","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/e55da81cf4346e004bd4fa7c0dd88d3e2423521c5c506020f081974270f85d73/hostname","HostsPath":"/mnt/sda1/var/lib/docker/containers/e55da81cf4346e004bd4fa7c0dd88d3e2423521c5c506020f081974270f85d73/hosts","Id":"e55da81cf4346e004bd4fa7c0dd88d3e2423521c5c506020f081974270f85d73","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/e55da81cf4346e004bd4fa7c0dd88d3e2423521c5c506020f081974270f85d73/resolv.conf","RestartCount":0,"State":{"Error":"","ExitCode":137,"FinishedAt":"2015-04-20T23:27:44.186497219Z","OOMKilled":false,"Paused":false,"Pid":0,"Restarting":false,"Running":false,"StartedAt":"2015-04-20T23:27:43.957773161Z"},"Volumes":{},"VolumesRW":{}}
|
201
201
|
http_version:
|
202
|
-
recorded_at: Mon,
|
202
|
+
recorded_at: Mon, 20 Apr 2015 23:27:44 GMT
|
203
203
|
- request:
|
204
204
|
method: get
|
205
205
|
uri: "<DOCKER_HOST>/v1.16/containers/single-test/json"
|
@@ -219,13 +219,13 @@ http_interactions:
|
|
219
219
|
Content-Type:
|
220
220
|
- application/json
|
221
221
|
Date:
|
222
|
-
- Mon,
|
222
|
+
- Mon, 20 Apr 2015 23:27:44 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":"e55da81cf434","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:43.566377213Z","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/e55da81cf4346e004bd4fa7c0dd88d3e2423521c5c506020f081974270f85d73/hostname","HostsPath":"/mnt/sda1/var/lib/docker/containers/e55da81cf4346e004bd4fa7c0dd88d3e2423521c5c506020f081974270f85d73/hosts","Id":"e55da81cf4346e004bd4fa7c0dd88d3e2423521c5c506020f081974270f85d73","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/e55da81cf4346e004bd4fa7c0dd88d3e2423521c5c506020f081974270f85d73/resolv.conf","RestartCount":0,"State":{"Error":"","ExitCode":137,"FinishedAt":"2015-04-20T23:27:44.186497219Z","OOMKilled":false,"Paused":false,"Pid":0,"Restarting":false,"Running":false,"StartedAt":"2015-04-20T23:27:43.957773161Z"},"Volumes":{},"VolumesRW":{}}
|
227
227
|
http_version:
|
228
|
-
recorded_at: Mon,
|
228
|
+
recorded_at: Mon, 20 Apr 2015 23:27:44 GMT
|
229
229
|
- request:
|
230
230
|
method: get
|
231
231
|
uri: "<DOCKER_HOST>/v1.16/containers/single-test/json"
|
@@ -245,16 +245,16 @@ http_interactions:
|
|
245
245
|
Content-Type:
|
246
246
|
- application/json
|
247
247
|
Date:
|
248
|
-
- Mon,
|
248
|
+
- Mon, 20 Apr 2015 23:27:44 GMT
|
249
249
|
body:
|
250
250
|
encoding: UTF-8
|
251
251
|
string: |
|
252
|
-
{"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":"
|
252
|
+
{"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":"e55da81cf434","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:43.566377213Z","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/e55da81cf4346e004bd4fa7c0dd88d3e2423521c5c506020f081974270f85d73/hostname","HostsPath":"/mnt/sda1/var/lib/docker/containers/e55da81cf4346e004bd4fa7c0dd88d3e2423521c5c506020f081974270f85d73/hosts","Id":"e55da81cf4346e004bd4fa7c0dd88d3e2423521c5c506020f081974270f85d73","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/e55da81cf4346e004bd4fa7c0dd88d3e2423521c5c506020f081974270f85d73/resolv.conf","RestartCount":0,"State":{"Error":"","ExitCode":137,"FinishedAt":"2015-04-20T23:27:44.186497219Z","OOMKilled":false,"Paused":false,"Pid":0,"Restarting":false,"Running":false,"StartedAt":"2015-04-20T23:27:43.957773161Z"},"Volumes":{},"VolumesRW":{}}
|
253
253
|
http_version:
|
254
|
-
recorded_at: Mon,
|
254
|
+
recorded_at: Mon, 20 Apr 2015 23:27:44 GMT
|
255
255
|
- request:
|
256
256
|
method: delete
|
257
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
257
|
+
uri: "<DOCKER_HOST>/v1.16/containers/e55da81cf4346e004bd4fa7c0dd88d3e2423521c5c506020f081974270f85d73"
|
258
258
|
body:
|
259
259
|
encoding: US-ASCII
|
260
260
|
string: ''
|
@@ -269,15 +269,15 @@ http_interactions:
|
|
269
269
|
message:
|
270
270
|
headers:
|
271
271
|
Date:
|
272
|
-
- Mon,
|
272
|
+
- Mon, 20 Apr 2015 23:27:44 GMT
|
273
273
|
body:
|
274
274
|
encoding: UTF-8
|
275
275
|
string: ''
|
276
276
|
http_version:
|
277
|
-
recorded_at: Mon,
|
277
|
+
recorded_at: Mon, 20 Apr 2015 23:27:44 GMT
|
278
278
|
- request:
|
279
279
|
method: get
|
280
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
280
|
+
uri: "<DOCKER_HOST>/v1.16/containers/e55da81cf4346e004bd4fa7c0dd88d3e2423521c5c506020f081974270f85d73/json"
|
281
281
|
body:
|
282
282
|
encoding: US-ASCII
|
283
283
|
string: ''
|
@@ -294,18 +294,18 @@ http_interactions:
|
|
294
294
|
Content-Type:
|
295
295
|
- text/plain; charset=utf-8
|
296
296
|
Date:
|
297
|
-
- Mon,
|
297
|
+
- Mon, 20 Apr 2015 23:27:44 GMT
|
298
298
|
Content-Length:
|
299
299
|
- '84'
|
300
300
|
body:
|
301
301
|
encoding: UTF-8
|
302
302
|
string: |
|
303
|
-
No such container:
|
303
|
+
No such container: e55da81cf4346e004bd4fa7c0dd88d3e2423521c5c506020f081974270f85d73
|
304
304
|
http_version:
|
305
|
-
recorded_at: Mon,
|
305
|
+
recorded_at: Mon, 20 Apr 2015 23:27:44 GMT
|
306
306
|
- request:
|
307
307
|
method: get
|
308
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
308
|
+
uri: "<DOCKER_HOST>/v1.16/containers/e55da81cf4346e004bd4fa7c0dd88d3e2423521c5c506020f081974270f85d73/json"
|
309
309
|
body:
|
310
310
|
encoding: US-ASCII
|
311
311
|
string: ''
|
@@ -322,18 +322,18 @@ http_interactions:
|
|
322
322
|
Content-Type:
|
323
323
|
- text/plain; charset=utf-8
|
324
324
|
Date:
|
325
|
-
- Mon,
|
325
|
+
- Mon, 20 Apr 2015 23:27:44 GMT
|
326
326
|
Content-Length:
|
327
327
|
- '84'
|
328
328
|
body:
|
329
329
|
encoding: UTF-8
|
330
330
|
string: |
|
331
|
-
No such container:
|
331
|
+
No such container: e55da81cf4346e004bd4fa7c0dd88d3e2423521c5c506020f081974270f85d73
|
332
332
|
http_version:
|
333
|
-
recorded_at: Mon,
|
333
|
+
recorded_at: Mon, 20 Apr 2015 23:27:44 GMT
|
334
334
|
- request:
|
335
335
|
method: get
|
336
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
336
|
+
uri: "<DOCKER_HOST>/v1.16/containers/e55da81cf4346e004bd4fa7c0dd88d3e2423521c5c506020f081974270f85d73/json"
|
337
337
|
body:
|
338
338
|
encoding: US-ASCII
|
339
339
|
string: ''
|
@@ -350,18 +350,18 @@ http_interactions:
|
|
350
350
|
Content-Type:
|
351
351
|
- text/plain; charset=utf-8
|
352
352
|
Date:
|
353
|
-
- Mon,
|
353
|
+
- Mon, 20 Apr 2015 23:27:44 GMT
|
354
354
|
Content-Length:
|
355
355
|
- '84'
|
356
356
|
body:
|
357
357
|
encoding: UTF-8
|
358
358
|
string: |
|
359
|
-
No such container:
|
359
|
+
No such container: e55da81cf4346e004bd4fa7c0dd88d3e2423521c5c506020f081974270f85d73
|
360
360
|
http_version:
|
361
|
-
recorded_at: Mon,
|
361
|
+
recorded_at: Mon, 20 Apr 2015 23:27:44 GMT
|
362
362
|
- request:
|
363
363
|
method: get
|
364
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
364
|
+
uri: "<DOCKER_HOST>/v1.16/containers/e55da81cf4346e004bd4fa7c0dd88d3e2423521c5c506020f081974270f85d73/json"
|
365
365
|
body:
|
366
366
|
encoding: US-ASCII
|
367
367
|
string: ''
|
@@ -378,18 +378,18 @@ http_interactions:
|
|
378
378
|
Content-Type:
|
379
379
|
- text/plain; charset=utf-8
|
380
380
|
Date:
|
381
|
-
- Mon,
|
381
|
+
- Mon, 20 Apr 2015 23:27:44 GMT
|
382
382
|
Content-Length:
|
383
383
|
- '84'
|
384
384
|
body:
|
385
385
|
encoding: UTF-8
|
386
386
|
string: |
|
387
|
-
No such container:
|
387
|
+
No such container: e55da81cf4346e004bd4fa7c0dd88d3e2423521c5c506020f081974270f85d73
|
388
388
|
http_version:
|
389
|
-
recorded_at: Mon,
|
389
|
+
recorded_at: Mon, 20 Apr 2015 23:27:44 GMT
|
390
390
|
- request:
|
391
391
|
method: post
|
392
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
392
|
+
uri: "<DOCKER_HOST>/v1.16/containers/e55da81cf4346e004bd4fa7c0dd88d3e2423521c5c506020f081974270f85d73/kill"
|
393
393
|
body:
|
394
394
|
encoding: US-ASCII
|
395
395
|
string: ''
|
@@ -406,13 +406,13 @@ http_interactions:
|
|
406
406
|
Content-Type:
|
407
407
|
- text/plain; charset=utf-8
|
408
408
|
Date:
|
409
|
-
- Mon,
|
409
|
+
- Mon, 20 Apr 2015 23:27:44 GMT
|
410
410
|
Content-Length:
|
411
411
|
- '84'
|
412
412
|
body:
|
413
413
|
encoding: UTF-8
|
414
414
|
string: |
|
415
|
-
No such container:
|
415
|
+
No such container: e55da81cf4346e004bd4fa7c0dd88d3e2423521c5c506020f081974270f85d73
|
416
416
|
http_version:
|
417
|
-
recorded_at: Mon,
|
417
|
+
recorded_at: Mon, 20 Apr 2015 23:27:44 GMT
|
418
418
|
recorded_with: VCR 2.9.3
|
@@ -23,18 +23,18 @@ http_interactions:
|
|
23
23
|
Content-Type:
|
24
24
|
- application/json
|
25
25
|
Date:
|
26
|
-
- Mon,
|
26
|
+
- Mon, 20 Apr 2015 23:28:14 GMT
|
27
27
|
body:
|
28
28
|
encoding: UTF-8
|
29
29
|
string: "{\"stream\":\"Step 0 : FROM hawknewton/true\\n\"}\r\n{\"stream\":\"
|
30
30
|
---\\u003e 5fbce35eb337\\n\"}\r\n{\"stream\":\"Step 1 : ADD test /\\n\"}\r\n{\"stream\":\"
|
31
|
-
---\\u003e
|
32
|
-
|
31
|
+
---\\u003e 63dba9455078\\n\"}\r\n{\"stream\":\"Removing intermediate container
|
32
|
+
a5cf731f3356\\n\"}\r\n{\"stream\":\"Successfully built 63dba9455078\\n\"}\r\n"
|
33
33
|
http_version:
|
34
|
-
recorded_at: Mon,
|
34
|
+
recorded_at: Mon, 20 Apr 2015 23:28:14 GMT
|
35
35
|
- request:
|
36
36
|
method: get
|
37
|
-
uri: "<DOCKER_HOST>/v1.16/images/
|
37
|
+
uri: "<DOCKER_HOST>/v1.16/images/63dba9455078/json"
|
38
38
|
body:
|
39
39
|
encoding: US-ASCII
|
40
40
|
string: ''
|
@@ -51,13 +51,13 @@ http_interactions:
|
|
51
51
|
Content-Type:
|
52
52
|
- application/json
|
53
53
|
Date:
|
54
|
-
- Mon,
|
54
|
+
- Mon, 20 Apr 2015 23:28:14 GMT
|
55
55
|
Content-Length:
|
56
56
|
- '1546'
|
57
57
|
body:
|
58
58
|
encoding: UTF-8
|
59
59
|
string: |
|
60
|
-
{"Architecture":"amd64","Author":"","Comment":"","Config":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":["/true"],"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":[],"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"ExposedPorts":null,"Hostname":"5a0d2e5f7af6","Image":"5fbce35eb33780adf252ee2f87b7156660fdb5c7ca54a0fb4e262a87447cceeb","MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":[],"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Container":"
|
60
|
+
{"Architecture":"amd64","Author":"","Comment":"","Config":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":["/true"],"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":[],"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"ExposedPorts":null,"Hostname":"5a0d2e5f7af6","Image":"5fbce35eb33780adf252ee2f87b7156660fdb5c7ca54a0fb4e262a87447cceeb","MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":[],"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Container":"a5cf731f3356358141e3801166e115b890ef1e0dc0e98c4993ed28dbfa82cad3","ContainerConfig":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":["/bin/sh","-c","#(nop) ADD file:9384d35a0e7df2ca0bf917725194267b8b673f1fe0d7e79a385c94b8ec6c9d1a in /"],"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":[],"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"ExposedPorts":null,"Hostname":"5a0d2e5f7af6","Image":"5fbce35eb33780adf252ee2f87b7156660fdb5c7ca54a0fb4e262a87447cceeb","MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":[],"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Created":"2015-04-20T23:28:14.270707171Z","DockerVersion":"1.5.0","Id":"63dba9455078220f004224c1b0a5032b46ab36b8b87909ea59a88cf91d4fcdf5","Os":"linux","Parent":"5fbce35eb33780adf252ee2f87b7156660fdb5c7ca54a0fb4e262a87447cceeb","Size":0,"VirtualSize":125}
|
61
61
|
http_version:
|
62
|
-
recorded_at: Mon,
|
62
|
+
recorded_at: Mon, 20 Apr 2015 23:28:14 GMT
|
63
63
|
recorded_with: VCR 2.9.3
|
@@ -23,13 +23,13 @@ http_interactions:
|
|
23
23
|
Content-Type:
|
24
24
|
- application/json
|
25
25
|
Date:
|
26
|
-
- Mon,
|
26
|
+
- Mon, 20 Apr 2015 23:28:14 GMT
|
27
27
|
body:
|
28
28
|
encoding: UTF-8
|
29
29
|
string: "{\"stream\":\"Step 0 : FROM hawknewton/true\\n\"}\r\n{\"stream\":\"
|
30
30
|
---\\u003e 5fbce35eb337\\n\"}\r\n{\"stream\":\"Step 1 : ADD test /\\n\"}\r\n{\"stream\":\"
|
31
|
-
---\\u003e
|
32
|
-
|
31
|
+
---\\u003e 26b842674509\\n\"}\r\n{\"stream\":\"Removing intermediate container
|
32
|
+
4b0b49e895da\\n\"}\r\n{\"stream\":\"Successfully built 26b842674509\\n\"}\r\n"
|
33
33
|
http_version:
|
34
|
-
recorded_at: Mon,
|
34
|
+
recorded_at: Mon, 20 Apr 2015 23:28:14 GMT
|
35
35
|
recorded_with: VCR 2.9.3
|
data/spec/vcr/Bigrig_DockerAdapter/_container_exists_/when_the_container_does_not_exist/is_false.yml
CHANGED
@@ -19,7 +19,7 @@ http_interactions:
|
|
19
19
|
Content-Type:
|
20
20
|
- text/plain; charset=utf-8
|
21
21
|
Date:
|
22
|
-
- Mon,
|
22
|
+
- Mon, 20 Apr 2015 23:28:15 GMT
|
23
23
|
Content-Length:
|
24
24
|
- '44'
|
25
25
|
body:
|
@@ -27,7 +27,7 @@ http_interactions:
|
|
27
27
|
string: |
|
28
28
|
No such container: container_does_not_exist
|
29
29
|
http_version:
|
30
|
-
recorded_at: Mon,
|
30
|
+
recorded_at: Mon, 20 Apr 2015 23:28:14 GMT
|
31
31
|
- request:
|
32
32
|
method: get
|
33
33
|
uri: "<DOCKER_HOST>/v1.16/containers/container_does_not_exist/json"
|
@@ -47,7 +47,7 @@ http_interactions:
|
|
47
47
|
Content-Type:
|
48
48
|
- text/plain; charset=utf-8
|
49
49
|
Date:
|
50
|
-
- Mon,
|
50
|
+
- Mon, 20 Apr 2015 23:28:15 GMT
|
51
51
|
Content-Length:
|
52
52
|
- '44'
|
53
53
|
body:
|
@@ -55,7 +55,7 @@ http_interactions:
|
|
55
55
|
string: |
|
56
56
|
No such container: container_does_not_exist
|
57
57
|
http_version:
|
58
|
-
recorded_at: Mon,
|
58
|
+
recorded_at: Mon, 20 Apr 2015 23:28:14 GMT
|
59
59
|
- request:
|
60
60
|
method: get
|
61
61
|
uri: "<DOCKER_HOST>/v1.16/containers/container_does_not_exist/json"
|
@@ -75,7 +75,7 @@ http_interactions:
|
|
75
75
|
Content-Type:
|
76
76
|
- text/plain; charset=utf-8
|
77
77
|
Date:
|
78
|
-
- Mon,
|
78
|
+
- Mon, 20 Apr 2015 23:28:15 GMT
|
79
79
|
Content-Length:
|
80
80
|
- '44'
|
81
81
|
body:
|
@@ -83,7 +83,7 @@ http_interactions:
|
|
83
83
|
string: |
|
84
84
|
No such container: container_does_not_exist
|
85
85
|
http_version:
|
86
|
-
recorded_at: Mon,
|
86
|
+
recorded_at: Mon, 20 Apr 2015 23:28:15 GMT
|
87
87
|
- request:
|
88
88
|
method: get
|
89
89
|
uri: "<DOCKER_HOST>/v1.16/containers/container_does_not_exist/json"
|
@@ -103,7 +103,7 @@ http_interactions:
|
|
103
103
|
Content-Type:
|
104
104
|
- text/plain; charset=utf-8
|
105
105
|
Date:
|
106
|
-
- Mon,
|
106
|
+
- Mon, 20 Apr 2015 23:28:15 GMT
|
107
107
|
Content-Length:
|
108
108
|
- '44'
|
109
109
|
body:
|
@@ -111,5 +111,5 @@ http_interactions:
|
|
111
111
|
string: |
|
112
112
|
No such container: container_does_not_exist
|
113
113
|
http_version:
|
114
|
-
recorded_at: Mon,
|
114
|
+
recorded_at: Mon, 20 Apr 2015 23:28:15 GMT
|
115
115
|
recorded_with: VCR 2.9.3
|
@@ -19,15 +19,15 @@ http_interactions:
|
|
19
19
|
Content-Type:
|
20
20
|
- application/json
|
21
21
|
Date:
|
22
|
-
- Mon,
|
22
|
+
- Mon, 20 Apr 2015 23:28:15 GMT
|
23
23
|
Content-Length:
|
24
24
|
- '90'
|
25
25
|
body:
|
26
26
|
encoding: UTF-8
|
27
27
|
string: |
|
28
|
-
{"Id":"
|
28
|
+
{"Id":"f18d1a8bdd58822454418f431d64c33123ab6fcf10a00d737206f9bc96419f79","Warnings":null}
|
29
29
|
http_version:
|
30
|
-
recorded_at: Mon,
|
30
|
+
recorded_at: Mon, 20 Apr 2015 23:28:14 GMT
|
31
31
|
- request:
|
32
32
|
method: get
|
33
33
|
uri: "<DOCKER_HOST>/v1.16/containers/container_exists/json"
|
@@ -47,18 +47,18 @@ http_interactions:
|
|
47
47
|
Content-Type:
|
48
48
|
- application/json
|
49
49
|
Date:
|
50
|
-
- Mon,
|
50
|
+
- Mon, 20 Apr 2015 23:28:15 GMT
|
51
51
|
Content-Length:
|
52
52
|
- '1742'
|
53
53
|
body:
|
54
54
|
encoding: UTF-8
|
55
55
|
string: |
|
56
|
-
{"AppArmorProfile":"","Args":[],"Config":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":["/true"],"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":[],"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"ExposedPorts":null,"Hostname":"
|
56
|
+
{"AppArmorProfile":"","Args":[],"Config":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":["/true"],"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":[],"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"ExposedPorts":null,"Hostname":"f18d1a8bdd58","Image":"hawknewton/true","MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":null,"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Created":"2015-04-20T23:28:14.978380346Z","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":"f18d1a8bdd58822454418f431d64c33123ab6fcf10a00d737206f9bc96419f79","Image":"5fbce35eb33780adf252ee2f87b7156660fdb5c7ca54a0fb4e262a87447cceeb","MountLabel":"","Name":"/container_exists","NetworkSettings":{"Bridge":"","Gateway":"","GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"IPAddress":"","IPPrefixLen":0,"IPv6Gateway":"","LinkLocalIPv6Address":"","LinkLocalIPv6PrefixLen":0,"MacAddress":"","PortMapping":null,"Ports":null},"Path":"/true","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: Mon,
|
58
|
+
recorded_at: Mon, 20 Apr 2015 23:28:14 GMT
|
59
59
|
- request:
|
60
60
|
method: delete
|
61
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
61
|
+
uri: "<DOCKER_HOST>/v1.16/containers/f18d1a8bdd58822454418f431d64c33123ab6fcf10a00d737206f9bc96419f79"
|
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
|
-
- Mon,
|
76
|
+
- Mon, 20 Apr 2015 23:28:15 GMT
|
77
77
|
body:
|
78
78
|
encoding: UTF-8
|
79
79
|
string: ''
|
80
80
|
http_version:
|
81
|
-
recorded_at: Mon,
|
81
|
+
recorded_at: Mon, 20 Apr 2015 23:28:14 GMT
|
82
82
|
recorded_with: VCR 2.9.3
|