docker-api 1.7.6 → 1.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (66) hide show
  1. checksums.yaml +7 -0
  2. data/lib/docker.rb +9 -9
  3. data/lib/docker/connection.rb +1 -1
  4. data/lib/docker/container.rb +1 -2
  5. data/lib/docker/image.rb +7 -6
  6. data/lib/docker/version.rb +2 -2
  7. data/spec/docker/connection_spec.rb +2 -2
  8. data/spec/docker/container_spec.rb +12 -10
  9. data/spec/docker/image_spec.rb +13 -13
  10. data/spec/docker_spec.rb +5 -4
  11. data/spec/vcr/Docker/_authenticate_/with_valid_credentials/logs_in_and_sets_the_creds.yml +1 -1
  12. data/spec/vcr/Docker/_info/returns_the_info_as_a_Hash.yml +17 -15
  13. data/spec/vcr/Docker/_validate_version/when_nothing_is_raised/validate_version_/.yml +17 -15
  14. data/spec/vcr/Docker/_version/returns_the_version_as_a_Hash.yml +17 -15
  15. data/spec/vcr/Docker_Container/_all/when_the_HTTP_response_is_a_200/materializes_each_Container_into_a_Docker_Container.yml +96 -46
  16. data/spec/vcr/Docker_Container/_attach/with_normal_sized_chunks/yields_each_chunk.yml +35 -37
  17. data/spec/vcr/Docker_Container/_attach/with_very_small_chunks/yields_each_chunk.yml +35 -37
  18. data/spec/vcr/Docker_Container/_changes/returns_the_changes_as_an_array.yml +60 -58
  19. data/spec/vcr/Docker_Container/_commit/creates_a_new_Image_from_the_Container_s_changes.yml +46 -47
  20. data/spec/vcr/Docker_Container/_commit/if_run_is_passed_it_saves_the_command_in_the_image/saves_the_command.yml +78 -81
  21. data/spec/vcr/Docker_Container/_copy/when_the_file_does_not_exist/raises_an_error.yml +77 -80
  22. data/spec/vcr/Docker_Container/_copy/when_the_input_is_a_directory/yields_each_chunk_of_the_tarred_directory.yml +91 -182
  23. data/spec/vcr/Docker_Container/_copy/when_the_input_is_a_file/yields_each_chunk_of_the_tarred_file.yml +80 -273
  24. data/spec/vcr/Docker_Container/_create/when_creating_a_container_named_bob/should_have_name_set_to_bob.yml +20 -15
  25. data/spec/vcr/Docker_Container/_create/when_the_Container_does_not_yet_exist/when_the_HTTP_request_returns_a_200/sets_the_id.yml +16 -16
  26. data/spec/vcr/Docker_Container/_delete/deletes_the_container.yml +41 -43
  27. data/spec/vcr/Docker_Container/_export/yields_each_chunk.yml +82759 -46
  28. data/spec/vcr/Docker_Container/_get/when_the_HTTP_response_is_a_200/materializes_the_Container_into_a_Docker_Container.yml +29 -30
  29. data/spec/vcr/Docker_Container/_json/returns_the_description_as_a_Hash.yml +29 -30
  30. data/spec/vcr/Docker_Container/_kill/kills_the_container.yml +69 -71
  31. data/spec/vcr/Docker_Container/_restart/restarts_the_container.yml +98 -102
  32. data/spec/vcr/Docker_Container/_run/when_the_Container_s_command_does_not_return_status_code_of_0/raises_an_error.yml +43 -44
  33. 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 +117 -122
  34. data/spec/vcr/Docker_Container/_start/starts_the_container.yml +58 -59
  35. data/spec/vcr/Docker_Container/_stop/stops_the_container.yml +81 -84
  36. data/spec/vcr/Docker_Container/_top/returns_the_top_commands_as_an_Array.yml +116 -87
  37. data/spec/vcr/Docker_Container/_wait/waits_for_the_command_to_finish.yml +43 -44
  38. data/spec/vcr/Docker_Container/_wait/when_an_argument_is_given/and_a_command_runs_for_too_long/raises_a_ServerError.yml +29 -30
  39. data/spec/vcr/Docker_Container/_wait/when_an_argument_is_given/sets_the_read_timeout_to_that_amount_of_time.yml +43 -44
  40. data/spec/vcr/Docker_Image/_all/materializes_each_Image_into_a_Docker_Image.yml +46 -32
  41. 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 -9
  42. 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 +42 -31
  43. data/spec/vcr/Docker_Image/_build/with_a_valid_Dockerfile/without_query_parameters/builds_an_image.yml +16 -16
  44. data/spec/vcr/Docker_Image/_build/with_an_invalid_Dockerfile/throws_a_UnexpectedResponseError.yml +17 -19
  45. 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 +9 -8
  46. data/spec/vcr/Docker_Image/_build_from_dir/with_a_valid_Dockerfile/with_no_query_parameters/builds_the_image.yml +50 -52
  47. 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 +76 -66
  48. data/spec/vcr/Docker_Image/_create/when_the_Image_does_not_yet_exist_and_the_body_is_a_Hash/sets_the_id.yml +20 -18
  49. data/spec/vcr/Docker_Image/_get/when_the_image_does_exist/returns_the_new_image.yml +14 -15
  50. data/spec/vcr/Docker_Image/_history/returns_the_history_of_the_Image.yml +36 -32
  51. data/spec/vcr/Docker_Image/_insert/inserts_the_url_s_file_into_a_new_Image.yml +70 -86
  52. data/spec/vcr/Docker_Image/_insert_local/when_removing_intermediate_containers/creates_a_new_image.yml +69 -47
  53. data/spec/vcr/Docker_Image/_insert_local/when_removing_intermediate_containers/leave_no_intermediate_containers.yml +118 -47
  54. data/spec/vcr/Docker_Image/_insert_local/when_the_local_file_does_exist/creates_a_new_Image_that_has_that_file.yml +68 -70
  55. data/spec/vcr/Docker_Image/_insert_local/when_the_local_file_does_not_exist/raises_an_error.yml +16 -16
  56. data/spec/vcr/Docker_Image/_insert_local/when_there_are_multiple_files_passed/creates_a_new_Image_that_has_each_file.yml +70 -72
  57. data/spec/vcr/Docker_Image/_json/returns_additional_information_about_image_image.yml +33 -32
  58. data/spec/vcr/Docker_Image/_push/pushes_the_Image.yml +162 -105
  59. data/spec/vcr/Docker_Image/_remove/removes_the_Image.yml +53 -46
  60. data/spec/vcr/Docker_Image/_run/when_the_argument_is_a_String/splits_the_String_by_spaces_and_creates_a_new_Container.yml +54 -54
  61. data/spec/vcr/Docker_Image/_run/when_the_argument_is_an_Array/creates_a_new_Container.yml +54 -54
  62. 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 +46 -101
  63. 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 +35 -35
  64. data/spec/vcr/Docker_Image/_search/materializes_each_Image_into_a_Docker_Image.yml +94 -35
  65. data/spec/vcr/Docker_Image/_tag/tags_the_image_with_the_repo_name.yml +32 -31
  66. metadata +29 -49
