docker-api 1.15.0 → 1.16.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (105) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +26 -1
  3. data/Rakefile +37 -0
  4. data/TESTING.md +61 -0
  5. data/lib/docker.rb +8 -1
  6. data/lib/docker/container.rb +44 -80
  7. data/lib/docker/exec.rb +98 -0
  8. data/lib/docker/image.rb +4 -3
  9. data/lib/docker/util.rb +79 -0
  10. data/lib/docker/version.rb +2 -2
  11. data/spec/docker/container_spec.rb +192 -56
  12. data/spec/docker/event_spec.rb +4 -4
  13. data/spec/docker/exec_spec.rb +197 -0
  14. data/spec/docker/image_spec.rb +131 -102
  15. data/spec/docker_spec.rb +37 -27
  16. data/spec/fixtures/build_from_dir/Dockerfile +2 -2
  17. data/spec/fixtures/export.tar +0 -0
  18. data/spec/fixtures/top/Dockerfile +2 -2
  19. data/spec/spec_helper.rb +10 -0
  20. data/spec/support/vcr.rb +5 -0
  21. data/spec/vcr/Docker/_authenticate_/with_valid_credentials/logs_in_and_sets_the_creds.yml +6 -8
  22. data/spec/vcr/Docker/_info/returns_the_info_as_a_Hash.yml +7 -9
  23. data/spec/vcr/Docker/_validate_version/when_nothing_is_raised/validate_version_/.yml +7 -9
  24. data/spec/vcr/Docker/_version/returns_the_version_as_a_Hash.yml +7 -9
  25. data/spec/vcr/Docker_Container/_all/when_the_HTTP_response_is_a_200/materializes_each_Container_into_a_Docker_Container.yml +46 -139
  26. data/spec/vcr/Docker_Container/_attach/with_normal_sized_chunks/yields_each_chunk.yml +62 -20
  27. data/spec/vcr/Docker_Container/_attach/with_very_small_chunks/yields_each_chunk.yml +62 -20
  28. data/spec/vcr/Docker_Container/_changes/returns_the_changes_as_an_array.yml +71 -28
  29. data/spec/vcr/Docker_Container/_commit/creates_a_new_Image_from_the_Container_s_changes.yml +69 -23
  30. data/spec/vcr/Docker_Container/_copy/when_the_file_does_not_exist/raises_an_error.yml +134 -0
  31. data/spec/vcr/Docker_Container/_copy/when_the_input_is_a_directory/yields_each_chunk_of_the_tarred_directory.yml +73 -290
  32. data/spec/vcr/Docker_Container/_copy/when_the_input_is_a_file/yields_each_chunk_of_the_tarred_file.yml +51 -211
  33. data/spec/vcr/Docker_Container/_create/when_creating_a_container_named_bob/should_have_name_set_to_bob.yml +36 -17
  34. data/spec/vcr/Docker_Container/_create/when_the_Container_does_not_yet_exist/when_the_HTTP_request_returns_a_200/sets_the_id.yml +30 -9
  35. data/spec/vcr/Docker_Container/_delete/deletes_the_container.yml +17 -23
  36. data/spec/vcr/Docker_Container/_exec/when_detach_is_true/returns_the_Docker_Exec_object.yml +151 -0
  37. data/spec/vcr/Docker_Container/_exec/when_passed_a_block/streams_the_stdout/stderr_messages.yml +153 -0
  38. data/spec/vcr/Docker_Container/_exec/when_passed_only_a_command/returns_the_stdout/stderr_messages.yml +153 -0
  39. data/spec/vcr/Docker_Container/_exec/when_stdin_object_is_passed/returns_the_stdout/stderr_messages.yml +100 -0
  40. data/spec/vcr/Docker_Container/_exec/when_tty_is_true/returns_the_raw_stdout/stderr_output.yml +152 -0
  41. data/spec/vcr/Docker_Container/_export/yields_each_chunk.yml +263 -28
  42. data/spec/vcr/Docker_Container/_get/when_the_HTTP_response_is_a_200/materializes_the_Container_into_a_Docker_Container.yml +36 -17
  43. data/spec/vcr/Docker_Container/_json/returns_the_description_as_a_Hash.yml +36 -17
  44. data/spec/vcr/Docker_Container/_kill/kills_the_container.yml +55 -53
  45. data/spec/vcr/Docker_Container/_kill/with_a_kill_signal/kills_the_container.yml +74 -96
  46. data/spec/vcr/Docker_Container/_logs/when_not_selecting_any_stream/raises_a_client_error.yml +84 -81
  47. data/spec/vcr/Docker_Container/_logs/when_selecting_stdout/returns_blank_logs.yml +34 -15
  48. data/spec/vcr/Docker_Container/_pause/pauses_the_container.yml +98 -45
  49. data/spec/vcr/Docker_Container/_restart/restarts_the_container.yml +88 -56
  50. data/spec/vcr/Docker_Container/_run/when_the_Container_s_command_does_not_return_status_code_of_0/raises_an_error.yml +39 -22
  51. data/spec/vcr/Docker_Container/_run/when_the_Container_s_command_returns_a_status_code_of_0/creates_a_new_container_to_run_the_specified_command.yml +212 -60
  52. data/spec/vcr/Docker_Container/_start/starts_the_container.yml +45 -30
  53. data/spec/vcr/Docker_Container/_stop/stops_the_container.yml +54 -83
  54. data/spec/vcr/Docker_Container/_streaming_logs/when_not_selecting_any_stream/raises_a_client_error.yml +84 -81
  55. data/spec/vcr/Docker_Container/_streaming_logs/when_selecting_stdout/returns_blank_logs.yml +46 -30
  56. data/spec/vcr/Docker_Container/_top/returns_the_top_commands_as_an_Array.yml +103 -40
  57. data/spec/vcr/Docker_Container/_unpause/unpauses_the_container.yml +81 -57
  58. data/spec/vcr/Docker_Container/_wait/waits_for_the_command_to_finish.yml +39 -22
  59. data/spec/vcr/Docker_Container/_wait/when_an_argument_is_given/sets_the_read_timeout_to_that_amount_of_time.yml +39 -22
  60. data/spec/vcr/Docker_Exec/_create/when_the_HTTP_request_returns_a_201/sets_the_id.yml +128 -0
  61. data/spec/vcr/Docker_Exec/_resize/when_exec_instance_has_TTY_enabled/returns_a_200.yml +155 -0
  62. data/spec/vcr/Docker_Exec/_start_/when_detach_is_set_to_false/block_is_passed/attaches_to_the_stream.yml +152 -0
  63. data/spec/vcr/Docker_Exec/_start_/when_detach_is_set_to_false/returns_the_stdout_and_stderr_messages.yml +152 -0
  64. data/spec/vcr/Docker_Exec/_start_/when_detach_is_set_to_true/returns_empty_stdout_and_stderr_messages.yml +151 -0
  65. data/spec/vcr/Docker_Exec/_start_/when_the_HTTP_request_returns_a_201/starts_the_exec_instance.yml +151 -0
  66. data/spec/vcr/Docker_Exec/_start_/when_the_command_has_already_run/raises_an_error.yml +151 -0
  67. data/spec/vcr/Docker_Image/_all/materializes_each_Image_into_a_Docker_Image.yml +86 -200
  68. data/spec/vcr/Docker_Image/_build/with_a_valid_Dockerfile/with_a_block_capturing_build_output/calls_the_block_and_passes_build_output.yml +10 -14
  69. data/spec/vcr/Docker_Image/_build/with_a_valid_Dockerfile/with_specifying_a_repo_in_the_query_parameters/builds_an_image_and_tags_it.yml +147 -39
  70. data/spec/vcr/Docker_Image/_build/with_a_valid_Dockerfile/without_query_parameters/builds_an_image.yml +10 -14
  71. data/spec/vcr/Docker_Image/_build/with_an_invalid_Dockerfile/throws_a_UnexpectedResponseError.yml +12 -14
  72. data/spec/vcr/Docker_Image/_build_from_dir/with_a_valid_Dockerfile/with_a_block_capturing_build_output/calls_the_block_and_passes_build_output.yml +118 -16
  73. data/spec/vcr/Docker_Image/_build_from_dir/with_a_valid_Dockerfile/with_credentials_passed/sends_X-Registry-Config_header.yml +118 -14
  74. data/spec/vcr/Docker_Image/_build_from_dir/with_a_valid_Dockerfile/with_no_query_parameters/builds_the_image.yml +109 -37
  75. data/spec/vcr/Docker_Image/_build_from_dir/with_a_valid_Dockerfile/with_specifying_a_repo_in_the_query_parameters/builds_the_image_and_tags_it.yml +214 -60
  76. data/spec/vcr/Docker_Image/_create/when_the_Image_does_not_yet_exist_and_the_body_is_a_Hash/sets_the_id_and_sends_Docker_creds.yml +41 -2631
  77. data/spec/vcr/Docker_Image/_exist_/when_the_image_does_exist/returns_true.yml +12 -19
  78. data/spec/vcr/Docker_Image/_get/when_the_image_does_exist/returns_the_new_image.yml +7 -9
  79. data/spec/vcr/Docker_Image/_history/returns_the_history_of_the_Image.yml +17 -198
  80. data/spec/vcr/Docker_Image/_import/when_the_argument_is_a_URI/when_the_URI_is_invalid/raises_an_error.yml +26 -30
  81. data/spec/vcr/Docker_Image/_import/when_the_argument_is_a_URI/when_the_URI_is_valid/returns_an_Image.yml +246 -22
  82. data/spec/vcr/Docker_Image/_import/when_the_file_does_exist/creates_the_Image.yml +35 -10
  83. data/spec/vcr/Docker_Image/_insert_local/when_a_direcory_is_passed/inserts_the_directory.yml +1249 -74
  84. data/spec/vcr/Docker_Image/_insert_local/when_removing_intermediate_containers/creates_a_new_image.yml +84 -94
  85. data/spec/vcr/Docker_Image/_insert_local/when_removing_intermediate_containers/leave_no_intermediate_containers.yml +70 -92
  86. data/spec/vcr/Docker_Image/_insert_local/when_the_local_file_does_exist/creates_a_new_Image_that_has_that_file.yml +125 -98
  87. data/spec/vcr/Docker_Image/_insert_local/when_the_local_file_does_not_exist/raises_an_error.yml +13 -60
  88. data/spec/vcr/Docker_Image/_insert_local/when_there_are_multiple_files_passed/creates_a_new_Image_that_has_each_file.yml +190 -135
  89. data/spec/vcr/Docker_Image/_json/returns_additional_information_about_image_image.yml +15 -198
  90. data/spec/vcr/Docker_Image/_push/pushes_the_Image.yml +169 -264
  91. data/spec/vcr/Docker_Image/_push/when_there_are_no_credentials/still_pushes.yml +175 -4543
  92. data/spec/vcr/Docker_Image/_refresh_/updates_the_info_hash.yml +90 -206
  93. data/spec/vcr/Docker_Image/_remove/when_no_name_is_given/removes_the_Image.yml +300 -0
  94. data/spec/vcr/Docker_Image/_run/when_the_argument_is_a_String/splits_the_String_by_spaces_and_creates_a_new_Container.yml +77 -207
  95. data/spec/vcr/Docker_Image/_run/when_the_argument_is_an_Array/creates_a_new_Container.yml +77 -207
  96. data/spec/vcr/Docker_Image/_run/when_the_argument_is_nil/command_configured_in_image/should_normally_show_result_if_image_has_Cmd_configured.yml +160 -0
  97. data/spec/vcr/Docker_Image/_run/when_the_argument_is_nil/no_command_configured_in_image/should_raise_an_error_if_no_command_is_specified.yml +16 -197
  98. data/spec/vcr/Docker_Image/_search/materializes_each_Image_into_a_Docker_Image.yml +151 -73
  99. data/spec/vcr/Docker_Image/_tag/tags_the_image_with_the_repo_name.yml +42 -196
  100. metadata +67 -41
  101. data/spec/vcr/Docker_Container/_commit/if_run_is_passed_it_saves_the_command_in_the_image/saves_the_command.yml +0 -58
  102. data/spec/vcr/Docker_Container/_streaming_logs/when_not_selecting_any_stream/returns_the_error_message.yml +0 -163
  103. data/spec/vcr/Docker_Container/_wait/when_an_argument_is_given/and_a_command_runs_for_too_long/raises_a_ServerError.yml +0 -58
  104. data/spec/vcr/Docker_Image/_build_from_dir/with_a_valid_Dockerfile/with_credentials_passed/sends_Docker_creds.yml +0 -41
  105. data/spec/vcr/Docker_Image/_remove/removes_the_Image.yml +0 -276
