docker-api 1.23.0 → 1.24.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (109) hide show
  1. checksums.yaml +4 -4
  2. data/.cane +1 -1
  3. data/.rspec +1 -0
  4. data/.travis.yml +7 -6
  5. data/Dockerfile +2 -0
  6. data/README.md +5 -5
  7. data/Rakefile +26 -31
  8. data/TESTING.md +7 -19
  9. data/docker-api.gemspec +0 -1
  10. data/lib/docker/image.rb +6 -2
  11. data/lib/docker/version.rb +1 -1
  12. data/spec/docker/container_spec.rb +72 -92
  13. data/spec/docker/event_spec.rb +33 -23
  14. data/spec/docker/exec_spec.rb +9 -24
  15. data/spec/docker/image_spec.rb +75 -81
  16. data/spec/docker_spec.rb +21 -32
  17. metadata +4 -200
  18. data/spec/support/vcr.rb +0 -14
  19. data/spec/vcr/Docker/_authenticate_/with_valid_credentials/logs_in_and_sets_the_creds.yml +0 -32
  20. data/spec/vcr/Docker/_info/returns_the_info_as_a_Hash.yml +0 -39
  21. data/spec/vcr/Docker/_validate_version/when_nothing_is_raised/validate_version_/.yml +0 -39
  22. data/spec/vcr/Docker/_version/returns_the_version_as_a_Hash.yml +0 -34
  23. data/spec/vcr/Docker_Container/_all/when_the_HTTP_response_is_a_200/materializes_each_Container_into_a_Docker_Container.yml +0 -125
  24. data/spec/vcr/Docker_Container/_attach/with_normal_sized_chunks/yields_each_chunk.yml +0 -125
  25. data/spec/vcr/Docker_Container/_attach/with_very_small_chunks/yields_each_chunk.yml +0 -125
  26. data/spec/vcr/Docker_Container/_changes/returns_the_changes_as_an_array.yml +0 -165
  27. data/spec/vcr/Docker_Container/_commit/creates_a_new_Image_from_the_Container_s_changes.yml +0 -165
  28. data/spec/vcr/Docker_Container/_copy/when_the_file_does_not_exist/raises_an_error.yml +0 -136
  29. data/spec/vcr/Docker_Container/_copy/when_the_input_is_a_directory/yields_each_chunk_of_the_tarred_directory.yml +0 -241
  30. data/spec/vcr/Docker_Container/_copy/when_the_input_is_a_file/yields_each_chunk_of_the_tarred_file.yml +0 -198
  31. data/spec/vcr/Docker_Container/_create/when_creating_a_container_named_bob/should_have_name_set_to_bob.yml +0 -84
  32. data/spec/vcr/Docker_Container/_create/when_the_Container_does_not_yet_exist/when_the_HTTP_request_returns_a_200/sets_the_id.yml +0 -55
  33. data/spec/vcr/Docker_Container/_delete/deletes_the_container.yml +0 -85
  34. data/spec/vcr/Docker_Container/_exec/when_detach_is_true/returns_the_Docker_Exec_object.yml +0 -180
  35. data/spec/vcr/Docker_Container/_exec/when_passed_a_block/streams_the_stdout/stderr_messages.yml +0 -183
  36. data/spec/vcr/Docker_Container/_exec/when_passed_only_a_command/returns_the_stdout/stderr_messages_and_exit_code.yml +0 -183
  37. data/spec/vcr/Docker_Container/_exec/when_stdin_object_is_passed/returns_the_stdout/stderr_messages.yml +0 -101
  38. data/spec/vcr/Docker_Container/_exec/when_tty_is_true/returns_the_raw_stdout/stderr_output.yml +0 -182
  39. data/spec/vcr/Docker_Container/_export/yields_each_chunk.yml +0 -333
  40. data/spec/vcr/Docker_Container/_get/when_the_HTTP_response_is_a_200/materializes_the_Container_into_a_Docker_Container.yml +0 -84
  41. data/spec/vcr/Docker_Container/_json/returns_the_description_as_a_Hash.yml +0 -84
  42. data/spec/vcr/Docker_Container/_kill/kills_the_container.yml +0 -164
  43. data/spec/vcr/Docker_Container/_kill/with_a_kill_signal/kills_the_container.yml +0 -257
  44. data/spec/vcr/Docker_Container/_logs/when_not_selecting_any_stream/raises_a_client_error.yml +0 -171
  45. data/spec/vcr/Docker_Container/_logs/when_selecting_stdout/returns_blank_logs.yml +0 -82
  46. data/spec/vcr/Docker_Container/_pause/pauses_the_container.yml +0 -176
  47. data/spec/vcr/Docker_Container/_rename/renames_the_container.yml +0 -149
  48. data/spec/vcr/Docker_Container/_restart/restarts_the_container.yml +0 -243
  49. data/spec/vcr/Docker_Container/_run/when_the_Container_s_command_does_not_return_status_code_of_0/raises_an_error.yml +0 -107
  50. 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 +0 -392
  51. data/spec/vcr/Docker_Container/_start/starts_the_container.yml +0 -140
  52. data/spec/vcr/Docker_Container/_stop/stops_the_container.yml +0 -164
  53. data/spec/vcr/Docker_Container/_streaming_logs/when_not_selecting_any_stream/raises_a_client_error.yml +0 -217
  54. data/spec/vcr/Docker_Container/_streaming_logs/when_passing_a_block/returns_hello_.yml +0 -131
  55. data/spec/vcr/Docker_Container/_streaming_logs/when_selecting_stdout/returns_blank_logs.yml +0 -131
  56. data/spec/vcr/Docker_Container/_streaming_logs/when_using_a_tty/returns_hello_.yml +0 -131
  57. data/spec/vcr/Docker_Container/_top/returns_the_top_commands_as_an_Array.yml +0 -194
  58. data/spec/vcr/Docker_Container/_unpause/unpauses_the_container.yml +0 -176
  59. data/spec/vcr/Docker_Container/_wait/waits_for_the_command_to_finish.yml +0 -107
  60. data/spec/vcr/Docker_Container/_wait/when_an_argument_is_given/sets_the_read_timeout_to_that_amount_of_time.yml +0 -107
  61. data/spec/vcr/Docker_Exec/_create/when_the_HTTP_request_returns_a_201/sets_the_id.yml +0 -130
  62. data/spec/vcr/Docker_Exec/_json/returns_the_description_as_a_Hash.yml +0 -207
  63. data/spec/vcr/Docker_Exec/_start_/when_detach_is_set_to_false/block_is_passed/attaches_to_the_stream.yml +0 -182
  64. data/spec/vcr/Docker_Exec/_start_/when_detach_is_set_to_false/returns_the_stdout_and_stderr_messages.yml +0 -182
  65. data/spec/vcr/Docker_Exec/_start_/when_detach_is_set_to_true/returns_empty_stdout/stderr_messages_with_exitcode.yml +0 -180
  66. data/spec/vcr/Docker_Exec/_start_/when_the_HTTP_request_returns_a_201/starts_the_exec_instance.yml +0 -180
  67. data/spec/vcr/Docker_Exec/_start_/when_the_command_has_already_run/raises_an_error.yml +0 -180
  68. data/spec/vcr/Docker_Exec/_start_/when_wait_set_long_time_value/returns_empty_stdout_and_stderr_messages_with_exitcode.yml +0 -189
  69. data/spec/vcr/Docker_Image/_all/materializes_each_Image_into_a_Docker_Image.yml +0 -111
  70. data/spec/vcr/Docker_Image/_build/with_a_valid_Dockerfile/with_a_block_capturing_build_output/calls_the_block_and_passes_build_output.yml +0 -75
  71. 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 +0 -219
  72. data/spec/vcr/Docker_Image/_build/with_a_valid_Dockerfile/without_query_parameters/builds_an_image.yml +0 -75
  73. data/spec/vcr/Docker_Image/_build/with_an_invalid_Dockerfile/throws_a_UnexpectedResponseError.yml +0 -79
  74. 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 +0 -194
  75. data/spec/vcr/Docker_Image/_build_from_dir/with_a_valid_Dockerfile/with_a_block_capturing_build_output/uses_a_cached_version_the_second_time/calls_the_block_and_passes_build_output.yml +0 -96
  76. data/spec/vcr/Docker_Image/_build_from_dir/with_a_valid_Dockerfile/with_credentials_passed/sends_X-Registry-Config_header.yml +0 -194
  77. data/spec/vcr/Docker_Image/_build_from_dir/with_a_valid_Dockerfile/with_no_query_parameters/builds_the_image.yml +0 -562
  78. 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 +0 -601
  79. 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 +0 -65
  80. data/spec/vcr/Docker_Image/_create/with_a_block_capturing_create_output/calls_the_block_and_passes_build_output.yml +0 -38
  81. data/spec/vcr/Docker_Image/_exist_/when_the_image_does_exist/returns_true.yml +0 -33
  82. data/spec/vcr/Docker_Image/_get/when_the_image_does_exist/returns_the_new_image.yml +0 -33
  83. data/spec/vcr/Docker_Image/_history/returns_the_history_of_the_Image.yml +0 -66
  84. data/spec/vcr/Docker_Image/_import/when_the_argument_is_a_URI/when_the_URI_is_invalid/raises_an_error.yml +0 -265
  85. data/spec/vcr/Docker_Image/_import/when_the_argument_is_a_URI/when_the_URI_is_valid/returns_an_Image.yml +0 -303
  86. data/spec/vcr/Docker_Image/_import/when_the_file_does_exist/creates_the_Image.yml +0 -59
  87. data/spec/vcr/Docker_Image/_insert_local/when_a_direcory_is_passed/inserts_the_directory.yml +0 -1469
  88. data/spec/vcr/Docker_Image/_insert_local/when_removing_intermediate_containers/creates_a_new_image.yml +0 -244
  89. data/spec/vcr/Docker_Image/_insert_local/when_removing_intermediate_containers/leave_no_intermediate_containers.yml +0 -224
  90. data/spec/vcr/Docker_Image/_insert_local/when_the_local_file_does_exist/creates_a_new_Image_that_has_that_file.yml +0 -289
  91. data/spec/vcr/Docker_Image/_insert_local/when_the_local_file_does_not_exist/raises_an_error.yml +0 -32
  92. data/spec/vcr/Docker_Image/_insert_local/when_there_are_multiple_files_passed/creates_a_new_Image_that_has_each_file.yml +0 -366
  93. data/spec/vcr/Docker_Image/_json/returns_additional_information_about_image_image.yml +0 -62
  94. data/spec/vcr/Docker_Image/_push/pushes_the_Image.yml +0 -246
  95. data/spec/vcr/Docker_Image/_push/streams_output_from_push.yml +0 -246
  96. 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 +0 -382
  97. data/spec/vcr/Docker_Image/_push/when_there_are_no_credentials/still_pushes.yml +0 -264
  98. data/spec/vcr/Docker_Image/_refresh_/updates_the_info_hash.yml +0 -141
  99. data/spec/vcr/Docker_Image/_refresh_/with_an_explicit_connection/updates_using_the_provided_connection.yml +0 -62
  100. data/spec/vcr/Docker_Image/_remove/when_no_name_is_given/removes_the_Image.yml +0 -652
  101. data/spec/vcr/Docker_Image/_run/when_the_argument_is_a_String/splits_the_String_by_spaces_and_creates_a_new_Container.yml +0 -162
  102. data/spec/vcr/Docker_Image/_run/when_the_argument_is_an_Array/creates_a_new_Container.yml +0 -162
  103. 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 +0 -162
  104. 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 +0 -63
  105. data/spec/vcr/Docker_Image/_save/calls_the_class_method.yml +0 -67
  106. data/spec/vcr/Docker_Image/_save/when_a_filename_is_specified/exports_tarball_of_image_to_specified_file.yml +0 -176
  107. data/spec/vcr/Docker_Image/_save/when_no_filename_is_specified/returns_raw_binary_data_as_string.yml +0 -176
  108. data/spec/vcr/Docker_Image/_search/materializes_each_Image_into_a_Docker_Image.yml +0 -79
  109. data/spec/vcr/Docker_Image/_tag/tags_the_image_with_the_repo_name.yml +0 -88