@@ -2,13 +2,13 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: unix:///var/run/docker.sock/v1.6/containers/create
5
+ uri: unix:///var/run/docker.sock/v1.8/containers/create
6
6
  body:
7
7
  encoding: UTF-8
8
- string: ! '{"Cmd":["lol","not","a","real","command"],"Image":"base"}'
8
+ string: "{\"Cmd\":[\"lol\",\"not\",\"a\",\"real\",\"command\"],\"Image\":\"base\"}"
9
9
  headers:
10
10
  User-Agent:
11
- - Swipely/Docker-API 1.6.0
11
+ - Swipely/Docker-API 1.7.6
12
12
  Content-Type:
13
13
  - application/json
14
14
  response:
@@ -16,29 +16,29 @@ http_interactions:
16
16
  code: 201
17
17
  message:
18
18
  headers:
19
- !binary "Q29udGVudC1UeXBl":
20
- - !binary |-
21
- YXBwbGljYXRpb24vanNvbg==
22
- !binary "Q29udGVudC1MZW5ndGg=":
23
- - !binary |-
24
- MjE=
25
- !binary "RGF0ZQ==":
26
- - !binary |-
27
- RnJpLCAyNSBPY3QgMjAxMyAxNjoyOToxOCBHTVQ=
19
+ Content-Type:
20
+ - application/json
21
+ Date:
22
+ - Wed, 12 Feb 2014 17:05:41 GMT
23
+ Content-Length:
24
+ - '90'
25
+ Connection:
26
+ - close
28
27
  body:
