bigrig 0.4.2 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/Gemfile.lock +24 -26
- data/bigrig.gemspec +2 -2
- data/lib/bigrig/models/container.rb +2 -2
- data/lib/bigrig/runner.rb +2 -10
- data/lib/bigrig/version.rb +1 -1
- data/lib/bigrig/waiter.rb +20 -0
- data/lib/bigrig.rb +1 -0
- data/spec/bigrig/actions/run_action_spec.rb +8 -0
- data/spec/bigrig/docker_adapter_spec.rb +1 -1
- data/spec/bigrig/models/container_spec.rb +0 -18
- data/spec/bigrig_spec.rb +20 -6
- data/spec/data/wait_for/Dockerfile +4 -0
- data/spec/data/wait_for/bigrig-wait.sh +5 -0
- data/spec/data/wait_for/bigrig.json +8 -0
- data/spec/data/wait_for_broken/Dockerfile +4 -0
- data/spec/data/wait_for_broken/bigrig-wait.sh +3 -0
- data/spec/data/wait_for_broken/bigrig.json +8 -0
- data/spec/vcr/Bigrig_DestroyAction/_perform/given_json_with_a_single_container/and_the_container_has_exited/should_remove_the_container.yml +65 -65
- data/spec/vcr/Bigrig_DestroyAction/_perform/given_json_with_a_single_container/and_the_container_is_running/kills_and_removes_the_container.yml +71 -71
- data/spec/vcr/Bigrig_DockerAdapter/_build/builds_the_given_directory.yml +11 -11
- data/spec/vcr/Bigrig_DockerAdapter/_build/passes_build_input_to_a_block.yml +5 -5
- data/spec/vcr/Bigrig_DockerAdapter/_container_exists_/when_the_container_does_not_exist/is_false.yml +20 -20
- data/spec/vcr/Bigrig_DockerAdapter/_container_exists_/when_the_container_exists/is_true.yml +13 -13
- data/spec/vcr/Bigrig_DockerAdapter/_image_id_by_tag/when_the_image_does_not_exist/raise_a_ImageNotFoundError.yml +20 -20
- data/spec/vcr/Bigrig_DockerAdapter/_image_id_by_tag/when_the_image_exists/returns_the_image_id.yml +19 -19
- data/spec/vcr/Bigrig_DockerAdapter/_kill/given_the_container_does_not_exist/should_raise_an_error.yml +20 -20
- data/spec/vcr/Bigrig_DockerAdapter/_kill/given_the_container_is_running/should_kill_the_container.yml +29 -29
- data/spec/vcr/Bigrig_DockerAdapter/_logs/streams_logs_to_a_block.yml +23 -23
- data/spec/vcr/Bigrig_DockerAdapter/_pull/given_a_block_to_capture_output/should_capture_output.yml +8 -8
- data/spec/vcr/Bigrig_DockerAdapter/_pull/given_the_repo_does_not_exist/raises_a_RepoNotFoundError.yml +3 -3
- data/spec/vcr/Bigrig_DockerAdapter/_pull/given_the_repo_exists/returns_the_image_id.yml +13 -13
- data/spec/vcr/Bigrig_DockerAdapter/_push/given_credentials/will_pass_login_and_password.yml +54 -54
- data/spec/vcr/Bigrig_DockerAdapter/_push/should_push_the_image.yml +1059 -553
- data/spec/vcr/Bigrig_DockerAdapter/_remove_container/when_the_container_does_not_exist/raises_a_ContainerNotFoundError.yml +40 -40
- data/spec/vcr/Bigrig_DockerAdapter/_remove_container/when_the_container_exists/should_remove_the_container.yml +44 -44
- data/spec/vcr/Bigrig_DockerAdapter/_remove_container/when_the_container_is_running/raises_a_ContainerRunningError.yml +13 -13
- data/spec/vcr/Bigrig_DockerAdapter/_remove_image/when_the_image_doesnt_exist/raises_an_error.yml +12 -12
- data/spec/vcr/Bigrig_DockerAdapter/_remove_image/when_the_image_exists/removes_the_image.yml +35 -35
- data/spec/vcr/Bigrig_DockerAdapter/_run/given_an_image_id_that_exists/and_a_name/starts_the_container_with_the_right_name.yml +35 -35
- 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 +35 -35
- data/spec/vcr/Bigrig_DockerAdapter/_run/given_an_image_id_that_exists/and_a_name_and_ports/starts_the_container_with_ports_exposed.yml +41 -41
- data/spec/vcr/Bigrig_DockerAdapter/_running_/when_the_container_does_not_exist/returns_false.yml +20 -20
- data/spec/vcr/Bigrig_DockerAdapter/_running_/when_the_container_is_not_running/returns_false.yml +13 -15
- data/spec/vcr/Bigrig_DockerAdapter/_running_/when_the_container_is_running/returns_true.yml +17 -17
- data/spec/vcr/Bigrig_DockerAdapter/_tag/should_tag_the_image.yml +34 -34
- data/spec/vcr/Bigrig_LogAction/_perform/follows_the_log.yml +43 -43
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_a_path/builds_the_image_before_starting_it.yml +222 -26
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_hosts_by_ip/should_pass_hosts_to_container.yml +180 -74
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_hosts_by_name/should_lookup_ips_for_hosts_with_a_hostname.yml +181 -75
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_links/should_pass_links_to_the_right_container.yml +351 -139
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_multiple_containers/launches_both_containers_in_parallel.yml +130 -130
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_multiple_containers/spins_up_multiple_containers.yml +140 -140
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_one_container/should_spin_up_a_single_container.yml +175 -69
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_one_container/when_a_dead_container_exists/should_remove_existing_containers.yml +159 -53
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_volumes/should_pass_volumes_to_the_right_container.yml +180 -74
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_volumes_from/should_pass_volumes_from_to_the_right_container.yml +351 -139
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_volumes_from/starts_the_dependant_container_last.yml +130 -130
- data/spec/vcr/Bigrig_RunAction/_perform/when_activating_profiles_that_do_not_exist/ignores_the_missing_profile.yml +268 -77
- data/spec/vcr/Bigrig_RunAction/_perform/with_a_file_with_active_profiles/uses_the_overridden_image.yml +180 -74
- data/spec/vcr/bigrig/destroy/spec/data/single_json/kills_the_container.yml +28 -28
- data/spec/vcr/bigrig/dev/spec/data/dev_json/activates_the_dev_profile.yml +266 -158
- data/spec/vcr/bigrig/dev/spec/data/dev_json/destroys_containers_on_exit.yml +78 -158
- data/spec/vcr/bigrig/dev/spec/data/dev_json/starts_the_containers.yml +187 -191
- data/spec/vcr/bigrig/dev/spec/data/dev_json/tails_the_logs.yml +38 -118
- data/spec/vcr/bigrig/dev/spec/data/scan_json/leaves_unaffected_containers_alone_when_the_scanned_file_changes.yml +811 -345
- data/spec/vcr/bigrig/dev/spec/data/scan_json/restarts_dependant_containers_when_the_scanned_file_changes.yml +813 -375
- data/spec/vcr/bigrig/dev/spec/data/scan_json/restarts_the_container_when_the_scanned_file_changes.yml +855 -363
- data/spec/vcr/bigrig/logs/spec/data/log_json/tails_the_logs.yml +23 -23
- data/spec/vcr/bigrig/run/spec/data/profiles_json_-p_qa/leaves_existing_env_values_alone.yml +14 -14
- data/spec/vcr/bigrig/run/spec/data/profiles_json_-p_qa/overrides_the_env.yml +14 -14
- data/spec/vcr/bigrig/run/spec/data/profiles_json_-p_qa/overrides_the_tag.yml +17 -17
- data/spec/vcr/bigrig/run/spec/data/single_json/sends_the_name_of_the_container_to_stdout.yml +12 -12
- data/spec/vcr/bigrig/run/spec/data/single_json/starts_the_container.yml +17 -17
- data/spec/vcr/bigrig/run/spec/data/wait_for/bigrig_json/waits_for_wait_for.yml +180 -0
- data/spec/vcr/bigrig/run/spec/data/wait_for_broken_json/fails_with_an_error.yml +12 -12
- data/spec/vcr/bigrig/ship/spec/data/ship_json/with_a_version/-c/cleans_the_image_when_its_done.yml +28 -28
- data/spec/vcr/bigrig/ship/spec/data/ship_json/with_a_version/builds_and_pushes_the_image.yml +21 -21
- data/spec/vcr/bigrig_bin_bigrig_destroy_spec/data/single_json_kills_the_container.yml +28 -28
- data/spec/vcr/bigrig_bin_bigrig_dev_spec/data/dev_json_activates_the_dev_profile.yml +135 -486
- data/spec/vcr/bigrig_bin_bigrig_dev_spec/data/dev_json_starts_the_containers.yml +146 -472
- data/spec/vcr/bigrig_bin_bigrig_dev_spec/data/dev_json_tails_the_logs.yml +402 -192
- data/spec/vcr/bigrig_bin_bigrig_dev_spec/data/scan_json_leaves_unaffected_containers_alone_when_the_scanned_file_changes.yml +980 -396
- data/spec/vcr/bigrig_bin_bigrig_dev_spec/data/scan_json_restarts_dependant_containers_when_the_scanned_file_changes.yml +916 -388
- data/spec/vcr/bigrig_bin_bigrig_dev_spec/data/scan_json_restarts_the_container_when_the_scanned_file_changes.yml +919 -391
- data/spec/vcr/bigrig_bin_bigrig_logs_spec/data/log_json_tails_the_logs.yml +23 -23
- data/spec/vcr/bigrig_bin_bigrig_run_spec/data/profiles_json_-p_qa_leaves_existing_env_values_alone.yml +159 -53
- data/spec/vcr/bigrig_bin_bigrig_run_spec/data/profiles_json_-p_qa_overrides_the_env.yml +159 -53
- data/spec/vcr/bigrig_bin_bigrig_run_spec/data/profiles_json_-p_qa_overrides_the_tag.yml +286 -31
- data/spec/vcr/bigrig_bin_bigrig_run_spec/data/single_json_sends_the_name_of_the_container_to_stdout.yml +159 -53
- data/spec/vcr/bigrig_bin_bigrig_run_spec/data/single_json_starts_the_container.yml +159 -53
- data/spec/vcr/bigrig_bin_bigrig_run_spec/data/wait_for/bigrig_json_waits_for_wait_for.yml +522 -0
- data/spec/vcr/bigrig_bin_bigrig_run_spec/data/wait_for_broken_json_fails_with_an_error.yml +175 -80
- data/spec/vcr/bigrig_bin_bigrig_ship_spec/data/ship_json_with_a_version_-c_cleans_the_image_when_its_done.yml +1036 -526
- data/spec/vcr/bigrig_bin_bigrig_ship_spec/data/ship_json_with_a_version_builds_and_pushes_the_image.yml +1024 -514
- metadata +17 -12
- data/spec/data/wait_for.json +0 -9
- data/spec/data/wait_for_broken.json +0 -9
- data/spec/vcr/bigrig/run/spec/data/wait_for_json/waits_for_wait_for.yml +0 -180
- data/spec/vcr/bigrig_bin_bigrig_run_spec/data/wait_for_json_waits_for_wait_for.yml +0 -412
@@ -8,7 +8,7 @@ http_interactions:
|
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- Swipely/Docker-API 1.
|
11
|
+
- Swipely/Docker-API 1.21.4
|
12
12
|
Content-Type:
|
13
13
|
- text/plain
|
14
14
|
response:
|
@@ -19,7 +19,7 @@ http_interactions:
|
|
19
19
|
Content-Type:
|
20
20
|
- application/json
|
21
21
|
Date:
|
22
|
-
-
|
22
|
+
- Fri, 05 Jun 2015 23:27:17 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: Fri, 05 Jun 2015 23:27:19 GMT
|
40
40
|
- request:
|
41
41
|
method: post
|
42
42
|
uri: "<DOCKER_HOST>/v1.16/containers/create?name=log-test"
|
@@ -45,7 +45,7 @@ http_interactions:
|
|
45
45
|
string: '{"Image":"bf0f8a45f956"}'
|
46
46
|
headers:
|
47
47
|
User-Agent:
|
48
|
-
- Swipely/Docker-API 1.
|
48
|
+
- Swipely/Docker-API 1.21.4
|
49
49
|
Content-Type:
|
50
50
|
- application/json
|
51
51
|
response:
|
@@ -56,24 +56,24 @@ http_interactions:
|
|
56
56
|
Content-Type:
|
57
57
|
- application/json
|
58
58
|
Date:
|
59
|
-
-
|
59
|
+
- Fri, 05 Jun 2015 23:27:19 GMT
|
60
60
|
Content-Length:
|
61
61
|
- '90'
|
62
62
|
body:
|
63
63
|
encoding: UTF-8
|
64
64
|
string: |
|
65
|
-
{"Id":"
|
65
|
+
{"Id":"a9899ed8497489bf2c84c839cfe8c0ebfe65515e1f4d9b5c155654a8672fa4da","Warnings":null}
|
66
66
|
http_version:
|
67
|
-
recorded_at:
|
67
|
+
recorded_at: Fri, 05 Jun 2015 23:27:19 GMT
|
68
68
|
- request:
|
69
69
|
method: post
|
70
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
70
|
+
uri: "<DOCKER_HOST>/v1.16/containers/a9899ed8497489bf2c84c839cfe8c0ebfe65515e1f4d9b5c155654a8672fa4da/start"
|
71
71
|
body:
|
72
72
|
encoding: UTF-8
|
73
73
|
string: "{}"
|
74
74
|
headers:
|
75
75
|
User-Agent:
|
76
|
-
- Swipely/Docker-API 1.
|
76
|
+
- Swipely/Docker-API 1.21.4
|
77
77
|
Content-Type:
|
78
78
|
- application/json
|
79
79
|
response:
|
@@ -82,12 +82,12 @@ http_interactions:
|
|
82
82
|
message:
|
83
83
|
headers:
|
84
84
|
Date:
|
85
|
-
-
|
85
|
+
- Fri, 05 Jun 2015 23:27:19 GMT
|
86
86
|
body:
|
87
87
|
encoding: UTF-8
|
88
88
|
string: ''
|
89
89
|
http_version:
|
90
|
-
recorded_at:
|
90
|
+
recorded_at: Fri, 05 Jun 2015 23:27:19 GMT
|
91
91
|
- request:
|
92
92
|
method: get
|
93
93
|
uri: "<DOCKER_HOST>/v1.16/containers/log-test/json"
|
@@ -96,7 +96,7 @@ http_interactions:
|
|
96
96
|
string: ''
|
97
97
|
headers:
|
98
98
|
User-Agent:
|
99
|
-
- Swipely/Docker-API 1.
|
99
|
+
- Swipely/Docker-API 1.21.4
|
100
100
|
Content-Type:
|
101
101
|
- text/plain
|
102
102
|
response:
|
@@ -107,22 +107,22 @@ http_interactions:
|
|
107
107
|
Content-Type:
|
108
108
|
- application/json
|
109
109
|
Date:
|
110
|
-
-
|
110
|
+
- Fri, 05 Jun 2015 23:27:24 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":"a9899ed84974","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-05T23:27:19.466303182Z","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/a9899ed8497489bf2c84c839cfe8c0ebfe65515e1f4d9b5c155654a8672fa4da/hostname","HostsPath":"/mnt/sda1/var/lib/docker/containers/a9899ed8497489bf2c84c839cfe8c0ebfe65515e1f4d9b5c155654a8672fa4da/hosts","Id":"a9899ed8497489bf2c84c839cfe8c0ebfe65515e1f4d9b5c155654a8672fa4da","Image":"bf0f8a45f956aa470ab3c916c83925fdcffce23d37b1a9e33998561ce54ca030","LogPath":"/mnt/sda1/var/lib/docker/containers/a9899ed8497489bf2c84c839cfe8c0ebfe65515e1f4d9b5c155654a8672fa4da/a9899ed8497489bf2c84c839cfe8c0ebfe65515e1f4d9b5c155654a8672fa4da-json.log","MountLabel":"","Name":"/log-test","NetworkSettings":{"Bridge":"docker0","Gateway":"172.17.42.1","GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"IPAddress":"172.17.1.103","IPPrefixLen":16,"IPv6Gateway":"","LinkLocalIPv6Address":"fe80::42:acff:fe11:167","LinkLocalIPv6PrefixLen":64,"MacAddress":"02:42:ac:11:01:67","PortMapping":null,"Ports":{}},"Path":"/run.sh","ProcessLabel":"","ResolvConfPath":"/mnt/sda1/var/lib/docker/containers/a9899ed8497489bf2c84c839cfe8c0ebfe65515e1f4d9b5c155654a8672fa4da/resolv.conf","RestartCount":0,"State":{"Dead":false,"Error":"","ExitCode":0,"FinishedAt":"0001-01-01T00:00:00Z","OOMKilled":false,"Paused":false,"Pid":24172,"Restarting":false,"Running":true,"StartedAt":"2015-06-05T23:27:19.894108827Z"},"Volumes":{},"VolumesRW":{}}
|
115
115
|
http_version:
|
116
|
-
recorded_at:
|
116
|
+
recorded_at: Fri, 05 Jun 2015 23:27:24 GMT
|
117
117
|
- request:
|
118
118
|
method: post
|
119
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
119
|
+
uri: "<DOCKER_HOST>/v1.16/containers/a9899ed8497489bf2c84c839cfe8c0ebfe65515e1f4d9b5c155654a8672fa4da/kill"
|
120
120
|
body:
|
121
121
|
encoding: US-ASCII
|
122
122
|
string: ''
|
123
123
|
headers:
|
124
124
|
User-Agent:
|
125
|
-
- Swipely/Docker-API 1.
|
125
|
+
- Swipely/Docker-API 1.21.4
|
126
126
|
Content-Type:
|
127
127
|
- text/plain
|
128
128
|
response:
|
@@ -131,21 +131,21 @@ http_interactions:
|
|
131
131
|
message:
|
132
132
|
headers:
|
133
133
|
Date:
|
134
|
-
-
|
134
|
+
- Fri, 05 Jun 2015 23:27:25 GMT
|
135
135
|
body:
|
136
136
|
encoding: UTF-8
|
137
137
|
string: ''
|
138
138
|
http_version:
|
139
|
-
recorded_at:
|
139
|
+
recorded_at: Fri, 05 Jun 2015 23:27:25 GMT
|
140
140
|
- request:
|
141
141
|
method: delete
|
142
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
142
|
+
uri: "<DOCKER_HOST>/v1.16/containers/a9899ed8497489bf2c84c839cfe8c0ebfe65515e1f4d9b5c155654a8672fa4da"
|
143
143
|
body:
|
144
144
|
encoding: US-ASCII
|
145
145
|
string: ''
|
146
146
|
headers:
|
147
147
|
User-Agent:
|
148
|
-
- Swipely/Docker-API 1.
|
148
|
+
- Swipely/Docker-API 1.21.4
|
149
149
|
Content-Type:
|
150
150
|
- text/plain
|
151
151
|
response:
|
@@ -154,10 +154,10 @@ http_interactions:
|
|
154
154
|
message:
|
155
155
|
headers:
|
156
156
|
Date:
|
157
|
-
-
|
157
|
+
- Fri, 05 Jun 2015 23:27:25 GMT
|
158
158
|
body:
|
159
159
|
encoding: UTF-8
|
160
160
|
string: ''
|
161
161
|
http_version:
|
162
|
-
recorded_at:
|
162
|
+
recorded_at: Fri, 05 Jun 2015 23:27:25 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=f98ef978b13c
|
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: Fri, 05 Jun 2015 23:27:36 GMT
|
38
38
|
- request:
|
39
39
|
method: get
|
40
40
|
uri: "<DOCKER_HOST>/v1.16/containers/profiles/json"
|
@@ -43,7 +43,7 @@ http_interactions:
|
|
43
43
|
string: ''
|
44
44
|
headers:
|
45
45
|
User-Agent:
|
46
|
-
- Swipely/Docker-API 1.
|
46
|
+
- Swipely/Docker-API 1.21.4
|
47
47
|
Content-Type:
|
48
48
|
- text/plain
|
49
49
|
response:
|
@@ -54,22 +54,22 @@ http_interactions:
|
|
54
54
|
Content-Type:
|
55
55
|
- application/json
|
56
56
|
Date:
|
57
|
-
-
|
57
|
+
- Fri, 05 Jun 2015 23:27:36 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":"f98ef978b13c","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-05T23:27:35.298365665Z","Driver":"aufs","ExecDriver":"native-0.2","ExecIDs":["237270e8df83e02b33ff7ea9c75655184f71379f39d6dfefa14f2ff9efdf2bca"],"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/f98ef978b13cd4931216c1f8760de9233c7c7c703442101fec55b8aab2ffb286/hostname","HostsPath":"/mnt/sda1/var/lib/docker/containers/f98ef978b13cd4931216c1f8760de9233c7c7c703442101fec55b8aab2ffb286/hosts","Id":"f98ef978b13cd4931216c1f8760de9233c7c7c703442101fec55b8aab2ffb286","Image":"b9c5be3a918d80b0d898ed8eca3fc76f75c482b531238e539cb00f75bb4e12d2","LogPath":"/mnt/sda1/var/lib/docker/containers/f98ef978b13cd4931216c1f8760de9233c7c7c703442101fec55b8aab2ffb286/f98ef978b13cd4931216c1f8760de9233c7c7c703442101fec55b8aab2ffb286-json.log","MountLabel":"","Name":"/profiles","NetworkSettings":{"Bridge":"docker0","Gateway":"172.17.42.1","GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"IPAddress":"172.17.1.108","IPPrefixLen":16,"IPv6Gateway":"","LinkLocalIPv6Address":"fe80::42:acff:fe11:16c","LinkLocalIPv6PrefixLen":64,"MacAddress":"02:42:ac:11:01:6c","PortMapping":null,"Ports":{"80/tcp":[{"HostIp":"0.0.0.0","HostPort":"4567"}]}},"Path":"/bin/sh","ProcessLabel":"","ResolvConfPath":"/mnt/sda1/var/lib/docker/containers/f98ef978b13cd4931216c1f8760de9233c7c7c703442101fec55b8aab2ffb286/resolv.conf","RestartCount":0,"State":{"Dead":false,"Error":"","ExitCode":0,"FinishedAt":"0001-01-01T00:00:00Z","OOMKilled":false,"Paused":false,"Pid":24292,"Restarting":false,"Running":true,"StartedAt":"2015-06-05T23:27:35.773842056Z"},"Volumes":{},"VolumesRW":{}}
|
62
62
|
http_version:
|
63
|
-
recorded_at:
|
63
|
+
recorded_at: Fri, 05 Jun 2015 23:27:36 GMT
|
64
64
|
- request:
|
65
65
|
method: post
|
66
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
66
|
+
uri: "<DOCKER_HOST>/v1.16/containers/f98ef978b13cd4931216c1f8760de9233c7c7c703442101fec55b8aab2ffb286/kill"
|
67
67
|
body:
|
68
68
|
encoding: US-ASCII
|
69
69
|
string: ''
|
70
70
|
headers:
|
71
71
|
User-Agent:
|
72
|
-
- Swipely/Docker-API 1.
|
72
|
+
- Swipely/Docker-API 1.21.4
|
73
73
|
Content-Type:
|
74
74
|
- text/plain
|
75
75
|
response:
|
@@ -78,21 +78,21 @@ http_interactions:
|
|
78
78
|
message:
|
79
79
|
headers:
|
80
80
|
Date:
|
81
|
-
-
|
81
|
+
- Fri, 05 Jun 2015 23:27:36 GMT
|
82
82
|
body:
|
83
83
|
encoding: UTF-8
|
84
84
|
string: ''
|
85
85
|
http_version:
|
86
|
-
recorded_at:
|
86
|
+
recorded_at: Fri, 05 Jun 2015 23:27:36 GMT
|
87
87
|
- request:
|
88
88
|
method: delete
|
89
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
89
|
+
uri: "<DOCKER_HOST>/v1.16/containers/f98ef978b13cd4931216c1f8760de9233c7c7c703442101fec55b8aab2ffb286"
|
90
90
|
body:
|
91
91
|
encoding: US-ASCII
|
92
92
|
string: ''
|
93
93
|
headers:
|
94
94
|
User-Agent:
|
95
|
-
- Swipely/Docker-API 1.
|
95
|
+
- Swipely/Docker-API 1.21.4
|
96
96
|
Content-Type:
|
97
97
|
- text/plain
|
98
98
|
response:
|
@@ -101,10 +101,10 @@ http_interactions:
|
|
101
101
|
message:
|
102
102
|
headers:
|
103
103
|
Date:
|
104
|
-
-
|
104
|
+
- Fri, 05 Jun 2015 23:27:36 GMT
|
105
105
|
body:
|
106
106
|
encoding: UTF-8
|
107
107
|
string: ''
|
108
108
|
http_version:
|
109
|
-
recorded_at:
|
109
|
+
recorded_at: Fri, 05 Jun 2015 23:27:36 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=a15a917b0fe2
|
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: Fri, 05 Jun 2015 23:27:33 GMT
|
38
38
|
- request:
|
39
39
|
method: get
|
40
40
|
uri: "<DOCKER_HOST>/v1.16/containers/profiles/json"
|
@@ -43,7 +43,7 @@ http_interactions:
|
|
43
43
|
string: ''
|
44
44
|
headers:
|
45
45
|
User-Agent:
|
46
|
-
- Swipely/Docker-API 1.
|
46
|
+
- Swipely/Docker-API 1.21.4
|
47
47
|
Content-Type:
|
48
48
|
- text/plain
|
49
49
|
response:
|
@@ -54,22 +54,22 @@ http_interactions:
|
|
54
54
|
Content-Type:
|
55
55
|
- application/json
|
56
56
|
Date:
|
57
|
-
-
|
57
|
+
- Fri, 05 Jun 2015 23:27:33 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":"a15a917b0fe2","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-05T23:27:32.87884069Z","Driver":"aufs","ExecDriver":"native-0.2","ExecIDs":["7e3b1d90ab779ad99417faff6398d70486a8a11e31150d70daaa4ff81823aba3"],"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/a15a917b0fe2b105c6ae9a92352affef25bc4255f8e632ed408fba79380c8903/hostname","HostsPath":"/mnt/sda1/var/lib/docker/containers/a15a917b0fe2b105c6ae9a92352affef25bc4255f8e632ed408fba79380c8903/hosts","Id":"a15a917b0fe2b105c6ae9a92352affef25bc4255f8e632ed408fba79380c8903","Image":"b9c5be3a918d80b0d898ed8eca3fc76f75c482b531238e539cb00f75bb4e12d2","LogPath":"/mnt/sda1/var/lib/docker/containers/a15a917b0fe2b105c6ae9a92352affef25bc4255f8e632ed408fba79380c8903/a15a917b0fe2b105c6ae9a92352affef25bc4255f8e632ed408fba79380c8903-json.log","MountLabel":"","Name":"/profiles","NetworkSettings":{"Bridge":"docker0","Gateway":"172.17.42.1","GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"IPAddress":"172.17.1.107","IPPrefixLen":16,"IPv6Gateway":"","LinkLocalIPv6Address":"fe80::42:acff:fe11:16b","LinkLocalIPv6PrefixLen":64,"MacAddress":"02:42:ac:11:01:6b","PortMapping":null,"Ports":{"80/tcp":[{"HostIp":"0.0.0.0","HostPort":"4567"}]}},"Path":"/bin/sh","ProcessLabel":"","ResolvConfPath":"/mnt/sda1/var/lib/docker/containers/a15a917b0fe2b105c6ae9a92352affef25bc4255f8e632ed408fba79380c8903/resolv.conf","RestartCount":0,"State":{"Dead":false,"Error":"","ExitCode":0,"FinishedAt":"0001-01-01T00:00:00Z","OOMKilled":false,"Paused":false,"Pid":24267,"Restarting":false,"Running":true,"StartedAt":"2015-06-05T23:27:33.34440402Z"},"Volumes":{},"VolumesRW":{}}
|
62
62
|
http_version:
|
63
|
-
recorded_at:
|
63
|
+
recorded_at: Fri, 05 Jun 2015 23:27:33 GMT
|
64
64
|
- request:
|
65
65
|
method: post
|
66
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
66
|
+
uri: "<DOCKER_HOST>/v1.16/containers/a15a917b0fe2b105c6ae9a92352affef25bc4255f8e632ed408fba79380c8903/kill"
|
67
67
|
body:
|
68
68
|
encoding: US-ASCII
|
69
69
|
string: ''
|
70
70
|
headers:
|
71
71
|
User-Agent:
|
72
|
-
- Swipely/Docker-API 1.
|
72
|
+
- Swipely/Docker-API 1.21.4
|
73
73
|
Content-Type:
|
74
74
|
- text/plain
|
75
75
|
response:
|
@@ -78,21 +78,21 @@ http_interactions:
|
|
78
78
|
message:
|
79
79
|
headers:
|
80
80
|
Date:
|
81
|
-
-
|
81
|
+
- Fri, 05 Jun 2015 23:27:34 GMT
|
82
82
|
body:
|
83
83
|
encoding: UTF-8
|
84
84
|
string: ''
|
85
85
|
http_version:
|
86
|
-
recorded_at:
|
86
|
+
recorded_at: Fri, 05 Jun 2015 23:27:34 GMT
|
87
87
|
- request:
|
88
88
|
method: delete
|
89
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
89
|
+
uri: "<DOCKER_HOST>/v1.16/containers/a15a917b0fe2b105c6ae9a92352affef25bc4255f8e632ed408fba79380c8903"
|
90
90
|
body:
|
91
91
|
encoding: US-ASCII
|
92
92
|
string: ''
|
93
93
|
headers:
|
94
94
|
User-Agent:
|
95
|
-
- Swipely/Docker-API 1.
|
95
|
+
- Swipely/Docker-API 1.21.4
|
96
96
|
Content-Type:
|
97
97
|
- text/plain
|
98
98
|
response:
|
@@ -101,10 +101,10 @@ http_interactions:
|
|
101
101
|
message:
|
102
102
|
headers:
|
103
103
|
Date:
|
104
|
-
-
|
104
|
+
- Fri, 05 Jun 2015 23:27:34 GMT
|
105
105
|
body:
|
106
106
|
encoding: UTF-8
|
107
107
|
string: ''
|
108
108
|
http_version:
|
109
|
-
recorded_at:
|
109
|
+
recorded_at: Fri, 05 Jun 2015 23:27:34 GMT
|
110
110
|
recorded_with: VCR 2.9.3
|
@@ -8,7 +8,7 @@ http_interactions:
|
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- Swipely/Docker-API 1.
|
11
|
+
- Swipely/Docker-API 1.21.4
|
12
12
|
Content-Type:
|
13
13
|
- text/plain
|
14
14
|
response:
|
@@ -19,13 +19,13 @@ http_interactions:
|
|
19
19
|
Content-Type:
|
20
20
|
- application/json
|
21
21
|
Date:
|
22
|
-
-
|
22
|
+
- Fri, 05 Jun 2015 23:27:31 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":"1b72a0375f91","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-05T23:27:30.459211365Z","Driver":"aufs","ExecDriver":"native-0.2","ExecIDs":["29e9cc4beb041054dea5d0893206b1e2201953e181dd5aa5704f49eef12f94ae"],"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/1b72a0375f91f3e4eae3ba9169096cbe6ebab112bc738a9ed7dce5c31fbb61d5/hostname","HostsPath":"/mnt/sda1/var/lib/docker/containers/1b72a0375f91f3e4eae3ba9169096cbe6ebab112bc738a9ed7dce5c31fbb61d5/hosts","Id":"1b72a0375f91f3e4eae3ba9169096cbe6ebab112bc738a9ed7dce5c31fbb61d5","Image":"b9c5be3a918d80b0d898ed8eca3fc76f75c482b531238e539cb00f75bb4e12d2","LogPath":"/mnt/sda1/var/lib/docker/containers/1b72a0375f91f3e4eae3ba9169096cbe6ebab112bc738a9ed7dce5c31fbb61d5/1b72a0375f91f3e4eae3ba9169096cbe6ebab112bc738a9ed7dce5c31fbb61d5-json.log","MountLabel":"","Name":"/profiles","NetworkSettings":{"Bridge":"docker0","Gateway":"172.17.42.1","GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"IPAddress":"172.17.1.106","IPPrefixLen":16,"IPv6Gateway":"","LinkLocalIPv6Address":"fe80::42:acff:fe11:16a","LinkLocalIPv6PrefixLen":64,"MacAddress":"02:42:ac:11:01:6a","PortMapping":null,"Ports":{"80/tcp":[{"HostIp":"0.0.0.0","HostPort":"4567"}]}},"Path":"/bin/sh","ProcessLabel":"","ResolvConfPath":"/mnt/sda1/var/lib/docker/containers/1b72a0375f91f3e4eae3ba9169096cbe6ebab112bc738a9ed7dce5c31fbb61d5/resolv.conf","RestartCount":0,"State":{"Dead":false,"Error":"","ExitCode":0,"FinishedAt":"0001-01-01T00:00:00Z","OOMKilled":false,"Paused":false,"Pid":24242,"Restarting":false,"Running":true,"StartedAt":"2015-06-05T23:27:30.954284229Z"},"Volumes":{},"VolumesRW":{}}
|
27
27
|
http_version:
|
28
|
-
recorded_at:
|
28
|
+
recorded_at: Fri, 05 Jun 2015 23:27:31 GMT
|
29
29
|
- request:
|
30
30
|
method: get
|
31
31
|
uri: "<DOCKER_HOST>/v1.16/images/hawknewton/show-env/json"
|
@@ -34,7 +34,7 @@ http_interactions:
|
|
34
34
|
string: ''
|
35
35
|
headers:
|
36
36
|
User-Agent:
|
37
|
-
- Swipely/Docker-API 1.
|
37
|
+
- Swipely/Docker-API 1.21.4
|
38
38
|
Content-Type:
|
39
39
|
- text/plain
|
40
40
|
response:
|
@@ -45,24 +45,24 @@ http_interactions:
|
|
45
45
|
Content-Type:
|
46
46
|
- application/json
|
47
47
|
Date:
|
48
|
-
-
|
48
|
+
- Fri, 05 Jun 2015 23:27:31 GMT
|
49
49
|
Content-Length:
|
50
|
-
- '
|
50
|
+
- '1887'
|
51
51
|
body:
|
52
52
|
encoding: UTF-8
|
53
53
|
string: |
|
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","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","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}
|
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: Fri, 05 Jun 2015 23:27:31 GMT
|
57
57
|
- request:
|
58
58
|
method: post
|
59
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
59
|
+
uri: "<DOCKER_HOST>/v1.16/containers/1b72a0375f91f3e4eae3ba9169096cbe6ebab112bc738a9ed7dce5c31fbb61d5/kill"
|
60
60
|
body:
|
61
61
|
encoding: US-ASCII
|
62
62
|
string: ''
|
63
63
|
headers:
|
64
64
|
User-Agent:
|
65
|
-
- Swipely/Docker-API 1.
|
65
|
+
- Swipely/Docker-API 1.21.4
|
66
66
|
Content-Type:
|
67
67
|
- text/plain
|
68
68
|
response:
|
@@ -71,21 +71,21 @@ http_interactions:
|
|
71
71
|
message:
|
72
72
|
headers:
|
73
73
|
Date:
|
74
|
-
-
|
74
|
+
- Fri, 05 Jun 2015 23:27:31 GMT
|
75
75
|
body:
|
76
76
|
encoding: UTF-8
|
77
77
|
string: ''
|
78
78
|
http_version:
|
79
|
-
recorded_at:
|
79
|
+
recorded_at: Fri, 05 Jun 2015 23:27:31 GMT
|
80
80
|
- request:
|
81
81
|
method: delete
|
82
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
82
|
+
uri: "<DOCKER_HOST>/v1.16/containers/1b72a0375f91f3e4eae3ba9169096cbe6ebab112bc738a9ed7dce5c31fbb61d5"
|
83
83
|
body:
|
84
84
|
encoding: US-ASCII
|
85
85
|
string: ''
|
86
86
|
headers:
|
87
87
|
User-Agent:
|
88
|
-
- Swipely/Docker-API 1.
|
88
|
+
- Swipely/Docker-API 1.21.4
|
89
89
|
Content-Type:
|
90
90
|
- text/plain
|
91
91
|
response:
|
@@ -94,10 +94,10 @@ http_interactions:
|
|
94
94
|
message:
|
95
95
|
headers:
|
96
96
|
Date:
|
97
|
-
-
|
97
|
+
- Fri, 05 Jun 2015 23:27:31 GMT
|
98
98
|
body:
|
99
99
|
encoding: UTF-8
|
100
100
|
string: ''
|
101
101
|
http_version:
|
102
|
-
recorded_at:
|
102
|
+
recorded_at: Fri, 05 Jun 2015 23:27:31 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
@@ -8,7 +8,7 @@ http_interactions:
|
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- Swipely/Docker-API 1.
|
11
|
+
- Swipely/Docker-API 1.21.4
|
12
12
|
Content-Type:
|
13
13
|
- text/plain
|
14
14
|
response:
|
@@ -19,22 +19,22 @@ http_interactions:
|
|
19
19
|
Content-Type:
|
20
20
|
- application/json
|
21
21
|
Date:
|
22
|
-
-
|
22
|
+
- Fri, 05 Jun 2015 23:27:29 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":"2193651ef853","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-05T23:27:28.316099774Z","Driver":"aufs","ExecDriver":"native-0.2","ExecIDs":["41091424151dfa49adc114c74775c5e100ce893a590dda5889295ad29a912028"],"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/2193651ef85353b4111110c2e42f82960b327968cb82b00cb8b792c49237503e/hostname","HostsPath":"/mnt/sda1/var/lib/docker/containers/2193651ef85353b4111110c2e42f82960b327968cb82b00cb8b792c49237503e/hosts","Id":"2193651ef85353b4111110c2e42f82960b327968cb82b00cb8b792c49237503e","Image":"b9c5be3a918d80b0d898ed8eca3fc76f75c482b531238e539cb00f75bb4e12d2","LogPath":"/mnt/sda1/var/lib/docker/containers/2193651ef85353b4111110c2e42f82960b327968cb82b00cb8b792c49237503e/2193651ef85353b4111110c2e42f82960b327968cb82b00cb8b792c49237503e-json.log","MountLabel":"","Name":"/single-test","NetworkSettings":{"Bridge":"docker0","Gateway":"172.17.42.1","GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"IPAddress":"172.17.1.105","IPPrefixLen":16,"IPv6Gateway":"","LinkLocalIPv6Address":"fe80::42:acff:fe11:169","LinkLocalIPv6PrefixLen":64,"MacAddress":"02:42:ac:11:01:69","PortMapping":null,"Ports":{"80/tcp":null}},"Path":"/bin/sh","ProcessLabel":"","ResolvConfPath":"/mnt/sda1/var/lib/docker/containers/2193651ef85353b4111110c2e42f82960b327968cb82b00cb8b792c49237503e/resolv.conf","RestartCount":0,"State":{"Dead":false,"Error":"","ExitCode":0,"FinishedAt":"0001-01-01T00:00:00Z","OOMKilled":false,"Paused":false,"Pid":24218,"Restarting":false,"Running":true,"StartedAt":"2015-06-05T23:27:28.744681073Z"},"Volumes":{},"VolumesRW":{}}
|
27
27
|
http_version:
|
28
|
-
recorded_at:
|
28
|
+
recorded_at: Fri, 05 Jun 2015 23:27:29 GMT
|
29
29
|
- request:
|
30
30
|
method: post
|
31
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
31
|
+
uri: "<DOCKER_HOST>/v1.16/containers/2193651ef85353b4111110c2e42f82960b327968cb82b00cb8b792c49237503e/kill"
|
32
32
|
body:
|
33
33
|
encoding: US-ASCII
|
34
34
|
string: ''
|
35
35
|
headers:
|
36
36
|
User-Agent:
|
37
|
-
- Swipely/Docker-API 1.
|
37
|
+
- Swipely/Docker-API 1.21.4
|
38
38
|
Content-Type:
|
39
39
|
- text/plain
|
40
40
|
response:
|
@@ -43,21 +43,21 @@ http_interactions:
|
|
43
43
|
message:
|
44
44
|
headers:
|
45
45
|
Date:
|
46
|
-
-
|
46
|
+
- Fri, 05 Jun 2015 23:27:29 GMT
|
47
47
|
body:
|
48
48
|
encoding: UTF-8
|
49
49
|
string: ''
|
50
50
|
http_version:
|
51
|
-
recorded_at:
|
51
|
+
recorded_at: Fri, 05 Jun 2015 23:27:29 GMT
|
52
52
|
- request:
|
53
53
|
method: delete
|
54
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
54
|
+
uri: "<DOCKER_HOST>/v1.16/containers/2193651ef85353b4111110c2e42f82960b327968cb82b00cb8b792c49237503e"
|
55
55
|
body:
|
56
56
|
encoding: US-ASCII
|
57
57
|
string: ''
|
58
58
|
headers:
|
59
59
|
User-Agent:
|
60
|
-
- Swipely/Docker-API 1.
|
60
|
+
- Swipely/Docker-API 1.21.4
|
61
61
|
Content-Type:
|
62
62
|
- text/plain
|
63
63
|
response:
|
@@ -66,10 +66,10 @@ http_interactions:
|
|
66
66
|
message:
|
67
67
|
headers:
|
68
68
|
Date:
|
69
|
-
-
|
69
|
+
- Fri, 05 Jun 2015 23:27:29 GMT
|
70
70
|
body:
|
71
71
|
encoding: UTF-8
|
72
72
|
string: ''
|
73
73
|
http_version:
|
74
|
-
recorded_at:
|
74
|
+
recorded_at: Fri, 05 Jun 2015 23:27:29 GMT
|
75
75
|
recorded_with: VCR 2.9.3
|