@@ -1,75 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: post
5
- uri: <DOCKER_HOST>/v1.16/build
6
- body:
7
- encoding: UTF-8
8
- string: !binary |-
9
- RG9ja2VyZmlsZQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
10
- AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
11
- AAAAAAAAAAAAADAwMDA2NDAAMDAwMDAwMAAwMDAwMDAwADAwMDAwMDAwMDIz
12
- ADAwMDAwMDAwMDAwADAxMzI0MAAgMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
13
- AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
14
- AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAB1c3RhcgAwMHdoZWVs
15
- AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAd2hlZWwAAAAAAAAAAAAAAAAA
16
- AAAAAAAAAAAAAAAAAAAwMDAwMDAwADAwMDAwMDAAAAAAAAAAAAAAAAAAAAAA
17
- AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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AAAAAAAAAAAAAAAAA
50
- AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
51
- AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
52
- AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
53
- AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
54
- AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=
55
- headers:
56
- User-Agent:
57
- - Swipely/Docker-API 1.18.0
58
- Content-Type:
59
- - application/json
60
- response:
61
- status:
62
- code: 200
63
- message:
64
- headers:
65
- Content-Type:
66
- - application/json
67
- Date:
68
- - Thu, 12 Feb 2015 00:56:02 GMT
69
- body:
70
- encoding: US-ASCII
71
- string: ! "{\"stream\":\"Step 0 : FROM debian:wheezy\\n\"}\r\n{\"stream\":\"
72
- ---\\u003e c90d655b99b2\\n\"}\r\n{\"stream\":\"Successfully built c90d655b99b2\\n\"}\r\n"
73
- http_version:
74
- recorded_at: Thu, 12 Feb 2015 00:56:02 GMT
75
- recorded_with: VCR 2.9.2
@@ -1,79 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: post
5
- uri: <DOCKER_HOST>/v1.16/build
6
- body:
7
- encoding: UTF-8
8
- string: !binary |-
9
- RG9ja2VyZmlsZQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
10
- AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
11
- AAAAAAAAAAAAADAwMDA2NDAAMDAwMDAwMAAwMDAwMDAwADAwMDAwMDAwMDA3
12
- ADAwMDAwMDAwMDAwADAxMzI0MgAgMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
13
- AAAAAAAAAAAAAAAAAAAA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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
46
- AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
47
- AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
48
- AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
49
- AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
50
- AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
51
- AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
52
- AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
53
- AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
54
- AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=
55
- headers:
56
- User-Agent:
57
- - Swipely/Docker-API 1.18.0
58
- Content-Type:
59
- - application/json
60
- response:
61
- status:
62
- code: 500
63
- message:
64
- headers:
65
- Content-Type:
66
- - text/plain; charset=utf-8
67
- Date:
68
- - Thu, 12 Feb 2015 00:56:02 GMT
69
- Content-Length:
70
- - '98'
71
- body:
72
- encoding: US-ASCII
73
- string: ! 'We do not understand this file. Please ensure it is a valid Dockerfile.
74
- Parser error at "lololol"
75
-
76
- '
77
- http_version:
78
- recorded_at: Thu, 12 Feb 2015 00:56:02 GMT
79
- recorded_with: VCR 2.9.2
@@ -1,194 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: post
5
- uri: <DOCKER_HOST>/v1.16/build
6
- body:
7
- encoding: US-ASCII
8
- string: ''
9
- headers:
10
- User-Agent:
11
- - Swipely/Docker-API 1.18.0
12
- Content-Type:
13
- - application/tar
14
- Transfer-Encoding:
15
- - chunked
16
- X-Registry-Config:
17
- - eyJjb25maWdzIjp7IiI6eyJ1c2VybmFtZSI6IiIsInBhc3N3b3JkIjoiIiwiZW1haWwiOiIifX19
18
- response:
19
- status:
20
- code: 200
21
- message:
22
- headers:
23
- Content-Type:
24
- - application/json
25
- Date:
26
- - Thu, 12 Feb 2015 01:21:32 GMT
27
- body:
28
- encoding: US-ASCII
29
- string: ! "{\"stream\":\"Step 0 : FROM debian:wheezy\\n\"}\r\n{\"stream\":\"
30
- ---\\u003e c90d655b99b2\\n\"}\r\n{\"stream\":\"Step 1 : ADD . /\\n\"}\r\n{\"stream\":\"
31
- ---\\u003e 8c70fa9b256b\\n\"}\r\n{\"stream\":\"Removing intermediate container
32
- 4eb305f53890\\n\"}\r\n{\"stream\":\"Successfully built 8c70fa9b256b\\n\"}\r\n"
33
- http_version:
34
- recorded_at: Thu, 12 Feb 2015 01:21:34 GMT
35
- - request:
36
- method: post
37
- uri: <DOCKER_HOST>/v1.16/containers/create
38
- body:
39
- encoding: UTF-8
40
- string: ! '{"Image":"8c70fa9b256b","Cmd":["cat","/Dockerfile"]}'
41
- headers:
42
- User-Agent:
43
- - Swipely/Docker-API 1.18.0
44
- Content-Type:
45
- - application/json
46
- response:
47
- status:
48
- code: 201
49
- message:
50
- headers:
51
- Content-Type:
52
- - application/json
53
- Date:
54
- - Thu, 12 Feb 2015 01:21:35 GMT
55
- Content-Length:
56
- - '90'
57
- body:
58
- encoding: US-ASCII
59
- string: ! '{"Id":"d5fce3f179c663072e6c5fff9b8a71f442438e4caf309b437f4a97fa6bdcaec0","Warnings":null}
60
-
61
- '
62
- http_version:
63
- recorded_at: Thu, 12 Feb 2015 01:21:35 GMT
64
- - request:
65
- method: post
66
- uri: <DOCKER_HOST>/v1.16/containers/d5fce3f179c663072e6c5fff9b8a71f442438e4caf309b437f4a97fa6bdcaec0/start
67
- body:
68
- encoding: UTF-8
69
- string: ! '{}'
70
- headers:
71
- User-Agent:
72
- - Swipely/Docker-API 1.18.0
73
- Content-Type:
74
- - application/json
75
- response:
76
- status:
77
- code: 204
78
- message:
79
- headers:
80
- Date:
81
- - Thu, 12 Feb 2015 01:21:35 GMT
82
- body:
83
- encoding: US-ASCII
84
- string: ''
85
- http_version:
86
- recorded_at: Thu, 12 Feb 2015 01:21:35 GMT
87
- - request:
88
- method: get
89
- uri: <DOCKER_HOST>/v1.16/containers/d5fce3f179c663072e6c5fff9b8a71f442438e4caf309b437f4a97fa6bdcaec0/logs?stdout=true
90
- body:
91
- encoding: US-ASCII
92
- string: ''
93
- headers:
94
- User-Agent:
95
- - Swipely/Docker-API 1.18.0
96
- Content-Type:
97
- - text/plain
98
- response:
99
- status:
100
- code: 200
101
- message:
102
- headers:
103
- Date:
104
- - Thu, 12 Feb 2015 01:21:35 GMT
105
- Content-Type:
106
- - application/octet-stream
107
- body:
108
- encoding: US-ASCII
109
- string: !binary |-
110
- AQAAAAAAABNGUk9NIGRlYmlhbjp3aGVlenkKAQAAAAAAAAhBREQgLiAvCg==
111
- http_version:
112
- recorded_at: Thu, 12 Feb 2015 01:21:35 GMT
113
- - request:
114
- method: post
115
- uri: <DOCKER_HOST>/v1.16/containers/d5fce3f179c663072e6c5fff9b8a71f442438e4caf309b437f4a97fa6bdcaec0/wait
116
- body:
117
- encoding: US-ASCII
118
- string: ''
119
- headers:
120
- User-Agent:
121
- - Swipely/Docker-API 1.18.0
122
- Content-Type:
123
- - text/plain
124
- response:
125
- status:
126
- code: 200
127
- message:
128
- headers:
129
- Content-Type:
130
- - application/json
131
- Date:
132
- - Thu, 12 Feb 2015 01:21:35 GMT
133
- Content-Length:
134
- - '17'
135
- body:
136
- encoding: US-ASCII
137
- string: ! '{"StatusCode":0}
138
-
139
- '
140
- http_version:
141
- recorded_at: Thu, 12 Feb 2015 01:21:35 GMT
142
- - request:
143
- method: delete
144
- uri: <DOCKER_HOST>/v1.16/containers/d5fce3f179c663072e6c5fff9b8a71f442438e4caf309b437f4a97fa6bdcaec0
145
- body:
146
- encoding: US-ASCII
147
- string: ''
148
- headers:
149
- User-Agent:
150
- - Swipely/Docker-API 1.18.0
151
- Content-Type:
152
- - text/plain
153
- response:
154
- status:
155
- code: 204
156
- message:
157
- headers:
158
- Date:
159
- - Thu, 12 Feb 2015 01:21:36 GMT
160
- body:
161
- encoding: US-ASCII
162
- string: ''
163
- http_version:
164
- recorded_at: Thu, 12 Feb 2015 01:21:36 GMT
165
- - request:
166
- method: delete
167
- uri: <DOCKER_HOST>/v1.16/images/8c70fa9b256b?noprune=true
168
- body:
169
- encoding: US-ASCII
170
- string: ''
171
- headers:
172
- User-Agent:
173
- - Swipely/Docker-API 1.18.0
174
- Content-Type:
175
- - text/plain
176
- response:
177
- status:
178
- code: 200
179
- message:
180
- headers:
181
- Content-Type:
182
- - application/json
183
- Date:
184
- - Thu, 12 Feb 2015 01:21:36 GMT
185
- Content-Length:
186
- - '81'
187
- body:
188
- encoding: US-ASCII
189
- string: ! '[{"Deleted":"8c70fa9b256b114b2ae078d46f64f4809c7265991af6490782492b6bd0a3e0ca"}
190
-
191
- ]'
192
- http_version:
193
- recorded_at: Thu, 12 Feb 2015 01:21:36 GMT
194
- recorded_with: VCR 2.9.2
@@ -1,96 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: post
5
- uri: "<DOCKER_HOST>/v1.16/build"
6
- body:
7
- encoding: US-ASCII
8
- string: ''
9
- headers:
10
- User-Agent:
11
- - Swipely/Docker-API 1.21.0
12
- Content-Type:
13
- - application/tar
14
- Transfer-Encoding:
15
- - chunked
16
- X-Registry-Config:
17
- - eyJjb25maWdzIjp7IiI6eyJ1c2VybmFtZSI6IiIsInBhc3N3b3JkIjoiIiwiZW1haWwiOiIifX19
18
- response:
19
- status:
20
- code: 200
21
- message:
22
- headers:
23
- Content-Type:
24
- - application/json
25
- Date:
26
- - Fri, 03 Apr 2015 20:19:34 GMT
27
- body:
28
- encoding: UTF-8
29
- string: "{\"stream\":\"Step 0 : FROM debian:wheezy\\n\"}\r\n{\"stream\":\" ---\\u003e
30
- 1265e16d0c28\\n\"}\r\n{\"stream\":\"Step 1 : ADD . /\\n\"}\r\n{\"stream\":\"
31
- ---\\u003e 1df5fb96c8b6\\n\"}\r\n{\"stream\":\"Removing intermediate container
32
- 31c097a22066\\n\"}\r\n{\"stream\":\"Successfully built 1df5fb96c8b6\\n\"}\r\n"
33
- http_version:
34
- recorded_at: Wed, 08 Apr 2015 15:07:59 GMT
35
- - request:
36
- method: post
37
- uri: "<DOCKER_HOST>/v1.16/build"
38
- body:
39
- encoding: US-ASCII
40
- string: ''
41
- headers:
42
- User-Agent:
43
- - Swipely/Docker-API 1.21.0
44
- Content-Type:
45
- - application/tar
46
- Transfer-Encoding:
47
- - chunked
48
- X-Registry-Config:
49
- - eyJjb25maWdzIjp7IiI6eyJ1c2VybmFtZSI6IiIsInBhc3N3b3JkIjoiIiwiZW1haWwiOiIifX19
50
- response:
51
- status:
52
- code: 200
53
- message:
54
- headers:
55
- Content-Type:
56
- - application/json
57
- Date:
58
- - Fri, 03 Apr 2015 20:19:36 GMT
59
- body:
60
- encoding: UTF-8
61
- string: "{\"stream\":\"Step 0 : FROM debian:wheezy\\n\"}\r\n{\"stream\":\" ---\\u003e
62
- 1265e16d0c28\\n\"}\r\n{\"stream\":\"Step 1 : ADD . /\\n\"}\r\n{\"stream\":\"
63
- ---\\u003e Using cache\\n\"}\r\n{\"stream\":\" ---\\u003e 1df5fb96c8b6\\n\"}\r\n{\"stream\":\"Successfully
64
- built 1df5fb96c8b6\\n\"}\r\n"
65
- http_version:
66
- recorded_at: Wed, 08 Apr 2015 15:07:59 GMT
67
- - request:
68
- method: delete
69
- uri: "<DOCKER_HOST>/v1.16/images/1df5fb96c8b6?noprune=true"
70
- body:
71
- encoding: US-ASCII
72
- string: ''
73
- headers:
74
- User-Agent:
75
- - Swipely/Docker-API 1.21.0
76
- Content-Type:
77
- - text/plain
78
- response:
79
- status:
80
- code: 200
81
- message:
82
- headers:
83
- Content-Type:
84
- - application/json
85
- Date:
86
- - Fri, 03 Apr 2015 20:19:37 GMT
87
- Content-Length:
88
- - '81'
89
- body:
90
- encoding: UTF-8
91
- string: |-
92
- [{"Deleted":"1df5fb96c8b6f0f21cf5898ad17867b80f0b58d2db5859fcc997dfde7d903b56"}
93
- ]
94
- http_version:
95
- recorded_at: Wed, 08 Apr 2015 15:07:59 GMT
96
- recorded_with: VCR 2.9.2
@@ -1,194 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: post
5
- uri: <DOCKER_HOST>/v1.16/build
6
- body:
7
- encoding: US-ASCII
8
- string: ''
9
- headers:
10
- User-Agent:
11
- - Swipely/Docker-API 1.18.0
12
- Content-Type:
13
- - application/tar
14
- Transfer-Encoding:
15
- - chunked
16
- X-Registry-Config:
17
- - eyJjb25maWdzIjp7IiI6eyJ1c2VybmFtZSI6IiIsInBhc3N3b3JkIjoiIiwiZW1haWwiOiIifX19
18
- response:
19
- status:
20
- code: 200
21
- message:
22
- headers:
23
- Content-Type:
24
- - application/json
25
- Date:
26
- - Thu, 12 Feb 2015 01:21:36 GMT
27
- body:
28
- encoding: US-ASCII
29
- string: ! "{\"stream\":\"Step 0 : FROM debian:wheezy\\n\"}\r\n{\"stream\":\"
30
- ---\\u003e c90d655b99b2\\n\"}\r\n{\"stream\":\"Step 1 : ADD . /\\n\"}\r\n{\"stream\":\"
31
- ---\\u003e de29675a00de\\n\"}\r\n{\"stream\":\"Removing intermediate container
32
- 96e702939862\\n\"}\r\n{\"stream\":\"Successfully built de29675a00de\\n\"}\r\n"
33
- http_version:
34
- recorded_at: Thu, 12 Feb 2015 01:21:39 GMT
35
- - request:
36
- method: post
37
- uri: <DOCKER_HOST>/v1.16/containers/create
38
- body:
39
- encoding: UTF-8
40
- string: ! '{"Image":"de29675a00de","Cmd":["cat","/Dockerfile"]}'
41
- headers:
42
- User-Agent:
43
- - Swipely/Docker-API 1.18.0
44
- Content-Type:
45
- - application/json
46
- response:
47
- status:
48
- code: 201
49
- message:
50
- headers:
51
- Content-Type:
52
- - application/json
53
- Date:
54
- - Thu, 12 Feb 2015 01:21:39 GMT
55
- Content-Length:
56
- - '90'
57
- body:
58
- encoding: US-ASCII
59
- string: ! '{"Id":"0ef35ef7d0ce0d1c9503131af0a3675bcb50766645f321af28d7c2b8c473834a","Warnings":null}
60
-
61
- '
62
- http_version:
63
- recorded_at: Thu, 12 Feb 2015 01:21:39 GMT
64
- - request:
65
- method: post
66
- uri: <DOCKER_HOST>/v1.16/containers/0ef35ef7d0ce0d1c9503131af0a3675bcb50766645f321af28d7c2b8c473834a/start
67
- body:
68
- encoding: UTF-8
69
- string: ! '{}'
70
- headers:
71
- User-Agent:
72
- - Swipely/Docker-API 1.18.0
73
- Content-Type:
74
- - application/json
75
- response:
76
- status:
77
- code: 204
78
- message:
79
- headers:
80
- Date:
81
- - Thu, 12 Feb 2015 01:21:39 GMT
82
- body:
83
- encoding: US-ASCII
84
- string: ''
85
- http_version:
86
- recorded_at: Thu, 12 Feb 2015 01:21:39 GMT
87
- - request:
88
- method: get
89
- uri: <DOCKER_HOST>/v1.16/containers/0ef35ef7d0ce0d1c9503131af0a3675bcb50766645f321af28d7c2b8c473834a/logs?stdout=true
90
- body:
91
- encoding: US-ASCII
92
- string: ''
93
- headers:
94
- User-Agent:
95
- - Swipely/Docker-API 1.18.0
96
- Content-Type:
97
- - text/plain
98
- response:
99
- status:
100
- code: 200
101
- message:
102
- headers:
103
- Date:
104
- - Thu, 12 Feb 2015 01:21:39 GMT
105
- Content-Type:
106
- - application/octet-stream
107
- body:
108
- encoding: US-ASCII
109
- string: !binary |-
110
- AQAAAAAAABNGUk9NIGRlYmlhbjp3aGVlenkKAQAAAAAAAAhBREQgLiAvCg==
111
- http_version:
112
- recorded_at: Thu, 12 Feb 2015 01:21:39 GMT
113
- - request:
114
- method: post
115
- uri: <DOCKER_HOST>/v1.16/containers/0ef35ef7d0ce0d1c9503131af0a3675bcb50766645f321af28d7c2b8c473834a/wait
116
- body:
117
- encoding: US-ASCII
118
- string: ''
119
- headers:
120
- User-Agent:
121
- - Swipely/Docker-API 1.18.0
122
- Content-Type:
123
- - text/plain
124
- response:
125
- status:
126
- code: 200
127
- message:
128
- headers:
129
- Content-Type:
130
- - application/json
131
- Date:
132
- - Thu, 12 Feb 2015 01:21:39 GMT
133
- Content-Length:
134
- - '17'
135
- body:
136
- encoding: US-ASCII
137
- string: ! '{"StatusCode":0}
138
-
139
- '
140
- http_version:
141
- recorded_at: Thu, 12 Feb 2015 01:21:39 GMT
142
- - request:
143
- method: delete
144
- uri: <DOCKER_HOST>/v1.16/containers/0ef35ef7d0ce0d1c9503131af0a3675bcb50766645f321af28d7c2b8c473834a
145
- body:
146
- encoding: US-ASCII
147
- string: ''
148
- headers:
149
- User-Agent:
150
- - Swipely/Docker-API 1.18.0
151
- Content-Type:
152
- - text/plain
153
- response:
154
- status:
155
- code: 204
156
- message:
157
- headers:
158
- Date:
159
- - Thu, 12 Feb 2015 01:21:40 GMT
160
- body:
161
- encoding: US-ASCII
162
- string: ''
163
- http_version:
164
- recorded_at: Thu, 12 Feb 2015 01:21:40 GMT
165
- - request:
166
- method: delete
167
- uri: <DOCKER_HOST>/v1.16/images/de29675a00de?noprune=true
168
- body:
169
- encoding: US-ASCII
170
- string: ''
171
- headers:
172
- User-Agent:
173
- - Swipely/Docker-API 1.18.0
174
- Content-Type:
175
- - text/plain
176
- response:
177
- status:
178
- code: 200
179
- message:
180
- headers:
181
- Content-Type:
182
- - application/json
183
- Date:
184
- - Thu, 12 Feb 2015 01:21:41 GMT
185
- Content-Length:
186
- - '81'
187
- body:
188
- encoding: US-ASCII
189
- string: ! '[{"Deleted":"de29675a00deec4b9a1ed27f6a2c459dd3006f684fa3476c0967031b9491ce90"}
190
-
191
- ]'
192
- http_version:
193
- recorded_at: Thu, 12 Feb 2015 01:21:41 GMT
194
- recorded_with: VCR 2.9.2