@@ -2,13 +2,13 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: unix:///var/run/docker.sock/v1.12/containers/create
5
+ uri: "<DOCKER_HOST>/v1.15/containers/create"
6
6
  body:
7
7
  encoding: UTF-8
8
- string: '{"Cmd":["ls"],"Image":"base"}'
8
+ string: '{"Cmd":["ls"],"Image":"debian:wheezy"}'
9
9
  headers:
10
10
  User-Agent:
11
- - Swipely/Docker-API 1.11.2
11
+ - Swipely/Docker-API 1.15.0
12
12
  Content-Type:
13
13
  - application/json
14
14
  response:
@@ -19,26 +19,24 @@ http_interactions:
19
19
  Content-Type:
20
20
  - application/json
21
21
  Date:
22
- - Thu, 26 Jun 2014 19:48:39 GMT
22
+ - Mon, 01 Dec 2014 18:08:21 GMT
23
23
  Content-Length:
24
24
  - '90'
25
- Connection:
26
- - close
27
25
  body:
28
26
  encoding: UTF-8
29
27
  string: |
30
- {"Id":"00006a432b5a0633df95a997d1c24ee77f83a53749bbb57ae0f000d3f3fe1a20","Warnings":null}
28
+ {"Id":"e6e8c075f541e6ae06d1bfe75fea4674548f5b403d91121d5f851e84c50fc25a","Warnings":null}
31
29
  http_version:
32
- recorded_at: Thu, 26 Jun 2014 19:48:39 GMT
30
+ recorded_at: Mon, 01 Dec 2014 18:08:21 GMT
33
31
  - request:
34
32
  method: get
35
- uri: unix:///var/run/docker.sock/v1.12/containers/00006a432b5a0633df95a997d1c24ee77f83a53749bbb57ae0f000d3f3fe1a20/json
33
+ uri: "<DOCKER_HOST>/v1.15/containers/e6e8c075f541e6ae06d1bfe75fea4674548f5b403d91121d5f851e84c50fc25a/json"
36
34
  body:
37
35
  encoding: US-ASCII
38
36
  string: ''
39
37
  headers:
40
38
  User-Agent:
41
- - Swipely/Docker-API 1.11.2
39
+ - Swipely/Docker-API 1.15.0
42
40
  Content-Type:
43
41
  - text/plain
44
42
  response:
@@ -49,15 +47,36 @@ http_interactions:
49
47
  Content-Type:
50
48
  - application/json
51
49
  Date:
52
- - Thu, 26 Jun 2014 19:48:39 GMT
50
+ - Mon, 01 Dec 2014 18:08:21 GMT
53
51
  Content-Length:
54
- - '1243'
55
- Connection:
56
- - close
52
+ - '1493'
57
53
  body:
58
54
  encoding: UTF-8
59
55
  string: |
60
- {"Args":[],"Config":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":["ls"],"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":null,"Env":null,"ExposedPorts":null,"Hostname":"00006a432b5a","Image":"base","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":null,"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Created":"2014-06-26T19:48:39.594334465Z","Driver":"devicemapper","ExecDriver":"native-0.2","HostConfig":{"Binds":null,"ContainerIDFile":"","Dns":null,"DnsSearch":null,"Links":null,"LxcConf":null,"NetworkMode":"","PortBindings":null,"Privileged":false,"PublishAllPorts":false,"VolumesFrom":null},"HostnamePath":"","HostsPath":"","Id":"00006a432b5a0633df95a997d1c24ee77f83a53749bbb57ae0f000d3f3fe1a20","Image":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","MountLabel":"","Name":"/focused_ritchie","NetworkSettings":{"Bridge":"","Gateway":"","IPAddress":"","IPPrefixLen":0,"PortMapping":null,"Ports":null},"Path":"ls","ProcessLabel":"","ResolvConfPath":"","State":{"ExitCode":0,"FinishedAt":"0001-01-01T00:00:00Z","Paused":false,"Pid":0,"Running":false,"StartedAt":"0001-01-01T00:00:00Z"},"Volumes":null,"VolumesRW":null}
56
+ {"AppArmorProfile":"","Args":[],"Config":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":["ls"],"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":[],"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"ExposedPorts":null,"Hostname":"e6e8c075f541","Image":"debian:wheezy","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":null,"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Created":"2014-12-01T18:08:21.118902725Z","Driver":"aufs","ExecDriver":"native-0.2","HostConfig":{"Binds":null,"CapAdd":null,"CapDrop":null,"ContainerIDFile":"","Devices":null,"Dns":null,"DnsSearch":null,"ExtraHosts":null,"Links":null,"LxcConf":null,"NetworkMode":"","PortBindings":null,"Privileged":false,"PublishAllPorts":false,"RestartPolicy":{"MaximumRetryCount":0,"Name":""},"SecurityOpt":null,"VolumesFrom":null},"HostnamePath":"","HostsPath":"","Id":"e6e8c075f541e6ae06d1bfe75fea4674548f5b403d91121d5f851e84c50fc25a","Image":"f6fab3b798be3174f45aa1eb731f8182705555f89c9026d8c1ef230cbf8301dd","MountLabel":"","Name":"/furious_carson","NetworkSettings":{"Bridge":"","Gateway":"","IPAddress":"","IPPrefixLen":0,"MacAddress":"","PortMapping":null,"Ports":null},"Path":"ls","ProcessLabel":"","ResolvConfPath":"","State":{"ExitCode":0,"FinishedAt":"0001-01-01T00:00:00Z","Paused":false,"Pid":0,"Restarting":false,"Running":false,"StartedAt":"0001-01-01T00:00:00Z"},"Volumes":null,"VolumesRW":null}
61
57
  http_version:
62
- recorded_at: Thu, 26 Jun 2014 19:48:39 GMT
63
- recorded_with: VCR 2.9.2
58
+ recorded_at: Mon, 01 Dec 2014 18:08:21 GMT
59
+ - request:
60
+ method: delete
61
+ uri: "<DOCKER_HOST>/v1.15/containers/e6e8c075f541e6ae06d1bfe75fea4674548f5b403d91121d5f851e84c50fc25a"
62
+ body:
63
+ encoding: US-ASCII
64
+ string: ''
65
+ headers:
66
+ User-Agent:
67
+ - Swipely/Docker-API 1.15.0
68
+ Content-Type:
69
+ - text/plain
70
+ response:
71
+ status:
72
+ code: 204
73
+ message:
74
+ headers:
75
+ Date:
76
+ - Mon, 01 Dec 2014 18:08:21 GMT
77
+ body:
78
+ encoding: UTF-8
79
+ string: ''
80
+ http_version:
81
+ recorded_at: Mon, 01 Dec 2014 18:08:21 GMT
82
+ recorded_with: VCR 2.9.3
@@ -2,13 +2,13 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: unix:///var/run/docker.sock/v1.12/containers/create
5
+ uri: "<DOCKER_HOST>/v1.15/containers/create"
6
6
  body:
7
7
  encoding: UTF-8
8
- string: '{"Cmd":["true"],"Image":"base"}'
8
+ string: '{"Cmd":["true"],"Image":"debian:wheezy"}'
9
9
  headers:
10
10
  User-Agent:
11
- - Swipely/Docker-API 1.11.2
11
+ - Swipely/Docker-API 1.15.0
12
12
  Content-Type:
13
13
  - application/json
14
14
  response:
@@ -19,26 +19,24 @@ http_interactions:
19
19
  Content-Type:
20
20
  - application/json
21
21
  Date:
22
- - Thu, 26 Jun 2014 19:39:22 GMT
22
+ - Mon, 01 Dec 2014 18:07:38 GMT
23
23
  Content-Length:
24
24
  - '90'
25
- Connection:
26
- - close
27
25
  body:
28
26
  encoding: UTF-8
29
27
  string: |
30
- {"Id":"cf367fe2a4eaf9908dd1f6c6d988b6b7391cebfbe827435ee7204659fa2d6ec1","Warnings":null}
28
+ {"Id":"1c038113ed7daef813a49805d83dba0a2726f749be99f99b1eef5064944256c6","Warnings":null}
31
29
  http_version:
32
- recorded_at: Thu, 26 Jun 2014 19:39:22 GMT
30
+ recorded_at: Mon, 01 Dec 2014 18:07:38 GMT
33
31
  - request:
34
32
  method: get
35
- uri: unix:///var/run/docker.sock/v1.12/containers/cf367fe2a4eaf9908dd1f6c6d988b6b7391cebfbe827435ee7204659fa2d6ec1/json
33
+ uri: "<DOCKER_HOST>/v1.15/containers/1c038113ed7daef813a49805d83dba0a2726f749be99f99b1eef5064944256c6/json"
36
34
  body:
37
35
  encoding: US-ASCII
38
36
  string: ''
39
37
  headers:
40
38
  User-Agent:
41
- - Swipely/Docker-API 1.11.2
39
+ - Swipely/Docker-API 1.15.0
42
40
  Content-Type:
43
41
  - text/plain
44
42
  response:
@@ -49,15 +47,36 @@ http_interactions:
49
47
  Content-Type:
50
48
  - application/json
51
49
  Date:
52
- - Thu, 26 Jun 2014 19:39:22 GMT
50
+ - Mon, 01 Dec 2014 18:07:38 GMT
53
51
  Content-Length:
54
- - '1243'
55
- Connection:
56
- - close
52
+ - '1499'
57
53
  body:
58
54
  encoding: UTF-8
59
55
  string: |
60
- {"Args":[],"Config":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":["true"],"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":null,"Env":null,"ExposedPorts":null,"Hostname":"cf367fe2a4ea","Image":"base","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":null,"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Created":"2014-06-26T19:39:22.490034231Z","Driver":"devicemapper","ExecDriver":"native-0.2","HostConfig":{"Binds":null,"ContainerIDFile":"","Dns":null,"DnsSearch":null,"Links":null,"LxcConf":null,"NetworkMode":"","PortBindings":null,"Privileged":false,"PublishAllPorts":false,"VolumesFrom":null},"HostnamePath":"","HostsPath":"","Id":"cf367fe2a4eaf9908dd1f6c6d988b6b7391cebfbe827435ee7204659fa2d6ec1","Image":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","MountLabel":"","Name":"/thirsty_nobel","NetworkSettings":{"Bridge":"","Gateway":"","IPAddress":"","IPPrefixLen":0,"PortMapping":null,"Ports":null},"Path":true,"ProcessLabel":"","ResolvConfPath":"","State":{"ExitCode":0,"FinishedAt":"0001-01-01T00:00:00Z","Paused":false,"Pid":0,"Running":false,"StartedAt":"0001-01-01T00:00:00Z"},"Volumes":null,"VolumesRW":null}
56
+ {"AppArmorProfile":"","Args":[],"Config":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":["true"],"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":[],"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"ExposedPorts":null,"Hostname":"1c038113ed7d","Image":"debian:wheezy","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":null,"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Created":"2014-12-01T18:07:38.155564002Z","Driver":"aufs","ExecDriver":"native-0.2","HostConfig":{"Binds":null,"CapAdd":null,"CapDrop":null,"ContainerIDFile":"","Devices":null,"Dns":null,"DnsSearch":null,"ExtraHosts":null,"Links":null,"LxcConf":null,"NetworkMode":"","PortBindings":null,"Privileged":false,"PublishAllPorts":false,"RestartPolicy":{"MaximumRetryCount":0,"Name":""},"SecurityOpt":null,"VolumesFrom":null},"HostnamePath":"","HostsPath":"","Id":"1c038113ed7daef813a49805d83dba0a2726f749be99f99b1eef5064944256c6","Image":"f6fab3b798be3174f45aa1eb731f8182705555f89c9026d8c1ef230cbf8301dd","MountLabel":"","Name":"/elegant_brattain","NetworkSettings":{"Bridge":"","Gateway":"","IPAddress":"","IPPrefixLen":0,"MacAddress":"","PortMapping":null,"Ports":null},"Path":"true","ProcessLabel":"","ResolvConfPath":"","State":{"ExitCode":0,"FinishedAt":"0001-01-01T00:00:00Z","Paused":false,"Pid":0,"Restarting":false,"Running":false,"StartedAt":"0001-01-01T00:00:00Z"},"Volumes":null,"VolumesRW":null}
61
57
  http_version:
62
- recorded_at: Thu, 26 Jun 2014 19:39:22 GMT
63
- recorded_with: VCR 2.9.2
58
+ recorded_at: Mon, 01 Dec 2014 18:07:38 GMT
59
+ - request:
60
+ method: delete
61
+ uri: "<DOCKER_HOST>/v1.15/containers/1c038113ed7daef813a49805d83dba0a2726f749be99f99b1eef5064944256c6"
62
+ body:
63
+ encoding: US-ASCII
64
+ string: ''
65
+ headers:
66
+ User-Agent:
67
+ - Swipely/Docker-API 1.15.0
68
+ Content-Type:
69
+ - text/plain
70
+ response:
71
+ status:
72
+ code: 204
73
+ message:
74
+ headers:
75
+ Date:
76
+ - Mon, 01 Dec 2014 18:07:38 GMT
77
+ body:
78
+ encoding: UTF-8
79
+ string: ''
80
+ http_version:
81
+ recorded_at: Mon, 01 Dec 2014 18:07:38 GMT
82
+ recorded_with: VCR 2.9.3
@@ -2,13 +2,13 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: unix:///var/run/docker.sock/v1.12/containers/create
5
+ uri: "<DOCKER_HOST>/v1.15/containers/create"
6
6
  body:
7
7
  encoding: UTF-8
8
- string: '{"Cmd":["/bin/bash","-c","while [ 1 ]; do echo hello; done"],"Image":"base"}'
8
+ string: '{"Cmd":["/bin/bash","-c","while [ 1 ]; do echo hello; done"],"Image":"debian:wheezy"}'
9
9
  headers:
10
10
  User-Agent:
11
- - Swipely/Docker-API 1.13.0
11
+ - Swipely/Docker-API 1.15.0
12
12
  Content-Type:
13
13
  - application/json
14
14
  response:
@@ -19,26 +19,24 @@ http_interactions:
19
19
  Content-Type:
20
20
  - application/json
21
21
  Date:
22
- - Mon, 30 Jun 2014 14:28:53 GMT
22
+ - Mon, 01 Dec 2014 18:08:04 GMT
23
23
  Content-Length:
24
24
  - '90'
25
- Connection:
26
- - close
27
25
  body:
28
26
  encoding: UTF-8
29
27
  string: |
30
- {"Id":"e7db5709022fd06d4e3c8bd0f493233d67b2a793dc07a4982b3c491ec61b2c83","Warnings":null}
28
+ {"Id":"64fb4f8f3d5ac5244addd31a1133cc3f96abb8a6860aa8901665f2bd8e1ccbf1","Warnings":null}
31
29
  http_version:
32
- recorded_at: Mon, 30 Jun 2014 14:28:53 GMT
30
+ recorded_at: Mon, 01 Dec 2014 18:08:04 GMT
33
31
  - request:
34
32
  method: post
35
- uri: unix:///var/run/docker.sock/v1.12/containers/e7db5709022fd06d4e3c8bd0f493233d67b2a793dc07a4982b3c491ec61b2c83/start
33
+ uri: "<DOCKER_HOST>/v1.15/containers/64fb4f8f3d5ac5244addd31a1133cc3f96abb8a6860aa8901665f2bd8e1ccbf1/start"
36
34
  body:
37
35
  encoding: UTF-8
38
- string: '{}'
36
+ string: "{}"
39
37
  headers:
40
38
  User-Agent:
41
- - Swipely/Docker-API 1.13.0
39
+ - Swipely/Docker-API 1.15.0
42
40
  Content-Type:
43
41
  - application/json
44
42
  response:
@@ -47,23 +45,21 @@ http_interactions:
47
45
  message:
48
46
  headers:
49
47
  Date:
50
- - Mon, 30 Jun 2014 14:28:53 GMT
51
- Connection:
52
- - close
48
+ - Mon, 01 Dec 2014 18:08:05 GMT
53
49
  body:
54
50
  encoding: UTF-8
55
51
  string: ''
56
52
  http_version:
57
- recorded_at: Mon, 30 Jun 2014 14:28:53 GMT
53
+ recorded_at: Mon, 01 Dec 2014 18:08:05 GMT
58
54
  - request:
59
55
  method: post
60
- uri: unix:///var/run/docker.sock/v1.12/containers/e7db5709022fd06d4e3c8bd0f493233d67b2a793dc07a4982b3c491ec61b2c83/kill
56
+ uri: "<DOCKER_HOST>/v1.15/containers/64fb4f8f3d5ac5244addd31a1133cc3f96abb8a6860aa8901665f2bd8e1ccbf1/kill"
61
57
  body:
62
58
  encoding: US-ASCII
63
59
  string: ''
64
60
  headers:
65
61
  User-Agent:
66
- - Swipely/Docker-API 1.13.0
62
+ - Swipely/Docker-API 1.15.0
67
63
  Content-Type:
68
64
  - text/plain
69
65
  response:
@@ -72,23 +68,21 @@ http_interactions:
72
68
  message:
73
69
  headers:
74
70
  Date:
75
- - Mon, 30 Jun 2014 14:28:55 GMT
76
- Connection:
77
- - close
71
+ - Mon, 01 Dec 2014 18:08:05 GMT
78
72
  body:
79
73
  encoding: UTF-8
80
74
  string: ''
81
75
  http_version:
82
- recorded_at: Mon, 30 Jun 2014 14:28:55 GMT
76
+ recorded_at: Mon, 01 Dec 2014 18:08:05 GMT
83
77
  - request:
84
78
  method: get
85
- uri: unix:///var/run/docker.sock/v1.12/containers/json
79
+ uri: "<DOCKER_HOST>/v1.15/containers/json"
86
80
  body:
87
81
  encoding: US-ASCII
88
82
  string: ''
89
83
  headers:
90
84
  User-Agent:
91
- - Swipely/Docker-API 1.13.0
85
+ - Swipely/Docker-API 1.15.0
92
86
  Content-Type:
93
87
  - text/plain
94
88
  response:
@@ -99,25 +93,25 @@ http_interactions:
99
93
  Content-Type:
100
94
  - application/json
101
95
  Date:
102
- - Mon, 30 Jun 2014 14:28:55 GMT
96
+ - Mon, 01 Dec 2014 18:08:05 GMT
103
97
  Content-Length:
104
- - '2'
105
- Connection:
106
- - close
98
+ - '275'
107
99
  body:
108
100
  encoding: UTF-8
109
- string: '[]'
101
+ string: |-
102
+ [{"Command":"docker-registry","Created":1417457257,"Id":"1a8fb3a8c0a99b779389680f7bd5547f5bb1520dfd061932ff6fbef9cc2a7679","Image":"registry:latest","Names":["/registry"],"Ports":[{"IP":"0.0.0.0","PrivatePort":5000,"PublicPort":5000,"Type":"tcp"}],"Status":"Up 27 seconds"}
103
+ ]
110
104
  http_version:
111
- recorded_at: Mon, 30 Jun 2014 14:28:55 GMT
105
+ recorded_at: Mon, 01 Dec 2014 18:08:05 GMT
112
106
  - request:
113
107
  method: get
114
- uri: unix:///var/run/docker.sock/v1.12/containers/json?all=true
108
+ uri: "<DOCKER_HOST>/v1.15/containers/json?all=true"
115
109
  body:
116
110
  encoding: US-ASCII
117
111
  string: ''
118
112
  headers:
119
113
  User-Agent:
120
- - Swipely/Docker-API 1.13.0
114
+ - Swipely/Docker-API 1.15.0
121
115
  Content-Type:
122
116
  - text/plain
123
117
  response:
@@ -128,30 +122,38 @@ http_interactions:
128
122
  Content-Type:
129
123
  - application/json
130
124
  Date:
131
- - Mon, 30 Jun 2014 14:28:55 GMT
132
- Connection:
133
- - close
134
- Transfer-Encoding:
135
- - ''
125
+ - Mon, 01 Dec 2014 18:08:05 GMT
126
+ Content-Length:
127
+ - '540'
136
128
  body:
137
129
  encoding: UTF-8
138
130
  string: |-
