docker-api 1.23.0 → 1.24.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 (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,107 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: post
5
- uri: <DOCKER_HOST>/v1.16/containers/create
6
- body:
7
- encoding: UTF-8
8
- string: ! '{"Cmd":["false"],"Image":"debian:wheezy"}'
9
- headers:
10
- User-Agent:
11
- - Swipely/Docker-API 1.18.0
12
- Content-Type:
13
- - application/json
14
- response:
15
- status:
16
- code: 201
17
- message:
18
- headers:
19
- Content-Type:
20
- - application/json
21
- Date:
22
- - Thu, 12 Feb 2015 00:54:21 GMT
23
- Content-Length:
24
- - '90'
25
- body:
26
- encoding: US-ASCII
27
- string: ! '{"Id":"3600666983c70ed47254bfcc4941c22c682c3c6c1d396deff7774bf2885684cd","Warnings":null}
28
-
29
- '
30
- http_version:
31
- recorded_at: Thu, 12 Feb 2015 00:54:21 GMT
32
- - request:
33
- method: post
34
- uri: <DOCKER_HOST>/v1.16/containers/3600666983c70ed47254bfcc4941c22c682c3c6c1d396deff7774bf2885684cd/start
35
- body:
36
- encoding: UTF-8
37
- string: ! '{}'
38
- headers:
39
- User-Agent:
40
- - Swipely/Docker-API 1.18.0
41
- Content-Type:
42
- - application/json
43
- response:
44
- status:
45
- code: 204
46
- message:
47
- headers:
48
- Date:
49
- - Thu, 12 Feb 2015 00:54:21 GMT
50
- body:
51
- encoding: US-ASCII
52
- string: ''
53
- http_version:
54
- recorded_at: Thu, 12 Feb 2015 00:54:21 GMT
55
- - request:
56
- method: post
57
- uri: <DOCKER_HOST>/v1.16/containers/3600666983c70ed47254bfcc4941c22c682c3c6c1d396deff7774bf2885684cd/wait
58
- body:
59
- encoding: US-ASCII
60
- string: ''
61
- headers:
62
- User-Agent:
63
- - Swipely/Docker-API 1.18.0
64
- Content-Type:
65
- - text/plain
66
- response:
67
- status:
68
- code: 200
69
- message:
70
- headers:
71
- Content-Type:
72
- - application/json
73
- Date:
74
- - Thu, 12 Feb 2015 00:54:21 GMT
75
- Content-Length:
76
- - '17'
77
- body:
78
- encoding: US-ASCII
79
- string: ! '{"StatusCode":1}
80
-
81
- '
82
- http_version:
83
- recorded_at: Thu, 12 Feb 2015 00:54:21 GMT
84
- - request:
85
- method: delete
86
- uri: <DOCKER_HOST>/v1.16/containers/3600666983c70ed47254bfcc4941c22c682c3c6c1d396deff7774bf2885684cd
87
- body:
88
- encoding: US-ASCII
89
- string: ''
90
- headers:
91
- User-Agent:
92
- - Swipely/Docker-API 1.18.0
93
- Content-Type:
94
- - text/plain
95
- response:
96
- status:
97
- code: 204
98
- message:
99
- headers:
100
- Date:
101
- - Thu, 12 Feb 2015 00:54:22 GMT
102
- body:
103
- encoding: US-ASCII
104
- string: ''
105
- http_version:
106
- recorded_at: Thu, 12 Feb 2015 00:54:22 GMT
107
- recorded_with: VCR 2.9.2
@@ -1,392 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: post
5
- uri: <DOCKER_HOST>/v1.16/containers/create
6
- body:
7
- encoding: UTF-8
8
- string: ! '{"Cmd":["pwd"],"Image":"debian:wheezy"}'
9
- headers:
10
- User-Agent:
11
- - Swipely/Docker-API 1.18.0
12
- Content-Type:
13
- - application/json
14
- response:
15
- status:
16
- code: 201
17
- message:
18
- headers:
19
- Content-Type:
20
- - application/json
21
- Date:
22
- - Thu, 12 Feb 2015 00:54:22 GMT
23
- Content-Length:
24
- - '90'
25
- body:
26
- encoding: US-ASCII
27
- string: ! '{"Id":"afaeba0916f26274b8085a363ec2f4d9b812d8b6273b629b4c1f4082fa132caf","Warnings":null}
28
-
29
- '
30
- http_version:
31
- recorded_at: Thu, 12 Feb 2015 00:54:22 GMT
32
- - request:
33
- method: post
34
- uri: <DOCKER_HOST>/v1.16/containers/afaeba0916f26274b8085a363ec2f4d9b812d8b6273b629b4c1f4082fa132caf/start
35
- body:
36
- encoding: UTF-8
37
- string: ! '{}'
38
- headers:
39
- User-Agent:
40
- - Swipely/Docker-API 1.18.0
41
- Content-Type:
42
- - application/json
43
- response:
44
- status:
45
- code: 204
46
- message:
47
- headers:
48
- Date:
49
- - Thu, 12 Feb 2015 00:54:23 GMT
50
- body:
51
- encoding: US-ASCII
52
- string: ''
53
- http_version:
54
- recorded_at: Thu, 12 Feb 2015 00:54:23 GMT
55
- - request:
56
- method: post
57
- uri: <DOCKER_HOST>/v1.16/containers/afaeba0916f26274b8085a363ec2f4d9b812d8b6273b629b4c1f4082fa132caf/wait
58
- body:
59
- encoding: US-ASCII
60
- string: ''
61
- headers:
62
- User-Agent:
63
- - Swipely/Docker-API 1.18.0
64
- Content-Type:
65
- - text/plain
66
- response:
67
- status:
68
- code: 200
69
- message:
70
- headers:
71
- Content-Type:
72
- - application/json
73
- Date:
74
- - Thu, 12 Feb 2015 00:54:23 GMT
75
- Content-Length:
76
- - '17'
77
- body:
78
- encoding: US-ASCII
79
- string: ! '{"StatusCode":0}
80
-
81
- '
82
- http_version:
83
- recorded_at: Thu, 12 Feb 2015 00:54:23 GMT
84
- - request:
85
- method: post
86
- uri: <DOCKER_HOST>/v1.16/commit?container=afaeba09
87
- body:
88
- encoding: UTF-8
89
- string: 'null'
90
- headers:
91
- User-Agent:
92
- - Swipely/Docker-API 1.18.0
93
- Content-Type:
94
- - application/json
95
- response:
96
- status:
97
- code: 201
98
- message:
99
- headers:
100
- Content-Type:
101
- - application/json
102
- Date:
103
- - Thu, 12 Feb 2015 00:54:24 GMT
104
- Content-Length:
105
- - '74'
106
- body:
107
- encoding: US-ASCII
108
- string: ! '{"Id":"63bdde37c5d168ca55326bb5fbf677b2fa4a9fd6a11b78033d8bda890756b50c"}
109
-
110
- '
111
- http_version:
112
- recorded_at: Thu, 12 Feb 2015 00:54:24 GMT
113
- - request:
114
- method: post
115
- uri: <DOCKER_HOST>/v1.16/containers/create
116
- body:
117
- encoding: UTF-8
118
- string: ! '{"Image":"63bdde37c5d168ca55326bb5fbf677b2fa4a9fd6a11b78033d8bda890756b50c","Cmd":["ls"]}'
119
- headers:
120
- User-Agent:
121
- - Swipely/Docker-API 1.18.0
122
- Content-Type:
123
- - application/json
124
- response:
125
- status:
126
- code: 201
127
- message:
128
- headers:
129
- Content-Type:
130
- - application/json
131
- Date:
132
- - Thu, 12 Feb 2015 00:54:24 GMT
133
- Content-Length:
134
- - '90'
135
- body:
136
- encoding: US-ASCII
137
- string: ! '{"Id":"e8f95d27dea058750b38f1eee9122426d2c435611ef73ebd2f5c769184d1e535","Warnings":null}
138
-
139
- '
140
- http_version:
141
- recorded_at: Thu, 12 Feb 2015 00:54:24 GMT
142
- - request:
143
- method: post
144
- uri: <DOCKER_HOST>/v1.16/containers/e8f95d27dea058750b38f1eee9122426d2c435611ef73ebd2f5c769184d1e535/start
145
- body:
146
- encoding: UTF-8
147
- string: ! '{}'
148
- headers:
149
- User-Agent:
150
- - Swipely/Docker-API 1.18.0
151
- Content-Type:
152
- - application/json
153
- response:
154
- status:
155
- code: 204
156
- message:
157
- headers:
158
- Date:
159
- - Thu, 12 Feb 2015 00:54:24 GMT
160
- body:
161
- encoding: US-ASCII
162
- string: ''
163
- http_version:
164
- recorded_at: Thu, 12 Feb 2015 00:54:24 GMT
165
- - request:
166
- method: post
167
- uri: <DOCKER_HOST>/v1.16/containers/e8f95d27dea058750b38f1eee9122426d2c435611ef73ebd2f5c769184d1e535/wait
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 00:54:24 GMT
185
- Content-Length:
186
- - '17'
187
- body:
188
- encoding: US-ASCII
189
- string: ! '{"StatusCode":0}
190
-
191
- '
192
- http_version:
193
- recorded_at: Thu, 12 Feb 2015 00:54:24 GMT
194
- - request:
195
- method: delete
196
- uri: <DOCKER_HOST>/v1.16/containers/afaeba0916f26274b8085a363ec2f4d9b812d8b6273b629b4c1f4082fa132caf
197
- body:
198
- encoding: US-ASCII
199
- string: ''
200
- headers:
201
- User-Agent:
202
- - Swipely/Docker-API 1.18.0
203
- Content-Type:
204
- - text/plain
205
- response:
206
- status:
207
- code: 204
208
- message:
209
- headers:
210
- Date:
211
- - Thu, 12 Feb 2015 00:54:25 GMT
212
- body:
213
- encoding: US-ASCII
214
- string: ''
215
- http_version:
216
- recorded_at: Thu, 12 Feb 2015 00:54:25 GMT
217
- - request:
218
- method: get
219
- uri: <DOCKER_HOST>/v1.16/containers/e8f95d27dea058750b38f1eee9122426d2c435611ef73ebd2f5c769184d1e535/json
220
- body:
221
- encoding: US-ASCII
222
- string: ''
223
- headers:
224
- User-Agent:
225
- - Swipely/Docker-API 1.18.0
226
- Content-Type:
227
- - text/plain
228
- response:
229
- status:
230
- code: 200
231
- message:
232
- headers:
233
- Content-Type:
234
- - application/json
235
- Date:
236
- - Thu, 12 Feb 2015 00:54:25 GMT
237
- Content-Length:
238
- - '1931'
239
- body:
240
- encoding: US-ASCII
241
- string: ! '{"AppArmorProfile":"","Args":[],"Config":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":["ls"],"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":null,"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"ExposedPorts":null,"Hostname":"e8f95d27dea0","Image":"63bdde37c5d168ca55326bb5fbf677b2fa4a9fd6a11b78033d8bda890756b50c","MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":null,"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Created":"2015-02-12T00:54:24.394220115Z","Driver":"devicemapper","ExecDriver":"native-0.2","HostConfig":{"Binds":null,"CapAdd":null,"CapDrop":null,"ContainerIDFile":"","Devices":null,"Dns":null,"DnsSearch":null,"ExtraHosts":null,"IpcMode":"","Links":null,"LxcConf":null,"NetworkMode":"","PortBindings":null,"Privileged":false,"PublishAllPorts":false,"RestartPolicy":{"MaximumRetryCount":0,"Name":""},"SecurityOpt":null,"VolumesFrom":null},"HostnamePath":"/var/lib/docker/containers/e8f95d27dea058750b38f1eee9122426d2c435611ef73ebd2f5c769184d1e535/hostname","HostsPath":"/var/lib/docker/containers/e8f95d27dea058750b38f1eee9122426d2c435611ef73ebd2f5c769184d1e535/hosts","Id":"e8f95d27dea058750b38f1eee9122426d2c435611ef73ebd2f5c769184d1e535","Image":"63bdde37c5d168ca55326bb5fbf677b2fa4a9fd6a11b78033d8bda890756b50c","MountLabel":"","Name":"/distracted_sammet","NetworkSettings":{"Bridge":"","Gateway":"","IPAddress":"","IPPrefixLen":0,"MacAddress":"","PortMapping":null,"Ports":null},"Path":"ls","ProcessLabel":"","ResolvConfPath":"/var/lib/docker/containers/e8f95d27dea058750b38f1eee9122426d2c435611ef73ebd2f5c769184d1e535/resolv.conf","State":{"Error":"","ExitCode":0,"FinishedAt":"2015-02-12T00:54:24.790254949Z","OOMKilled":false,"Paused":false,"Pid":0,"Restarting":false,"Running":false,"StartedAt":"2015-02-12T00:54:24.748261423Z"},"Volumes":{},"VolumesRW":{}}
242
-
243
- '
244
- http_version:
245
- recorded_at: Thu, 12 Feb 2015 00:54:25 GMT
246
- - request:
247
- method: delete
248
- uri: <DOCKER_HOST>/v1.16/containers/e8f95d27dea058750b38f1eee9122426d2c435611ef73ebd2f5c769184d1e535
249
- body:
250
- encoding: US-ASCII
251
- string: ''
252
- headers:
253
- User-Agent:
254
- - Swipely/Docker-API 1.18.0
255
- Content-Type:
256
- - text/plain
257
- response:
258
- status:
259
- code: 204
260
- message:
261
- headers:
262
- Date:
263
- - Thu, 12 Feb 2015 00:54:26 GMT
264
- body:
265
- encoding: US-ASCII
266
- string: ''
267
- http_version:
268
- recorded_at: Thu, 12 Feb 2015 00:54:26 GMT
269
- - request:
270
- method: get
271
- uri: <DOCKER_HOST>/v1.16/images/63bdde37c5d168ca55326bb5fbf677b2fa4a9fd6a11b78033d8bda890756b50c/json
272
- body:
273
- encoding: US-ASCII
274
- string: ''
275
- headers:
276
- User-Agent:
277
- - Swipely/Docker-API 1.18.0
278
- Content-Type:
279
- - text/plain
280
- response:
281
- status:
282
- code: 200
283
- message:
284
- headers:
285
- Content-Type:
286
- - application/json
287
- Date:
288
- - Thu, 12 Feb 2015 00:54:26 GMT
289
- Content-Length:
290
- - '1428'
291
- body:
292
- encoding: US-ASCII
293
- string: ! '{"Architecture":"amd64","Author":"","Checksum":"tarsum.dev+sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","Comment":"","Config":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":["pwd"],"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":null,"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"ExposedPorts":null,"Hostname":"","Image":"","MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":null,"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Container":"afaeba0916f26274b8085a363ec2f4d9b812d8b6273b629b4c1f4082fa132caf","ContainerConfig":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":["pwd"],"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":null,"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"ExposedPorts":null,"Hostname":"afaeba0916f2","Image":"debian:wheezy","MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":null,"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Created":"2015-02-12T00:54:23.69716525Z","DockerVersion":"1.4.1","Id":"63bdde37c5d168ca55326bb5fbf677b2fa4a9fd6a11b78033d8bda890756b50c","Os":"linux","Parent":"c90d655b99b2ec5b7e94d38c87f92dce015c17a313caeaae0e980d9b9bed8444","Size":0,"VirtualSize":85120773}
294
-
295
- '
296
- http_version:
297
- recorded_at: Thu, 12 Feb 2015 00:54:26 GMT
298
- - request:
299
- method: get
300
- uri: <DOCKER_HOST>/v1.16/images/63bdde37c5d168ca55326bb5fbf677b2fa4a9fd6a11b78033d8bda890756b50c/history
301
- body:
302
- encoding: US-ASCII
303
- string: ''
304
- headers:
305
- User-Agent:
306
- - Swipely/Docker-API 1.18.0
307
- Content-Type:
308
- - text/plain
309
- response:
310
- status:
311
- code: 200
312
- message:
313
- headers:
314
- Content-Type:
315
- - application/json
316
- Date:
317
- - Thu, 12 Feb 2015 00:54:26 GMT
318
- Content-Length:
319
- - '695'
320
- body:
321
- encoding: US-ASCII
322
- string: ! '[{"Created":1423702463,"CreatedBy":"pwd","Id":"63bdde37c5d168ca55326bb5fbf677b2fa4a9fd6a11b78033d8bda890756b50c","Size":0,"Tags":null}
323
-
324
- ,{"Created":1422379591,"CreatedBy":"/bin/sh -c #(nop) CMD [/bin/bash]","Id":"c90d655b99b2ec5b7e94d38c87f92dce015c17a313caeaae0e980d9b9bed8444","Size":0,"Tags":["debian:wheezy"]}
325
-
326
- ,{"Created":1422379584,"CreatedBy":"/bin/sh -c #(nop) ADD file:3f1a40df75bc5673ce402476db7ad6dbb43e45bd1951ed165b9b01ca78011aa0
327
- in /","Id":"30d39e59ffe287f29a41a3f8bd70734afc8728329e3289945cbdc5bbf07cd980","Size":85120773,"Tags":null}
328
-
329
- ,{"Created":1371157430,"CreatedBy":"","Id":"511136ea3c5a64f264b78b5433614aec563103b4d4702f3ba7d4d2698e22c158","Size":0,"Tags":["scratch:latest"]}
330
-
331
- ]'
332
- http_version:
333
- recorded_at: Thu, 12 Feb 2015 00:54:26 GMT
334
- - request:
335
- method: get
336
- uri: <DOCKER_HOST>/v1.16/images/63bdde37c5d168ca55326bb5fbf677b2fa4a9fd6a11b78033d8bda890756b50c/json
337
- body:
338
- encoding: US-ASCII
339
- string: ''
340
- headers:
341
- User-Agent:
342
- - Swipely/Docker-API 1.18.0
343
- Content-Type:
344
- - text/plain
345
- response:
346
- status:
347
- code: 200
348
- message:
349
- headers:
350
- Content-Type:
351
- - application/json
352
- Date:
353
- - Thu, 12 Feb 2015 00:54:26 GMT
354
- Content-Length:
355
- - '1428'
356
- body:
357
- encoding: US-ASCII
358
- string: ! '{"Architecture":"amd64","Author":"","Checksum":"tarsum.dev+sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","Comment":"","Config":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":["pwd"],"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":null,"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"ExposedPorts":null,"Hostname":"","Image":"","MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":null,"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Container":"afaeba0916f26274b8085a363ec2f4d9b812d8b6273b629b4c1f4082fa132caf","ContainerConfig":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":["pwd"],"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":null,"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"ExposedPorts":null,"Hostname":"afaeba0916f2","Image":"debian:wheezy","MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":null,"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Created":"2015-02-12T00:54:23.69716525Z","DockerVersion":"1.4.1","Id":"63bdde37c5d168ca55326bb5fbf677b2fa4a9fd6a11b78033d8bda890756b50c","Os":"linux","Parent":"c90d655b99b2ec5b7e94d38c87f92dce015c17a313caeaae0e980d9b9bed8444","Size":0,"VirtualSize":85120773}
359
-
360
- '
361
- http_version:
362
- recorded_at: Thu, 12 Feb 2015 00:54:26 GMT
363
- - request:
364
- method: delete
365
- uri: <DOCKER_HOST>/v1.16/images/63bdde37c5d168ca55326bb5fbf677b2fa4a9fd6a11b78033d8bda890756b50c?noprune=true
366
- body:
367
- encoding: US-ASCII
368
- string: ''
369
- headers:
370
- User-Agent:
371
- - Swipely/Docker-API 1.18.0
372
- Content-Type:
373
- - text/plain
374
- response:
375
- status:
376
- code: 200
377
- message:
378
- headers:
379
- Content-Type:
380
- - application/json
381
- Date:
382
- - Thu, 12 Feb 2015 00:54:27 GMT
383
- Content-Length:
384
- - '81'
385
- body:
386
- encoding: US-ASCII
387
- string: ! '[{"Deleted":"63bdde37c5d168ca55326bb5fbf677b2fa4a9fd6a11b78033d8bda890756b50c"}
388
-
389
- ]'
390
- http_version:
391
- recorded_at: Thu, 12 Feb 2015 00:54:27 GMT
392
- recorded_with: VCR 2.9.2