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,138 +8,70 @@ 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:
|
15
15
|
status:
|
16
|
-
code:
|
16
|
+
code: 200
|
17
17
|
message:
|
18
18
|
headers:
|
19
19
|
Content-Type:
|
20
|
-
-
|
20
|
+
- application/json
|
21
21
|
Date:
|
22
|
-
-
|
23
|
-
Content-Length:
|
24
|
-
- '28'
|
22
|
+
- Fri, 05 Jun 2015 23:27:08 GMT
|
25
23
|
body:
|
26
24
|
encoding: UTF-8
|
27
25
|
string: |
|
28
|
-
|
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":["PROFILE=dev","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":"b39ac52d54b5","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:07.491228513Z","Driver":"aufs","ExecDriver":"native-0.2","ExecIDs":["0b92a8b359baa65a00432b1bd2e4454194b55db77a9708d33df43196ffa382c0"],"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":"4568"}]},"Privileged":false,"PublishAllPorts":false,"ReadonlyRootfs":false,"RestartPolicy":{"MaximumRetryCount":0,"Name":""},"SecurityOpt":null,"Ulimits":null,"VolumesFrom":[]},"HostnamePath":"/mnt/sda1/var/lib/docker/containers/b39ac52d54b594ad4ac240379ca913e403dff5a9937237f730d6705a2c38df62/hostname","HostsPath":"/mnt/sda1/var/lib/docker/containers/b39ac52d54b594ad4ac240379ca913e403dff5a9937237f730d6705a2c38df62/hosts","Id":"b39ac52d54b594ad4ac240379ca913e403dff5a9937237f730d6705a2c38df62","Image":"b9c5be3a918d80b0d898ed8eca3fc76f75c482b531238e539cb00f75bb4e12d2","LogPath":"/mnt/sda1/var/lib/docker/containers/b39ac52d54b594ad4ac240379ca913e403dff5a9937237f730d6705a2c38df62/b39ac52d54b594ad4ac240379ca913e403dff5a9937237f730d6705a2c38df62-json.log","MountLabel":"","Name":"/dev-test","NetworkSettings":{"Bridge":"docker0","Gateway":"172.17.42.1","GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"IPAddress":"172.17.1.100","IPPrefixLen":16,"IPv6Gateway":"","LinkLocalIPv6Address":"fe80::42:acff:fe11:164","LinkLocalIPv6PrefixLen":64,"MacAddress":"02:42:ac:11:01:64","PortMapping":null,"Ports":{"80/tcp":[{"HostIp":"0.0.0.0","HostPort":"4568"}]}},"Path":"/bin/sh","ProcessLabel":"","ResolvConfPath":"/mnt/sda1/var/lib/docker/containers/b39ac52d54b594ad4ac240379ca913e403dff5a9937237f730d6705a2c38df62/resolv.conf","RestartCount":0,"State":{"Dead":false,"Error":"","ExitCode":0,"FinishedAt":"0001-01-01T00:00:00Z","OOMKilled":false,"Paused":false,"Pid":24092,"Restarting":false,"Running":true,"StartedAt":"2015-06-05T23:27:08.155895484Z"},"Volumes":{},"VolumesRW":{}}
|
29
27
|
http_version:
|
30
|
-
recorded_at:
|
28
|
+
recorded_at: Fri, 05 Jun 2015 23:27:08 GMT
|
31
29
|
- request:
|
32
|
-
method:
|
33
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
30
|
+
method: post
|
31
|
+
uri: "<DOCKER_HOST>/v1.16/containers/b39ac52d54b594ad4ac240379ca913e403dff5a9937237f730d6705a2c38df62/kill"
|
34
32
|
body:
|
35
33
|
encoding: US-ASCII
|
36
34
|
string: ''
|
37
35
|
headers:
|
38
36
|
User-Agent:
|
39
|
-
- Swipely/Docker-API 1.
|
37
|
+
- Swipely/Docker-API 1.21.4
|
40
38
|
Content-Type:
|
41
39
|
- text/plain
|
42
40
|
response:
|
43
41
|
status:
|
44
|
-
code:
|
42
|
+
code: 204
|
45
43
|
message:
|
46
44
|
headers:
|
47
|
-
Content-Type:
|
48
|
-
- text/plain; charset=utf-8
|
49
45
|
Date:
|
50
|
-
-
|
51
|
-
Content-Length:
|
52
|
-
- '28'
|
46
|
+
- Fri, 05 Jun 2015 23:27:08 GMT
|
53
47
|
body:
|
54
48
|
encoding: UTF-8
|
55
|
-
string: |
|
56
|
-
No such container: dev-test
|
57
|
-
http_version:
|
58
|
-
recorded_at: Mon, 20 Apr 2015 23:29:21 GMT
|
59
|
-
- request:
|
60
|
-
method: get
|
61
|
-
uri: "<DOCKER_HOST>/v1.16/containers/dev-test/json"
|
62
|
-
body:
|
63
|
-
encoding: US-ASCII
|
64
49
|
string: ''
|
65
|
-
headers:
|
66
|
-
User-Agent:
|
67
|
-
- Swipely/Docker-API 1.20.0
|
68
|
-
Content-Type:
|
69
|
-
- text/plain
|
70
|
-
response:
|
71
|
-
status:
|
72
|
-
code: 404
|
73
|
-
message:
|
74
|
-
headers:
|
75
|
-
Content-Type:
|
76
|
-
- text/plain; charset=utf-8
|
77
|
-
Date:
|
78
|
-
- Mon, 20 Apr 2015 23:29:22 GMT
|
79
|
-
Content-Length:
|
80
|
-
- '28'
|
81
|
-
body:
|
82
|
-
encoding: UTF-8
|
83
|
-
string: |
|
84
|
-
No such container: dev-test
|
85
50
|
http_version:
|
86
|
-
recorded_at:
|
51
|
+
recorded_at: Fri, 05 Jun 2015 23:27:08 GMT
|
87
52
|
- request:
|
88
|
-
method:
|
89
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
53
|
+
method: delete
|
54
|
+
uri: "<DOCKER_HOST>/v1.16/containers/b39ac52d54b594ad4ac240379ca913e403dff5a9937237f730d6705a2c38df62"
|
90
55
|
body:
|
91
56
|
encoding: US-ASCII
|
92
57
|
string: ''
|
93
58
|
headers:
|
94
59
|
User-Agent:
|
95
|
-
- Swipely/Docker-API 1.
|
60
|
+
- Swipely/Docker-API 1.21.4
|
96
61
|
Content-Type:
|
97
62
|
- text/plain
|
98
63
|
response:
|
99
64
|
status:
|
100
|
-
code:
|
65
|
+
code: 204
|
101
66
|
message:
|
102
67
|
headers:
|
103
|
-
Content-Type:
|
104
|
-
- text/plain; charset=utf-8
|
105
68
|
Date:
|
106
|
-
-
|
107
|
-
Content-Length:
|
108
|
-
- '28'
|
69
|
+
- Fri, 05 Jun 2015 23:27:08 GMT
|
109
70
|
body:
|
110
71
|
encoding: UTF-8
|
111
|
-
string: |
|
112
|
-
No such container: dev-test
|
113
|
-
http_version:
|
114
|
-
recorded_at: Mon, 20 Apr 2015 23:29:21 GMT
|
115
|
-
- request:
|
116
|
-
method: get
|
117
|
-
uri: "<DOCKER_HOST>/v1.16/containers/dev-logs/json"
|
118
|
-
body:
|
119
|
-
encoding: US-ASCII
|
120
72
|
string: ''
|
121
|
-
headers:
|
122
|
-
User-Agent:
|
123
|
-
- Swipely/Docker-API 1.20.0
|
124
|
-
Content-Type:
|
125
|
-
- text/plain
|
126
|
-
response:
|
127
|
-
status:
|
128
|
-
code: 404
|
129
|
-
message:
|
130
|
-
headers:
|
131
|
-
Content-Type:
|
132
|
-
- text/plain; charset=utf-8
|
133
|
-
Date:
|
134
|
-
- Mon, 20 Apr 2015 23:29:22 GMT
|
135
|
-
Content-Length:
|
136
|
-
- '28'
|
137
|
-
body:
|
138
|
-
encoding: UTF-8
|
139
|
-
string: |
|
140
|
-
No such container: dev-logs
|
141
73
|
http_version:
|
142
|
-
recorded_at:
|
74
|
+
recorded_at: Fri, 05 Jun 2015 23:27:08 GMT
|
143
75
|
- request:
|
144
76
|
method: get
|
145
77
|
uri: "<DOCKER_HOST>/v1.16/containers/dev-logs/json"
|
@@ -148,80 +80,68 @@ http_interactions:
|
|
148
80
|
string: ''
|
149
81
|
headers:
|
150
82
|
User-Agent:
|
151
|
-
- Swipely/Docker-API 1.
|
83
|
+
- Swipely/Docker-API 1.21.4
|
152
84
|
Content-Type:
|
153
85
|
- text/plain
|
154
86
|
response:
|
155
87
|
status:
|
156
|
-
code:
|
88
|
+
code: 200
|
157
89
|
message:
|
158
90
|
headers:
|
159
91
|
Content-Type:
|
160
|
-
-
|
92
|
+
- application/json
|
161
93
|
Date:
|
162
|
-
-
|
163
|
-
Content-Length:
|
164
|
-
- '28'
|
94
|
+
- Fri, 05 Jun 2015 23:27:08 GMT
|
165
95
|
body:
|
166
96
|
encoding: UTF-8
|
167
97
|
string: |
|
168
|
-
|
98
|
+
{"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":"fd4bd953f3fe","Image":"bf0f8a45f956aa470ab3c916c83925fdcffce23d37b1a9e33998561ce54ca030","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:07.483108725Z","Driver":"aufs","ExecDriver":"native-0.2","ExecIDs":["42cac94ce261d28ff719322b6f832dee9de0221807a707e4dd6d2309aea49b63"],"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/fd4bd953f3fe647385fc84543f5e88b36d2cf20d636197aa8633b7ee031425e2/hostname","HostsPath":"/mnt/sda1/var/lib/docker/containers/fd4bd953f3fe647385fc84543f5e88b36d2cf20d636197aa8633b7ee031425e2/hosts","Id":"fd4bd953f3fe647385fc84543f5e88b36d2cf20d636197aa8633b7ee031425e2","Image":"bf0f8a45f956aa470ab3c916c83925fdcffce23d37b1a9e33998561ce54ca030","LogPath":"/mnt/sda1/var/lib/docker/containers/fd4bd953f3fe647385fc84543f5e88b36d2cf20d636197aa8633b7ee031425e2/fd4bd953f3fe647385fc84543f5e88b36d2cf20d636197aa8633b7ee031425e2-json.log","MountLabel":"","Name":"/dev-logs","NetworkSettings":{"Bridge":"docker0","Gateway":"172.17.42.1","GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"IPAddress":"172.17.1.99","IPPrefixLen":16,"IPv6Gateway":"","LinkLocalIPv6Address":"fe80::42:acff:fe11:163","LinkLocalIPv6PrefixLen":64,"MacAddress":"02:42:ac:11:01:63","PortMapping":null,"Ports":{}},"Path":"/run.sh","ProcessLabel":"","ResolvConfPath":"/mnt/sda1/var/lib/docker/containers/fd4bd953f3fe647385fc84543f5e88b36d2cf20d636197aa8633b7ee031425e2/resolv.conf","RestartCount":0,"State":{"Dead":false,"Error":"","ExitCode":0,"FinishedAt":"0001-01-01T00:00:00Z","OOMKilled":false,"Paused":false,"Pid":24080,"Restarting":false,"Running":true,"StartedAt":"2015-06-05T23:27:07.983712228Z"},"Volumes":{},"VolumesRW":{}}
|
169
99
|
http_version:
|
170
|
-
recorded_at:
|
100
|
+
recorded_at: Fri, 05 Jun 2015 23:27:08 GMT
|
171
101
|
- request:
|
172
|
-
method:
|
173
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
102
|
+
method: post
|
103
|
+
uri: "<DOCKER_HOST>/v1.16/containers/fd4bd953f3fe647385fc84543f5e88b36d2cf20d636197aa8633b7ee031425e2/kill"
|
174
104
|
body:
|
175
105
|
encoding: US-ASCII
|
176
106
|
string: ''
|
177
107
|
headers:
|
178
108
|
User-Agent:
|
179
|
-
- Swipely/Docker-API 1.
|
109
|
+
- Swipely/Docker-API 1.21.4
|
180
110
|
Content-Type:
|
181
111
|
- text/plain
|
182
112
|
response:
|
183
113
|
status:
|
184
|
-
code:
|
114
|
+
code: 204
|
185
115
|
message:
|
186
116
|
headers:
|
187
|
-
Content-Type:
|
188
|
-
- text/plain; charset=utf-8
|
189
117
|
Date:
|
190
|
-
-
|
191
|
-
Content-Length:
|
192
|
-
- '28'
|
118
|
+
- Fri, 05 Jun 2015 23:27:08 GMT
|
193
119
|
body:
|
194
120
|
encoding: UTF-8
|
195
|
-
string:
|
196
|
-
No such container: dev-logs
|
121
|
+
string: ''
|
197
122
|
http_version:
|
198
|
-
recorded_at:
|
123
|
+
recorded_at: Fri, 05 Jun 2015 23:27:09 GMT
|
199
124
|
- request:
|
200
|
-
method:
|
201
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
125
|
+
method: delete
|
126
|
+
uri: "<DOCKER_HOST>/v1.16/containers/fd4bd953f3fe647385fc84543f5e88b36d2cf20d636197aa8633b7ee031425e2"
|
202
127
|
body:
|
203
128
|
encoding: US-ASCII
|
204
129
|
string: ''
|
205
130
|
headers:
|
206
131
|
User-Agent:
|
207
|
-
- Swipely/Docker-API 1.
|
132
|
+
- Swipely/Docker-API 1.21.4
|
208
133
|
Content-Type:
|
209
134
|
- text/plain
|
210
135
|
response:
|
211
136
|
status:
|
212
|
-
code:
|
137
|
+
code: 204
|
213
138
|
message:
|
214
139
|
headers:
|
215
|
-
Content-Type:
|
216
|
-
- text/plain; charset=utf-8
|
217
140
|
Date:
|
218
|
-
-
|
219
|
-
Content-Length:
|
220
|
-
- '28'
|
141
|
+
- Fri, 05 Jun 2015 23:27:09 GMT
|
221
142
|
body:
|
222
143
|
encoding: UTF-8
|
223
|
-
string:
|
224
|
-
No such container: dev-logs
|
144
|
+
string: ''
|
225
145
|
http_version:
|
226
|
-
recorded_at:
|
146
|
+
recorded_at: Fri, 05 Jun 2015 23:27:09 GMT
|
227
147
|
recorded_with: VCR 2.9.3
|