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":["test","-d","/foo"],"Image":"base","Volumes":{"/foo":{}}}'
8
+ string: '{"Cmd":["test","-d","/foo"],"Image":"debian:wheezy","Volumes":{"/foo":{}}}'
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:44:34 GMT
22
+ - Mon, 01 Dec 2014 18:07:53 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":"8ca74b5b1eb86837a183544a09672418b8f94ffebfc2e4734b997cc444b90a84","Warnings":null}
28
+ {"Id":"3439b7bc173d2d93b51a12a98f76b7759e0edb82d60b0359c10cb57c39f872b7","Warnings":null}
31
29
  http_version:
32
- recorded_at: Thu, 26 Jun 2014 19:44:34 GMT
30
+ recorded_at: Mon, 01 Dec 2014 18:07:53 GMT
33
31
  - request:
34
32
  method: post
35
- uri: unix:///var/run/docker.sock/v1.12/containers/8ca74b5b1eb86837a183544a09672418b8f94ffebfc2e4734b997cc444b90a84/start
33
+ uri: "<DOCKER_HOST>/v1.15/containers/3439b7bc173d2d93b51a12a98f76b7759e0edb82d60b0359c10cb57c39f872b7/start"
36
34
  body:
37
35
  encoding: UTF-8
38
36
  string: '{"Binds":["/tmp:/foo"]}'
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
  - application/json
44
42
  response:
@@ -47,23 +45,21 @@ http_interactions:
47
45
  message:
48
46
  headers:
49
47
  Date:
50
- - Thu, 26 Jun 2014 19:44:34 GMT
51
- Connection:
52
- - close
48
+ - Mon, 01 Dec 2014 18:07:53 GMT
53
49
  body:
54
50
  encoding: UTF-8
55
51
  string: ''
56
52
  http_version:
57
- recorded_at: Thu, 26 Jun 2014 19:44:34 GMT
53
+ recorded_at: Mon, 01 Dec 2014 18:07:53 GMT
58
54
  - request:
59
55
  method: get
60
- uri: unix:///var/run/docker.sock/v1.12/containers/json
56
+ uri: "<DOCKER_HOST>/v1.15/containers/json"
61
57
  body:
62
58
  encoding: US-ASCII
63
59
  string: ''
64
60
  headers:
65
61
  User-Agent:
66
- - Swipely/Docker-API 1.11.2
62
+ - Swipely/Docker-API 1.15.0
67
63
  Content-Type:
68
64
  - text/plain
69
65
  response:
@@ -74,28 +70,26 @@ http_interactions:
74
70
  Content-Type:
75
71
  - application/json
76
72
  Date:
77
- - Thu, 26 Jun 2014 19:44:34 GMT
73
+ - Mon, 01 Dec 2014 18:07:53 GMT
78
74
  Content-Length:
79
- - '415'
80
- Connection:
81
- - close
75
+ - '495'
82
76
  body:
83
77
  encoding: UTF-8
84
78
  string: |-
