docker-api 1.18.0 → 1.19.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 (100) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +7 -7
  3. data/lib/docker/exec.rb +8 -2
  4. data/lib/docker/util.rb +11 -1
  5. data/lib/docker/version.rb +2 -2
  6. data/spec/docker/container_spec.rb +6 -5
  7. data/spec/docker/exec_spec.rb +29 -61
  8. data/spec/docker/image_spec.rb +8 -4
  9. data/spec/docker_spec.rb +4 -3
  10. data/spec/fixtures/build_from_dir/Dockerfile +1 -1
  11. data/spec/vcr/Docker/_authenticate_/with_valid_credentials/logs_in_and_sets_the_creds.yml +10 -9
  12. data/spec/vcr/Docker/_info/returns_the_info_as_a_Hash.yml +15 -9
  13. data/spec/vcr/Docker/_validate_version/when_nothing_is_raised/validate_version_/.yml +15 -9
  14. data/spec/vcr/Docker/_version/returns_the_version_as_a_Hash.yml +10 -9
  15. data/spec/vcr/Docker_Container/_all/when_the_HTTP_response_is_a_200/materializes_each_Container_into_a_Docker_Container.yml +45 -34
  16. data/spec/vcr/Docker_Container/_attach/with_normal_sized_chunks/yields_each_chunk.yml +31 -30
  17. data/spec/vcr/Docker_Container/_attach/with_very_small_chunks/yields_each_chunk.yml +31 -30
  18. data/spec/vcr/Docker_Container/_changes/returns_the_changes_as_an_array.yml +45 -42
  19. data/spec/vcr/Docker_Container/_commit/creates_a_new_Image_from_the_Container_s_changes.yml +66 -35
  20. data/spec/vcr/Docker_Container/_copy/when_the_file_does_not_exist/raises_an_error.yml +37 -35
  21. data/spec/vcr/Docker_Container/_copy/when_the_input_is_a_directory/yields_each_chunk_of_the_tarred_directory.yml +45 -43
  22. data/spec/vcr/Docker_Container/_copy/when_the_input_is_a_file/yields_each_chunk_of_the_tarred_file.yml +44 -42
  23. data/spec/vcr/Docker_Container/_create/when_creating_a_container_named_bob/should_have_name_set_to_bob.yml +24 -22
  24. data/spec/vcr/Docker_Container/_create/when_the_Container_does_not_yet_exist/when_the_HTTP_request_returns_a_200/sets_the_id.yml +15 -14
  25. data/spec/vcr/Docker_Container/_delete/deletes_the_container.yml +24 -22
  26. data/spec/vcr/Docker_Container/_exec/when_detach_is_true/returns_the_Docker_Exec_object.yml +68 -39
  27. data/spec/vcr/Docker_Container/_exec/when_passed_a_block/streams_the_stdout/stderr_messages.yml +68 -38
  28. data/spec/vcr/Docker_Container/_exec/when_passed_only_a_command/returns_the_stdout/stderr_messages_and_exit_code.yml +183 -0
  29. data/spec/vcr/Docker_Container/_exec/when_stdin_object_is_passed/returns_the_stdout/stderr_messages.yml +26 -25
  30. data/spec/vcr/Docker_Container/_exec/when_tty_is_true/returns_the_raw_stdout/stderr_output.yml +68 -38
  31. data/spec/vcr/Docker_Container/_export/yields_each_chunk.yml +85 -92
  32. data/spec/vcr/Docker_Container/_get/when_the_HTTP_response_is_a_200/materializes_the_Container_into_a_Docker_Container.yml +24 -22
  33. data/spec/vcr/Docker_Container/_json/returns_the_description_as_a_Hash.yml +24 -22
  34. data/spec/vcr/Docker_Container/_kill/kills_the_container.yml +48 -43
  35. data/spec/vcr/Docker_Container/_kill/with_a_kill_signal/kills_the_container.yml +83 -69
  36. data/spec/vcr/Docker_Container/_logs/when_not_selecting_any_stream/raises_a_client_error.yml +47 -42
  37. data/spec/vcr/Docker_Container/_logs/when_selecting_stdout/returns_blank_logs.yml +20 -19
  38. data/spec/vcr/Docker_Container/_pause/pauses_the_container.yml +45 -43
  39. data/spec/vcr/Docker_Container/_restart/restarts_the_container.yml +73 -65
  40. data/spec/vcr/Docker_Container/_run/when_the_Container_s_command_does_not_return_status_code_of_0/raises_an_error.yml +29 -27
  41. 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 +114 -102
  42. data/spec/vcr/Docker_Container/_start/starts_the_container.yml +42 -37
  43. data/spec/vcr/Docker_Container/_stop/stops_the_container.yml +49 -44
  44. data/spec/vcr/Docker_Container/_streaming_logs/when_not_selecting_any_stream/raises_a_client_error.yml +47 -42
  45. data/spec/vcr/Docker_Container/_streaming_logs/when_selecting_stdout/returns_blank_logs.yml +20 -19
  46. data/spec/vcr/Docker_Container/_top/returns_the_top_commands_as_an_Array.yml +54 -51
  47. data/spec/vcr/Docker_Container/_unpause/unpauses_the_container.yml +45 -43
  48. data/spec/vcr/Docker_Container/_wait/waits_for_the_command_to_finish.yml +29 -27
  49. data/spec/vcr/Docker_Container/_wait/when_an_argument_is_given/sets_the_read_timeout_to_that_amount_of_time.yml +29 -27
  50. data/spec/vcr/Docker_Exec/_create/when_the_HTTP_request_returns_a_201/sets_the_id.yml +35 -33
  51. data/spec/vcr/Docker_Exec/_json/returns_the_description_as_a_Hash.yml +207 -0
  52. data/spec/vcr/Docker_Exec/_start_/when_detach_is_set_to_false/block_is_passed/attaches_to_the_stream.yml +68 -38
  53. data/spec/vcr/Docker_Exec/_start_/when_detach_is_set_to_false/returns_the_stdout_and_stderr_messages.yml +68 -38
  54. data/spec/vcr/Docker_Exec/_start_/when_detach_is_set_to_true/returns_empty_stdout/stderr_messages_with_exitcode.yml +180 -0
  55. data/spec/vcr/Docker_Exec/_start_/when_the_HTTP_request_returns_a_201/starts_the_exec_instance.yml +67 -38
  56. data/spec/vcr/Docker_Exec/_start_/when_the_command_has_already_run/raises_an_error.yml +67 -38
  57. data/spec/vcr/Docker_Image/_all/materializes_each_Image_into_a_Docker_Image.yml +67 -87
  58. data/spec/vcr/Docker_Image/_build/with_a_valid_Dockerfile/with_a_block_capturing_build_output/calls_the_block_and_passes_build_output.yml +9 -9
  59. 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 +92 -107
  60. data/spec/vcr/Docker_Image/_build/with_a_valid_Dockerfile/without_query_parameters/builds_an_image.yml +9 -9
  61. data/spec/vcr/Docker_Image/_build/with_an_invalid_Dockerfile/throws_a_UnexpectedResponseError.yml +11 -9
  62. 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 +89 -38
  63. data/spec/vcr/Docker_Image/_build_from_dir/with_a_valid_Dockerfile/with_credentials_passed/sends_X-Registry-Config_header.yml +89 -38
  64. data/spec/vcr/Docker_Image/_build_from_dir/with_a_valid_Dockerfile/with_no_query_parameters/builds_the_image.yml +421 -51
  65. 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 +422 -140
  66. 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 +16 -16
  67. data/spec/vcr/Docker_Image/_create/with_a_block_capturing_create_output/calls_the_block_and_passes_build_output.yml +9 -7
  68. data/spec/vcr/Docker_Image/_exist_/when_the_image_does_exist/returns_true.yml +11 -9
  69. data/spec/vcr/Docker_Image/_get/when_the_image_does_exist/returns_the_new_image.yml +11 -9
  70. data/spec/vcr/Docker_Image/_history/returns_the_history_of_the_Image.yml +21 -18
  71. data/spec/vcr/Docker_Image/_import/when_the_argument_is_a_URI/when_the_URI_is_invalid/raises_an_error.yml +164 -35
  72. data/spec/vcr/Docker_Image/_import/when_the_argument_is_a_URI/when_the_URI_is_valid/returns_an_Image.yml +21 -23
  73. data/spec/vcr/Docker_Image/_import/when_the_file_does_exist/creates_the_Image.yml +15 -15
  74. data/spec/vcr/Docker_Image/_insert_local/when_a_direcory_is_passed/inserts_the_directory.yml +887 -840
  75. data/spec/vcr/Docker_Image/_insert_local/when_removing_intermediate_containers/creates_a_new_image.yml +76 -65
  76. data/spec/vcr/Docker_Image/_insert_local/when_removing_intermediate_containers/leave_no_intermediate_containers.yml +56 -48
  77. data/spec/vcr/Docker_Image/_insert_local/when_the_local_file_does_exist/creates_a_new_Image_that_has_that_file.yml +63 -61
  78. data/spec/vcr/Docker_Image/_insert_local/when_the_local_file_does_not_exist/raises_an_error.yml +9 -9
  79. data/spec/vcr/Docker_Image/_insert_local/when_there_are_multiple_files_passed/creates_a_new_Image_that_has_each_file.yml +69 -66
  80. data/spec/vcr/Docker_Image/_json/returns_additional_information_about_image_image.yml +19 -17
  81. data/spec/vcr/Docker_Image/_push/pushes_the_Image.yml +99 -113
  82. data/spec/vcr/Docker_Image/_push/streams_output_from_push.yml +100 -391
  83. data/spec/vcr/Docker_Image/_push/when_the_image_was_retrived_by_get/when_no_tag_is_specified/looks_up_the_first_repo_tag.yml +174 -708
  84. data/spec/vcr/Docker_Image/_push/when_there_are_no_credentials/still_pushes.yml +115 -110
  85. data/spec/vcr/Docker_Image/_refresh_/updates_the_info_hash.yml +77 -93
  86. data/spec/vcr/Docker_Image/_refresh_/with_an_explicit_connection/updates_using_the_provided_connection.yml +19 -17
  87. data/spec/vcr/Docker_Image/_remove/when_no_name_is_given/removes_the_Image.yml +581 -229
  88. data/spec/vcr/Docker_Image/_run/when_the_argument_is_a_String/splits_the_String_by_spaces_and_creates_a_new_Container.yml +52 -50
  89. data/spec/vcr/Docker_Image/_run/when_the_argument_is_an_Array/creates_a_new_Container.yml +42 -40
  90. 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 +52 -50
  91. 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 -15
  92. data/spec/vcr/Docker_Image/_save/calls_the_class_method.yml +42 -39
  93. data/spec/vcr/Docker_Image/_save/when_a_filename_is_specified/exports_tarball_of_image_to_specified_file.yml +51 -63
  94. data/spec/vcr/Docker_Image/_save/when_no_filename_is_specified/returns_raw_binary_data_as_string.yml +51 -63
  95. data/spec/vcr/Docker_Image/_search/materializes_each_Image_into_a_Docker_Image.yml +48 -209
  96. data/spec/vcr/Docker_Image/_tag/tags_the_image_with_the_repo_name.yml +22 -22
  97. metadata +8 -8
  98. data/spec/vcr/Docker_Container/_exec/when_passed_only_a_command/returns_the_stdout/stderr_messages.yml +0 -153
  99. data/spec/vcr/Docker_Exec/_resize/when_exec_instance_has_TTY_enabled/returns_a_200.yml +0 -155
  100. data/spec/vcr/Docker_Exec/_start_/when_detach_is_set_to_true/returns_empty_stdout_and_stderr_messages.yml +0 -151
