docker-api 1.5.4 → 1.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (52) hide show
  1. checksums.yaml +7 -0
  2. data/README.md +19 -10
  3. data/docker-api.gemspec +1 -1
  4. data/lib/docker.rb +14 -7
  5. data/lib/docker/connection.rb +6 -1
  6. data/lib/docker/image.rb +6 -5
  7. data/lib/docker/version.rb +1 -1
  8. data/spec/docker/connection_spec.rb +14 -6
  9. data/spec/docker/container_spec.rb +27 -8
  10. data/spec/docker/image_spec.rb +23 -5
  11. data/spec/docker_spec.rb +36 -28
  12. data/spec/vcr/Docker/_info/returns_the_info_as_a_Hash.yml +16 -13
  13. data/spec/vcr/Docker/_validate_version/when_nothing_is_raised/validate_version_/.yml +16 -13
  14. data/spec/vcr/Docker/_version/returns_the_version_as_a_Hash.yml +16 -13
  15. data/spec/vcr/Docker_Container/_all/when_the_HTTP_response_is_a_200/materializes_each_Container_into_a_Docker_Container.yml +120 -211
  16. data/spec/vcr/Docker_Container/_attach/yields_each_chunk.yml +46 -38
  17. data/spec/vcr/Docker_Container/_changes/returns_the_changes_as_an_array.yml +65 -53
  18. data/spec/vcr/Docker_Container/_commit/creates_a_new_Image_from_the_Container_s_changes.yml +50 -41
  19. data/spec/vcr/Docker_Container/_copy/when_the_file_does_not_exist/raises_an_error.yml +62 -48
  20. data/spec/vcr/Docker_Container/_copy/when_the_input_is_a_directory/yields_each_chunk_of_the_tarred_directory.yml +194 -119
  21. data/spec/vcr/Docker_Container/_copy/when_the_input_is_a_file/yields_each_chunk_of_the_tarred_file.yml +127 -52
  22. data/spec/vcr/Docker_Container/_create/when_the_Container_does_not_yet_exist/when_the_HTTP_request_returns_a_200/sets_the_id.yml +18 -15
  23. data/spec/vcr/Docker_Container/_delete/deletes_the_container.yml +62 -126
  24. data/spec/vcr/Docker_Container/_export/yields_each_chunk.yml +49 -66
  25. data/spec/vcr/Docker_Container/_json/returns_the_description_as_a_Hash.yml +33 -27
  26. data/spec/vcr/Docker_Container/_kill/kills_the_container.yml +91 -129
  27. data/spec/vcr/Docker_Container/_restart/restarts_the_container.yml +116 -95
  28. data/spec/vcr/Docker_Container/_run/when_the_Container_s_command_does_not_return_status_code_of_0/raises_an_error.yml +50 -41
  29. 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 +135 -109
  30. data/spec/vcr/Docker_Container/_start/starts_the_container.yml +28 -57
  31. data/spec/vcr/Docker_Container/_stop/stops_the_container.yml +107 -143
  32. data/spec/vcr/Docker_Container/_top/returns_the_top_commands_as_an_Array.yml +78 -39
  33. data/spec/vcr/Docker_Container/_wait/waits_for_the_command_to_finish.yml +50 -41
  34. data/spec/vcr/Docker_Container/_wait/when_an_argument_is_given/and_a_command_runs_for_too_long/raises_a_ServerError.yml +35 -29
  35. data/spec/vcr/Docker_Container/_wait/when_an_argument_is_given/sets_the_read_timeout_to_that_amount_of_time.yml +50 -41
  36. data/spec/vcr/Docker_Image/_all/materializes_each_Image_into_a_Docker_Image.yml +34 -26
  37. data/spec/vcr/Docker_Image/_build/with_a_valid_Dockerfile/builds_an_image.yml +17 -17
  38. data/spec/vcr/Docker_Image/_build/with_an_invalid_Dockerfile/throws_a_UnexpectedResponseError.yml +20 -15
  39. data/spec/vcr/Docker_Image/_create/when_the_Image_does_not_yet_exist_and_the_body_is_a_Hash/sets_the_id.yml +19 -14
  40. data/spec/vcr/Docker_Image/_history/returns_the_history_of_the_Image.yml +34 -26
  41. data/spec/vcr/Docker_Image/_insert/inserts_the_url_s_file_into_a_new_Image.yml +134 -95
  42. data/spec/vcr/Docker_Image/_insert_local/when_the_local_file_does_exist/creates_a_new_Image_that_has_that_file.yml +29 -29
  43. data/spec/vcr/Docker_Image/_insert_local/when_the_local_file_does_not_exist/raises_an_error.yml +5 -5
  44. data/spec/vcr/Docker_Image/_insert_local/when_there_are_multiple_files_passed/creates_a_new_Image_that_has_each_file.yml +30 -30
  45. data/spec/vcr/Docker_Image/_json/returns_additional_information_about_image_image.yml +34 -26
  46. data/spec/vcr/Docker_Image/_remove/removes_the_Image.yml +49 -38
  47. data/spec/vcr/Docker_Image/_run/when_the_argument_is_a_String/splits_the_String_by_spaces_and_creates_a_new_Container.yml +64 -51
  48. data/spec/vcr/Docker_Image/_run/when_the_argument_is_an_Array/creates_a_new_Container.yml +64 -51
  49. data/spec/vcr/Docker_Image/_search/materializes_each_Image_into_a_Docker_Image.yml +20 -14
  50. data/spec/vcr/Docker_Image/_tag/tags_the_image_with_the_repo_name.yml +33 -25
  51. metadata +29 -54
  52. data/spec/vcr/Docker_Container/_create/when_the_Container_does_not_yet_exist_and_the_body_is_a_Hash/when_the_HTTP_request_returns_a_200/sets_the_id.yml +0 -30