139
- [{"Command":"/bin/bash -c 'while [ 1 ]; do echo hello; done'","Created":1404138533,"Id":"e7db5709022fd06d4e3c8bd0f493233d67b2a793dc07a4982b3c491ec61b2c83","Image":"base:latest","Names":["/stoic_bartik"],"Ports":[],"Status":"Exited (-1) Less than a second ago"}
140
- ,{"Command":"\"/bin/bash -c 'trap \"\" SIGTERM; while [ 1 ]; do echo hello; done'\"","Created":1404138438,"Id":"3a2d6022918aa91e4d8b56d7b29420ee45476e27c0f83889d547e0cbc44483c8","Image":"base:latest","Names":["/focused_mayer"],"Ports":[],"Status":"Exited (-1) About a minute ago"}
141
- ,{"Command":"/bin/bash -c 'while [ 1 ]; do echo hello; done'","Created":1404138414,"Id":"05bdffae4dd9ece30ad25869ff1f616486ada32ad70916838564b32a8866cd40","Image":"base:latest","Names":["/trusting_perlman"],"Ports":[],"Status":"Exited (-1) About a minute ago"}
142
- ,{"Command":"\"/bin/bash -c 'trap \"\" SIGTERM; while [ 1 ]; do echo hello; done'\"","Created":1404138313,"Id":"fda96aefea21efe7a4dfd79d746ece41bb50907422d047a4e595f8e2f52e4b78","Image":"base:latest","Names":["/sharp_galileo"],"Ports":[],"Status":"Exited (-1) 3 minutes ago"}
143
- ,{"Command":"/bin/bash -c 'while [ 1 ]; do echo hello; done'","Created":1404138312,"Id":"4d12860bcd0dc646005c06fe2c171b4112dd81a0b8a1cbbf6c566ca1fa4c6953","Image":"base:latest","Names":["/agitated_engelbart"],"Ports":[],"Status":"Exited (-1) 3 minutes ago"}
144
- ,{"Command":"\"bash -c 'if [ -t 1 ]; then echo -n \"I'm a TTY!\"; fi'\"","Created":1404136615,"Id":"98a0f56b2c636d5064379b7926832f0d74cc3f943d4dd0dc2260a7026b90a96c","Image":"base:latest","Names":["/boring_thompson"],"Ports":[],"Status":"Exited (0) 31 minutes ago"}
145
- ,{"Command":"\"bash -c 'if [ -t 1 ]; then echo -n \"I'm a TTY!\"; fi'\"","Created":1404136493,"Id":"3f0e369bd075b7955f5478cade06cb8381a914b9119fa29ee9c216ae314fafdc","Image":"base:latest","Names":["/pensive_leakey"],"Ports":[],"Status":"Exited (0) 33 minutes ago"}
146
- ,{"Command":"bash","Created":1403880270,"Id":"07639598c2822237a2f047a6172dea0f45d84c4b31dfc9f63877ddf63cb30616","Image":"ubuntu:latest","Names":["/elegant_albattani"],"Ports":[],"Status":"Exited (0) 47 hours ago"}
147
- ,{"Command":"bash","Created":1403880246,"Id":"349ba74bf51d253317d94044d6c20d129b264dfd16bc5d4097a30b5bea387e48","Image":"ubuntu:latest","Names":["/lonely_bardeen"],"Ports":[],"Status":"Exited (0) 2 days ago"}
148
- ,{"Command":"\"/bin/bash -lc \"while [ 1 ]; do echo hi; done\"\"","Created":1403880236,"Id":"584efc0cdeaf5e5676b62baf3a601cb730e17ff41c49ebe0b18324fb23bbb63a","Image":"ubuntu:latest","Names":["/jolly_yonath"],"Ports":[],"Status":"Exited (1) 2 days ago"}
149
- ,{"Command":"/bin/bash -lc while [ 1 ]; do echo hi; done","Created":1403880225,"Id":"644b149356fb4cb18f4526b61581f5507d1f8fa96a54f6d9f386c57de75bd1a0","Image":"ubuntu:latest","Names":["/clever_colden"],"Ports":[],"Status":"Exited (1) 2 days ago"}
150
- ,{"Command":"while [ 1 ]; do echo hi; done","Created":1403880219,"Id":"a98acea9bd23b1e5af827f0c908115186742edf0523146eaf420b42688a2109d","Image":"ubuntu:latest","Names":["/jovial_mccarthy"],"Ports":[],"Status":"Exited (1) 2 days ago"}
151
- ,{"Command":"while [ 1 ]; do echo hi; done","Created":1403880205,"Id":"7df16e2c57020a6471a80cf13084d689d43af60cd867df78350ee893c5724f80","Image":"ubuntu:latest","Names":["/goofy_hopper"],"Ports":[],"Status":"Exited (1) 2 days ago"}
152
- ,{"Command":"/bin/bash -c 'while [ 1 ]; do echo hi; done'","Created":1403880195,"Id":"c544ec7940bd88b88b6ccbd4c8d4f33ac6056b1c27b9c0f7fc2327eb462b9c47","Image":"ubuntu:latest","Names":["/lonely_tesla"],"Ports":[],"Status":"Exited (1) 2 days ago"}
153
- ,{"Command":"/bin/bash -lc 'while [ 1 ]; do echo hi; done'","Created":1403880190,"Id":"4e725734f92afc720a56e498266f078529a2ce8bc1f325948b25ada131e9472f","Image":"ubuntu:latest","Names":["/hopeful_kowalevski"],"Ports":[],"Status":"Exited (1) 2 days ago"}
131
+ [{"Command":"/bin/bash -c 'while [ 1 ]; do echo hello; done'","Created":1417457284,"Id":"64fb4f8f3d5ac5244addd31a1133cc3f96abb8a6860aa8901665f2bd8e1ccbf1","Image":"debian:wheezy","Names":["/clever_hawking"],"Ports":[],"Status":"Exited (-1) Less than a second ago"}
132
+ ,{"Command":"docker-registry","Created":1417457257,"Id":"1a8fb3a8c0a99b779389680f7bd5547f5bb1520dfd061932ff6fbef9cc2a7679","Image":"registry:latest","Names":["/registry"],"Ports":[{"IP":"0.0.0.0","PrivatePort":5000,"PublicPort":5000,"Type":"tcp"}],"Status":"Up 27 seconds"}
154
133
  ]
155
134
  http_version:
156
- recorded_at: Mon, 30 Jun 2014 14:28:55 GMT
157
- recorded_with: VCR 2.9.2
135
+ recorded_at: Mon, 01 Dec 2014 18:08:05 GMT
136
+ - request:
137
+ method: delete
138
+ uri: "<DOCKER_HOST>/v1.15/containers/64fb4f8f3d5ac5244addd31a1133cc3f96abb8a6860aa8901665f2bd8e1ccbf1"
139
+ body:
140
+ encoding: US-ASCII
141
+ string: ''
142
+ headers:
143
+ User-Agent:
144
+ - Swipely/Docker-API 1.15.0
145
+ Content-Type:
146
+ - text/plain
147
+ response:
148
+ status:
149
+ code: 204
150
+ message:
151
+ headers:
152
+ Date:
153
+ - Mon, 01 Dec 2014 18:08:05 GMT
154
+ body:
155
+ encoding: UTF-8
156
+ string: ''
157
+ http_version:
158
+ recorded_at: Mon, 01 Dec 2014 18:08:05 GMT
159
+ recorded_with: VCR 2.9.3
@@ -2,14 +2,14 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: unix:///var/run/docker.sock/v1.12/containers/create
5
+ uri: "<DOCKER_HOST>/v1.15/containers/create"
6
6
  body:
7
7
  encoding: UTF-8
8
8
  string: '{"Cmd":["/bin/bash","-c","trap echo SIGTERM; while [ 1 ]; do echo hello;
9
- done"],"Image":"base"}'
9
+ done"],"Image":"debian:wheezy"}'
10
10
  headers:
11
11
  User-Agent:
12
- - Swipely/Docker-API 1.13.0
12
+ - Swipely/Docker-API 1.15.0
13
13
  Content-Type:
14
14
  - application/json
15
15
  response:
@@ -20,26 +20,24 @@ http_interactions:
20
20
  Content-Type:
21
21
  - application/json
22
22
  Date:
23
- - Mon, 30 Jun 2014 14:30:49 GMT
23
+ - Mon, 01 Dec 2014 18:08:05 GMT
24
24
  Content-Length:
25
25
  - '90'
26
- Connection:
27
- - close
28
26
  body:
29
27
  encoding: UTF-8
30
28
  string: |
31
- {"Id":"f6c1ce0f958c5a584ee74ebb78f19f69016b53be5dfcf11347f4b587cabaaec8","Warnings":null}
29
+ {"Id":"6694e54957e8dc8ad92d45e264990f2fe0b33ae81c87a419b568e13c5e28bb18","Warnings":null}
32
30
  http_version:
33
- recorded_at: Mon, 30 Jun 2014 14:30:49 GMT
31
+ recorded_at: Mon, 01 Dec 2014 18:08:05 GMT
34
32
  - request:
35
33
  method: post
36
- uri: unix:///var/run/docker.sock/v1.12/containers/f6c1ce0f958c5a584ee74ebb78f19f69016b53be5dfcf11347f4b587cabaaec8/start
34
+ uri: "<DOCKER_HOST>/v1.15/containers/6694e54957e8dc8ad92d45e264990f2fe0b33ae81c87a419b568e13c5e28bb18/start"
37
35
  body:
38
36
  encoding: UTF-8
39
- string: '{}'
37
+ string: "{}"
40
38
  headers:
41
39
  User-Agent:
42
- - Swipely/Docker-API 1.13.0
40
+ - Swipely/Docker-API 1.15.0
43
41
  Content-Type:
44
42
  - application/json
45
43
  response:
@@ -48,23 +46,21 @@ http_interactions:
48
46
  message:
49
47
  headers:
50
48
  Date:
51
- - Mon, 30 Jun 2014 14:30:49 GMT
52
- Connection:
53
- - close
49
+ - Mon, 01 Dec 2014 18:08:05 GMT
54
50
  body:
55
51
  encoding: UTF-8
56
52
  string: ''
57
53
  http_version:
58
- recorded_at: Mon, 30 Jun 2014 14:30:49 GMT
54
+ recorded_at: Mon, 01 Dec 2014 18:08:05 GMT
59
55
  - request:
60
56
  method: post
61
- uri: unix:///var/run/docker.sock/v1.12/containers/f6c1ce0f958c5a584ee74ebb78f19f69016b53be5dfcf11347f4b587cabaaec8/kill?signal=SIGTERM
57
+ uri: "<DOCKER_HOST>/v1.15/containers/6694e54957e8dc8ad92d45e264990f2fe0b33ae81c87a419b568e13c5e28bb18/kill?signal=SIGTERM"
62
58
  body:
63
59
  encoding: US-ASCII
64
60
  string: ''
65
61
  headers:
66
62
  User-Agent:
67
- - Swipely/Docker-API 1.13.0
63
+ - Swipely/Docker-API 1.15.0
68
64
  Content-Type:
69
65
  - text/plain
70
66
  response:
@@ -73,23 +69,21 @@ http_interactions:
73
69
  message:
74
70
  headers:
75
71
  Date:
76
- - Mon, 30 Jun 2014 14:30:49 GMT
77
- Connection:
78
- - close
72
+ - Mon, 01 Dec 2014 18:08:06 GMT
79
73
  body:
80
74
  encoding: UTF-8
81
75
  string: ''
82
76
  http_version:
83
- recorded_at: Mon, 30 Jun 2014 14:30:49 GMT
77
+ recorded_at: Mon, 01 Dec 2014 18:08:06 GMT
84
78
  - request:
85
79
  method: get
86
- uri: unix:///var/run/docker.sock/v1.12/containers/json
80
+ uri: "<DOCKER_HOST>/v1.15/containers/json"
87
81
  body:
88
82
  encoding: US-ASCII
89
83
  string: ''
90
84
  headers:
91
85
  User-Agent:
92
- - Swipely/Docker-API 1.13.0
86
+ - Swipely/Docker-API 1.15.0
93
87
  Content-Type:
94
88
  - text/plain
95
89
  response:
@@ -100,27 +94,26 @@ http_interactions:
100
94
  Content-Type:
101
95
  - application/json
102
96
  Date:
103
- - Mon, 30 Jun 2014 14:30:49 GMT
97
+ - Mon, 01 Dec 2014 18:08:06 GMT
104
98
  Content-Length:
105
- - '277'
106
- Connection:
107
- - close
99
+ - '543'
108
100
  body:
109
101
  encoding: UTF-8
110
102
  string: |-
111
- [{"Command":"/bin/bash -c 'trap echo SIGTERM; while [ 1 ]; do echo hello; done'","Created":1404138649,"Id":"f6c1ce0f958c5a584ee74ebb78f19f69016b53be5dfcf11347f4b587cabaaec8","Image":"base:latest","Names":["/determined_kowalevski"],"Ports":[],"Status":"Up Less than a second"}
103
+ [{"Command":"/bin/bash -c 'trap echo SIGTERM; while [ 1 ]; do echo hello; done'","Created":1417457285,"Id":"6694e54957e8dc8ad92d45e264990f2fe0b33ae81c87a419b568e13c5e28bb18","Image":"debian:wheezy","Names":["/evil_hopper"],"Ports":[],"Status":"Up Less than a second"}
104
+ ,{"Command":"docker-registry","Created":1417457257,"Id":"1a8fb3a8c0a99b779389680f7bd5547f5bb1520dfd061932ff6fbef9cc2a7679","Image":"registry:latest","Names":["/registry"],"Ports":[{"IP":"0.0.0.0","PrivatePort":5000,"PublicPort":5000,"Type":"tcp"}],"Status":"Up 28 seconds"}
112
105
  ]
113
106
  http_version:
114
- recorded_at: Mon, 30 Jun 2014 14:30:49 GMT
107
+ recorded_at: Mon, 01 Dec 2014 18:08:06 GMT
115
108
  - request:
116
109
  method: get
117
- uri: unix:///var/run/docker.sock/v1.12/containers/json?all=true
110
+ uri: "<DOCKER_HOST>/v1.15/containers/json?all=true"
118
111
  body:
119
112
  encoding: US-ASCII
120
113
  string: ''
121
114
  headers:
122
115
  User-Agent:
123
- - Swipely/Docker-API 1.13.0
116
+ - Swipely/Docker-API 1.15.0
124
117
  Content-Type:
125
118
  - text/plain
126
119
  response:
@@ -131,44 +124,26 @@ http_interactions:
131
124
  Content-Type:
132
125
  - application/json
133
126
  Date:
134
- - Mon, 30 Jun 2014 14:30:49 GMT
135
- Connection:
136
- - close
137
- Transfer-Encoding:
138
- - ''
127
+ - Mon, 01 Dec 2014 18:08:06 GMT
128
+ Content-Length:
129
+ - '543'
139
130
  body:
140
131
  encoding: UTF-8
141
132
  string: |-
142
- [{"Command":"/bin/bash -c 'trap echo SIGTERM; while [ 1 ]; do echo hello; done'","Created":1404138649,"Id":"f6c1ce0f958c5a584ee74ebb78f19f69016b53be5dfcf11347f4b587cabaaec8","Image":"base:latest","Names":["/determined_kowalevski"],"Ports":[],"Status":"Up Less than a second"}
143
- ,{"Command":"/bin/bash -c 'trap echo SIGTERM; while [ 1 ]; do echo hello; done'","Created":1404138612,"Id":"259a695ed0085ad730abf9ce193c9d7ee3af12b72ebdda29360603291582409d","Image":"base:latest","Names":["/condescending_mclean"],"Ports":[],"Status":"Exited (-1) 32 seconds ago"}
144
- ,{"Command":"/bin/bash -c 'trap echo SIGTERM; while [ 1 ]; do echo hello; done'","Created":1404138535,"Id":"cbfa145f2cd0130dee85c94bb70eec3c3cff23892e60a42d2404377a8b9c02ad","Image":"base:latest","Names":["/sharp_archimedes"],"Ports":[],"Status":"Exited (-1) About a minute ago"}
145
- ,{"Command":"/bin/bash -c 'while [ 1 ]; do echo hello; done'","Created":1404138533,"Id":"e7db5709022fd06d4e3c8bd0f493233d67b2a793dc07a4982b3c491ec61b2c83","Image":"base:latest","Names":["/stoic_bartik"],"Ports":[],"Status":"Exited (-1) About a minute ago"}
146
- ,{"Command":"\"/bin/bash -c 'trap \"\" SIGTERM; while [ 1 ]; do echo hello; done'\"","Created":1404138438,"Id":"3a2d6022918aa91e4d8b56d7b29420ee45476e27c0f83889d547e0cbc44483c8","Image":"base:latest","Names":["/focused_mayer"],"Ports":[],"Status":"Exited (-1) 3 minutes ago"}
147
- ,{"Command":"/bin/bash -c 'while [ 1 ]; do echo hello; done'","Created":1404138414,"Id":"05bdffae4dd9ece30ad25869ff1f616486ada32ad70916838564b32a8866cd40","Image":"base:latest","Names":["/trusting_perlman"],"Ports":[],"Status":"Exited (-1) 3 minutes ago"}
148
- ,{"Command":"\"/bin/bash -c 'trap \"\" SIGTERM; while [ 1 ]; do echo hello; done'\"","Created":1404138313,"Id":"fda96aefea21efe7a4dfd79d746ece41bb50907422d047a4e595f8e2f52e4b78","Image":"base:latest","Names":["/sharp_galileo"],"Ports":[],"Status":"Exited (-1) 5 minutes ago"}
149
- ,{"Command":"/bin/bash -c 'while [ 1 ]; do echo hello; done'","Created":1404138312,"Id":"4d12860bcd0dc646005c06fe2c171b4112dd81a0b8a1cbbf6c566ca1fa4c6953","Image":"base:latest","Names":["/agitated_engelbart"],"Ports":[],"Status":"Exited (-1) 5 minutes ago"}
150
- ,{"Command":"\"bash -c 'if [ -t 1 ]; then echo -n \"I'm a TTY!\"; fi'\"","Created":1404136615,"Id":"98a0f56b2c636d5064379b7926832f0d74cc3f943d4dd0dc2260a7026b90a96c","Image":"base:latest","Names":["/boring_thompson"],"Ports":[],"Status":"Exited (0) 33 minutes ago"}
151
- ,{"Command":"\"bash -c 'if [ -t 1 ]; then echo -n \"I'm a TTY!\"; fi'\"","Created":1404136493,"Id":"3f0e369bd075b7955f5478cade06cb8381a914b9119fa29ee9c216ae314fafdc","Image":"base:latest","Names":["/pensive_leakey"],"Ports":[],"Status":"Exited (0) 35 minutes ago"}
152
- ,{"Command":"bash","Created":1403880270,"Id":"07639598c2822237a2f047a6172dea0f45d84c4b31dfc9f63877ddf63cb30616","Image":"ubuntu:latest","Names":["/elegant_albattani"],"Ports":[],"Status":"Exited (0) 47 hours ago"}
153
- ,{"Command":"bash","Created":1403880246,"Id":"349ba74bf51d253317d94044d6c20d129b264dfd16bc5d4097a30b5bea387e48","Image":"ubuntu:latest","Names":["/lonely_bardeen"],"Ports":[],"Status":"Exited (0) 2 days ago"}
154
- ,{"Command":"\"/bin/bash -lc \"while [ 1 ]; do echo hi; done\"\"","Created":1403880236,"Id":"584efc0cdeaf5e5676b62baf3a601cb730e17ff41c49ebe0b18324fb23bbb63a","Image":"ubuntu:latest","Names":["/jolly_yonath"],"Ports":[],"Status":"Exited (1) 2 days ago"}
155
- ,{"Command":"/bin/bash -lc while [ 1 ]; do echo hi; done","Created":1403880225,"Id":"644b149356fb4cb18f4526b61581f5507d1f8fa96a54f6d9f386c57de75bd1a0","Image":"ubuntu:latest","Names":["/clever_colden"],"Ports":[],"Status":"Exited (1) 2 days ago"}
156
- ,{"Command":"while [ 1 ]; do echo hi; done","Created":1403880219,"Id":"a98acea9bd23b1e5af827f0c908115186742edf0523146eaf420b42688a2109d","Image":"ubuntu:latest","Names":["/jovial_mccarthy"],"Ports":[],"Status":"Exited (1) 2 days ago"}
157
- ,{"Command":"while [ 1 ]; do echo hi; done","Created":1403880205,"Id":"7df16e2c57020a6471a80cf13084d689d43af60cd867df78350ee893c5724f80","Image":"ubuntu:latest","Names":["/goofy_hopper"],"Ports":[],"Status":"Exited (1) 2 days ago"}
158
- ,{"Command":"/bin/bash -c 'while [ 1 ]; do echo hi; done'","Created":1403880195,"Id":"c544ec7940bd88b88b6ccbd4c8d4f33ac6056b1c27b9c0f7fc2327eb462b9c47","Image":"ubuntu:latest","Names":["/lonely_tesla"],"Ports":[],"Status":"Exited (1) 2 days ago"}
159
- ,{"Command":"/bin/bash -lc 'while [ 1 ]; do echo hi; done'","Created":1403880190,"Id":"4e725734f92afc720a56e498266f078529a2ce8bc1f325948b25ada131e9472f","Image":"ubuntu:latest","Names":["/hopeful_kowalevski"],"Ports":[],"Status":"Exited (1) 2 days ago"}
133
+ [{"Command":"/bin/bash -c 'trap echo SIGTERM; while [ 1 ]; do echo hello; done'","Created":1417457285,"Id":"6694e54957e8dc8ad92d45e264990f2fe0b33ae81c87a419b568e13c5e28bb18","Image":"debian:wheezy","Names":["/evil_hopper"],"Ports":[],"Status":"Up Less than a second"}
134
+ ,{"Command":"docker-registry","Created":1417457257,"Id":"1a8fb3a8c0a99b779389680f7bd5547f5bb1520dfd061932ff6fbef9cc2a7679","Image":"registry:latest","Names":["/registry"],"Ports":[{"IP":"0.0.0.0","PrivatePort":5000,"PublicPort":5000,"Type":"tcp"}],"Status":"Up 29 seconds"}
160
135
  ]
161
136
  http_version:
162
- recorded_at: Mon, 30 Jun 2014 14:30:49 GMT
137
+ recorded_at: Mon, 01 Dec 2014 18:08:06 GMT
163
138
  - request:
164
139
  method: post
165
- uri: unix:///var/run/docker.sock/v1.12/containers/f6c1ce0f958c5a584ee74ebb78f19f69016b53be5dfcf11347f4b587cabaaec8/kill?signal=SIGKILL
140
+ uri: "<DOCKER_HOST>/v1.15/containers/6694e54957e8dc8ad92d45e264990f2fe0b33ae81c87a419b568e13c5e28bb18/kill?signal=SIGKILL"
166
141
  body:
167
142
  encoding: US-ASCII
168
143
  string: ''
169
144
  headers:
170
145
  User-Agent:
171
- - Swipely/Docker-API 1.13.0
146
+ - Swipely/Docker-API 1.15.0
172
147
  Content-Type:
173
148
  - text/plain
174
149
  response:
@@ -177,23 +152,21 @@ http_interactions:
177
152
  message:
178
153
  headers:
179
154
  Date:
180
- - Mon, 30 Jun 2014 14:30:49 GMT
181
- Connection:
182
- - close
155
+ - Mon, 01 Dec 2014 18:08:06 GMT
183
156
  body:
184
157
  encoding: UTF-8
185
158
  string: ''
186
159
  http_version:
187
- recorded_at: Mon, 30 Jun 2014 14:30:49 GMT
160
+ recorded_at: Mon, 01 Dec 2014 18:08:06 GMT
188
161
  - request:
189
162
  method: get
190
- uri: unix:///var/run/docker.sock/v1.12/containers/json
163
+ uri: "<DOCKER_HOST>/v1.15/containers/json"
191
164
  body:
192
165
  encoding: US-ASCII
193
166
  string: ''
194
167
  headers:
195
168
  User-Agent:
196
- - Swipely/Docker-API 1.13.0
169
+ - Swipely/Docker-API 1.15.0
197
170
  Content-Type:
198
171
  - text/plain
199
172
  response:
@@ -204,25 +177,25 @@ http_interactions:
204
177
  Content-Type:
205
178
  - application/json
206
179
  Date:
207
- - Mon, 30 Jun 2014 14:30:49 GMT
180
+ - Mon, 01 Dec 2014 18:08:06 GMT
208
181
  Content-Length:
209
- - '2'
210
- Connection:
211
- - close
182
+ - '275'
212
183
  body:
213
184
  encoding: UTF-8
214
- string: '[]'
185
+ string: |-
186
+ [{"Command":"docker-registry","Created":1417457257,"Id":"1a8fb3a8c0a99b779389680f7bd5547f5bb1520dfd061932ff6fbef9cc2a7679","Image":"registry:latest","Names":["/registry"],"Ports":[{"IP":"0.0.0.0","PrivatePort":5000,"PublicPort":5000,"Type":"tcp"}],"Status":"Up 29 seconds"}
187
+ ]
215
188
  http_version:
216
- recorded_at: Mon, 30 Jun 2014 14:30:49 GMT
189
+ recorded_at: Mon, 01 Dec 2014 18:08:06 GMT
217
190
  - request:
218
191
  method: get
219
- uri: unix:///var/run/docker.sock/v1.12/containers/json?all=true
192
+ uri: "<DOCKER_HOST>/v1.15/containers/json?all=true"
220
193
  body:
221
194
  encoding: US-ASCII
222
195
  string: ''
223
196
  headers:
224
197
  User-Agent:
225
- - Swipely/Docker-API 1.13.0
198
+ - Swipely/Docker-API 1.15.0
226
199
  Content-Type:
227
200
  - text/plain
228
201
  response:
@@ -233,33 +206,38 @@ http_interactions:
233
206
  Content-Type:
234
207
  - application/json
235
208
  Date:
236
- - Mon, 30 Jun 2014 14:30:49 GMT
237
- Connection:
238
- - close
239
- Transfer-Encoding:
240
- - ''
209
+ - Mon, 01 Dec 2014 18:08:06 GMT
210
+ Content-Length:
211
+ - '556'
241
212
  body:
242
213
  encoding: UTF-8
243
214
  string: |-
244
- [{"Command":"/bin/bash -c 'trap echo SIGTERM; while [ 1 ]; do echo hello; done'","Created":1404138649,"Id":"f6c1ce0f958c5a584ee74ebb78f19f69016b53be5dfcf11347f4b587cabaaec8","Image":"base:latest","Names":["/determined_kowalevski"],"Ports":[],"Status":"Exited (-1) Less than a second ago"}
245
- ,{"Command":"/bin/bash -c 'trap echo SIGTERM; while [ 1 ]; do echo hello; done'","Created":1404138612,"Id":"259a695ed0085ad730abf9ce193c9d7ee3af12b72ebdda29360603291582409d","Image":"base:latest","Names":["/condescending_mclean"],"Ports":[],"Status":"Exited (-1) 33 seconds ago"}
246
- ,{"Command":"/bin/bash -c 'trap echo SIGTERM; while [ 1 ]; do echo hello; done'","Created":1404138535,"Id":"cbfa145f2cd0130dee85c94bb70eec3c3cff23892e60a42d2404377a8b9c02ad","Image":"base:latest","Names":["/sharp_archimedes"],"Ports":[],"Status":"Exited (-1) About a minute ago"}
247
- ,{"Command":"/bin/bash -c 'while [ 1 ]; do echo hello; done'","Created":1404138533,"Id":"e7db5709022fd06d4e3c8bd0f493233d67b2a793dc07a4982b3c491ec61b2c83","Image":"base:latest","Names":["/stoic_bartik"],"Ports":[],"Status":"Exited (-1) About a minute ago"}
248
- ,{"Command":"\"/bin/bash -c 'trap \"\" SIGTERM; while [ 1 ]; do echo hello; done'\"","Created":1404138438,"Id":"3a2d6022918aa91e4d8b56d7b29420ee45476e27c0f83889d547e0cbc44483c8","Image":"base:latest","Names":["/focused_mayer"],"Ports":[],"Status":"Exited (-1) 3 minutes ago"}
249
- ,{"Command":"/bin/bash -c 'while [ 1 ]; do echo hello; done'","Created":1404138414,"Id":"05bdffae4dd9ece30ad25869ff1f616486ada32ad70916838564b32a8866cd40","Image":"base:latest","Names":["/trusting_perlman"],"Ports":[],"Status":"Exited (-1) 3 minutes ago"}
250
- ,{"Command":"\"/bin/bash -c 'trap \"\" SIGTERM; while [ 1 ]; do echo hello; done'\"","Created":1404138313,"Id":"fda96aefea21efe7a4dfd79d746ece41bb50907422d047a4e595f8e2f52e4b78","Image":"base:latest","Names":["/sharp_galileo"],"Ports":[],"Status":"Exited (-1) 5 minutes ago"}
251
- ,{"Command":"/bin/bash -c 'while [ 1 ]; do echo hello; done'","Created":1404138312,"Id":"4d12860bcd0dc646005c06fe2c171b4112dd81a0b8a1cbbf6c566ca1fa4c6953","Image":"base:latest","Names":["/agitated_engelbart"],"Ports":[],"Status":"Exited (-1) 5 minutes ago"}
252
- ,{"Command":"\"bash -c 'if [ -t 1 ]; then echo -n \"I'm a TTY!\"; fi'\"","Created":1404136615,"Id":"98a0f56b2c636d5064379b7926832f0d74cc3f943d4dd0dc2260a7026b90a96c","Image":"base:latest","Names":["/boring_thompson"],"Ports":[],"Status":"Exited (0) 33 minutes ago"}
253
- ,{"Command":"\"bash -c 'if [ -t 1 ]; then echo -n \"I'm a TTY!\"; fi'\"","Created":1404136493,"Id":"3f0e369bd075b7955f5478cade06cb8381a914b9119fa29ee9c216ae314fafdc","Image":"base:latest","Names":["/pensive_leakey"],"Ports":[],"Status":"Exited (0) 35 minutes ago"}
254
- ,{"Command":"bash","Created":1403880270,"Id":"07639598c2822237a2f047a6172dea0f45d84c4b31dfc9f63877ddf63cb30616","Image":"ubuntu:latest","Names":["/elegant_albattani"],"Ports":[],"Status":"Exited (0) 47 hours ago"}
255
- ,{"Command":"bash","Created":1403880246,"Id":"349ba74bf51d253317d94044d6c20d129b264dfd16bc5d4097a30b5bea387e48","Image":"ubuntu:latest","Names":["/lonely_bardeen"],"Ports":[],"Status":"Exited (0) 2 days ago"}
256
- ,{"Command":"\"/bin/bash -lc \"while [ 1 ]; do echo hi; done\"\"","Created":1403880236,"Id":"584efc0cdeaf5e5676b62baf3a601cb730e17ff41c49ebe0b18324fb23bbb63a","Image":"ubuntu:latest","Names":["/jolly_yonath"],"Ports":[],"Status":"Exited (1) 2 days ago"}
257
- ,{"Command":"/bin/bash -lc while [ 1 ]; do echo hi; done","Created":1403880225,"Id":"644b149356fb4cb18f4526b61581f5507d1f8fa96a54f6d9f386c57de75bd1a0","Image":"ubuntu:latest","Names":["/clever_colden"],"Ports":[],"Status":"Exited (1) 2 days ago"}
258
- ,{"Command":"while [ 1 ]; do echo hi; done","Created":1403880219,"Id":"a98acea9bd23b1e5af827f0c908115186742edf0523146eaf420b42688a2109d","Image":"ubuntu:latest","Names":["/jovial_mccarthy"],"Ports":[],"Status":"Exited (1) 2 days ago"}
259
- ,{"Command":"while [ 1 ]; do echo hi; done","Created":1403880205,"Id":"7df16e2c57020a6471a80cf13084d689d43af60cd867df78350ee893c5724f80","Image":"ubuntu:latest","Names":["/goofy_hopper"],"Ports":[],"Status":"Exited (1) 2 days ago"}
260
- ,{"Command":"/bin/bash -c 'while [ 1 ]; do echo hi; done'","Created":1403880195,"Id":"c544ec7940bd88b88b6ccbd4c8d4f33ac6056b1c27b9c0f7fc2327eb462b9c47","Image":"ubuntu:latest","Names":["/lonely_tesla"],"Ports":[],"Status":"Exited (1) 2 days ago"}
261
- ,{"Command":"/bin/bash -lc 'while [ 1 ]; do echo hi; done'","Created":1403880190,"Id":"4e725734f92afc720a56e498266f078529a2ce8bc1f325948b25ada131e9472f","Image":"ubuntu:latest","Names":["/hopeful_kowalevski"],"Ports":[],"Status":"Exited (1) 2 days ago"}
215
+ [{"Command":"/bin/bash -c 'trap echo SIGTERM; while [ 1 ]; do echo hello; done'","Created":1417457285,"Id":"6694e54957e8dc8ad92d45e264990f2fe0b33ae81c87a419b568e13c5e28bb18","Image":"debian:wheezy","Names":["/evil_hopper"],"Ports":[],"Status":"Exited (-1) Less than a second ago"}
216
+ ,{"Command":"docker-registry","Created":1417457257,"Id":"1a8fb3a8c0a99b779389680f7bd5547f5bb1520dfd061932ff6fbef9cc2a7679","Image":"registry:latest","Names":["/registry"],"Ports":[{"IP":"0.0.0.0","PrivatePort":5000,"PublicPort":5000,"Type":"tcp"}],"Status":"Up 29 seconds"}
262
217
  ]
263
218
  http_version:
264
- recorded_at: Mon, 30 Jun 2014 14:30:49 GMT
265
- recorded_with: VCR 2.9.2
219
+ recorded_at: Mon, 01 Dec 2014 18:08:06 GMT
220
+ - request:
221
+ method: delete
222
+ uri: "<DOCKER_HOST>/v1.15/containers/6694e54957e8dc8ad92d45e264990f2fe0b33ae81c87a419b568e13c5e28bb18"
223
+ body:
224
+ encoding: US-ASCII
225
+ string: ''
226
+ headers:
227
+ User-Agent:
228
+ - Swipely/Docker-API 1.15.0
229
+ Content-Type:
230
+ - text/plain
231
+ response:
232
+ status:
233
+ code: 204
234
+ message:
235
+ headers:
236
+ Date:
237
+ - Mon, 01 Dec 2014 18:08:06 GMT
238
+ body:
239
+ encoding: UTF-8
240
+ string: ''
241
+ http_version:
242
+ recorded_at: Mon, 01 Dec 2014 18:08:06 GMT
243
+ recorded_with: VCR 2.9.3