bigrig 0.4.2 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (101) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +6 -0
  3. data/Gemfile.lock +24 -26
  4. data/bigrig.gemspec +2 -2
  5. data/lib/bigrig/models/container.rb +2 -2
  6. data/lib/bigrig/runner.rb +2 -10
  7. data/lib/bigrig/version.rb +1 -1
  8. data/lib/bigrig/waiter.rb +20 -0
  9. data/lib/bigrig.rb +1 -0
  10. data/spec/bigrig/actions/run_action_spec.rb +8 -0
  11. data/spec/bigrig/docker_adapter_spec.rb +1 -1
  12. data/spec/bigrig/models/container_spec.rb +0 -18
  13. data/spec/bigrig_spec.rb +20 -6
  14. data/spec/data/wait_for/Dockerfile +4 -0
  15. data/spec/data/wait_for/bigrig-wait.sh +5 -0
  16. data/spec/data/wait_for/bigrig.json +8 -0
  17. data/spec/data/wait_for_broken/Dockerfile +4 -0
  18. data/spec/data/wait_for_broken/bigrig-wait.sh +3 -0
  19. data/spec/data/wait_for_broken/bigrig.json +8 -0
  20. data/spec/vcr/Bigrig_DestroyAction/_perform/given_json_with_a_single_container/and_the_container_has_exited/should_remove_the_container.yml +65 -65
  21. 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
  22. data/spec/vcr/Bigrig_DockerAdapter/_build/builds_the_given_directory.yml +11 -11
  23. data/spec/vcr/Bigrig_DockerAdapter/_build/passes_build_input_to_a_block.yml +5 -5
  24. data/spec/vcr/Bigrig_DockerAdapter/_container_exists_/when_the_container_does_not_exist/is_false.yml +20 -20
  25. data/spec/vcr/Bigrig_DockerAdapter/_container_exists_/when_the_container_exists/is_true.yml +13 -13
  26. data/spec/vcr/Bigrig_DockerAdapter/_image_id_by_tag/when_the_image_does_not_exist/raise_a_ImageNotFoundError.yml +20 -20
  27. data/spec/vcr/Bigrig_DockerAdapter/_image_id_by_tag/when_the_image_exists/returns_the_image_id.yml +19 -19
  28. data/spec/vcr/Bigrig_DockerAdapter/_kill/given_the_container_does_not_exist/should_raise_an_error.yml +20 -20
  29. data/spec/vcr/Bigrig_DockerAdapter/_kill/given_the_container_is_running/should_kill_the_container.yml +29 -29
  30. data/spec/vcr/Bigrig_DockerAdapter/_logs/streams_logs_to_a_block.yml +23 -23
  31. data/spec/vcr/Bigrig_DockerAdapter/_pull/given_a_block_to_capture_output/should_capture_output.yml +8 -8
  32. data/spec/vcr/Bigrig_DockerAdapter/_pull/given_the_repo_does_not_exist/raises_a_RepoNotFoundError.yml +3 -3
  33. data/spec/vcr/Bigrig_DockerAdapter/_pull/given_the_repo_exists/returns_the_image_id.yml +13 -13
  34. data/spec/vcr/Bigrig_DockerAdapter/_push/given_credentials/will_pass_login_and_password.yml +54 -54
  35. data/spec/vcr/Bigrig_DockerAdapter/_push/should_push_the_image.yml +1059 -553
  36. data/spec/vcr/Bigrig_DockerAdapter/_remove_container/when_the_container_does_not_exist/raises_a_ContainerNotFoundError.yml +40 -40
  37. data/spec/vcr/Bigrig_DockerAdapter/_remove_container/when_the_container_exists/should_remove_the_container.yml +44 -44
  38. data/spec/vcr/Bigrig_DockerAdapter/_remove_container/when_the_container_is_running/raises_a_ContainerRunningError.yml +13 -13
  39. data/spec/vcr/Bigrig_DockerAdapter/_remove_image/when_the_image_doesnt_exist/raises_an_error.yml +12 -12
  40. data/spec/vcr/Bigrig_DockerAdapter/_remove_image/when_the_image_exists/removes_the_image.yml +35 -35
  41. 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
  42. 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
  43. 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
  44. data/spec/vcr/Bigrig_DockerAdapter/_running_/when_the_container_does_not_exist/returns_false.yml +20 -20
  45. data/spec/vcr/Bigrig_DockerAdapter/_running_/when_the_container_is_not_running/returns_false.yml +13 -15
  46. data/spec/vcr/Bigrig_DockerAdapter/_running_/when_the_container_is_running/returns_true.yml +17 -17
  47. data/spec/vcr/Bigrig_DockerAdapter/_tag/should_tag_the_image.yml +34 -34
  48. data/spec/vcr/Bigrig_LogAction/_perform/follows_the_log.yml +43 -43
  49. data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_a_path/builds_the_image_before_starting_it.yml +222 -26
  50. data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_hosts_by_ip/should_pass_hosts_to_container.yml +180 -74
  51. data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_hosts_by_name/should_lookup_ips_for_hosts_with_a_hostname.yml +181 -75
  52. data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_links/should_pass_links_to_the_right_container.yml +351 -139
  53. data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_multiple_containers/launches_both_containers_in_parallel.yml +130 -130
  54. data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_multiple_containers/spins_up_multiple_containers.yml +140 -140
  55. data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_one_container/should_spin_up_a_single_container.yml +175 -69
  56. data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_one_container/when_a_dead_container_exists/should_remove_existing_containers.yml +159 -53
  57. data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_volumes/should_pass_volumes_to_the_right_container.yml +180 -74
  58. data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_volumes_from/should_pass_volumes_from_to_the_right_container.yml +351 -139
  59. data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_volumes_from/starts_the_dependant_container_last.yml +130 -130
  60. data/spec/vcr/Bigrig_RunAction/_perform/when_activating_profiles_that_do_not_exist/ignores_the_missing_profile.yml +268 -77
  61. data/spec/vcr/Bigrig_RunAction/_perform/with_a_file_with_active_profiles/uses_the_overridden_image.yml +180 -74
  62. data/spec/vcr/bigrig/destroy/spec/data/single_json/kills_the_container.yml +28 -28
  63. data/spec/vcr/bigrig/dev/spec/data/dev_json/activates_the_dev_profile.yml +266 -158
  64. data/spec/vcr/bigrig/dev/spec/data/dev_json/destroys_containers_on_exit.yml +78 -158
  65. data/spec/vcr/bigrig/dev/spec/data/dev_json/starts_the_containers.yml +187 -191
  66. data/spec/vcr/bigrig/dev/spec/data/dev_json/tails_the_logs.yml +38 -118
  67. data/spec/vcr/bigrig/dev/spec/data/scan_json/leaves_unaffected_containers_alone_when_the_scanned_file_changes.yml +811 -345
  68. data/spec/vcr/bigrig/dev/spec/data/scan_json/restarts_dependant_containers_when_the_scanned_file_changes.yml +813 -375
  69. data/spec/vcr/bigrig/dev/spec/data/scan_json/restarts_the_container_when_the_scanned_file_changes.yml +855 -363
  70. data/spec/vcr/bigrig/logs/spec/data/log_json/tails_the_logs.yml +23 -23
  71. data/spec/vcr/bigrig/run/spec/data/profiles_json_-p_qa/leaves_existing_env_values_alone.yml +14 -14
  72. data/spec/vcr/bigrig/run/spec/data/profiles_json_-p_qa/overrides_the_env.yml +14 -14
  73. data/spec/vcr/bigrig/run/spec/data/profiles_json_-p_qa/overrides_the_tag.yml +17 -17
  74. data/spec/vcr/bigrig/run/spec/data/single_json/sends_the_name_of_the_container_to_stdout.yml +12 -12
  75. data/spec/vcr/bigrig/run/spec/data/single_json/starts_the_container.yml +17 -17
  76. data/spec/vcr/bigrig/run/spec/data/wait_for/bigrig_json/waits_for_wait_for.yml +180 -0
  77. data/spec/vcr/bigrig/run/spec/data/wait_for_broken_json/fails_with_an_error.yml +12 -12
  78. data/spec/vcr/bigrig/ship/spec/data/ship_json/with_a_version/-c/cleans_the_image_when_its_done.yml +28 -28
  79. data/spec/vcr/bigrig/ship/spec/data/ship_json/with_a_version/builds_and_pushes_the_image.yml +21 -21
  80. data/spec/vcr/bigrig_bin_bigrig_destroy_spec/data/single_json_kills_the_container.yml +28 -28
  81. data/spec/vcr/bigrig_bin_bigrig_dev_spec/data/dev_json_activates_the_dev_profile.yml +135 -486
  82. data/spec/vcr/bigrig_bin_bigrig_dev_spec/data/dev_json_starts_the_containers.yml +146 -472
  83. data/spec/vcr/bigrig_bin_bigrig_dev_spec/data/dev_json_tails_the_logs.yml +402 -192
  84. data/spec/vcr/bigrig_bin_bigrig_dev_spec/data/scan_json_leaves_unaffected_containers_alone_when_the_scanned_file_changes.yml +980 -396
  85. data/spec/vcr/bigrig_bin_bigrig_dev_spec/data/scan_json_restarts_dependant_containers_when_the_scanned_file_changes.yml +916 -388
  86. data/spec/vcr/bigrig_bin_bigrig_dev_spec/data/scan_json_restarts_the_container_when_the_scanned_file_changes.yml +919 -391
  87. data/spec/vcr/bigrig_bin_bigrig_logs_spec/data/log_json_tails_the_logs.yml +23 -23
  88. data/spec/vcr/bigrig_bin_bigrig_run_spec/data/profiles_json_-p_qa_leaves_existing_env_values_alone.yml +159 -53
  89. data/spec/vcr/bigrig_bin_bigrig_run_spec/data/profiles_json_-p_qa_overrides_the_env.yml +159 -53
  90. data/spec/vcr/bigrig_bin_bigrig_run_spec/data/profiles_json_-p_qa_overrides_the_tag.yml +286 -31
  91. data/spec/vcr/bigrig_bin_bigrig_run_spec/data/single_json_sends_the_name_of_the_container_to_stdout.yml +159 -53
  92. data/spec/vcr/bigrig_bin_bigrig_run_spec/data/single_json_starts_the_container.yml +159 -53
  93. data/spec/vcr/bigrig_bin_bigrig_run_spec/data/wait_for/bigrig_json_waits_for_wait_for.yml +522 -0
  94. data/spec/vcr/bigrig_bin_bigrig_run_spec/data/wait_for_broken_json_fails_with_an_error.yml +175 -80
  95. data/spec/vcr/bigrig_bin_bigrig_ship_spec/data/ship_json_with_a_version_-c_cleans_the_image_when_its_done.yml +1036 -526
  96. data/spec/vcr/bigrig_bin_bigrig_ship_spec/data/ship_json_with_a_version_builds_and_pushes_the_image.yml +1024 -514
  97. metadata +17 -12
  98. data/spec/data/wait_for.json +0 -9
  99. data/spec/data/wait_for_broken.json +0 -9
  100. data/spec/vcr/bigrig/run/spec/data/wait_for_json/waits_for_wait_for.yml +0 -180
  101. 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.20.0
