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":["sleep","50"],"Image":"base"}'
8
+ string: '{"Cmd":["sleep","10"],"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:45:23 GMT
22
+ - Mon, 01 Dec 2014 18:08:07 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":"0946fcf9582c5d767717ae0894f7265bb4eaaf9ad4522ea42e6d743e7e27777a","Warnings":null}
28
+ {"Id":"002413cf080661255e799bcaf0966607c9119d289e20052d3c0517b71fe8b570","Warnings":null}
31
29
  http_version:
32
- recorded_at: Thu, 26 Jun 2014 19:45:23 GMT
30
+ recorded_at: Mon, 01 Dec 2014 18:08:07 GMT
33
31
  - request:
34
32
  method: post
35
- uri: unix:///var/run/docker.sock/v1.12/containers/0946fcf9582c5d767717ae0894f7265bb4eaaf9ad4522ea42e6d743e7e27777a/start
33
+ uri: "<DOCKER_HOST>/v1.15/containers/002413cf080661255e799bcaf0966607c9119d289e20052d3c0517b71fe8b570/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:45:23 GMT
51
- Connection:
52
- - close
48
+ - Mon, 01 Dec 2014 18:08:07 GMT
53
49
  body:
54
50
  encoding: UTF-8
55
51
  string: ''
56
52
  http_version:
57
- recorded_at: Thu, 26 Jun 2014 19:45:23 GMT
53
+ recorded_at: Mon, 01 Dec 2014 18:08:07 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:45:23 GMT
73
+ - Mon, 01 Dec 2014 18:08:07 GMT
78
74
  Content-Length:
79
- - '411'
80
- Connection:
81
- - close
75
+ - '491'
82
76
  body:
83
77
  encoding: UTF-8
84
78
  string: |-