85
- [{"Command":"test -d /foo","Created":1403811874,"Id":"8ca74b5b1eb86837a183544a09672418b8f94ffebfc2e4734b997cc444b90a84","Image":"base:latest","Names":["/sad_bohr"],"Ports":[],"Status":"Up Less than a second"}
86
- ,{"Command":"/while","Created":1403811778,"Id":"e3ef53f0c6fc463801a85b9c8d9b2fe348600c2e529c59fa0592da739912224d","Image":"41b70f59d9b6","Names":["/sleepy_yonath"],"Ports":[],"Status":"Up About a minute"}
79
+ [{"Command":"test -d /foo","Created":1417457273,"Id":"3439b7bc173d2d93b51a12a98f76b7759e0edb82d60b0359c10cb57c39f872b7","Image":"debian:wheezy","Names":["/agitated_poincare"],"Ports":[],"Status":"Up Less than a second"}
80
+ ,{"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 16 seconds"}
87
81
  ]
88
82
  http_version:
89
- recorded_at: Thu, 26 Jun 2014 19:44:34 GMT
83
+ recorded_at: Mon, 01 Dec 2014 18:07:53 GMT
90
84
  - request:
91
85
  method: post
92
- uri: unix:///var/run/docker.sock/v1.12/containers/8ca74b5b1eb86837a183544a09672418b8f94ffebfc2e4734b997cc444b90a84/wait
86
+ uri: "<DOCKER_HOST>/v1.15/containers/3439b7bc173d2d93b51a12a98f76b7759e0edb82d60b0359c10cb57c39f872b7/wait"
93
87
  body:
94
88
  encoding: US-ASCII
95
89
  string: ''
96
90
  headers:
97
91
  User-Agent:
98
- - Swipely/Docker-API 1.11.2
92
+ - Swipely/Docker-API 1.15.0
99
93
  Content-Type:
100
94
  - text/plain
101
95
  response:
@@ -106,15 +100,36 @@ http_interactions:
106
100
  Content-Type:
107
101
  - application/json
108
102
  Date:
109
- - Thu, 26 Jun 2014 19:44:35 GMT
103
+ - Mon, 01 Dec 2014 18:07:53 GMT
110
104
  Content-Length:
111
105
  - '17'
112
- Connection:
113
- - close
114
106
  body:
115
107
  encoding: UTF-8
116
108
  string: |
117
109
  {"StatusCode":0}
118
110
  http_version:
119
- recorded_at: Thu, 26 Jun 2014 19:44:35 GMT
120
- recorded_with: VCR 2.9.2
111
+ recorded_at: Mon, 01 Dec 2014 18:07:53 GMT
112
+ - request:
113
+ method: delete
114
+ uri: "<DOCKER_HOST>/v1.15/containers/3439b7bc173d2d93b51a12a98f76b7759e0edb82d60b0359c10cb57c39f872b7"
115
+ body:
116
+ encoding: US-ASCII
117
+ string: ''
118
+ headers:
119
+ User-Agent:
120
+ - Swipely/Docker-API 1.15.0
121
+ Content-Type:
122
+ - text/plain
123
+ response:
124
+ status:
125
+ code: 204
126
+ message:
127
+ headers:
128
+ Date:
129
+ - Mon, 01 Dec 2014 18:07:53 GMT
130
+ body:
131
+ encoding: UTF-8
132
+ string: ''
133
+ http_version:
134
+ recorded_at: Mon, 01 Dec 2014 18:07:53 GMT
135
+ 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:44:44 GMT
22
+ - Mon, 01 Dec 2014 18:07:54 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":"51540acbefe569857cb71839e23cd88fe47b56fcc241bcb8af0c4ae7998ef12d","Warnings":null}
28
+ {"Id":"7d1d8ec8182f78f545f2a685230e62db82327f9be8a10d247465c982591cb5d1","Warnings":null}
31
29
  http_version:
32
- recorded_at: Thu, 26 Jun 2014 19:44:44 GMT
30
+ recorded_at: Mon, 01 Dec 2014 18:07:54 GMT
33
31
  - request:
34
32
  method: post
35
- uri: unix:///var/run/docker.sock/v1.12/containers/51540acbefe569857cb71839e23cd88fe47b56fcc241bcb8af0c4ae7998ef12d/start
33
+ uri: "<DOCKER_HOST>/v1.15/containers/7d1d8ec8182f78f545f2a685230e62db82327f9be8a10d247465c982591cb5d1/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.11.2
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
- - Thu, 26 Jun 2014 19:44:44 GMT
51
- Connection:
52
- - close
48
+ - Mon, 01 Dec 2014 18:07:54 GMT
53
49
  body:
54
50
  encoding: UTF-8
55
51
  string: ''
56
52
  http_version:
57
- recorded_at: Thu, 26 Jun 2014 19:44:44 GMT
53
+ recorded_at: Mon, 01 Dec 2014 18:07:54 GMT
58
54
  - request:
59
55
  method: post
60
- uri: unix:///var/run/docker.sock/v1.12/containers/51540acbefe569857cb71839e23cd88fe47b56fcc241bcb8af0c4ae7998ef12d/stop?t=10
56
+ uri: "<DOCKER_HOST>/v1.15/containers/7d1d8ec8182f78f545f2a685230e62db82327f9be8a10d247465c982591cb5d1/stop?t=10"
61
57
  body:
62
58
  encoding: UTF-8
63
- string: '{}'
59
+ string: "{}"
64
60
  headers:
65
61
  User-Agent:
66
- - Swipely/Docker-API 1.11.2
62
+ - Swipely/Docker-API 1.15.0
67
63
  Content-Type:
68
64
  - application/json
69
65
  response:
@@ -72,23 +68,21 @@ http_interactions:
72
68
  message:
73
69
  headers:
74
70
  Date:
75
- - Thu, 26 Jun 2014 19:44:45 GMT
76
- Connection:
77
- - close
71
+ - Mon, 01 Dec 2014 18:07:54 GMT
78
72
  body:
79
73
  encoding: UTF-8
80
74
  string: ''
81
75
  http_version:
82
- recorded_at: Thu, 26 Jun 2014 19:44:45 GMT
76
+ recorded_at: Mon, 01 Dec 2014 18:07:54 GMT
83
77
  - request:
84
78
  method: get
85
- uri: unix:///var/run/docker.sock/v1.12/containers/json?all=true
79
+ uri: "<DOCKER_HOST>/v1.15/containers/json?all=true"
86
80
  body:
87
81
  encoding: US-ASCII
88
82
  string: ''
89
83
  headers:
90
84
  User-Agent:
91
- - Swipely/Docker-API 1.11.2
85
+ - Swipely/Docker-API 1.15.0
92
86
  Content-Type:
93
87
  - text/plain
94
88
  response:
@@ -99,70 +93,26 @@ http_interactions:
99
93
  Content-Type:
100
94
  - application/json
101
95
  Date:
102
- - Thu, 26 Jun 2014 19:44:45 GMT
103
- Connection:
104
- - close
105
- Transfer-Encoding:
106
- - ''
96
+ - Mon, 01 Dec 2014 18:07:54 GMT
97
+ Content-Length:
98
+ - '495'
107
99
  body:
108
100
  encoding: UTF-8
109
101
  string: |-
110
- [{"Command":"true","Created":1403811884,"Id":"51540acbefe569857cb71839e23cd88fe47b56fcc241bcb8af0c4ae7998ef12d","Image":"base:latest","Names":["/condescending_shockley"],"Ports":[],"Status":"Exited (2) Less than a second ago"}
111
- ,{"Command":"test -d /foo","Created":1403811874,"Id":"8ca74b5b1eb86837a183544a09672418b8f94ffebfc2e4734b997cc444b90a84","Image":"base:latest","Names":["/sad_bohr"],"Ports":[],"Status":"Exited (0) 10 seconds ago"}
112
- ,{"Command":"pwd","Created":1403811850,"Id":"f67711bda71de43c2d9998990ee1442023e71ccd30775adcc5e115293351292f","Image":"base:latest","Names":["/distracted_darwin"],"Ports":[],"Status":"Exited (0) 33 seconds ago"}
113
- ,{"Command":"pwd","Created":1403811845,"Id":"91edd209b1419fd60a4da8e31b1d17d4b060400077b6b00cf855004e28e60cd1","Image":"base:latest","Names":["/naughty_hoover"],"Ports":[],"Status":"Exited (0) 39 seconds ago"}
114
- ,{"Command":"rm -rf / --no-preserve-root","Created":1403811822,"Id":"ac19ec0a08d3beb57e4eff6e978a6bea402ea2e6cdfd06dd2d8826e24fc1bc22","Image":"base:latest","Names":["/silly_leakey"],"Ports":[],"Status":"Exited (1) About a minute ago"}
115
- ,{"Command":"touch /test","Created":1403811805,"Id":"e94213e6d92bbc20ba9b4fb299902a0edb7e60e78f6183ed39d35c4d0b83f395","Image":"base:latest","Names":["/nostalgic_curie"],"Ports":[],"Status":"Exited (0) About a minute ago"}
116
- ,{"Command":"touch /test","Created":1403811798,"Id":"e36507d15801857e28153923c2968f77112a40aa5df02251ee7ef83d0db9097a","Image":"base:latest","Names":["/sad_shockley"],"Ports":[],"Status":"Exited (0) About a minute ago"}
117
- ,{"Command":"/while","Created":1403811778,"Id":"e3ef53f0c6fc463801a85b9c8d9b2fe348600c2e529c59fa0592da739912224d","Image":"41b70f59d9b6","Names":["/sleepy_yonath"],"Ports":[],"Status":"Up About a minute"}
118
- ,{"Command":"rm -rf /root","Created":1403811759,"Id":"6fc279ae9f0858a7d0fd877f6df7f81e6487848af95712ec9dd1f12e587d24ce","Image":"base:latest","Names":["/trusting_galileo"],"Ports":[],"Status":"Exited (0) 2 minutes ago"}
119
- ,{"Command":"true","Created":1403811740,"Id":"36912cef208b36a175e7f48dd3bffc5a698f7eb818b7bcbf56343209f8fc473b","Image":"base:latest","Names":["/bob"],"Ports":[],"Status":""}
120
- ,{"Command":"echo hello","Created":1403811721,"Id":"bcdc58f638d20be4172508fc80d191317628d55f48eeb274abc9de5f9c2761d0","Image":"base:latest","Names":["/grave_bartik"],"Ports":[],"Status":""}
121
- ,{"Command":"echo hello","Created":1403811717,"Id":"6968a8299df95ffad447a6b364d0cb9cfeb1bcc28d0ef09356f35bdeca57d953","Image":"base:latest","Names":["/goofy_fermat"],"Ports":[],"Status":""}
122
- ,{"Command":"true","Created":1403811562,"Id":"cf367fe2a4eaf9908dd1f6c6d988b6b7391cebfbe827435ee7204659fa2d6ec1","Image":"base:latest","Names":["/thirsty_nobel"],"Ports":[],"Status":""}
123
- ,{"Command":"/bin/sh -c 'exec docker-registry'","Created":1403809177,"Id":"5759e35c33773e7a1ecaee390fa7db4097f1030995282da972076979e345c709","Image":"localhost:5000/registry:test","Names":["/stupefied_meitner"],"Ports":[],"Status":"Exited (0) 14 minutes ago"}
124
- ,{"Command":"/bin/sh -c 'exec docker-registry'","Created":1403809143,"Id":"a36c555f919ec5ccc717cbaf50c655dcc4db776c5bcbb92a4bb05f7e80ca32a1","Image":"localhost:5000/registry:test","Names":["/sharp_turing"],"Ports":[],"Status":"Exited (0) 45 minutes ago"}
125
- ,{"Command":"/bin/sh -c 'cd /app \u0026\u0026 bundle exec foreman start'","Created":1402430887,"Id":"bb24a1dbb5fa6e7204101e9f0e47c11944d3400d68076c0df9dbec40daef9a5e","Image":"795d6b82162f","Names":["/stupefied_morse"],"Ports":[{"IP":"0.0.0.0","PrivatePort":8080,"PublicPort":8080,"Type":"tcp"}],"Status":"Exited (-1) 2 weeks ago"}
126
- ,{"Command":"bash","Created":1402430685,"Id":"6123f38072655a1587a67e4a7afc4cd4374a23e2dcc1e0f302ba67902ff2aa6c","Image":"795d6b82162f","Names":["/naughty_shockley"],"Ports":[{"IP":"0.0.0.0","PrivatePort":8080,"PublicPort":8080,"Type":"tcp"}],"Status":"Exited (130) 2 weeks ago"}
127
- ,{"Command":"/bin/sh -c 'cd /app \u0026\u0026 bundle exec foreman start'","Created":1402430595,"Id":"0cb45d8388407844b0e4c9fc4b691d5a81f27a6ed75ac69c26aa9ebf37d9ecae","Image":"795d6b82162f","Names":["/angry_heisenberg"],"Ports":[{"IP":"0.0.0.0","PrivatePort":8080,"PublicPort":8080,"Type":"tcp"}],"Status":"Exited (-1) 2 weeks ago"}
128
- ,{"Command":"/bin/sh -c 'cd /app \u0026\u0026 bundle exec foreman start'","Created":1402430547,"Id":"342f632dbf963b429e442b238a236ab3cf91885e71233d853dd2b405e32e4863","Image":"795d6b82162f","Names":["/jolly_heisenberg"],"Ports":[],"Status":"Exited (-1) 2 weeks ago"}
129
- ,{"Command":"/bin/sh -c 'cd /app \u0026\u0026 bundle exec foreman start'","Created":1402430293,"Id":"3164a68c936d209a2b1e2da323b52e1b043bc17fbd41f06ae8a356bd6c06152b","Image":"24b631358e16","Names":["/agitated_wright"],"Ports":[],"Status":"Exited (0) 2 weeks ago"}
130
- ,{"Command":"/bin/sh -c 'cd /app \u0026\u0026 bundle exec foreman start'","Created":1402430143,"Id":"33ccfbb00c9717cb24818072db9752401c1e099d7447cf413b9ee571e1bcd012","Image":"2e68e4667d3f","Names":["/determined_bardeen"],"Ports":[],"Status":"Exited (0) 2 weeks ago"}
131
- ,{"Command":"/bin/sh -c 'cd /app \u0026\u0026 bundle exec foreman start'","Created":1402429919,"Id":"cd063c45640ce588466f6d845e5a2fc25921f113a5ccbeefa9317fdcd8ee908a","Image":"76587bc93b7d","Names":["/boring_nobel"],"Ports":[],"Status":"Exited (0) 2 weeks ago"}
132
- ,{"Command":"/bin/bash","Created":1402429676,"Id":"bbc878209d4d7b98fe044e02ea13850f19d95ce56fb1428de1a81e426e74a735","Image":"76587bc93b7d","Names":["/tender_goldstine"],"Ports":[],"Status":"Exited (1) 2 weeks ago"}
133
- ,{"Command":"/bin/bash","Created":1402429664,"Id":"1d43aae6eb71e6b402f0df19509420fe15f8c1c097711dd97b9e41d55b6220c7","Image":"76587bc93b7d","Names":["/mad_tesla"],"Ports":[],"Status":"Exited (0) 2 weeks ago"}
134
- ,{"Command":"/bin/sh -c 'cd /app \u0026\u0026 bundle exec foreman start'","Created":1402429649,"Id":"2c6c24d1f0da0d3021c60a9dcd9e648daf6be4a40642ab8cce35480cf931e648","Image":"76587bc93b7d","Names":["/pensive_rosalind"],"Ports":[],"Status":"Exited (0) 2 weeks ago"}
135
- ,{"Command":"/bin/sh -c 'cd /app \u0026\u0026 bundle exec foreman start'","Created":1402429637,"Id":"cf21c9ae97e204c05748a596b3ebd2fc7e5793c33fd9ee787be78a2159d193fe","Image":"76587bc93b7d","Names":["/determined_ardinghelli"],"Ports":[{"IP":"0.0.0.0","PrivatePort":6379,"PublicPort":49160,"Type":"tcp"}],"Status":"Exited (0) 2 weeks ago"}
136
- ,{"Command":"/bin/sh -c 'cd /app \u0026\u0026 bundle exec foreman start'","Created":1402429619,"Id":"217b0f8aa6504f460de1ef2a559a8916c957a079adce597d3deb0c6046f2d7db","Image":"76587bc93b7d","Names":["/grave_torvalds"],"Ports":[{"IP":"0.0.0.0","PrivatePort":6379,"PublicPort":49159,"Type":"tcp"}],"Status":"Exited (0) 2 weeks ago"}
137
- ,{"Command":"/bin/sh -c 'cd /app \u0026\u0026 bundle exec foreman start'","Created":1402429610,"Id":"a7104142e02b3a64bf99e0489ed69eba92aaca2f1cb60ef8221bec7e90099263","Image":"76587bc93b7d","Names":["/thirsty_hoover"],"Ports":[{"IP":"127.0.0.1","PrivatePort":6379,"PublicPort":49158,"Type":"tcp"}],"Status":"Exited (0) 2 weeks ago"}
138
- ,{"Command":"/bin/sh -c 'cd /app \u0026\u0026 bundle exec foreman start'","Created":1402429596,"Id":"18c4d104ba348ae8af2a7f0ebbe1435011570dabcece81b10ba7f735bb52c142","Image":"76587bc93b7d","Names":["/backstabbing_mestorf"],"Ports":[],"Status":"Exited (0) 2 weeks ago"}
139
- ,{"Command":"/bin/sh -c 'cd /app \u0026\u0026 bundle exec foreman start'","Created":1402429583,"Id":"c9e54634fc5c8fb250c9137092e8cc047ab7496655b6d656a6a387b5994e4a3e","Image":"0cf0d2c9f3c9","Names":["/high_goodall"],"Ports":[],"Status":"Exited (0) 2 weeks ago"}
140
- ,{"Command":"/bin/sh -c 'cd /app \u0026\u0026 bundle exec foreman start'","Created":1402429574,"Id":"1900baf794a5734e406ca6226d5a5f62d85f2ad3db0a886654f15e692729741a","Image":"0cf0d2c9f3c9","Names":["/agitated_kirch"],"Ports":[{"IP":"127.0.0.1","PrivatePort":6379,"PublicPort":49157,"Type":"tcp"}],"Status":"Exited (0) 2 weeks ago"}
141
- ,{"Command":"/bin/sh -c 'cd /app \u0026\u0026 bundle exec foreman start'","Created":1402428859,"Id":"791283f719e9089e4c97ad5ea7096df317c5378db0255a7e9846830f326f11ad","Image":"0cf0d2c9f3c9","Names":["/romantic_fermi"],"Ports":[{"IP":"127.0.0.1","PrivatePort":6379,"PublicPort":49156,"Type":"tcp"}],"Status":"Exited (0) 2 weeks ago"}
142
- ,{"Command":"/bin/sh -c 'cd /app \u0026\u0026 bundle exec foreman start'","Created":1402427020,"Id":"b32593d5dfb04c83db55e798f52ecc89f57102b5d672cde4f0b55d5f4d3b856c","Image":"0cf0d2c9f3c9","Names":["/naughty_euclid"],"Ports":[{"IP":"127.0.0.1","PrivatePort":6379,"PublicPort":49155,"Type":"tcp"}],"Status":"Exited (0) 2 weeks ago"}
143
- ,{"Command":"/bin/sh -c 'cd /app \u0026\u0026 bundle exec foreman start'","Created":1402427017,"Id":"cdcab97cd8eeaeb8696024c92e28aedc182b2f3519e4e0445585f8fb501e44eb","Image":"0cf0d2c9f3c9","Names":["/high_lumiere"],"Ports":[],"Status":""}
144
- ,{"Command":"/bin/sh -c 'cd /app \u0026\u0026 bundle exec foreman start'","Created":1402426976,"Id":"1e095cd0c96b76a1131dd47dc0c54c153200320647ba1643c0b6e4efd397f1b5","Image":"0cf0d2c9f3c9","Names":["/goofy_wozniak"],"Ports":[],"Status":""}
145
- ,{"Command":"/bin/sh -c 'cd /app \u0026\u0026 bundle exec foreman start'","Created":1402426959,"Id":"53839f4d1e1c26db22b91db8e9ee2477822140c8397ebcdae627b5e4b4df27ce","Image":"0cf0d2c9f3c9","Names":["/drunk_ritchie"],"Ports":[],"Status":""}
146
- ,{"Command":"/bin/sh -c 'cd /app \u0026\u0026 bundle exec foreman start'","Created":1402426953,"Id":"5906226b2dd64485bc917d7c7296bfba04589b0954fdf793f122236e04d0b58c","Image":"0cf0d2c9f3c9","Names":["/jolly_fermi"],"Ports":[],"Status":""}
147
- ,{"Command":"/bin/sh -c 'cd /app \u0026\u0026 bundle exec foreman start'","Created":1402426945,"Id":"03ea0209a642de9adba85c2aea67802806eb23de7e9c3d886a9ab9cfcd708578","Image":"0cf0d2c9f3c9","Names":["/loving_wilson"],"Ports":[{"IP":"127.0.0.1","PrivatePort":6379,"PublicPort":49154,"Type":"tcp"}],"Status":"Exited (0) 2 weeks ago"}
148
- ,{"Command":"/bin/sh -c 'cd /app \u0026\u0026 bundle exec foreman start'","Created":1402426934,"Id":"428e6478f665780fe3300d316b3789c92575bbe728e196b1a33655096dfb9baa","Image":"0cf0d2c9f3c9","Names":["/angry_rosalind"],"Ports":[{"IP":"0.0.0.0","PrivatePort":6379,"PublicPort":49153,"Type":"tcp"}],"Status":"Exited (0) 2 weeks ago"}
149
- ,{"Command":"/bin/sh -c 'cd /app \u0026\u0026 bundle exec foreman start'","Created":1402426799,"Id":"fc77637ca9d934565017ebe326ed29263778443831b799977257c2fa4255e666","Image":"0cf0d2c9f3c9","Names":["/sharp_lovelace"],"Ports":[],"Status":"Exited (0) 2 weeks ago"}
150
- ,{"Command":"/bin/sh -c 'cd /app \u0026\u0026 bundle install'","Created":1402425989,"Id":"dc372caeee6f2d1f797ca4986c1c917aef25285cf0a97f3453a9c8ee6de226ef","Image":"f39385fcb372","Names":["/cocky_galileo"],"Ports":[],"Status":"Exited (5) 2 weeks ago"}
151
- ,{"Command":"/bin/sh -c 'gem install atomic -v '1.1.10' --no-user-install'","Created":1402425859,"Id":"bff3f8dff516f8ec53890e52e30f07ea6a34887d12de2133e1ec2f03a47e7a33","Image":"e41a4fd75845","Names":["/thirsty_newton"],"Ports":[],"Status":"Exited (1) 2 weeks ago"}
152
- ,{"Command":"/bin/sh -c 'cd /app \u0026\u0026 bundle install'","Created":1402425808,"Id":"c7f35941f9683ee1d6b78b25e323d6678ed02a8390b48f7609fd506b7e1dbfe9","Image":"4d1584ae379a","Names":["/stupefied_heisenberg"],"Ports":[],"Status":"Exited (5) 2 weeks ago"}
153
- ,{"Command":"/bin/sh -c 'gem install bundler --no-user-install'","Created":1402425760,"Id":"e1d25c1ddd9a471fdbc381b95820aba9f84b334efe9b815ffbf63cfca89399d7","Image":"e607630fc5e6","Names":["/insane_fermi"],"Ports":[],"Status":"Exited (0) 2 weeks ago"}
102
+ [{"Command":"true","Created":1417457274,"Id":"7d1d8ec8182f78f545f2a685230e62db82327f9be8a10d247465c982591cb5d1","Image":"debian:wheezy","Names":["/kickass_curie"],"Ports":[],"Status":"Exited (0) Less than a second ago"}
103
+ ,{"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 17 seconds"}
154
104
  ]
155
105
  http_version:
156
- recorded_at: Thu, 26 Jun 2014 19:44:45 GMT
106
+ recorded_at: Mon, 01 Dec 2014 18:07:54 GMT
157
107
  - request:
158
108
  method: get
159
- uri: unix:///var/run/docker.sock/v1.12/containers/json
109
+ uri: "<DOCKER_HOST>/v1.15/containers/json"
160
110
  body:
161
111
  encoding: US-ASCII
162
112
  string: ''
163
113
  headers:
164
114
  User-Agent:
165
- - Swipely/Docker-API 1.11.2
115
+ - Swipely/Docker-API 1.15.0
166
116
  Content-Type:
167
117
  - text/plain
168
118
  response:
@@ -173,16 +123,37 @@ http_interactions:
173
123
  Content-Type:
174
124
  - application/json
175
125
  Date:
176
- - Thu, 26 Jun 2014 19:44:45 GMT
126
+ - Mon, 01 Dec 2014 18:07:54 GMT
177
127
  Content-Length:
178
- - '206'
179
- Connection:
180
- - close
128
+ - '275'
181
129
  body:
182
130
  encoding: UTF-8
183
131
  string: |-
184
- [{"Command":"/while","Created":1403811778,"Id":"e3ef53f0c6fc463801a85b9c8d9b2fe348600c2e529c59fa0592da739912224d","Image":"41b70f59d9b6","Names":["/sleepy_yonath"],"Ports":[],"Status":"Up About a minute"}
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 17 seconds"}
185
133
  ]
186
134
  http_version:
187
- recorded_at: Thu, 26 Jun 2014 19:44:45 GMT
188
- recorded_with: VCR 2.9.2
135
+ recorded_at: Mon, 01 Dec 2014 18:07:54 GMT
136
+ - request:
137
+ method: delete
138
+ uri: "<DOCKER_HOST>/v1.15/containers/7d1d8ec8182f78f545f2a685230e62db82327f9be8a10d247465c982591cb5d1"
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:07:54 GMT
154
+ body:
155
+ encoding: UTF-8
156
+ string: ''
157
+ http_version:
158
+ recorded_at: Mon, 01 Dec 2014 18:07:54 GMT
159
+ 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":"echo hello","Image":"base"}'
8
+ string: '{"Cmd":"echo hello","Image":"debian:wheezy"}'
9
9
  headers:
10
10
  User-Agent:
11
- - Swipely/Docker-API 1.13.6
11
+ - Swipely/Docker-API 1.15.0
12
12
  Content-Type:
13
13
  - application/json
14
14
  response:
@@ -16,31 +16,27 @@ http_interactions:
16
16
  code: 201
17
17
  message:
18
18
  headers:
19
- !binary "Q29udGVudC1UeXBl":
20
- - !binary |-
21
- YXBwbGljYXRpb24vanNvbg==
22
- !binary "RGF0ZQ==":
23
- - !binary |-
24
- TW9uLCAyNyBPY3QgMjAxNCAxNDo0NjozMyBHTVQ=
25
- !binary "Q29udGVudC1MZW5ndGg=":
26
- - !binary |-
27
- OTA=
19
+ Content-Type:
20
+ - application/json
21
+ Date:
22
+ - Mon, 01 Dec 2014 18:07:38 GMT
23
+ Content-Length:
24
+ - '90'
28
25
  body:
29
- encoding: US-ASCII
30
- string: ! '{"Id":"a3b2f62bdbfcc210f36c23bccd6332031f8351542033478e1ffc53deb67adaa8","Warnings":null}
31
-
32
- '
26
+ encoding: UTF-8
27
+ string: |
28
+ {"Id":"e6b7191f37a7b592f2156f726b16f9f7bc6471b920fac2c60271d846038e4367","Warnings":null}
33
29
  http_version:
34
- recorded_at: Mon, 27 Oct 2014 14:46:33 GMT
30
+ recorded_at: Mon, 01 Dec 2014 18:07:38 GMT
35
31
  - request:
36
32
  method: get
37
- uri: unix:///var/run/docker.sock/v1.12/containers/a3b2f62bdbfcc210f36c23bccd6332031f8351542033478e1ffc53deb67adaa8/logs
33
+ uri: "<DOCKER_HOST>/v1.15/containers/e6b7191f37a7b592f2156f726b16f9f7bc6471b920fac2c60271d846038e4367/logs"
38
34
  body:
39
35
  encoding: US-ASCII
40
36
  string: ''
41
37
  headers:
42
38
  User-Agent:
43
- - Swipely/Docker-API 1.13.6
39
+ - Swipely/Docker-API 1.15.0
44
40
  Content-Type:
45
41
  - text/plain
46
42
  response:
@@ -48,31 +44,27 @@ http_interactions:
48
44
  code: 400
49
45
  message:
50
46
  headers:
51
- !binary "Q29udGVudC1UeXBl":
52
- - !binary |-
53
- dGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOA==
54
- !binary "RGF0ZQ==":
55
- - !binary |-
56
- TW9uLCAyNyBPY3QgMjAxNCAxNDo0NjozMyBHTVQ=
57
- !binary "Q29udGVudC1MZW5ndGg=":
58
- - !binary |-
59
- NTI=
47
+ Content-Type:
48
+ - text/plain; charset=utf-8
49
+ Date:
50
+ - Mon, 01 Dec 2014 18:07:38 GMT
51
+ Content-Length:
52
+ - '52'
60
53
  body:
61
- encoding: US-ASCII
62
- string: ! 'Bad parameters: you must choose at least one stream
63
-
64
- '
54
+ encoding: UTF-8
55
+ string: |
56
+ Bad parameters: you must choose at least one stream
65
57
  http_version:
66
- recorded_at: Mon, 27 Oct 2014 14:46:33 GMT
58
+ recorded_at: Mon, 01 Dec 2014 18:07:38 GMT
67
59
  - request:
68
60
  method: get
69
- uri: unix:///var/run/docker.sock/v1.12/containers/a3b2f62bdbfcc210f36c23bccd6332031f8351542033478e1ffc53deb67adaa8/logs
61
+ uri: "<DOCKER_HOST>/v1.15/containers/e6b7191f37a7b592f2156f726b16f9f7bc6471b920fac2c60271d846038e4367/logs"
70
62
  body:
71
63
  encoding: US-ASCII
72
64
  string: ''
73
65
  headers:
74
66
  User-Agent:
75
- - Swipely/Docker-API 1.13.6
67
+ - Swipely/Docker-API 1.15.0
76
68
  Content-Type:
77
69
  - text/plain
78
70
  response:
@@ -80,31 +72,27 @@ http_interactions:
80
72
  code: 400
81
73
  message:
82
74
  headers:
83
- !binary "Q29udGVudC1UeXBl":
84
- - !binary |-
85
- dGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOA==
86
- !binary "RGF0ZQ==":
87
- - !binary |-
88
- TW9uLCAyNyBPY3QgMjAxNCAxNDo0NjozMyBHTVQ=
89
- !binary "Q29udGVudC1MZW5ndGg=":
90
- - !binary |-
91
- NTI=
75
+ Content-Type:
76
+ - text/plain; charset=utf-8
77
+ Date:
78
+ - Mon, 01 Dec 2014 18:07:38 GMT
79
+ Content-Length:
80
+ - '52'
92
81
  body:
93
- encoding: US-ASCII
94
- string: ! 'Bad parameters: you must choose at least one stream
95
-
96
- '
82
+ encoding: UTF-8
83
+ string: |
84
+ Bad parameters: you must choose at least one stream
97
85
  http_version:
98
- recorded_at: Mon, 27 Oct 2014 14:46:33 GMT
86
+ recorded_at: Mon, 01 Dec 2014 18:07:38 GMT
99
87
  - request:
100
88
  method: get
101
- uri: unix:///var/run/docker.sock/v1.12/containers/a3b2f62bdbfcc210f36c23bccd6332031f8351542033478e1ffc53deb67adaa8/logs
89
+ uri: "<DOCKER_HOST>/v1.15/containers/e6b7191f37a7b592f2156f726b16f9f7bc6471b920fac2c60271d846038e4367/logs"
102
90
  body:
103
91
  encoding: US-ASCII
104
92
  string: ''
105
93
  headers:
106
94
  User-Agent:
107
- - Swipely/Docker-API 1.13.6
95
+ - Swipely/Docker-API 1.15.0
108
96
  Content-Type:
109
97
  - text/plain
110
98
  response:
@@ -112,31 +100,27 @@ http_interactions:
112
100
  code: 400
113
101
  message:
114
102
  headers:
115
- !binary "Q29udGVudC1UeXBl":
116
- - !binary |-
117
- dGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOA==
118
- !binary "RGF0ZQ==":
119
- - !binary |-
120
- TW9uLCAyNyBPY3QgMjAxNCAxNDo0NjozMyBHTVQ=
121
- !binary "Q29udGVudC1MZW5ndGg=":
122
- - !binary |-
123
- NTI=
103
+ Content-Type:
104
+ - text/plain; charset=utf-8
105
+ Date:
106
+ - Mon, 01 Dec 2014 18:07:38 GMT
107
+ Content-Length:
108
+ - '52'
124
109
  body:
125
- encoding: US-ASCII
126
- string: ! 'Bad parameters: you must choose at least one stream
127
-
128
- '
110
+ encoding: UTF-8
111
+ string: |
112
+ Bad parameters: you must choose at least one stream
129
113
  http_version:
130
- recorded_at: Mon, 27 Oct 2014 14:46:33 GMT
114
+ recorded_at: Mon, 01 Dec 2014 18:07:38 GMT
131
115
  - request:
132
116
  method: get
133
- uri: unix:///var/run/docker.sock/v1.12/containers/a3b2f62bdbfcc210f36c23bccd6332031f8351542033478e1ffc53deb67adaa8/logs
117
+ uri: "<DOCKER_HOST>/v1.15/containers/e6b7191f37a7b592f2156f726b16f9f7bc6471b920fac2c60271d846038e4367/logs"
134
118
  body:
135
119
  encoding: US-ASCII
136
120
  string: ''
137
121
  headers:
138
122
  User-Agent:
139
- - Swipely/Docker-API 1.13.6
123
+ - Swipely/Docker-API 1.15.0
140
124
  Content-Type:
141
125
  - text/plain
142
126
  response:
@@ -144,20 +128,39 @@ http_interactions:
144
128
  code: 400
145
129
  message:
146
130
  headers:
147
- !binary "Q29udGVudC1UeXBl":
148
- - !binary |-
149
- dGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOA==
150
- !binary "RGF0ZQ==":
151
- - !binary |-
152
- TW9uLCAyNyBPY3QgMjAxNCAxNDo0NjozMyBHTVQ=
153
- !binary "Q29udGVudC1MZW5ndGg=":
154
- - !binary |-
155
- NTI=
131
+ Content-Type:
132
+ - text/plain; charset=utf-8
133
+ Date:
134
+ - Mon, 01 Dec 2014 18:07:38 GMT
135
+ Content-Length:
136
+ - '52'
137
+ body:
138
+ encoding: UTF-8
139
+ string: |
140
+ Bad parameters: you must choose at least one stream
141
+ http_version:
142
+ recorded_at: Mon, 01 Dec 2014 18:07:38 GMT
143
+ - request:
144
+ method: delete
145
+ uri: "<DOCKER_HOST>/v1.15/containers/e6b7191f37a7b592f2156f726b16f9f7bc6471b920fac2c60271d846038e4367"
156
146
  body:
157
147
  encoding: US-ASCII
158
- string: ! 'Bad parameters: you must choose at least one stream
159
-
160
- '
148
+ string: ''
149
+ headers:
150
+ User-Agent:
151
+ - Swipely/Docker-API 1.15.0
152
+ Content-Type:
153
+ - text/plain
154
+ response:
155
+ status:
156
+ code: 204
157
+ message:
158
+ headers:
159
+ Date:
160
+ - Mon, 01 Dec 2014 18:07:38 GMT
161
+ body:
162
+ encoding: UTF-8
163
+ string: ''
161
164
  http_version:
162
- recorded_at: Mon, 27 Oct 2014 14:46:33 GMT
163
- recorded_with: VCR 2.9.2
165
+ recorded_at: Mon, 01 Dec 2014 18:07:38 GMT
166
+ recorded_with: VCR 2.9.3