@@ -2,29 +2,32 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: http://localhost:4243/v1.4/images/search?term=sshd
5
+ uri: http://unix/v1.4/images/search?term=sshd
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
9
9
  headers:
10
+ User-Agent:
11
+ - Swipely/Docker-API 1.5.4
10
12
  Content-Type:
11
13
  - text/plain
12
- User-Agent:
13
- - Swipely/Docker-API 1.3.1
14
14
  response:
15
15
  status:
16
16
  code: 200
17
17
  message: ''
18
18
  headers:
19
- Content-Type:
20
- - application/json
21
- Content-Length:
22
- - '1798'
23
- Date:
24
- - Wed, 07 Aug 2013 16:52:53 GMT
19
+ !binary "Q29udGVudC1UeXBl":
20
+ - !binary |-
21
+ YXBwbGljYXRpb24vanNvbg==
22
+ !binary "RGF0ZQ==":
23
+ - !binary |-
24
+ TW9uLCAwNyBPY3QgMjAxMyAwMDo0ODowMiBHTVQ=
25
+ !binary "VHJhbnNmZXItRW5jb2Rpbmc=":
26
+ - !binary |-
27
+ Y2h1bmtlZA==
25
28
  body:
26
- encoding: UTF-8
27
- string: '[{"Name":"cespare/sshd","Description":""},{"Name":"johnfuller/sshd","Description":""},{"Name":"dhrp/mongodb-sshd","Description":""},{"Name":"rayang2004/sshd","Description":""},{"Name":"dhrp/sshd","Description":"SSH
29
+ encoding: US-ASCII
30
+ string: ! '[{"Name":"cespare/sshd","Description":""},{"Name":"johnfuller/sshd","Description":""},{"Name":"dhrp/mongodb-sshd","Description":""},{"Name":"rayang2004/sshd","Description":""},{"Name":"dhrp/sshd","Description":"SSH
28
31
  Daemon created in the ssh daemon documentation example"},{"Name":"toorop/daemontools-sshd","Description":"sshd
29
32
  daemon supervised by DJB daemontools - run cmd :\r\ndocker run -d -p 22 toorop/daemontools-sshd
30
33
  /usr/bin/svscanboot - \r\n\r\nDefault root password : demo - \r\n\r\nSSHD