@@ -2,13 +2,13 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: "<DOCKER_HOST>/v1.15/containers/create"
5
+ uri: <DOCKER_HOST>/v1.16/containers/create
6
6
  body:
7
7
  encoding: UTF-8
8
- string: '{"Cmd":["test","-d","/foo"],"Image":"debian:wheezy","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.15.0
11
+ - Swipely/Docker-API 1.18.0
12
12
  Content-Type:
13
13
  - application/json
14
14
  response:
@@ -19,24 +19,25 @@ http_interactions:
19
19
  Content-Type:
20
20
  - application/json
21
21
  Date:
22
- - Mon, 01 Dec 2014 18:07:53 GMT
22
+ - Thu, 12 Feb 2015 00:53:51 GMT
23
23
  Content-Length:
24
24
  - '90'
25
25
  body:
26
- encoding: UTF-8
27
- string: |
28
- {"Id":"3439b7bc173d2d93b51a12a98f76b7759e0edb82d60b0359c10cb57c39f872b7","Warnings":null}
26
+ encoding: US-ASCII
27
+ string: ! '{"Id":"eac2b5e1daa9efdfecfaadb5d5dd065f34c8a9b571f1ad0cd8c3e0ffc655de6c","Warnings":null}
28
+
29
+ '
29
30
  http_version:
30
- recorded_at: Mon, 01 Dec 2014 18:07:53 GMT
31
+ recorded_at: Thu, 12 Feb 2015 00:53:51 GMT
31
32
  - request:
32
33
  method: post
33
- uri: "<DOCKER_HOST>/v1.15/containers/3439b7bc173d2d93b51a12a98f76b7759e0edb82d60b0359c10cb57c39f872b7/start"
34
+ uri: <DOCKER_HOST>/v1.16/containers/eac2b5e1daa9efdfecfaadb5d5dd065f34c8a9b571f1ad0cd8c3e0ffc655de6c/start
34
35
  body:
35
36
  encoding: UTF-8
36
- string: '{"Binds":["/tmp:/foo"]}'
37
+ string: ! '{"Binds":["/tmp:/foo"]}'
37
38
  headers:
38
39
  User-Agent:
39
- - Swipely/Docker-API 1.15.0
40
+ - Swipely/Docker-API 1.18.0
40
41
  Content-Type:
41
42
  - application/json
42
43
  response:
@@ -45,21 +46,21 @@ http_interactions:
45
46
  message:
46
47
  headers:
47
48
  Date:
48
- - Mon, 01 Dec 2014 18:07:53 GMT
49
+ - Thu, 12 Feb 2015 00:53:51 GMT
49
50
  body:
50
- encoding: UTF-8
51
+ encoding: US-ASCII
51
52
  string: ''
52
53
  http_version:
53
- recorded_at: Mon, 01 Dec 2014 18:07:53 GMT
54
+ recorded_at: Thu, 12 Feb 2015 00:53:51 GMT
54
55
  - request:
55
56
  method: get
56
- uri: "<DOCKER_HOST>/v1.15/containers/json"
57
+ uri: <DOCKER_HOST>/v1.16/containers/json
57
58
  body:
58
59
  encoding: US-ASCII
59
60
  string: ''
60
61
  headers:
61
62
  User-Agent:
62
- - Swipely/Docker-API 1.15.0
63
+ - Swipely/Docker-API 1.18.0
63
64
  Content-Type:
64
65
  - text/plain
65
66
  response:
@@ -70,26 +71,29 @@ http_interactions:
70
71
  Content-Type:
71
72
  - application/json
72
73
  Date:
73
- - Mon, 01 Dec 2014 18:07:53 GMT
74
+ - Thu, 12 Feb 2015 00:53:51 GMT
74
75
  Content-Length:
75
- - '495'
76
+ - '491'
76
77
  body:
77
- encoding: UTF-8
78
- string: |-
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"}
81
- ]
78
+ encoding: US-ASCII
79
+ string: ! '[{"Command":"test -d /foo","Created":1423702431,"Id":"eac2b5e1daa9efdfecfaadb5d5dd065f34c8a9b571f1ad0cd8c3e0ffc655de6c","Image":"debian:wheezy","Names":["/insane_leakey"],"Ports":[],"Status":"Up
80
+ Less than a second"}
81
+
82
+ ,{"Command":"docker-registry","Created":1423702401,"Id":"7495fa1e6c231934f42eb34525f24a052af2a7a43ae9c85051636428a62a40ba","Image":"registry:latest","Names":["/registry"],"Ports":[{"IP":"0.0.0.0","PrivatePort":5000,"PublicPort":5000,"Type":"tcp"}],"Status":"Up
83
+ 29 seconds"}
84
+
85
+ ]'
82
86
  http_version:
83
- recorded_at: Mon, 01 Dec 2014 18:07:53 GMT
87
+ recorded_at: Thu, 12 Feb 2015 00:53:51 GMT
84
88
  - request:
85
89
  method: post
86
- uri: "<DOCKER_HOST>/v1.15/containers/3439b7bc173d2d93b51a12a98f76b7759e0edb82d60b0359c10cb57c39f872b7/wait"
90
+ uri: <DOCKER_HOST>/v1.16/containers/eac2b5e1daa9efdfecfaadb5d5dd065f34c8a9b571f1ad0cd8c3e0ffc655de6c/wait
87
91
  body:
88
92
  encoding: US-ASCII
89
93
  string: ''
90
94
  headers:
91
95
  User-Agent:
92
- - Swipely/Docker-API 1.15.0
96
+ - Swipely/Docker-API 1.18.0
93
97
  Content-Type:
94
98
  - text/plain
95
99
  response:
@@ -100,24 +104,25 @@ http_interactions:
100
104
  Content-Type:
101
105
  - application/json
102
106
  Date:
103
- - Mon, 01 Dec 2014 18:07:53 GMT
107
+ - Thu, 12 Feb 2015 00:53:51 GMT
104
108
  Content-Length:
105
109
  - '17'
106
110
  body:
107
- encoding: UTF-8
108
- string: |
109
- {"StatusCode":0}
111
+ encoding: US-ASCII
112
+ string: ! '{"StatusCode":0}
113
+
114
+ '
110
115
  http_version:
111
- recorded_at: Mon, 01 Dec 2014 18:07:53 GMT
116
+ recorded_at: Thu, 12 Feb 2015 00:53:51 GMT
112
117
  - request:
113
118
  method: delete
114
- uri: "<DOCKER_HOST>/v1.15/containers/3439b7bc173d2d93b51a12a98f76b7759e0edb82d60b0359c10cb57c39f872b7"
119
+ uri: <DOCKER_HOST>/v1.16/containers/eac2b5e1daa9efdfecfaadb5d5dd065f34c8a9b571f1ad0cd8c3e0ffc655de6c
115
120
  body:
116
121
  encoding: US-ASCII
117
122
  string: ''
118
123
  headers:
119
124
  User-Agent:
120
- - Swipely/Docker-API 1.15.0
125
+ - Swipely/Docker-API 1.18.0
121
126
  Content-Type:
122
127
  - text/plain
123
128
  response:
@@ -126,10 +131,10 @@ http_interactions:
126
131
  message:
127
132
  headers:
128
133
  Date:
129
- - Mon, 01 Dec 2014 18:07:53 GMT
134
+ - Thu, 12 Feb 2015 00:53:52 GMT
130
135
  body:
131
- encoding: UTF-8
136
+ encoding: US-ASCII
132
137
  string: ''
133
138
  http_version:
134
- recorded_at: Mon, 01 Dec 2014 18:07:53 GMT
135
- recorded_with: VCR 2.9.3
139
+ recorded_at: Thu, 12 Feb 2015 00:53:52 GMT
140
+ recorded_with: VCR 2.9.2
@@ -2,13 +2,13 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: "<DOCKER_HOST>/v1.15/containers/create"
5
+ uri: <DOCKER_HOST>/v1.16/containers/create
6
6
  body:
7
7
  encoding: UTF-8
8
- string: '{"Cmd":["true"],"Image":"debian:wheezy"}'
8
+ string: ! '{"Cmd":["true"],"Image":"debian:wheezy"}'
9
9
  headers:
10
10
  User-Agent:
11
- - Swipely/Docker-API 1.15.0
11
+ - Swipely/Docker-API 1.18.0
12
12
  Content-Type:
13
13
  - application/json
14
14
  response:
@@ -19,24 +19,25 @@ http_interactions:
19
19
  Content-Type:
20
20
  - application/json
21
21
  Date:
22
- - Mon, 01 Dec 2014 18:07:54 GMT
22
+ - Thu, 12 Feb 2015 00:53:52 GMT
23
23
  Content-Length:
24
24
  - '90'
25
25
  body:
26
- encoding: UTF-8
27
- string: |
28
- {"Id":"7d1d8ec8182f78f545f2a685230e62db82327f9be8a10d247465c982591cb5d1","Warnings":null}
26
+ encoding: US-ASCII
27
+ string: ! '{"Id":"a1d81eb768906a84dfd4ca06606d857269d6478595d023137895788b476fe174","Warnings":null}
28
+
29
+ '
29
30
  http_version:
30
- recorded_at: Mon, 01 Dec 2014 18:07:54 GMT
31
+ recorded_at: Thu, 12 Feb 2015 00:53:52 GMT
31
32
  - request:
32
33
  method: post
33
- uri: "<DOCKER_HOST>/v1.15/containers/7d1d8ec8182f78f545f2a685230e62db82327f9be8a10d247465c982591cb5d1/start"
34
+ uri: <DOCKER_HOST>/v1.16/containers/a1d81eb768906a84dfd4ca06606d857269d6478595d023137895788b476fe174/start
34
35
  body:
35
36
  encoding: UTF-8
36
- string: "{}"
37
+ string: ! '{}'
37
38
  headers:
38
39
  User-Agent:
39
- - Swipely/Docker-API 1.15.0
40
+ - Swipely/Docker-API 1.18.0
40
41
  Content-Type:
41
42
  - application/json
42
43
  response:
@@ -45,21 +46,21 @@ http_interactions:
45
46
  message:
46
47
  headers:
47
48
  Date:
48
- - Mon, 01 Dec 2014 18:07:54 GMT
49
+ - Thu, 12 Feb 2015 00:53:52 GMT
49
50
  body:
50
- encoding: UTF-8
51
+ encoding: US-ASCII
51
52
  string: ''
52
53
  http_version:
53
- recorded_at: Mon, 01 Dec 2014 18:07:54 GMT
54
+ recorded_at: Thu, 12 Feb 2015 00:53:52 GMT
54
55
  - request:
55
56
  method: post
56
- uri: "<DOCKER_HOST>/v1.15/containers/7d1d8ec8182f78f545f2a685230e62db82327f9be8a10d247465c982591cb5d1/stop?t=10"
57
+ uri: <DOCKER_HOST>/v1.16/containers/a1d81eb768906a84dfd4ca06606d857269d6478595d023137895788b476fe174/stop?t=10
57
58
  body:
58
59
  encoding: UTF-8
59
- string: "{}"
60
+ string: ! '{}'
60
61
  headers:
61
62
  User-Agent:
62
- - Swipely/Docker-API 1.15.0
63
+ - Swipely/Docker-API 1.18.0
63
64
  Content-Type:
64
65
  - application/json
65
66
  response:
@@ -68,21 +69,21 @@ http_interactions:
68
69
  message:
69
70
  headers:
70
71
  Date:
71
- - Mon, 01 Dec 2014 18:07:54 GMT
72
+ - Thu, 12 Feb 2015 00:53:52 GMT
72
73
  body:
73
- encoding: UTF-8
74
+ encoding: US-ASCII
74
75
  string: ''
75
76
  http_version:
76
- recorded_at: Mon, 01 Dec 2014 18:07:54 GMT
77
+ recorded_at: Thu, 12 Feb 2015 00:53:52 GMT
77
78
  - request:
78
79
  method: get
79
- uri: "<DOCKER_HOST>/v1.15/containers/json?all=true"
80
+ uri: <DOCKER_HOST>/v1.16/containers/json?all=true
80
81
  body:
81
82
  encoding: US-ASCII
82
83
  string: ''
83
84
  headers:
84
85
  User-Agent:
85
- - Swipely/Docker-API 1.15.0
86
+ - Swipely/Docker-API 1.18.0
86
87
  Content-Type:
87
88
  - text/plain
88
89
  response:
@@ -93,26 +94,29 @@ http_interactions:
93
94
  Content-Type:
94
95
  - application/json
95
96
  Date:
96
- - Mon, 01 Dec 2014 18:07:54 GMT
97
+ - Thu, 12 Feb 2015 00:53:52 GMT
97
98
  Content-Length:
98
- - '495'
99
+ - '497'
99
100
  body:
100
- encoding: UTF-8
101
- string: |-
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"}
104
- ]
101
+ encoding: US-ASCII
102
+ string: ! '[{"Command":"true","Created":1423702432,"Id":"a1d81eb768906a84dfd4ca06606d857269d6478595d023137895788b476fe174","Image":"debian:wheezy","Names":["/thirsty_hawking"],"Ports":[],"Status":"Exited
103
+ (0) Less than a second ago"}
104
+
105
+ ,{"Command":"docker-registry","Created":1423702401,"Id":"7495fa1e6c231934f42eb34525f24a052af2a7a43ae9c85051636428a62a40ba","Image":"registry:latest","Names":["/registry"],"Ports":[{"IP":"0.0.0.0","PrivatePort":5000,"PublicPort":5000,"Type":"tcp"}],"Status":"Up
106
+ 30 seconds"}
107
+
108
+ ]'
105
109
  http_version:
106
- recorded_at: Mon, 01 Dec 2014 18:07:54 GMT
110
+ recorded_at: Thu, 12 Feb 2015 00:53:52 GMT
107
111
  - request:
108
112
  method: get
109
- uri: "<DOCKER_HOST>/v1.15/containers/json"
113
+ uri: <DOCKER_HOST>/v1.16/containers/json
110
114
  body:
111
115
  encoding: US-ASCII
112
116
  string: ''
113
117
  headers:
114
118
  User-Agent:
115
- - Swipely/Docker-API 1.15.0
119
+ - Swipely/Docker-API 1.18.0
116
120
  Content-Type:
117
121
  - text/plain
118
122
  response:
@@ -123,25 +127,26 @@ http_interactions:
123
127
  Content-Type:
124
128
  - application/json
125
129
  Date:
126
- - Mon, 01 Dec 2014 18:07:54 GMT
130
+ - Thu, 12 Feb 2015 00:53:52 GMT
127
131
  Content-Length:
128
132
  - '275'
129
133
  body:
130
- encoding: UTF-8
131
- string: |-
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"}
133
- ]
134
+ encoding: US-ASCII
135
+ string: ! '[{"Command":"docker-registry","Created":1423702401,"Id":"7495fa1e6c231934f42eb34525f24a052af2a7a43ae9c85051636428a62a40ba","Image":"registry:latest","Names":["/registry"],"Ports":[{"IP":"0.0.0.0","PrivatePort":5000,"PublicPort":5000,"Type":"tcp"}],"Status":"Up
136
+ 30 seconds"}
137
+
138
+ ]'
134
139
  http_version:
135
- recorded_at: Mon, 01 Dec 2014 18:07:54 GMT
140
+ recorded_at: Thu, 12 Feb 2015 00:53:52 GMT
136
141
  - request:
137
142
  method: delete
138
- uri: "<DOCKER_HOST>/v1.15/containers/7d1d8ec8182f78f545f2a685230e62db82327f9be8a10d247465c982591cb5d1"
143
+ uri: <DOCKER_HOST>/v1.16/containers/a1d81eb768906a84dfd4ca06606d857269d6478595d023137895788b476fe174
139
144
  body:
140
145
  encoding: US-ASCII
141
146
  string: ''
142
147
  headers:
143
148
  User-Agent:
144
- - Swipely/Docker-API 1.15.0
149
+ - Swipely/Docker-API 1.18.0
145
150
  Content-Type:
146
151
  - text/plain
147
152
  response:
@@ -150,10 +155,10 @@ http_interactions:
150
155
  message:
151
156
  headers:
152
157
  Date:
153
- - Mon, 01 Dec 2014 18:07:54 GMT
158
+ - Thu, 12 Feb 2015 00:53:53 GMT
154
159
  body:
155
- encoding: UTF-8
160
+ encoding: US-ASCII
156
161
  string: ''
157
162
  http_version:
158
- recorded_at: Mon, 01 Dec 2014 18:07:54 GMT
159
- recorded_with: VCR 2.9.3
163
+ recorded_at: Thu, 12 Feb 2015 00:53:53 GMT
164
+ recorded_with: VCR 2.9.2
@@ -2,13 +2,13 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: "<DOCKER_HOST>/v1.15/containers/create"
5
+ uri: <DOCKER_HOST>/v1.16/containers/create
6
6
  body:
7
7
  encoding: UTF-8
8
- string: '{"Cmd":"echo hello","Image":"debian:wheezy"}'
8
+ string: ! '{"Cmd":"echo hello","Image":"debian:wheezy"}'
9
9
  headers:
10
10
  User-Agent:
11
- - Swipely/Docker-API 1.15.0
11
+ - Swipely/Docker-API 1.18.0
12
12
  Content-Type:
13
13
  - application/json
14
14
  response:
@@ -19,24 +19,25 @@ http_interactions:
19
19
  Content-Type:
20
20
  - application/json
21
21
  Date:
22
- - Mon, 01 Dec 2014 18:07:38 GMT
22
+ - Thu, 12 Feb 2015 00:53:24 GMT
23
23
  Content-Length:
24
24
  - '90'
25
25
  body:
26
- encoding: UTF-8
27
- string: |
28
- {"Id":"e6b7191f37a7b592f2156f726b16f9f7bc6471b920fac2c60271d846038e4367","Warnings":null}
26
+ encoding: US-ASCII
27
+ string: ! '{"Id":"03de1b78ad9454aeb26ec0e48637c58e756be7813aea3e3fa60a1cea3965ce75","Warnings":null}
28
+
29
+ '
29
30
  http_version:
30
- recorded_at: Mon, 01 Dec 2014 18:07:38 GMT
31
+ recorded_at: Thu, 12 Feb 2015 00:53:24 GMT
31
32
  - request:
32
33
  method: get
33
- uri: "<DOCKER_HOST>/v1.15/containers/e6b7191f37a7b592f2156f726b16f9f7bc6471b920fac2c60271d846038e4367/logs"
34
+ uri: <DOCKER_HOST>/v1.16/containers/03de1b78ad9454aeb26ec0e48637c58e756be7813aea3e3fa60a1cea3965ce75/logs
34
35
  body:
35
36
  encoding: US-ASCII
36
37
  string: ''
37
38
  headers:
38
39
  User-Agent:
39
- - Swipely/Docker-API 1.15.0
40
+ - Swipely/Docker-API 1.18.0
40
41
  Content-Type:
41
42
  - text/plain
42
43
  response:
@@ -47,24 +48,25 @@ http_interactions:
47
48
  Content-Type:
48
49
  - text/plain; charset=utf-8
49
50
  Date:
50
- - Mon, 01 Dec 2014 18:07:38 GMT
51
+ - Thu, 12 Feb 2015 00:53:24 GMT
51
52
  Content-Length:
52
53
  - '52'
53
54
  body:
54
- encoding: UTF-8
55
- string: |
56
- Bad parameters: you must choose at least one stream
55
+ encoding: US-ASCII
56
+ string: ! 'Bad parameters: you must choose at least one stream
57
+
58
+ '
57
59
  http_version:
58
- recorded_at: Mon, 01 Dec 2014 18:07:38 GMT
60
+ recorded_at: Thu, 12 Feb 2015 00:53:24 GMT
59
61
  - request:
60
62
  method: get
61
- uri: "<DOCKER_HOST>/v1.15/containers/e6b7191f37a7b592f2156f726b16f9f7bc6471b920fac2c60271d846038e4367/logs"
63
+ uri: <DOCKER_HOST>/v1.16/containers/03de1b78ad9454aeb26ec0e48637c58e756be7813aea3e3fa60a1cea3965ce75/logs
62
64
  body:
63
65
  encoding: US-ASCII
64
66
  string: ''
65
67
  headers:
66
68
  User-Agent:
67
- - Swipely/Docker-API 1.15.0
69
+ - Swipely/Docker-API 1.18.0
68
70
  Content-Type:
69
71
  - text/plain
70
72
  response:
@@ -75,24 +77,25 @@ http_interactions:
75
77
  Content-Type:
76
78
  - text/plain; charset=utf-8
77
79
  Date:
78
- - Mon, 01 Dec 2014 18:07:38 GMT
80
+ - Thu, 12 Feb 2015 00:53:24 GMT
79
81
  Content-Length:
80
82
  - '52'
81
83
  body:
82
- encoding: UTF-8
83
- string: |
84
- Bad parameters: you must choose at least one stream
84
+ encoding: US-ASCII
85
+ string: ! 'Bad parameters: you must choose at least one stream
86
+
87
+ '
85
88
  http_version:
86
- recorded_at: Mon, 01 Dec 2014 18:07:38 GMT
89
+ recorded_at: Thu, 12 Feb 2015 00:53:24 GMT
87
90
  - request:
88
91
  method: get
89
- uri: "<DOCKER_HOST>/v1.15/containers/e6b7191f37a7b592f2156f726b16f9f7bc6471b920fac2c60271d846038e4367/logs"
92
+ uri: <DOCKER_HOST>/v1.16/containers/03de1b78ad9454aeb26ec0e48637c58e756be7813aea3e3fa60a1cea3965ce75/logs
90
93
  body:
91
94
  encoding: US-ASCII
92
95
  string: ''
93
96
  headers:
94
97
  User-Agent:
95
- - Swipely/Docker-API 1.15.0
98
+ - Swipely/Docker-API 1.18.0
96
99
  Content-Type:
97
100
  - text/plain
98
101
  response:
@@ -103,24 +106,25 @@ http_interactions:
103
106
  Content-Type:
104
107
  - text/plain; charset=utf-8
105
108
  Date:
106
- - Mon, 01 Dec 2014 18:07:38 GMT
109
+ - Thu, 12 Feb 2015 00:53:24 GMT
107
110
  Content-Length:
108
111
  - '52'
109
112
  body:
110
- encoding: UTF-8
111
- string: |
112
- Bad parameters: you must choose at least one stream
113
+ encoding: US-ASCII
114
+ string: ! 'Bad parameters: you must choose at least one stream
115
+
116
+ '
113
117
  http_version:
114
- recorded_at: Mon, 01 Dec 2014 18:07:38 GMT
118
+ recorded_at: Thu, 12 Feb 2015 00:53:24 GMT
115
119
  - request:
116
120
  method: get
117
- uri: "<DOCKER_HOST>/v1.15/containers/e6b7191f37a7b592f2156f726b16f9f7bc6471b920fac2c60271d846038e4367/logs"
121
+ uri: <DOCKER_HOST>/v1.16/containers/03de1b78ad9454aeb26ec0e48637c58e756be7813aea3e3fa60a1cea3965ce75/logs
118
122
  body:
119
123
  encoding: US-ASCII
120
124
  string: ''
121
125
  headers:
122
126
  User-Agent:
123
- - Swipely/Docker-API 1.15.0
127
+ - Swipely/Docker-API 1.18.0
124
128
  Content-Type:
125
129
  - text/plain
126
130
  response:
@@ -131,24 +135,25 @@ http_interactions:
131
135
  Content-Type:
132
136
  - text/plain; charset=utf-8
133
137
  Date:
134
- - Mon, 01 Dec 2014 18:07:38 GMT
138
+ - Thu, 12 Feb 2015 00:53:24 GMT
135
139
  Content-Length:
136
140
  - '52'
137
141
  body:
138
- encoding: UTF-8
139
- string: |
140
- Bad parameters: you must choose at least one stream
142
+ encoding: US-ASCII
143
+ string: ! 'Bad parameters: you must choose at least one stream
144
+
145
+ '
141
146
  http_version:
142
- recorded_at: Mon, 01 Dec 2014 18:07:38 GMT
147
+ recorded_at: Thu, 12 Feb 2015 00:53:24 GMT
143
148
  - request:
144
149
  method: delete
145
- uri: "<DOCKER_HOST>/v1.15/containers/e6b7191f37a7b592f2156f726b16f9f7bc6471b920fac2c60271d846038e4367"
150
+ uri: <DOCKER_HOST>/v1.16/containers/03de1b78ad9454aeb26ec0e48637c58e756be7813aea3e3fa60a1cea3965ce75
146
151
  body:
147
152
  encoding: US-ASCII
148
153
  string: ''
149
154
  headers:
150
155
  User-Agent:
151
- - Swipely/Docker-API 1.15.0
156
+ - Swipely/Docker-API 1.18.0
152
157
  Content-Type:
153
158
  - text/plain
154
159
  response:
@@ -157,10 +162,10 @@ http_interactions:
157
162
  message:
158
163
  headers:
159
164
  Date:
160
- - Mon, 01 Dec 2014 18:07:38 GMT
165
+ - Thu, 12 Feb 2015 00:53:25 GMT
161
166
  body:
162
- encoding: UTF-8
167
+ encoding: US-ASCII
163
168
  string: ''
164
169
  http_version:
165
- recorded_at: Mon, 01 Dec 2014 18:07:38 GMT
166
- recorded_with: VCR 2.9.3
170
+ recorded_at: Thu, 12 Feb 2015 00:53:25 GMT
171
+ recorded_with: VCR 2.9.2