29
- encoding: US-ASCII
30
- string: ! '{"Id":"a5c13ba96ab3"}'
28
+ encoding: UTF-8
29
+ string: |
30
+ {"Id":"ff01ea70677f91c239614d06d5594bee143047e2a8144b60ee012f5cd4619729","Warnings":null}
31
31
  http_version:
32
- recorded_at: Fri, 25 Oct 2013 16:29:18 GMT
32
+ recorded_at: Wed, 12 Feb 2014 17:05:41 GMT
33
33
  - request:
34
34
  method: post
35
- uri: unix:///var/run/docker.sock/v1.6/containers/a5c13ba96ab3/start
35
+ uri: unix:///var/run/docker.sock/v1.8/containers/ff01ea70677f91c239614d06d5594bee143047e2a8144b60ee012f5cd4619729/start
36
36
  body:
37
37
  encoding: UTF-8
38
- string: ! '{}'
38
+ string: "{}"
39
39
  headers:
40
40
  User-Agent:
41
- - Swipely/Docker-API 1.6.0
41
+ - Swipely/Docker-API 1.7.6
42
42
  Content-Type:
43
43
  - application/json
44
44
  response:
@@ -46,29 +46,28 @@ http_interactions:
46
46
  code: 204
47
47
  message:
48
48
  headers:
49
- !binary "Q29udGVudC1UeXBl":
50
- - !binary |-
51
- dGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOA==
52
- !binary "Q29udGVudC1MZW5ndGg=":
53
- - !binary |-
54
- MA==
55
- !binary "RGF0ZQ==":
56
- - !binary |-
57
- RnJpLCAyNSBPY3QgMjAxMyAxNjoyOToxOCBHTVQ=
49
+ Date:
50
+ - Wed, 12 Feb 2014 17:05:41 GMT
51
+ Content-Length:
52
+ - '0'
53
+ Content-Type:
54
+ - text/plain; charset=utf-8
55
+ Connection:
56
+ - close
58
57
  body:
59
- encoding: US-ASCII
58
+ encoding: UTF-8
60
59
  string: ''
61
60
  http_version:
62
- recorded_at: Fri, 25 Oct 2013 16:29:18 GMT
61
+ recorded_at: Wed, 12 Feb 2014 17:05:41 GMT
63
62
  - request:
64
63
  method: post
65
- uri: unix:///var/run/docker.sock/v1.6/containers/a5c13ba96ab3/wait
64
+ uri: unix:///var/run/docker.sock/v1.8/containers/ff01ea70677f91c239614d06d5594bee143047e2a8144b60ee012f5cd4619729/wait
66
65
  body:
67
66
  encoding: US-ASCII
68
67
  string: ''
69
68
  headers:
70
69
  User-Agent:
71
- - Swipely/Docker-API 1.6.0
70
+ - Swipely/Docker-API 1.7.6
72
71
  Content-Type:
73
72
  - text/plain
74
73
  response:
@@ -76,18 +75,18 @@ http_interactions:
76
75
  code: 200
77
76
  message:
78
77
  headers:
79
- !binary "Q29udGVudC1UeXBl":
80
- - !binary |-
81
- YXBwbGljYXRpb24vanNvbg==
82
- !binary "Q29udGVudC1MZW5ndGg=":
83
- - !binary |-
84
- MTg=
85
- !binary "RGF0ZQ==":
86
- - !binary |-
87
- RnJpLCAyNSBPY3QgMjAxMyAxNjoyOToxOCBHTVQ=
78
+ Content-Type:
79
+ - application/json
80
+ Date:
81
+ - Wed, 12 Feb 2014 17:05:42 GMT
82
+ Content-Length:
83
+ - '19'
84
+ Connection:
85
+ - close
88
86
  body:
89
- encoding: US-ASCII
90
- string: ! '{"StatusCode":127}'
87
+ encoding: UTF-8
88
+ string: |
89
+ {"StatusCode":127}
91
90
  http_version:
92
- recorded_at: Fri, 25 Oct 2013 16:29:18 GMT
93
- recorded_with: VCR 2.6.0
91
+ recorded_at: Wed, 12 Feb 2014 17:05:42 GMT
92
+ recorded_with: VCR 2.8.0
@@ -2,13 +2,13 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: unix:///var/run/docker.sock/v1.6/containers/create
5
+ uri: unix:///var/run/docker.sock/v1.8/containers/create
6
6
  body:
7
7
  encoding: UTF-8
8
- string: ! '{"Cmd":["pwd"],"Image":"base"}'
8
+ string: "{\"Cmd\":[\"pwd\"],\"Image\":\"base\"}"
9
9
  headers:
10
10
  User-Agent:
11
- - Swipely/Docker-API 1.6.0
11
+ - Swipely/Docker-API 1.7.6
12
12
  Content-Type:
13
13
  - application/json
14
14
  response:
@@ -16,29 +16,29 @@ http_interactions:
16
16
  code: 201
17
17
  message:
18
18
  headers:
19
- !binary "Q29udGVudC1UeXBl":
20
- - !binary |-
21
- YXBwbGljYXRpb24vanNvbg==
22
- !binary "Q29udGVudC1MZW5ndGg=":
23
- - !binary |-
24
- MjE=
25
- !binary "RGF0ZQ==":
26
- - !binary |-
27
- RnJpLCAyNSBPY3QgMjAxMyAxODoxMzowOCBHTVQ=
19
+ Content-Type:
20
+ - application/json
21
+ Date:
22
+ - Wed, 12 Feb 2014 17:05:42 GMT
23
+ Content-Length:
24
+ - '90'
25
+ Connection:
26
+ - close
28
27
  body:
29
- encoding: US-ASCII
30
- string: ! '{"Id":"e1c2ccad8149"}'
28
+ encoding: UTF-8
29
+ string: |
30
+ {"Id":"d062ac41f03d49177f1500f219a91ad4e2f51a168b9737f5066965941a52debe","Warnings":null}
31
31
  http_version:
32
- recorded_at: Fri, 25 Oct 2013 18:13:08 GMT
32
+ recorded_at: Wed, 12 Feb 2014 17:05:42 GMT
33
33
  - request:
34
34
  method: post
35
- uri: unix:///var/run/docker.sock/v1.6/containers/e1c2ccad8149/start
35
+ uri: unix:///var/run/docker.sock/v1.8/containers/d062ac41f03d49177f1500f219a91ad4e2f51a168b9737f5066965941a52debe/start
36
36
  body:
37
37
  encoding: UTF-8
38
- string: ! '{}'
38
+ string: "{}"
39
39
  headers:
40
40
  User-Agent:
41
- - Swipely/Docker-API 1.6.0
41
+ - Swipely/Docker-API 1.7.6
42
42
  Content-Type:
43
43
  - application/json
44
44
  response:
@@ -46,29 +46,28 @@ http_interactions:
46
46
  code: 204
47
47
  message:
48
48
  headers:
49
- !binary "Q29udGVudC1UeXBl":
50
- - !binary |-
51
- dGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOA==
52
- !binary "Q29udGVudC1MZW5ndGg=":
53
- - !binary |-
54
- MA==
55
- !binary "RGF0ZQ==":
56
- - !binary |-
57
- RnJpLCAyNSBPY3QgMjAxMyAxODoxMzowOCBHTVQ=
49
+ Date:
50
+ - Wed, 12 Feb 2014 17:05:43 GMT
51
+ Content-Length:
52
+ - '0'
53
+ Content-Type:
54
+ - text/plain; charset=utf-8
55
+ Connection:
56
+ - close
58
57
  body:
59
- encoding: US-ASCII
58
+ encoding: UTF-8
60
59
  string: ''
61
60
  http_version:
62
- recorded_at: Fri, 25 Oct 2013 18:13:08 GMT
61
+ recorded_at: Wed, 12 Feb 2014 17:05:43 GMT
63
62
  - request:
64
63
  method: post
65
- uri: unix:///var/run/docker.sock/v1.6/containers/e1c2ccad8149/wait
64
+ uri: unix:///var/run/docker.sock/v1.8/containers/d062ac41f03d49177f1500f219a91ad4e2f51a168b9737f5066965941a52debe/wait
66
65
  body:
67
66
  encoding: US-ASCII
68
67
  string: ''
69
68
  headers:
70
69
  User-Agent:
71
- - Swipely/Docker-API 1.6.0
70
+ - Swipely/Docker-API 1.7.6
72
71
  Content-Type:
73
72
  - text/plain
74
73
  response:
@@ -76,59 +75,59 @@ http_interactions:
76
75
  code: 200
77
76
  message:
78
77
  headers:
79
- !binary "Q29udGVudC1UeXBl":
80
- - !binary |-
81
- YXBwbGljYXRpb24vanNvbg==
82
- !binary "Q29udGVudC1MZW5ndGg=":
83
- - !binary |-
84
- MTY=
85
- !binary "RGF0ZQ==":
86
- - !binary |-
87
- RnJpLCAyNSBPY3QgMjAxMyAxODoxMzowOCBHTVQ=
78
+ Content-Type:
79
+ - application/json
80
+ Date:
81
+ - Wed, 12 Feb 2014 17:05:43 GMT
82
+ Content-Length:
83
+ - '17'
84
+ Connection:
85
+ - close
88
86
  body:
89
- encoding: US-ASCII
90
- string: ! '{"StatusCode":0}'
87
+ encoding: UTF-8
88
+ string: |
89
+ {"StatusCode":0}
91
90
  http_version:
92
- recorded_at: Fri, 25 Oct 2013 18:13:08 GMT
91
+ recorded_at: Wed, 12 Feb 2014 17:05:43 GMT
93
92
  - request:
94
93
  method: post
95
- uri: unix:///var/run/docker.sock/v1.6/commit?container=e1c2ccad
94
+ uri: unix:///var/run/docker.sock/v1.8/commit?container=d062ac41
96
95
  body:
97
- encoding: US-ASCII
98
- string: ''
96
+ encoding: UTF-8
97
+ string: 'null'
99
98
  headers:
100
99
  User-Agent:
101
- - Swipely/Docker-API 1.6.0
100
+ - Swipely/Docker-API 1.7.6
102
101
  Content-Type:
103
- - text/plain
102
+ - application/json
104
103
  response:
105
104
  status:
106
105
  code: 201
107
106
  message:
108
107
  headers:
109
- !binary "Q29udGVudC1UeXBl":
110
- - !binary |-
111
- YXBwbGljYXRpb24vanNvbg==
112
- !binary "Q29udGVudC1MZW5ndGg=":
113
- - !binary |-
114
- MjE=
115
- !binary "RGF0ZQ==":
116
- - !binary |-
117
- RnJpLCAyNSBPY3QgMjAxMyAxODoxMzowOCBHTVQ=
108
+ Content-Type:
109
+ - application/json
110
+ Date:
111
+ - Wed, 12 Feb 2014 17:05:46 GMT
112
+ Content-Length:
113
+ - '74'
114
+ Connection:
115
+ - close
118
116
  body:
119
- encoding: US-ASCII
120
- string: ! '{"Id":"4b92a6a2b057"}'
117
+ encoding: UTF-8
118
+ string: |
119
+ {"Id":"328de6c59bef1db641600ea40668bbd57f6966a146bebe9640030dea13d0008c"}
121
120
  http_version:
122
- recorded_at: Fri, 25 Oct 2013 18:13:08 GMT
121
+ recorded_at: Wed, 12 Feb 2014 17:05:46 GMT
123
122
  - request:
124
123
  method: post
125
- uri: unix:///var/run/docker.sock/v1.6/containers/create
124
+ uri: unix:///var/run/docker.sock/v1.8/containers/create
126
125
  body:
127
126
  encoding: UTF-8
128
- string: ! '{"Image":"4b92a6a2b057","Cmd":["ls"]}'
127
+ string: "{\"Image\":\"328de6c59bef1db641600ea40668bbd57f6966a146bebe9640030dea13d0008c\",\"Cmd\":[\"ls\"]}"
129
128
  headers:
130
129
  User-Agent:
131
- - Swipely/Docker-API 1.6.0
130
+ - Swipely/Docker-API 1.7.6
132
131
  Content-Type:
133
132
  - application/json
134
133
  response:
@@ -136,29 +135,29 @@ http_interactions:
136
135
  code: 201
137
136
  message:
138
137
  headers:
139
- !binary "Q29udGVudC1UeXBl":
140
- - !binary |-
141
- YXBwbGljYXRpb24vanNvbg==
142
- !binary "Q29udGVudC1MZW5ndGg=":
143
- - !binary |-
144
- MjE=
145
- !binary "RGF0ZQ==":
146
- - !binary |-
147
- RnJpLCAyNSBPY3QgMjAxMyAxODoxMzowOCBHTVQ=
138
+ Content-Type:
139
+ - application/json
140
+ Date:
141
+ - Wed, 12 Feb 2014 17:05:47 GMT
142
+ Content-Length:
143
+ - '90'
144
+ Connection:
145
+ - close
148
146
  body:
149
- encoding: US-ASCII
150
- string: ! '{"Id":"f57f08bf4190"}'
147
+ encoding: UTF-8
148
+ string: |
149
+ {"Id":"28d003c06e3f52d738615f1d36e6f5495d55be378f3c3d855957c5b52eadb476","Warnings":null}
151
150
  http_version:
152
- recorded_at: Fri, 25 Oct 2013 18:13:08 GMT
151
+ recorded_at: Wed, 12 Feb 2014 17:05:47 GMT
153
152
  - request:
154
153
  method: post
155
- uri: unix:///var/run/docker.sock/v1.6/containers/f57f08bf4190/start
154
+ uri: unix:///var/run/docker.sock/v1.8/containers/28d003c06e3f52d738615f1d36e6f5495d55be378f3c3d855957c5b52eadb476/start
156
155
  body:
157
156
  encoding: UTF-8
158
- string: ! '{}'
157
+ string: "{}"
159
158
  headers:
160
159
  User-Agent:
161
- - Swipely/Docker-API 1.6.0
160
+ - Swipely/Docker-API 1.7.6
162
161
  Content-Type:
163
162
  - application/json
164
163
  response:
@@ -166,29 +165,28 @@ http_interactions:
166
165
  code: 204
167
166
  message:
168
167
  headers:
169
- !binary "Q29udGVudC1UeXBl":
170
- - !binary |-
171
- dGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOA==
172
- !binary "Q29udGVudC1MZW5ndGg=":
173
- - !binary |-
174
- MA==
175
- !binary "RGF0ZQ==":
176
- - !binary |-
177
- RnJpLCAyNSBPY3QgMjAxMyAxODoxMzowOCBHTVQ=
168
+ Date:
169
+ - Wed, 12 Feb 2014 17:05:47 GMT
170
+ Content-Length:
171
+ - '0'
172
+ Content-Type:
173
+ - text/plain; charset=utf-8
174
+ Connection:
175
+ - close
178
176
  body:
179
- encoding: US-ASCII
177
+ encoding: UTF-8
180
178
  string: ''
181
179
  http_version:
182
- recorded_at: Fri, 25 Oct 2013 18:13:08 GMT
180
+ recorded_at: Wed, 12 Feb 2014 17:05:47 GMT
183
181
  - request:
184
182
  method: post