@@ -39,7 +42,10 @@ http_interactions:
39
42
  toorop/golang /usr/bin/svscanboot\" - connect throw SSH \"ssh root@localhost
40
43
  -pSSHD_PORT\" default password is \"demo\" - add users : \"adduser USERNAME\"
41
44
  this will also configure USER $HOME directory - Start coding. Enjoy ;)"},{"Name":"wma55/u1210sshd","Description":""},{"Name":"jdswinbank/sshd","Description":""},{"Name":"vgauthier/sshd","Description":""},{"Name":"pshouse/sshd-pharo-core","Description":"Provides
42
- access to pharo-core command line interface"},{"Name":"dongweiming/sshd","Description":""},{"Name":"kpelykh/sshd","Description":""},{"Name":"oss17888/sshd","Description":""}]'
45
+ access to pharo-core command line interface"},{"Name":"dongweiming/sshd","Description":""},{"Name":"kpelykh/sshd","Description":""},{"Name":"oss17888/sshd","Description":""},{"Name":"zefhemel/sshd","Description":"Runs
46
+ a SSHd server in daemon mode"},{"Name":"lorieri/daemontools-sshd-nginx","Description":""},{"Name":"onyxperidot/base_sshd","Description":""},{"Name":"tekknolagi/sshd","Description":""},{"Name":"realyze/ubuntu-node-sshd","Description":"Ubuntu
47
+ 12.04\nNodeJS 0.10.18\nsshd"},{"Name":"hyao/sshd","Description":""},{"Name":"simoman/sshd","Description":"Base
48
+ + sshd + proxy + static ip addr."},{"Name":"blissdev/sshd","Description":""}]'
43
49
  http_version:
44
- recorded_at: Wed, 07 Aug 2013 16:52:53 GMT
45
- recorded_with: VCR 2.4.0
50
+ recorded_at: Mon, 07 Oct 2013 00:48:02 GMT
51
+ recorded_with: VCR 2.6.0
@@ -2,57 +2,65 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: http://localhost:4243/v1.4/images/create?fromImage=base
5
+ uri: http://unix/v1.4/images/create?fromImage=base
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
9
9
  headers:
10
+ User-Agent:
11
+ - Swipely/Docker-API 1.5.4
10
12
  Content-Type:
11
13
  - text/plain
12
- User-Agent:
13
- - Swipely/Docker-API 1.3.1
14
14
  response:
15
15
  status:
16
16
  code: 200
17
17
  message: ''
18
18
  headers:
19
- Content-Type:
20
- - application/json
21
- Date:
22
- - Wed, 07 Aug 2013 16:51:37 GMT
23
- Transfer-Encoding:
24
- - chunked
19
+ !binary "Q29udGVudC1UeXBl":
20
+ - !binary |-
21
+ YXBwbGljYXRpb24vanNvbg==
22
+ !binary "RGF0ZQ==":
23
+ - !binary |-
24
+ TW9uLCAwNyBPY3QgMjAxMyAwMDo0Nzo0NyBHTVQ=
25
+ !binary "VHJhbnNmZXItRW5jb2Rpbmc=":
26
+ - !binary |-
27
+ Y2h1bmtlZA==
25
28
  body:
26
- encoding: UTF-8
27
- string: '{"status":"Pulling repository base"}{"status":"Pulling image b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc
28
- (ubuntu-quantl) from base"}'
29
+ encoding: US-ASCII
30
+ string: ! '{"status":"Pulling repository base"}{"status":"Pulling","progress":"image
31
+ (ubuntu-quantl) from base","id":"b750fe79269d"}{"status":"Pulling","progress":"image
32
+ (ubuntu-quantl) from base, endpoint: https://cdn-registry-1.docker.io/v1/","id":"b750fe79269d"}{"status":"Pulling","progress":"dependend
33
+ layers","id":"b750fe79269d"}{"status":"Download","progress":"complete","id":"b750fe79269d"}{"status":"Download","progress":"complete","id":"27cf78414709"}{"status":"Download","progress":"complete","id":"b750fe79269d"}'
29
34
  http_version:
30
- recorded_at: Wed, 07 Aug 2013 16:51:39 GMT
35
+ recorded_at: Mon, 07 Oct 2013 00:47:50 GMT
31
36
  - request:
32
37
  method: post
33
- uri: http://localhost:4243/v1.4/images/base/tag?force=true&repo=base2
38
+ uri: http://unix/v1.4/images/base/tag?force=true&repo=base2
34
39
  body:
35
40
  encoding: US-ASCII
36
41
  string: ''
37
42
  headers:
43
+ User-Agent:
44
+ - Swipely/Docker-API 1.5.4
38
45
  Content-Type:
39
46
  - text/plain
40
- User-Agent:
41
- - Swipely/Docker-API 1.3.1
42
47
  response:
43
48
  status:
44
49
  code: 201
45
50
  message: ''
46
51
  headers:
47
- Content-Type:
48
- - text/plain; charset=utf-8
49
- Content-Length:
50
- - '0'
51
- Date:
52
- - Wed, 07 Aug 2013 16:51:39 GMT
52
+ !binary "Q29udGVudC1UeXBl":
53
+ - !binary |-
54
+ dGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOA==
55
+ !binary "Q29udGVudC1MZW5ndGg=":
56
+ - !binary |-
57
+ MA==
58
+ !binary "RGF0ZQ==":
59
+ - !binary |-
60
+ TW9uLCAwNyBPY3QgMjAxMyAwMDo0Nzo1MCBHTVQ=
53
61
  body:
54
- encoding: UTF-8
62
+ encoding: US-ASCII
55
63
  string: ''
56
64
  http_version:
57
- recorded_at: Wed, 07 Aug 2013 16:51:39 GMT
58
- recorded_with: VCR 2.4.0
65
+ recorded_at: Mon, 07 Oct 2013 00:47:50 GMT
66
+ recorded_with: VCR 2.6.0
metadata CHANGED
@@ -1,174 +1,153 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: docker-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.4
5
- prerelease:
4
+ version: 1.6.0
6
5
  platform: ruby
7
6
  authors:
8
7
  - Swipely, Inc.
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-09-18 00:00:00.000000000 Z
11
+ date: 2013-10-30 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: excon
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ! '>='
17
+ - - '>='
20
18
  - !ruby/object:Gem::Version
21
- version: 0.22.0
19
+ version: 0.27.3
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ! '>='
24
+ - - '>='
28
25
  - !ruby/object:Gem::Version
29
- version: 0.22.0
26
+ version: 0.27.3
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: json
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
- - - ! '>='
31
+ - - '>='
36
32
  - !ruby/object:Gem::Version
37
33
  version: '0'
38
34
  type: :runtime
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
- - - ! '>='
38
+ - - '>='
44
39
  - !ruby/object:Gem::Version
45
40
  version: '0'
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: archive-tar-minitar
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
- - - ! '>='
45
+ - - '>='
52
46
  - !ruby/object:Gem::Version
53
47
  version: '0'
54
48
  type: :runtime
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
- - - ! '>='
52
+ - - '>='
60
53
  - !ruby/object:Gem::Version
61
54
  version: '0'
62
55
  - !ruby/object:Gem::Dependency
63
56
  name: rake
64
57
  requirement: !ruby/object:Gem::Requirement
65
- none: false
66
58
  requirements:
67
- - - ! '>='
59
+ - - '>='
68
60
  - !ruby/object:Gem::Version
69
61
  version: '0'
70
62
  type: :development
71
63
  prerelease: false
72
64
  version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
65
  requirements:
75
- - - ! '>='
66
+ - - '>='
76
67
  - !ruby/object:Gem::Version
77
68
  version: '0'
78
69
  - !ruby/object:Gem::Dependency
79
70
  name: rspec
80
71
  requirement: !ruby/object:Gem::Requirement
81
- none: false
82
72
  requirements:
83
- - - ! '>='
73
+ - - '>='
84
74
  - !ruby/object:Gem::Version
85
75
  version: '0'
86
76
  type: :development
87
77
  prerelease: false
88
78
  version_requirements: !ruby/object:Gem::Requirement