85
- [{"Command":"sleep 50","Created":1403811922,"Id":"0946fcf9582c5d767717ae0894f7265bb4eaaf9ad4522ea42e6d743e7e27777a","Image":"base:latest","Names":["/jovial_leakey"],"Ports":[],"Status":"Up Less than a second"}
86
- ,{"Command":"/while","Created":1403811778,"Id":"e3ef53f0c6fc463801a85b9c8d9b2fe348600c2e529c59fa0592da739912224d","Image":"41b70f59d9b6","Names":["/sleepy_yonath"],"Ports":[],"Status":"Up 2 minutes"}
79
+ [{"Command":"sleep 10","Created":1417457287,"Id":"002413cf080661255e799bcaf0966607c9119d289e20052d3c0517b71fe8b570","Image":"debian:wheezy","Names":["/furious_engelbart"],"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 30 seconds"}
87
81
  ]
88
82
  http_version:
89
- recorded_at: Thu, 26 Jun 2014 19:45:23 GMT
83
+ recorded_at: Mon, 01 Dec 2014 18:08:07 GMT
90
84
  - request:
91
85
  method: post
92
- uri: unix:///var/run/docker.sock/v1.12/containers/0946fcf9582c5d767717ae0894f7265bb4eaaf9ad4522ea42e6d743e7e27777a/stop
86
+ uri: "<DOCKER_HOST>/v1.15/containers/002413cf080661255e799bcaf0966607c9119d289e20052d3c0517b71fe8b570/stop"
93
87
  body:
94
88
  encoding: UTF-8
95
- string: '{}'
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
  - application/json
101
95
  response:
@@ -104,23 +98,21 @@ http_interactions:
104
98
  message:
105
99
  headers:
106
100
  Date:
107
- - Thu, 26 Jun 2014 19:45:23 GMT
108
- Connection:
109
- - close
101
+ - Mon, 01 Dec 2014 18:08:07 GMT
110
102
  body:
111
103
  encoding: UTF-8
112
104
  string: ''
113
105
  http_version:
114
- recorded_at: Thu, 26 Jun 2014 19:45:23 GMT
106
+ recorded_at: Mon, 01 Dec 2014 18:08:07 GMT
115
107
  - request:
116
108
  method: get
117
- uri: unix:///var/run/docker.sock/v1.12/containers/json
109
+ uri: "<DOCKER_HOST>/v1.15/containers/json"
118
110
  body:
119
111
  encoding: US-ASCII
120
112
  string: ''
121
113
  headers:
122
114
  User-Agent:
123
- - Swipely/Docker-API 1.11.2
115
+ - Swipely/Docker-API 1.15.0
124
116
  Content-Type:
125
117
  - text/plain
126
118
  response:
@@ -131,27 +123,25 @@ http_interactions:
131
123
  Content-Type:
132
124
  - application/json
133
125
  Date:
134
- - Thu, 26 Jun 2014 19:45:23 GMT
126
+ - Mon, 01 Dec 2014 18:08:07 GMT
135
127
  Content-Length:
136
- - '201'
137
- Connection:
138
- - close
128
+ - '275'
139
129
  body:
140
130
  encoding: UTF-8
141
131
  string: |-
142
- [{"Command":"/while","Created":1403811778,"Id":"e3ef53f0c6fc463801a85b9c8d9b2fe348600c2e529c59fa0592da739912224d","Image":"41b70f59d9b6","Names":["/sleepy_yonath"],"Ports":[],"Status":"Up 2 minutes"}
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 30 seconds"}
143
133
  ]
144
134
  http_version:
145
- recorded_at: Thu, 26 Jun 2014 19:45:23 GMT
135
+ recorded_at: Mon, 01 Dec 2014 18:08:07 GMT
146
136
  - request:
147
137
  method: post
148
- uri: unix:///var/run/docker.sock/v1.12/containers/0946fcf9582c5d767717ae0894f7265bb4eaaf9ad4522ea42e6d743e7e27777a/restart?t=10
138
+ uri: "<DOCKER_HOST>/v1.15/containers/002413cf080661255e799bcaf0966607c9119d289e20052d3c0517b71fe8b570/restart?t=10"
149
139
  body:
150
140
  encoding: UTF-8
151
- string: '{}'
141
+ string: "{}"
152
142
  headers:
153
143
  User-Agent:
154
- - Swipely/Docker-API 1.11.2
144
+ - Swipely/Docker-API 1.15.0
155
145
  Content-Type:
156
146
  - application/json
157
147
  response:
@@ -160,23 +150,21 @@ http_interactions:
160
150
  message:
161
151
  headers:
162
152
  Date:
163
- - Thu, 26 Jun 2014 19:45:23 GMT
164
- Connection:
165
- - close
153
+ - Mon, 01 Dec 2014 18:08:08 GMT
166
154
  body:
167
155
  encoding: UTF-8
168
156
  string: ''
169
157
  http_version:
170
- recorded_at: Thu, 26 Jun 2014 19:45:23 GMT
158
+ recorded_at: Mon, 01 Dec 2014 18:08:08 GMT
171
159
  - request:
172
160
  method: get
173
- uri: unix:///var/run/docker.sock/v1.12/containers/json
161
+ uri: "<DOCKER_HOST>/v1.15/containers/json"
174
162
  body:
175
163
  encoding: US-ASCII
176
164
  string: ''
177
165
  headers:
178
166
  User-Agent:
179
- - Swipely/Docker-API 1.11.2
167
+ - Swipely/Docker-API 1.15.0
180
168
  Content-Type:
181
169
  - text/plain
182
170
  response:
@@ -187,17 +175,61 @@ http_interactions:
187
175
  Content-Type:
188
176
  - application/json
189
177
  Date:
190
- - Thu, 26 Jun 2014 19:45:23 GMT
178
+ - Mon, 01 Dec 2014 18:08:08 GMT
191
179
  Content-Length:
192
- - '411'
193
- Connection:
194
- - close
180
+ - '491'
195
181
  body:
196
182
  encoding: UTF-8
197
183
  string: |-
198
- [{"Command":"sleep 50","Created":1403811922,"Id":"0946fcf9582c5d767717ae0894f7265bb4eaaf9ad4522ea42e6d743e7e27777a","Image":"base:latest","Names":["/jovial_leakey"],"Ports":[],"Status":"Up Less than a second"}
199
- ,{"Command":"/while","Created":1403811778,"Id":"e3ef53f0c6fc463801a85b9c8d9b2fe348600c2e529c59fa0592da739912224d","Image":"41b70f59d9b6","Names":["/sleepy_yonath"],"Ports":[],"Status":"Up 2 minutes"}
184
+ [{"Command":"sleep 10","Created":1417457287,"Id":"002413cf080661255e799bcaf0966607c9119d289e20052d3c0517b71fe8b570","Image":"debian:wheezy","Names":["/furious_engelbart"],"Ports":[],"Status":"Up Less than a second"}
185
+ ,{"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 31 seconds"}
200
186
  ]
201
187
  http_version:
202
- recorded_at: Thu, 26 Jun 2014 19:45:23 GMT
203
- recorded_with: VCR 2.9.2
188
+ recorded_at: Mon, 01 Dec 2014 18:08:08 GMT
189
+ - request:
190
+ method: post
191
+ uri: "<DOCKER_HOST>/v1.15/containers/002413cf080661255e799bcaf0966607c9119d289e20052d3c0517b71fe8b570/kill"
192
+ body:
193
+ encoding: US-ASCII
194
+ string: ''
195
+ headers:
196
+ User-Agent:
197
+ - Swipely/Docker-API 1.15.0
198
+ Content-Type:
199
+ - text/plain
200
+ response:
201
+ status:
202
+ code: 204
203
+ message:
204
+ headers:
205
+ Date:
206
+ - Mon, 01 Dec 2014 18:08:08 GMT
207
+ body:
208
+ encoding: UTF-8
209
+ string: ''
210
+ http_version:
211
+ recorded_at: Mon, 01 Dec 2014 18:08:08 GMT
212
+ - request:
213
+ method: delete
214
+ uri: "<DOCKER_HOST>/v1.15/containers/002413cf080661255e799bcaf0966607c9119d289e20052d3c0517b71fe8b570"
215
+ body:
216
+ encoding: US-ASCII
217
+ string: ''
218
+ headers:
219
+ User-Agent:
220
+ - Swipely/Docker-API 1.15.0
221
+ Content-Type:
222
+ - text/plain
223
+ response:
224
+ status:
225
+ code: 204
226
+ message:
227
+ headers:
228
+ Date:
229
+ - Mon, 01 Dec 2014 18:08:08 GMT
230
+ body:
231
+ encoding: UTF-8
232
+ string: ''
233
+ http_version:
234
+ recorded_at: Mon, 01 Dec 2014 18:08:08 GMT
235
+ 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":["lol","not","a","real","command"],"Image":"base"}'
8
+ string: '{"Cmd":["false"],"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:47:03 GMT
22
+ - Mon, 01 Dec 2014 18:08:17 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":"0530e3918db251d9b8a8ecc24c68afe0b5b34f8f9ccf8b58cf61f7a1d7ecbb2c","Warnings":null}
28
+ {"Id":"95cd07f8f8d5bab492f85c9595564eb27b38202b7ff905479bab0fec35993815","Warnings":null}
31
29
  http_version:
32
- recorded_at: Thu, 26 Jun 2014 19:47:03 GMT
30
+ recorded_at: Mon, 01 Dec 2014 18:08:17 GMT
33
31
  - request:
34
32
  method: post
35
- uri: unix:///var/run/docker.sock/v1.12/containers/0530e3918db251d9b8a8ecc24c68afe0b5b34f8f9ccf8b58cf61f7a1d7ecbb2c/start
33
+ uri: "<DOCKER_HOST>/v1.15/containers/95cd07f8f8d5bab492f85c9595564eb27b38202b7ff905479bab0fec35993815/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:47:03 GMT
51
- Connection:
52
- - close
48
+ - Mon, 01 Dec 2014 18:08:17 GMT
53
49
  body:
54
50
  encoding: UTF-8
55
51
  string: ''
56
52
  http_version:
57
- recorded_at: Thu, 26 Jun 2014 19:47:03 GMT
53
+ recorded_at: Mon, 01 Dec 2014 18:08:17 GMT
58
54
  - request:
59
55
  method: post
60
- uri: unix:///var/run/docker.sock/v1.12/containers/0530e3918db251d9b8a8ecc24c68afe0b5b34f8f9ccf8b58cf61f7a1d7ecbb2c/wait
56
+ uri: "<DOCKER_HOST>/v1.15/containers/95cd07f8f8d5bab492f85c9595564eb27b38202b7ff905479bab0fec35993815/wait"
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,15 +70,36 @@ http_interactions:
74
70
  Content-Type:
75
71
  - application/json
76
72
  Date:
77
- - Thu, 26 Jun 2014 19:47:03 GMT
73
+ - Mon, 01 Dec 2014 18:08:18 GMT
78
74
  Content-Length:
79
75
  - '17'
80
- Connection:
81
- - close
82
76
  body:
83
77
  encoding: UTF-8
84
78
  string: |
85
79
  {"StatusCode":1}
86
80
  http_version:
87
- recorded_at: Thu, 26 Jun 2014 19:47:03 GMT
88
- recorded_with: VCR 2.9.2
81
+ recorded_at: Mon, 01 Dec 2014 18:08:18 GMT
82
+ - request:
83
+ method: delete
84
+ uri: "<DOCKER_HOST>/v1.15/containers/95cd07f8f8d5bab492f85c9595564eb27b38202b7ff905479bab0fec35993815"
85
+ body:
86
+ encoding: US-ASCII
87
+ string: ''
88
+ headers:
89
+ User-Agent:
90
+ - Swipely/Docker-API 1.15.0
91
+ Content-Type:
92
+ - text/plain
93
+ response:
94
+ status:
95
+ code: 204
96
+ message:
97
+ headers:
98
+ Date:
99
+ - Mon, 01 Dec 2014 18:08:18 GMT
100
+ body:
101
+ encoding: UTF-8
102
+ string: ''
103
+ http_version:
104
+ recorded_at: Mon, 01 Dec 2014 18:08:18 GMT
105
+ 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":["pwd"],"Image":"base"}'
8
+ string: '{"Cmd":["pwd"],"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:47:09 GMT
22
+ - Mon, 01 Dec 2014 18:08:18 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":"382d239647f263158ed32a1117a80698fcc7c2041482f512e953286b617310b2","Warnings":null}
28
+ {"Id":"aad4fc67d9a3aacb77ce37fd6bad4db82f3df5b1f984a1473b401eca0668828f","Warnings":null}
31
29
  http_version:
32
- recorded_at: Thu, 26 Jun 2014 19:47:09 GMT
30
+ recorded_at: Mon, 01 Dec 2014 18:08:18 GMT
33
31
  - request:
34
32
  method: post
35
- uri: unix:///var/run/docker.sock/v1.12/containers/382d239647f263158ed32a1117a80698fcc7c2041482f512e953286b617310b2/start
33
+ uri: "<DOCKER_HOST>/v1.15/containers/aad4fc67d9a3aacb77ce37fd6bad4db82f3df5b1f984a1473b401eca0668828f/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:47:09 GMT
51
- Connection:
52
- - close
48
+ - Mon, 01 Dec 2014 18:08:18 GMT
53
49
  body:
54
50
  encoding: UTF-8
55
51
  string: ''
56
52
  http_version:
57
- recorded_at: Thu, 26 Jun 2014 19:47:09 GMT
53
+ recorded_at: Mon, 01 Dec 2014 18:08:18 GMT
58
54
  - request:
59
55
  method: post
60
- uri: unix:///var/run/docker.sock/v1.12/containers/382d239647f263158ed32a1117a80698fcc7c2041482f512e953286b617310b2/wait
56
+ uri: "<DOCKER_HOST>/v1.15/containers/aad4fc67d9a3aacb77ce37fd6bad4db82f3df5b1f984a1473b401eca0668828f/wait"
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,26 +70,24 @@ http_interactions:
74
70
  Content-Type:
75
71
  - application/json
76
72
  Date:
77
- - Thu, 26 Jun 2014 19:47:10 GMT
73
+ - Mon, 01 Dec 2014 18:08:18 GMT
78
74
  Content-Length:
79
75
  - '17'
80
- Connection:
81
- - close
82
76
  body:
83
77
  encoding: UTF-8
84
78
  string: |
85
79
  {"StatusCode":0}
86
80
  http_version:
87
- recorded_at: Thu, 26 Jun 2014 19:47:10 GMT
81
+ recorded_at: Mon, 01 Dec 2014 18:08:18 GMT
88
82
  - request:
89
83
  method: post
90
- uri: unix:///var/run/docker.sock/v1.12/commit?container=382d2396
84
+ uri: "<DOCKER_HOST>/v1.15/commit?container=aad4fc67"
91
85
  body:
92
86
  encoding: UTF-8
93
87
  string: 'null'
94
88
  headers:
95
89
  User-Agent:
96
- - Swipely/Docker-API 1.11.2
90
+ - Swipely/Docker-API 1.15.0
97
91
  Content-Type:
98
92
  - application/json
99
93
  response:
@@ -104,26 +98,24 @@ http_interactions:
104
98
  Content-Type:
105
99
  - application/json
106
100
  Date:
107
- - Thu, 26 Jun 2014 19:47:11 GMT
101
+ - Mon, 01 Dec 2014 18:08:19 GMT
108
102
  Content-Length:
109
103
  - '74'
110
- Connection:
111
- - close
112
104
  body:
113
105
  encoding: UTF-8
114
106
  string: |
115
- {"Id":"d7a1c20ffa414983c3afe003c09080bfe2648932f55d2665e201a32ec0c3896a"}
107
+ {"Id":"cb1d7fcb67a477ca15cd0a8aa5a124fda2f0c30a81028df349966d6c5df7a13d"}
116
108
  http_version:
117
- recorded_at: Thu, 26 Jun 2014 19:47:11 GMT
109
+ recorded_at: Mon, 01 Dec 2014 18:08:18 GMT
118
110
  - request:
119
111
  method: post
120
- uri: unix:///var/run/docker.sock/v1.12/containers/create
112
+ uri: "<DOCKER_HOST>/v1.15/containers/create"
121
113
  body:
122
114
  encoding: UTF-8
123
- string: '{"Image":"d7a1c20ffa414983c3afe003c09080bfe2648932f55d2665e201a32ec0c3896a","Cmd":["ls"]}'
115
+ string: '{"Image":"cb1d7fcb67a477ca15cd0a8aa5a124fda2f0c30a81028df349966d6c5df7a13d","Cmd":["ls"]}'
124
116
  headers:
125
117
  User-Agent:
126
- - Swipely/Docker-API 1.11.2
118
+ - Swipely/Docker-API 1.15.0
127
119
  Content-Type:
128
120
  - application/json
129
121
  response:
@@ -134,26 +126,24 @@ http_interactions:
134
126
  Content-Type:
135
127
  - application/json
136
128
  Date:
137
- - Thu, 26 Jun 2014 19:47:11 GMT
129
+ - Mon, 01 Dec 2014 18:08:19 GMT
138
130
  Content-Length:
139
131
  - '90'
140
- Connection:
141
- - close
142
132
  body:
143
133
  encoding: UTF-8
144
134
  string: |
145
- {"Id":"8add5a1b98de19374296941333822b8ecf6f8971f826e5f0ea98e576c9ba0da6","Warnings":null}
135
+ {"Id":"18aa411e6a7b88800846f531c29776e5d002c839bb3b3ccebe72791812aa33e1","Warnings":null}
146
136
  http_version:
147
- recorded_at: Thu, 26 Jun 2014 19:47:11 GMT
137
+ recorded_at: Mon, 01 Dec 2014 18:08:19 GMT
148
138
  - request:
149
139
  method: post
150
- uri: unix:///var/run/docker.sock/v1.12/containers/8add5a1b98de19374296941333822b8ecf6f8971f826e5f0ea98e576c9ba0da6/start
140
+ uri: "<DOCKER_HOST>/v1.15/containers/18aa411e6a7b88800846f531c29776e5d002c839bb3b3ccebe72791812aa33e1/start"
151
141
  body:
152
142
  encoding: UTF-8
153
- string: '{}'
143
+ string: "{}"
154
144
  headers:
155
145
  User-Agent:
156
- - Swipely/Docker-API 1.11.2
146
+ - Swipely/Docker-API 1.15.0
157
147
  Content-Type:
158
148
  - application/json
159
149
  response:
@@ -162,48 +152,123 @@ http_interactions:
162
152
  message:
163
153
  headers:
164
154
  Date:
165
- - Thu, 26 Jun 2014 19:47:12 GMT
166
- Connection:
167
- - close
155
+ - Mon, 01 Dec 2014 18:08:19 GMT
168
156
  body:
169
157
  encoding: UTF-8
170
158
  string: ''
171
159
  http_version:
172
- recorded_at: Thu, 26 Jun 2014 19:47:12 GMT
160
+ recorded_at: Mon, 01 Dec 2014 18:08:19 GMT
173
161
  - request:
174
162
  method: post
175
- uri: unix:///var/run/docker.sock/v1.12/containers/8add5a1b98de19374296941333822b8ecf6f8971f826e5f0ea98e576c9ba0da6/start
163
+ uri: "<DOCKER_HOST>/v1.15/containers/18aa411e6a7b88800846f531c29776e5d002c839bb3b3ccebe72791812aa33e1/wait"
164
+ body:
165
+ encoding: US-ASCII
166
+ string: ''
167
+ headers:
168
+ User-Agent:
169
+ - Swipely/Docker-API 1.15.0
170
+ Content-Type:
171
+ - text/plain
172
+ response:
173
+ status:
174
+ code: 200
175
+ message:
176
+ headers:
177
+ Content-Type:
178
+ - application/json
179
+ Date:
180
+ - Mon, 01 Dec 2014 18:08:19 GMT
181
+ Content-Length:
182
+ - '17'
183
+ body:
184
+ encoding: UTF-8
185
+ string: |
186
+ {"StatusCode":0}
187
+ http_version:
188
+ recorded_at: Mon, 01 Dec 2014 18:08:19 GMT
189
+ - request:
190
+ method: delete
191
+ uri: "<DOCKER_HOST>/v1.15/containers/aad4fc67d9a3aacb77ce37fd6bad4db82f3df5b1f984a1473b401eca0668828f"
192
+ body:
193
+ encoding: US-ASCII
194
+ string: ''
195
+ headers:
196
+ User-Agent:
197
+ - Swipely/Docker-API 1.15.0
198
+ Content-Type:
199
+ - text/plain
200
+ response:
201
+ status:
202
+ code: 204
203
+ message:
204
+ headers:
205
+ Date:
206
+ - Mon, 01 Dec 2014 18:08:19 GMT
176
207
  body:
177
208
  encoding: UTF-8
178
- string: '{}'
209
+ string: ''
210
+ http_version:
211
+ recorded_at: Mon, 01 Dec 2014 18:08:19 GMT
212
+ - request:
213
+ method: get
214
+ uri: "<DOCKER_HOST>/v1.15/containers/18aa411e6a7b88800846f531c29776e5d002c839bb3b3ccebe72791812aa33e1/json"
215
+ body:
216
+ encoding: US-ASCII
217
+ string: ''
179
218
  headers:
180
219
  User-Agent:
181
- - Swipely/Docker-API 1.11.2
220
+ - Swipely/Docker-API 1.15.0
221
+ Content-Type:
222
+ - text/plain
223
+ response:
224
+ status:
225
+ code: 200
226
+ message:
227
+ headers:
182
228
  Content-Type:
183
229
  - application/json
230
+ Date:
231
+ - Mon, 01 Dec 2014 18:08:19 GMT
232
+ Content-Length:
233
+ - '1886'
234
+ body:
235
+ encoding: UTF-8
236
+ string: |
237
+ {"AppArmorProfile":"","Args":[],"Config":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":["ls"],"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":[],"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"ExposedPorts":null,"Hostname":"18aa411e6a7b","Image":"cb1d7fcb67a477ca15cd0a8aa5a124fda2f0c30a81028df349966d6c5df7a13d","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":null,"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Created":"2014-12-01T18:08:19.116785039Z","Driver":"aufs","ExecDriver":"native-0.2","HostConfig":{"Binds":null,"CapAdd":null,"CapDrop":null,"ContainerIDFile":"","Devices":null,"Dns":null,"DnsSearch":null,"ExtraHosts":null,"Links":null,"LxcConf":null,"NetworkMode":"","PortBindings":null,"Privileged":false,"PublishAllPorts":false,"RestartPolicy":{"MaximumRetryCount":0,"Name":""},"SecurityOpt":null,"VolumesFrom":null},"HostnamePath":"/mnt/sda1/var/lib/docker/containers/18aa411e6a7b88800846f531c29776e5d002c839bb3b3ccebe72791812aa33e1/hostname","HostsPath":"/mnt/sda1/var/lib/docker/containers/18aa411e6a7b88800846f531c29776e5d002c839bb3b3ccebe72791812aa33e1/hosts","Id":"18aa411e6a7b88800846f531c29776e5d002c839bb3b3ccebe72791812aa33e1","Image":"cb1d7fcb67a477ca15cd0a8aa5a124fda2f0c30a81028df349966d6c5df7a13d","MountLabel":"","Name":"/tender_hoover","NetworkSettings":{"Bridge":"","Gateway":"","IPAddress":"","IPPrefixLen":0,"MacAddress":"","PortMapping":null,"Ports":null},"Path":"ls","ProcessLabel":"","ResolvConfPath":"/mnt/sda1/var/lib/docker/containers/18aa411e6a7b88800846f531c29776e5d002c839bb3b3ccebe72791812aa33e1/resolv.conf","State":{"ExitCode":0,"FinishedAt":"2014-12-01T18:08:19.698084411Z","Paused":false,"Pid":0,"Restarting":false,"Running":false,"StartedAt":"2014-12-01T18:08:19.569000776Z"},"Volumes":{},"VolumesRW":{}}
238
+ http_version:
239
+ recorded_at: Mon, 01 Dec 2014 18:08:19 GMT
240
+ - request:
241
+ method: delete
242
+ uri: "<DOCKER_HOST>/v1.15/containers/18aa411e6a7b88800846f531c29776e5d002c839bb3b3ccebe72791812aa33e1"
243
+ body:
244
+ encoding: US-ASCII
245
+ string: ''
246
+ headers:
247
+ User-Agent:
248
+ - Swipely/Docker-API 1.15.0
249
+ Content-Type:
250
+ - text/plain
184
251
  response:
185
252
  status:
186
253
  code: 204
187
254
  message:
188
255
  headers:
189
256
  Date:
190
- - Thu, 26 Jun 2014 19:47:12 GMT
191
- Connection:
192
- - close
257
+ - Mon, 01 Dec 2014 18:08:19 GMT
193
258
  body:
194
259
  encoding: UTF-8
195
260
  string: ''
196
261
  http_version:
197
- recorded_at: Thu, 26 Jun 2014 19:47:12 GMT
262
+ recorded_at: Mon, 01 Dec 2014 18:08:19 GMT
198
263
  - request:
199
- method: post
200
- uri: unix:///var/run/docker.sock/v1.12/containers/8add5a1b98de19374296941333822b8ecf6f8971f826e5f0ea98e576c9ba0da6/wait
264
+ method: get
265
+ uri: "<DOCKER_HOST>/v1.15/images/cb1d7fcb67a477ca15cd0a8aa5a124fda2f0c30a81028df349966d6c5df7a13d/json"
201
266
  body:
202
267
  encoding: US-ASCII
203
268
  string: ''
204
269
  headers:
205
270
  User-Agent:
206
- - Swipely/Docker-API 1.11.2
271
+ - Swipely/Docker-API 1.15.0
207
272
  Content-Type:
208
273
  - text/plain
209
274
  response:
@@ -214,15 +279,102 @@ http_interactions:
214
279
  Content-Type:
215
280
  - application/json
216
281
  Date:
217
- - Thu, 26 Jun 2014 19:47:12 GMT
282
+ - Mon, 01 Dec 2014 18:08:19 GMT
218
283
  Content-Length:
219
- - '17'
220
- Connection:
221
- - close
284
+ - '1297'
222
285
  body:
223
286
  encoding: UTF-8
224
287
  string: |
225
- {"StatusCode":0}
288
+ {"Architecture":"amd64","Author":"","Comment":"","Config":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":["pwd"],"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":[],"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"ExposedPorts":null,"Hostname":"","Image":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":null,"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Container":"aad4fc67d9a3aacb77ce37fd6bad4db82f3df5b1f984a1473b401eca0668828f","ContainerConfig":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":["pwd"],"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":[],"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"ExposedPorts":null,"Hostname":"aad4fc67d9a3","Image":"debian:wheezy","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":null,"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Created":"2014-12-01T18:08:18.928032742Z","DockerVersion":"1.3.2","Id":"cb1d7fcb67a477ca15cd0a8aa5a124fda2f0c30a81028df349966d6c5df7a13d","Os":"linux","Parent":"f6fab3b798be3174f45aa1eb731f8182705555f89c9026d8c1ef230cbf8301dd","Size":0,"VirtualSize":85100505}
289
+ http_version:
290
+ recorded_at: Mon, 01 Dec 2014 18:08:19 GMT
291
+ - request:
292
+ method: get
293
+ uri: "<DOCKER_HOST>/v1.15/images/cb1d7fcb67a477ca15cd0a8aa5a124fda2f0c30a81028df349966d6c5df7a13d/history"
294
+ body:
295
+ encoding: US-ASCII
296
+ string: ''
297
+ headers:
298
+ User-Agent:
299
+ - Swipely/Docker-API 1.15.0
300
+ Content-Type:
301
+ - text/plain
302
+ response:
303
+ status:
304
+ code: 200
305
+ message:
306
+ headers:
307
+ Content-Type:
308
+ - application/json
309
+ Date:
310
+ - Mon, 01 Dec 2014 18:08:19 GMT
311
+ Content-Length:
312
+ - '695'
313
+ body:
314
+ encoding: UTF-8
315
+ string: |-
316
+ [{"Created":1417457298,"CreatedBy":"pwd","Id":"cb1d7fcb67a477ca15cd0a8aa5a124fda2f0c30a81028df349966d6c5df7a13d","Size":0,"Tags":null}
317
+ ,{"Created":1415306638,"CreatedBy":"/bin/sh -c #(nop) CMD [/bin/bash]","Id":"f6fab3b798be3174f45aa1eb731f8182705555f89c9026d8c1ef230cbf8301dd","Size":0,"Tags":["debian:wheezy"]}
318
+ ,{"Created":1415306636,"CreatedBy":"/bin/sh -c #(nop) ADD file:01b419e635eb6bec686cabe0e261c4f3fb4dc206f4584ac01b21059a5d2f8b3b in /","Id":"f10807909bc552de261ca7463effc467600c3dca68d8e7704425283a6911d2ca","Size":85100505,"Tags":null}
319
+ ,{"Created":1371157430,"CreatedBy":"","Id":"511136ea3c5a64f264b78b5433614aec563103b4d4702f3ba7d4d2698e22c158","Size":0,"Tags":["scratch:latest"]}
320
+ ]
321
+ http_version:
322
+ recorded_at: Mon, 01 Dec 2014 18:08:19 GMT
323
+ - request:
324
+ method: get
325
+ uri: "<DOCKER_HOST>/v1.15/images/cb1d7fcb67a477ca15cd0a8aa5a124fda2f0c30a81028df349966d6c5df7a13d/json"
326
+ body:
327
+ encoding: US-ASCII
328
+ string: ''
329
+ headers:
330
+ User-Agent:
331
+ - Swipely/Docker-API 1.15.0
332
+ Content-Type:
333
+ - text/plain
334
+ response:
335
+ status:
336
+ code: 200
337
+ message:
338
+ headers:
339
+ Content-Type:
340
+ - application/json
341
+ Date:
342
+ - Mon, 01 Dec 2014 18:08:19 GMT
343
+ Content-Length:
344
+ - '1297'
345
+ body:
346
+ encoding: UTF-8
347
+ string: |
348
+ {"Architecture":"amd64","Author":"","Comment":"","Config":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":["pwd"],"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":[],"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"ExposedPorts":null,"Hostname":"","Image":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":null,"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Container":"aad4fc67d9a3aacb77ce37fd6bad4db82f3df5b1f984a1473b401eca0668828f","ContainerConfig":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":["pwd"],"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":[],"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"ExposedPorts":null,"Hostname":"aad4fc67d9a3","Image":"debian:wheezy","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":null,"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Created":"2014-12-01T18:08:18.928032742Z","DockerVersion":"1.3.2","Id":"cb1d7fcb67a477ca15cd0a8aa5a124fda2f0c30a81028df349966d6c5df7a13d","Os":"linux","Parent":"f6fab3b798be3174f45aa1eb731f8182705555f89c9026d8c1ef230cbf8301dd","Size":0,"VirtualSize":85100505}
349
+ http_version:
350
+ recorded_at: Mon, 01 Dec 2014 18:08:19 GMT
351
+ - request:
352
+ method: delete
353
+ uri: "<DOCKER_HOST>/v1.15/images/cb1d7fcb67a477ca15cd0a8aa5a124fda2f0c30a81028df349966d6c5df7a13d?noprune=true"
354
+ body:
355
+ encoding: US-ASCII
356
+ string: ''
357
+ headers:
358
+ User-Agent:
359
+ - Swipely/Docker-API 1.15.0
360
+ Content-Type:
361
+ - text/plain
362
+ response:
363
+ status:
364
+ code: 200
365
+ message:
366
+ headers:
367
+ Content-Type:
368
+ - application/json
369
+ Date:
370
+ - Mon, 01 Dec 2014 18:08:20 GMT
371
+ Content-Length:
372
+ - '81'
373
+ body:
374
+ encoding: UTF-8
375
+ string: |-
376
+ [{"Deleted":"cb1d7fcb67a477ca15cd0a8aa5a124fda2f0c30a81028df349966d6c5df7a13d"}
377
+ ]
226
378
  http_version:
227
- recorded_at: Thu, 26 Jun 2014 19:47:12 GMT
228
- recorded_with: VCR 2.9.2
379
+ recorded_at: Mon, 01 Dec 2014 18:08:20 GMT
380
+ recorded_with: VCR 2.9.3