185
- uri: unix:///var/run/docker.sock/v1.6/containers/f57f08bf4190/start
183
+ uri: unix:///var/run/docker.sock/v1.8/containers/28d003c06e3f52d738615f1d36e6f5495d55be378f3c3d855957c5b52eadb476/start
186
184
  body:
187
185
  encoding: UTF-8
188
- string: ! '{}'
186
+ string: "{}"
189
187
  headers:
190
188
  User-Agent:
191
- - Swipely/Docker-API 1.6.0
189
+ - Swipely/Docker-API 1.7.6
192
190
  Content-Type:
193
191
  - application/json
194
192
  response:
@@ -196,32 +194,29 @@ http_interactions:
196
194
  code: 500
197
195
  message:
198
196
  headers:
199
- !binary "Q29udGVudC1UeXBl":
200
- - !binary |-
201
- dGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOA==
202
- !binary "Q29udGVudC1MZW5ndGg=":
203
- - !binary |-
204
- MTM4
205
- !binary "RGF0ZQ==":
206
- - !binary |-
207
- RnJpLCAyNSBPY3QgMjAxMyAxODoxMzowOCBHTVQ=
197
+ Content-Type:
198
+ - text/plain; charset=utf-8
199
+ Date:
200
+ - Wed, 12 Feb 2014 17:05:47 GMT
201
+ Content-Length:
202
+ - '195'
203
+ Connection:
204
+ - close
208
205
  body:
209
- encoding: US-ASCII
210
- string: ! 'Error starting container f57f08bf4190: The container f57f08bf4190b90d39d23135b0816f7a87d6cdd5bb4238c890394a87d1d40488
211
- is already running.
212
-
213
- '
206
+ encoding: UTF-8
207
+ string: |
208
+ start: Cannot start container 28d003c06e3f52d738615f1d36e6f5495d55be378f3c3d855957c5b52eadb476: The container 28d003c06e3f52d738615f1d36e6f5495d55be378f3c3d855957c5b52eadb476 is already running.
214
209
  http_version:
215
- recorded_at: Fri, 25 Oct 2013 18:13:08 GMT
210
+ recorded_at: Wed, 12 Feb 2014 17:05:47 GMT
216
211
  - request:
217
212
  method: post
218
- uri: unix:///var/run/docker.sock/v1.6/containers/f57f08bf4190/wait
213
+ uri: unix:///var/run/docker.sock/v1.8/containers/28d003c06e3f52d738615f1d36e6f5495d55be378f3c3d855957c5b52eadb476/wait
219
214
  body:
220
215
  encoding: US-ASCII
221
216
  string: ''
222
217
  headers:
223
218
  User-Agent:
224
- - Swipely/Docker-API 1.6.0
219
+ - Swipely/Docker-API 1.7.6
225
220
  Content-Type:
226
221
  - text/plain
227
222
  response:
@@ -229,18 +224,18 @@ http_interactions:
229
224
  code: 200
230
225
  message:
231
226
  headers:
232
- !binary "Q29udGVudC1UeXBl":
233
- - !binary |-
234
- YXBwbGljYXRpb24vanNvbg==
235
- !binary "Q29udGVudC1MZW5ndGg=":
236
- - !binary |-
237
- MTY=
238
- !binary "RGF0ZQ==":
239
- - !binary |-
240
- RnJpLCAyNSBPY3QgMjAxMyAxODoxMzowOCBHTVQ=
227
+ Content-Type:
228
+ - application/json
229
+ Date:
230
+ - Wed, 12 Feb 2014 17:05:47 GMT
231
+ Content-Length:
232
+ - '17'
233
+ Connection:
234
+ - close
241
235
  body:
242
- encoding: US-ASCII
243
- string: ! '{"StatusCode":0}'
236
+ encoding: UTF-8
237
+ string: |
238
+ {"StatusCode":0}
244
239
  http_version:
245
- recorded_at: Fri, 25 Oct 2013 18:13:08 GMT
246
- recorded_with: VCR 2.6.0
240
+ recorded_at: Wed, 12 Feb 2014 17:05:47 GMT
241
+ recorded_with: VCR 2.8.0