89
- none: false
90
79
  requirements:
91
- - - ! '>='
80
+ - - '>='
92
81
  - !ruby/object:Gem::Version
93
82
  version: '0'
94
83
  - !ruby/object:Gem::Dependency
95
84
  name: cane
96
85
  requirement: !ruby/object:Gem::Requirement
97
- none: false
98
86
  requirements:
99
- - - ! '>='
87
+ - - '>='
100
88
  - !ruby/object:Gem::Version
101
89
  version: '0'
102
90
  type: :development
103
91
  prerelease: false
104
92
  version_requirements: !ruby/object:Gem::Requirement
105
- none: false
106
93
  requirements:
107
- - - ! '>='
94
+ - - '>='
108
95
  - !ruby/object:Gem::Version
109
96
  version: '0'
110
97
  - !ruby/object:Gem::Dependency
111
98
  name: pry
112
99
  requirement: !ruby/object:Gem::Requirement
113
- none: false
114
100
  requirements:
115
- - - ! '>='
101
+ - - '>='
116
102
  - !ruby/object:Gem::Version
117
103
  version: '0'
118
104
  type: :development
119
105
  prerelease: false
120
106
  version_requirements: !ruby/object:Gem::Requirement
121
- none: false
122
107
  requirements:
123
- - - ! '>='
108
+ - - '>='
124
109
  - !ruby/object:Gem::Version
125
110
  version: '0'
126
111
  - !ruby/object:Gem::Dependency
127
112
  name: webmock
128
113
  requirement: !ruby/object:Gem::Requirement
129
- none: false
130
114
  requirements:
131
- - - ! '>='
115
+ - - '>='
132
116
  - !ruby/object:Gem::Version
133
117
  version: 1.11.0
134
118
  type: :development
135
119
  prerelease: false
136
120
  version_requirements: !ruby/object:Gem::Requirement
137
- none: false
138
121
  requirements:
139
- - - ! '>='
122
+ - - '>='
140
123
  - !ruby/object:Gem::Version
141
124
  version: 1.11.0
142
125
  - !ruby/object:Gem::Dependency
143
126
  name: vcr
144
127
  requirement: !ruby/object:Gem::Requirement
145
- none: false
146
128
  requirements:
147
- - - ! '>='
129
+ - - '>='
148
130
  - !ruby/object:Gem::Version
149
131
  version: 2.4.0
150
132
  type: :development
151
133
  prerelease: false
152
134
  version_requirements: !ruby/object:Gem::Requirement
153
- none: false
154
135
  requirements:
155
- - - ! '>='
136
+ - - '>='
156
137
  - !ruby/object:Gem::Version
157
138
  version: 2.4.0
158
139
  - !ruby/object:Gem::Dependency
159
140
  name: simplecov
160
141
  requirement: !ruby/object:Gem::Requirement
161
- none: false
162
142
  requirements:
163
- - - ! '>='
143
+ - - '>='
164
144
  - !ruby/object:Gem::Version
165
145
  version: '0'
166
146
  type: :development
167
147
  prerelease: false
168
148
  version_requirements: !ruby/object:Gem::Requirement
169
- none: false
170
149
  requirements:
171
- - - ! '>='
150
+ - - '>='
172
151
  - !ruby/object:Gem::Version
173
152
  version: '0'
174
153
  description: A simple REST client for the Docker Remote API
@@ -213,7 +192,6 @@ files:
213
192
  - spec/vcr/Docker_Container/_copy/when_the_input_is_a_directory/yields_each_chunk_of_the_tarred_directory.yml
214
193
  - spec/vcr/Docker_Container/_copy/when_the_input_is_a_file/yields_each_chunk_of_the_tarred_file.yml
215
194
  - spec/vcr/Docker_Container/_create/when_the_Container_does_not_yet_exist/when_the_HTTP_request_returns_a_200/sets_the_id.yml
216
- - spec/vcr/Docker_Container/_create/when_the_Container_does_not_yet_exist_and_the_body_is_a_Hash/when_the_HTTP_request_returns_a_200/sets_the_id.yml
217
195
  - spec/vcr/Docker_Container/_delete/deletes_the_container.yml