11
+ - Swipely/Docker-API 1.21.4
12
12
  Content-Type:
13
13
  - text/plain
14
14
  response:
15
15
  status:
16
- code: 404
16
+ code: 200
17
17
  message:
18
18
  headers:
19
19
  Content-Type:
20
- - text/plain; charset=utf-8
20
+ - application/json
21
21
  Date:
22
- - Mon, 20 Apr 2015 23:29:20 GMT
23
- Content-Length:
24
- - '28'
22
+ - Fri, 05 Jun 2015 23:27:04 GMT
25
23
  body:
26
24
  encoding: UTF-8
27
25
  string: |
28
- No such container: dev-test
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":"1a34650d3814","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:03.753156173Z","Driver":"aufs","ExecDriver":"native-0.2","ExecIDs":["154f18fb3dab6fa73f7389d4bae5ce60f12bf398fe30a960055300f2abce783e"],"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/1a34650d3814b86aecc72fc037996565b7bd7466b773b151af99a56069e209db/hostname","HostsPath":"/mnt/sda1/var/lib/docker/containers/1a34650d3814b86aecc72fc037996565b7bd7466b773b151af99a56069e209db/hosts","Id":"1a34650d3814b86aecc72fc037996565b7bd7466b773b151af99a56069e209db","Image":"b9c5be3a918d80b0d898ed8eca3fc76f75c482b531238e539cb00f75bb4e12d2","LogPath":"/mnt/sda1/var/lib/docker/containers/1a34650d3814b86aecc72fc037996565b7bd7466b773b151af99a56069e209db/1a34650d3814b86aecc72fc037996565b7bd7466b773b151af99a56069e209db-json.log","MountLabel":"","Name":"/dev-test","NetworkSettings":{"Bridge":"docker0","Gateway":"172.17.42.1","GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"IPAddress":"172.17.1.97","IPPrefixLen":16,"IPv6Gateway":"","LinkLocalIPv6Address":"fe80::42:acff:fe11:161","LinkLocalIPv6PrefixLen":64,"MacAddress":"02:42:ac:11:01:61","PortMapping":null,"Ports":{"80/tcp":[{"HostIp":"0.0.0.0","HostPort":"4568"}]}},"Path":"/bin/sh","ProcessLabel":"","ResolvConfPath":"/mnt/sda1/var/lib/docker/containers/1a34650d3814b86aecc72fc037996565b7bd7466b773b151af99a56069e209db/resolv.conf","RestartCount":0,"State":{"Dead":false,"Error":"","ExitCode":0,"FinishedAt":"0001-01-01T00:00:00Z","OOMKilled":false,"Paused":false,"Pid":24050,"Restarting":false,"Running":true,"StartedAt":"2015-06-05T23:27:04.459717997Z"},"Volumes":{},"VolumesRW":{}}
29
27
  http_version:
30
- recorded_at: Mon, 20 Apr 2015 23:29:20 GMT
28
+ recorded_at: Fri, 05 Jun 2015 23:27:04 GMT
31
29
  - request:
32
- method: get
33
- uri: "<DOCKER_HOST>/v1.16/containers/dev-test/json"
30
+ method: post
31
+ uri: "<DOCKER_HOST>/v1.16/containers/1a34650d3814b86aecc72fc037996565b7bd7466b773b151af99a56069e209db/kill"
34
32
  body:
35
33
  encoding: US-ASCII
36
34
  string: ''
37
35
  headers:
38
36
  User-Agent:
39
- - Swipely/Docker-API 1.20.0
37
+ - Swipely/Docker-API 1.21.4
40
38
  Content-Type:
41
39
  - text/plain
42
40
  response:
43
41
  status:
44
- code: 404
42
+ code: 204
45
43
  message:
46
44
  headers:
47
- Content-Type:
48
- - text/plain; charset=utf-8
49
45
  Date:
50
- - Mon, 20 Apr 2015 23:29:20 GMT
51
- Content-Length:
52
- - '28'
46
+ - Fri, 05 Jun 2015 23:27:05 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:20 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:20 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: Mon, 20 Apr 2015 23:29:20 GMT
51
+ recorded_at: Fri, 05 Jun 2015 23:27:05 GMT
87
52
  - request:
88
- method: get
89
- uri: "<DOCKER_HOST>/v1.16/containers/dev-test/json"
53
+ method: delete
54
+ uri: "<DOCKER_HOST>/v1.16/containers/1a34650d3814b86aecc72fc037996565b7bd7466b773b151af99a56069e209db"
90
55
  body:
91
56
  encoding: US-ASCII
92
57
  string: ''
93
58
  headers:
94
59
  User-Agent:
95
- - Swipely/Docker-API 1.20.0
60
+ - Swipely/Docker-API 1.21.4
96
61
  Content-Type:
97
62
  - text/plain
98
63
  response:
99
64
  status:
100
- code: 404
65
+ code: 204
101
66
  message:
102
67
  headers:
103
- Content-Type:
104
- - text/plain; charset=utf-8
105
68
  Date:
106
- - Mon, 20 Apr 2015 23:29:20 GMT
107
- Content-Length:
108
- - '28'
69
+ - Fri, 05 Jun 2015 23:27:05 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:20 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:20 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: Mon, 20 Apr 2015 23:29:20 GMT
74
+ recorded_at: Fri, 05 Jun 2015 23:27:05 GMT
143
75
  - request:
144
76
  method: get
145
77
  uri: "<DOCKER_HOST>/v1.16/containers/dev-logs/json"