218
196
  - spec/vcr/Docker_Container/_export/yields_each_chunk.yml
219
197
  - spec/vcr/Docker_Container/_json/returns_the_description_as_a_Hash.yml
@@ -245,27 +223,26 @@ files:
245
223
  homepage: https://github.com/swipely/docker-api
246
224
  licenses:
247
225
  - MIT
226
+ metadata: {}
248
227
  post_install_message:
249
228
  rdoc_options: []
250
229
  require_paths:
251
230
  - lib
252
231
  required_ruby_version: !ruby/object:Gem::Requirement
253
- none: false
254
232
  requirements:
255
- - - ! '>='
233
+ - - '>='
256
234
  - !ruby/object:Gem::Version
257
235
  version: '0'
258
236
  required_rubygems_version: !ruby/object:Gem::Requirement
259
- none: false
260
237
  requirements:
261
- - - ! '>='
238
+ - - '>='
262
239
  - !ruby/object:Gem::Version
263
240
  version: '0'
264
241
  requirements: []
265
242
  rubyforge_project:
266
- rubygems_version: 1.8.23
243
+ rubygems_version: 2.0.3
267
244
  signing_key:
268
- specification_version: 3
245
+ specification_version: 4
269
246
  summary: A simple REST client for the Docker Remote API
270
247
  test_files:
271
248
  - spec/docker/connection_spec.rb
@@ -287,7 +264,6 @@ test_files:
287
264
  - spec/vcr/Docker_Container/_copy/when_the_input_is_a_directory/yields_each_chunk_of_the_tarred_directory.yml
288
265
  - spec/vcr/Docker_Container/_copy/when_the_input_is_a_file/yields_each_chunk_of_the_tarred_file.yml
289
266
  - spec/vcr/Docker_Container/_create/when_the_Container_does_not_yet_exist/when_the_HTTP_request_returns_a_200/sets_the_id.yml
290
- - spec/vcr/Docker_Container/_create/when_the_Container_does_not_yet_exist_and_the_body_is_a_Hash/when_the_HTTP_request_returns_a_200/sets_the_id.yml
291
267
  - spec/vcr/Docker_Container/_delete/deletes_the_container.yml
292
268
  - spec/vcr/Docker_Container/_export/yields_each_chunk.yml
293
269
  - spec/vcr/Docker_Container/_json/returns_the_description_as_a_Hash.yml
@@ -316,4 +292,3 @@ test_files:
316
292
  - spec/vcr/Docker_Image/_run/when_the_argument_is_an_Array/creates_a_new_Container.yml
317
293
  - spec/vcr/Docker_Image/_search/materializes_each_Image_into_a_Docker_Image.yml
318
294
  - spec/vcr/Docker_Image/_tag/tags_the_image_with_the_repo_name.yml
319
- has_rdoc:
@@ -1,30 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: post
5
- uri: http://localhost:4243/v1.4/containers/create
6
- body:
7
- encoding: UTF-8
8
- string: '{"Hostname":"","User":"","Memory":0,"MemorySwap":0,"AttachStdin":false,"AttachStdout":false,"AttachStderr":false,"PortSpecs":null,"Tty":false,"OpenStdin":false,"StdinOnce":false,"Env":null,"Cmd":["date"],"Dns":null,"Image":"base","Volumes":{},"VolumesFrom":""}'
9
- headers:
10
- Content-Type:
11
- - text/plain
12
- User-Agent:
13
- - Swipely/Docker-API 1.3.1
14
- response:
15
- status:
16
- code: 201
17
- message: ''
18
- headers:
19
- Content-Type:
20
- - text/plain; charset=utf-8
21
- Content-Length:
22
- - '21'
23
- Date:
24
- - Wed, 07 Aug 2013 16:51:31 GMT
25
- body:
26
- encoding: UTF-8
27
- string: '{"Id":"dd04be708f2e"}'
28
- http_version:
29
- recorded_at: Wed, 07 Aug 2013 16:51:31 GMT
30
- recorded_with: VCR 2.4.0