@@ -148,82 +80,70 @@ http_interactions:
148
80
  string: ''
149
81
  headers:
150
82
  User-Agent:
151
- - Swipely/Docker-API 1.20.0
83
+ - Swipely/Docker-API 1.21.4
152
84
  Content-Type:
153
85
  - text/plain
154
86
  response:
155
87
  status:
156
- code: 404
88
+ code: 200
157
89
  message:
158
90
  headers:
159
91
  Content-Type:
160
- - text/plain; charset=utf-8
92
+ - application/json
161
93
  Date:
162
- - Mon, 20 Apr 2015 23:29:20 GMT
163
- Content-Length:
164
- - '28'
94
+ - Fri, 05 Jun 2015 23:27:05 GMT
165
95
  body:
166
96
  encoding: UTF-8
167
97
  string: |
168
- No such container: dev-logs
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":"1a75d722e1e5","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:03.762607668Z","Driver":"aufs","ExecDriver":"native-0.2","ExecIDs":["15be473dcfb47481918db764ad1909235476faf55305ee70c58ff009cd1cc46d"],"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/1a75d722e1e51ef4a2bcf2ddc297a7bf11f5dd43c82a5021e56e0923e89526ca/hostname","HostsPath":"/mnt/sda1/var/lib/docker/containers/1a75d722e1e51ef4a2bcf2ddc297a7bf11f5dd43c82a5021e56e0923e89526ca/hosts","Id":"1a75d722e1e51ef4a2bcf2ddc297a7bf11f5dd43c82a5021e56e0923e89526ca","Image":"bf0f8a45f956aa470ab3c916c83925fdcffce23d37b1a9e33998561ce54ca030","LogPath":"/mnt/sda1/var/lib/docker/containers/1a75d722e1e51ef4a2bcf2ddc297a7bf11f5dd43c82a5021e56e0923e89526ca/1a75d722e1e51ef4a2bcf2ddc297a7bf11f5dd43c82a5021e56e0923e89526ca-json.log","MountLabel":"","Name":"/dev-logs","NetworkSettings":{"Bridge":"docker0","Gateway":"172.17.42.1","GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"IPAddress":"172.17.1.98","IPPrefixLen":16,"IPv6Gateway":"","LinkLocalIPv6Address":"fe80::42:acff:fe11:162","LinkLocalIPv6PrefixLen":64,"MacAddress":"02:42:ac:11:01:62","PortMapping":null,"Ports":{}},"Path":"/run.sh","ProcessLabel":"","ResolvConfPath":"/mnt/sda1/var/lib/docker/containers/1a75d722e1e51ef4a2bcf2ddc297a7bf11f5dd43c82a5021e56e0923e89526ca/resolv.conf","RestartCount":0,"State":{"Dead":false,"Error":"","ExitCode":0,"FinishedAt":"0001-01-01T00:00:00Z","OOMKilled":false,"Paused":false,"Pid":24046,"Restarting":false,"Running":true,"StartedAt":"2015-06-05T23:27:04.323323967Z"},"Volumes":{},"VolumesRW":{}}
169
99
  http_version:
170
- recorded_at: Mon, 20 Apr 2015 23:29:20 GMT
100
+ recorded_at: Fri, 05 Jun 2015 23:27:05 GMT
171
101
  - request:
172
- method: get
173
- uri: "<DOCKER_HOST>/v1.16/containers/dev-logs/json"
102
+ method: post
103
+ uri: "<DOCKER_HOST>/v1.16/containers/1a75d722e1e51ef4a2bcf2ddc297a7bf11f5dd43c82a5021e56e0923e89526ca/kill"
174
104
  body:
175
105
  encoding: US-ASCII
176
106
  string: ''
177
107
  headers:
178
108
  User-Agent:
179
- - Swipely/Docker-API 1.20.0
109
+ - Swipely/Docker-API 1.21.4
180
110
  Content-Type:
181
111
  - text/plain
182
112
  response:
183
113
  status:
184
- code: 404
114
+ code: 204
185
115
  message:
186
116
  headers:
187
- Content-Type:
188
- - text/plain; charset=utf-8
189
117
  Date:
190
- - Mon, 20 Apr 2015 23:29:20 GMT
191
- Content-Length:
192
- - '28'
118
+ - Fri, 05 Jun 2015 23:27:05 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: Mon, 20 Apr 2015 23:29:20 GMT
123
+ recorded_at: Fri, 05 Jun 2015 23:27:05 GMT
199
124
  - request:
200
- method: get
201
- uri: "<DOCKER_HOST>/v1.16/containers/dev-logs/json"
125
+ method: delete
126
+ uri: "<DOCKER_HOST>/v1.16/containers/1a75d722e1e51ef4a2bcf2ddc297a7bf11f5dd43c82a5021e56e0923e89526ca"
202
127
  body:
203
128
  encoding: US-ASCII
204
129
  string: ''
205
130
  headers:
206
131
  User-Agent:
207
- - Swipely/Docker-API 1.20.0
132
+ - Swipely/Docker-API 1.21.4
208
133
  Content-Type:
209
134
  - text/plain
210
135
  response:
211
136
  status:
212
- code: 404
137
+ code: 204
213
138
  message:
214
139
  headers:
215
- Content-Type:
216
- - text/plain; charset=utf-8
217
140
  Date:
218
- - Mon, 20 Apr 2015 23:29:20 GMT
219
- Content-Length:
220
- - '28'
141
+ - Fri, 05 Jun 2015 23:27:05 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: Mon, 20 Apr 2015 23:29:20 GMT
146
+ recorded_at: Fri, 05 Jun 2015 23:27:05 GMT
227
147
  - request:
228
148
  method: get
229
149
  uri: "<DOCKER_HOST>/v1.16/containers/dev-test/json"
@@ -232,7 +152,7 @@ http_interactions:
232
152
  string: ''
233
153
  headers:
234
154
  User-Agent:
235
- - Swipely/Docker-API 1.20.0
155
+ - Swipely/Docker-API 1.21.4
236
156
  Content-Type:
237
157
  - text/plain
238
158
  response:
@@ -243,15 +163,15 @@ http_interactions:
243
163
  Content-Type:
244
164
  - text/plain; charset=utf-8
245
165
  Date:
246
- - Mon, 20 Apr 2015 23:29:20 GMT
166
+ - Fri, 05 Jun 2015 23:27:05 GMT
247
167
  Content-Length:
248
- - '28'
168
+ - '21'
249
169
  body:
250
170
  encoding: UTF-8
251
171
  string: |
252
- No such container: dev-test
172
+ no such id: dev-test
253
173
  http_version:
254
- recorded_at: Mon, 20 Apr 2015 23:29:20 GMT
174
+ recorded_at: Fri, 05 Jun 2015 23:27:05 GMT
255
175
  - request:
256
176
  method: get
257
177
  uri: "<DOCKER_HOST>/v1.16/containers/dev-test/json"
@@ -260,7 +180,7 @@ http_interactions:
260
180
  string: ''
261
181
  headers:
262
182
  User-Agent:
263
- - Swipely/Docker-API 1.20.0
183
+ - Swipely/Docker-API 1.21.4
264
184
  Content-Type:
265
185
  - text/plain
266
186
  response:
@@ -271,15 +191,15 @@ http_interactions:
271
191
  Content-Type:
272
192
  - text/plain; charset=utf-8
273
193
  Date:
274
- - Mon, 20 Apr 2015 23:29:21 GMT
194
+ - Fri, 05 Jun 2015 23:27:05 GMT
275
195
  Content-Length:
276
- - '28'
196
+ - '21'
277
197
  body:
278
198
  encoding: UTF-8
279
199
  string: |
280
- No such container: dev-test
200
+ no such id: dev-test
281
201
  http_version:
282
- recorded_at: Mon, 20 Apr 2015 23:29:20 GMT
202
+ recorded_at: Fri, 05 Jun 2015 23:27:05 GMT
283
203
  - request:
284
204
  method: get
285
205
  uri: "<DOCKER_HOST>/v1.16/containers/dev-test/json"
@@ -288,7 +208,7 @@ http_interactions:
288
208
  string: ''
289
209
  headers:
290
210
  User-Agent:
291
- - Swipely/Docker-API 1.20.0
211
+ - Swipely/Docker-API 1.21.4
292
212
  Content-Type:
293
213
  - text/plain
294
214
  response:
@@ -299,15 +219,15 @@ http_interactions:
299
219
  Content-Type:
300
220
  - text/plain; charset=utf-8
301
221
  Date:
302
- - Mon, 20 Apr 2015 23:29:21 GMT
222
+ - Fri, 05 Jun 2015 23:27:05 GMT
303
223
  Content-Length:
304
- - '28'
224
+ - '21'
305
225
  body:
306
226
  encoding: UTF-8
307
227
  string: |
308
- No such container: dev-test
228
+ no such id: dev-test
309
229
  http_version:
310
- recorded_at: Mon, 20 Apr 2015 23:29:20 GMT
230
+ recorded_at: Fri, 05 Jun 2015 23:27:05 GMT
311
231
  - request:
312
232
  method: get
313
233
  uri: "<DOCKER_HOST>/v1.16/containers/dev-test/json"
@@ -316,7 +236,7 @@ http_interactions:
316
236
  string: ''
317
237
  headers:
318
238
  User-Agent:
319
- - Swipely/Docker-API 1.20.0
239
+ - Swipely/Docker-API 1.21.4
320
240
  Content-Type:
321
241
  - text/plain
322
242
  response:
@@ -327,15 +247,15 @@ http_interactions:
327
247
  Content-Type:
328
248
  - text/plain; charset=utf-8
329
249
  Date:
330
- - Mon, 20 Apr 2015 23:29:21 GMT
250
+ - Fri, 05 Jun 2015 23:27:05 GMT
331
251
  Content-Length:
332
- - '28'
252
+ - '21'
333
253
  body:
334
254
  encoding: UTF-8
335
255
  string: |
336
- No such container: dev-test
256
+ no such id: dev-test
337
257
  http_version:
338
- recorded_at: Mon, 20 Apr 2015 23:29:20 GMT
258
+ recorded_at: Fri, 05 Jun 2015 23:27:05 GMT
339
259
  - request:
340
260
  method: get
341
261
  uri: "<DOCKER_HOST>/v1.16/containers/dev-logs/json"
@@ -344,7 +264,7 @@ http_interactions:
344
264
  string: ''
345
265
  headers:
346
266
  User-Agent:
347
- - Swipely/Docker-API 1.20.0
267
+ - Swipely/Docker-API 1.21.4
348
268
  Content-Type:
349
269
  - text/plain
350
270
  response:
@@ -355,15 +275,15 @@ http_interactions:
355
275
  Content-Type:
356
276
  - text/plain; charset=utf-8
357
277
  Date:
358
- - Mon, 20 Apr 2015 23:29:21 GMT
278
+ - Fri, 05 Jun 2015 23:27:05 GMT
359
279
  Content-Length:
360
- - '28'
280
+ - '21'
361
281
  body:
362
282
  encoding: UTF-8
363
283
  string: |
364
- No such container: dev-logs
284
+ no such id: dev-logs
365
285
  http_version:
366
- recorded_at: Mon, 20 Apr 2015 23:29:20 GMT
286
+ recorded_at: Fri, 05 Jun 2015 23:27:05 GMT
367
287
  - request:
368
288
  method: get
369
289
  uri: "<DOCKER_HOST>/v1.16/containers/dev-logs/json"
@@ -372,7 +292,7 @@ http_interactions:
372
292
  string: ''
373
293
  headers:
374
294
  User-Agent:
375
- - Swipely/Docker-API 1.20.0
295
+ - Swipely/Docker-API 1.21.4
376
296
  Content-Type:
377
297
  - text/plain
378
298
  response:
@@ -383,15 +303,15 @@ http_interactions:
383
303
  Content-Type:
384
304
  - text/plain; charset=utf-8
385
305
  Date:
386
- - Mon, 20 Apr 2015 23:29:21 GMT
306
+ - Fri, 05 Jun 2015 23:27:05 GMT
387
307
  Content-Length:
388
- - '28'
308
+ - '21'
389
309
  body:
390
310
  encoding: UTF-8
391
311
  string: |
392
- No such container: dev-logs
312
+ no such id: dev-logs
393
313
  http_version:
394
- recorded_at: Mon, 20 Apr 2015 23:29:20 GMT
314
+ recorded_at: Fri, 05 Jun 2015 23:27:05 GMT
395
315
  - request:
396
316
  method: get
397
317
  uri: "<DOCKER_HOST>/v1.16/containers/dev-logs/json"
@@ -400,7 +320,7 @@ http_interactions:
400
320
  string: ''
401
321
  headers:
402
322
  User-Agent:
403
- - Swipely/Docker-API 1.20.0
323
+ - Swipely/Docker-API 1.21.4
404
324
  Content-Type:
405
325
  - text/plain
406
326
  response:
@@ -411,15 +331,15 @@ http_interactions:
411
331
  Content-Type:
412
332
  - text/plain; charset=utf-8
413
333
  Date:
414
- - Mon, 20 Apr 2015 23:29:21 GMT
334
+ - Fri, 05 Jun 2015 23:27:05 GMT
415
335
  Content-Length:
416
- - '28'
336
+ - '21'
417
337
  body:
418
338
  encoding: UTF-8
419
339
  string: |
420
- No such container: dev-logs
340
+ no such id: dev-logs
421
341
  http_version:
422
- recorded_at: Mon, 20 Apr 2015 23:29:20 GMT
342
+ recorded_at: Fri, 05 Jun 2015 23:27:05 GMT
423
343
  - request:
424
344
  method: get
425
345
  uri: "<DOCKER_HOST>/v1.16/containers/dev-logs/json"
@@ -428,7 +348,7 @@ http_interactions:
428
348
  string: ''
429
349
  headers:
430
350
  User-Agent:
431
- - Swipely/Docker-API 1.20.0
351
+ - Swipely/Docker-API 1.21.4
432
352
  Content-Type:
433
353
  - text/plain
434
354
  response:
@@ -439,13 +359,13 @@ http_interactions:
439
359
  Content-Type:
440
360
  - text/plain; charset=utf-8
441
361
  Date:
442
- - Mon, 20 Apr 2015 23:29:21 GMT
362
+ - Fri, 05 Jun 2015 23:27:05 GMT
443
363
  Content-Length:
444
- - '28'
364
+ - '21'
445
365
  body:
446
366
  encoding: UTF-8
447
367
  string: |
448
- No such container: dev-logs
368
+ no such id: dev-logs
449
369
  http_version:
450
- recorded_at: Mon, 20 Apr 2015 23:29:20 GMT
370
+ recorded_at: Fri, 05 Jun 2015 23:27:05 GMT
451
371
  recorded_with: VCR 2.9.3