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.
- checksums.yaml +7 -0
- data/lib/docker.rb +9 -9
- data/lib/docker/connection.rb +1 -1
- data/lib/docker/container.rb +1 -2
- data/lib/docker/image.rb +7 -6
- data/lib/docker/version.rb +2 -2
- data/spec/docker/connection_spec.rb +2 -2
- data/spec/docker/container_spec.rb +12 -10
- data/spec/docker/image_spec.rb +13 -13
- data/spec/docker_spec.rb +5 -4
- data/spec/vcr/Docker/_authenticate_/with_valid_credentials/logs_in_and_sets_the_creds.yml +1 -1
- data/spec/vcr/Docker/_info/returns_the_info_as_a_Hash.yml +17 -15
- data/spec/vcr/Docker/_validate_version/when_nothing_is_raised/validate_version_/.yml +17 -15
- data/spec/vcr/Docker/_version/returns_the_version_as_a_Hash.yml +17 -15
- data/spec/vcr/Docker_Container/_all/when_the_HTTP_response_is_a_200/materializes_each_Container_into_a_Docker_Container.yml +96 -46
- data/spec/vcr/Docker_Container/_attach/with_normal_sized_chunks/yields_each_chunk.yml +35 -37
- data/spec/vcr/Docker_Container/_attach/with_very_small_chunks/yields_each_chunk.yml +35 -37
- data/spec/vcr/Docker_Container/_changes/returns_the_changes_as_an_array.yml +60 -58
- data/spec/vcr/Docker_Container/_commit/creates_a_new_Image_from_the_Container_s_changes.yml +46 -47
- data/spec/vcr/Docker_Container/_commit/if_run_is_passed_it_saves_the_command_in_the_image/saves_the_command.yml +78 -81
- data/spec/vcr/Docker_Container/_copy/when_the_file_does_not_exist/raises_an_error.yml +77 -80
- data/spec/vcr/Docker_Container/_copy/when_the_input_is_a_directory/yields_each_chunk_of_the_tarred_directory.yml +91 -182
- data/spec/vcr/Docker_Container/_copy/when_the_input_is_a_file/yields_each_chunk_of_the_tarred_file.yml +80 -273
- data/spec/vcr/Docker_Container/_create/when_creating_a_container_named_bob/should_have_name_set_to_bob.yml +20 -15
- 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
- data/spec/vcr/Docker_Container/_delete/deletes_the_container.yml +41 -43
- data/spec/vcr/Docker_Container/_export/yields_each_chunk.yml +82759 -46
- data/spec/vcr/Docker_Container/_get/when_the_HTTP_response_is_a_200/materializes_the_Container_into_a_Docker_Container.yml +29 -30
- data/spec/vcr/Docker_Container/_json/returns_the_description_as_a_Hash.yml +29 -30
- data/spec/vcr/Docker_Container/_kill/kills_the_container.yml +69 -71
- data/spec/vcr/Docker_Container/_restart/restarts_the_container.yml +98 -102
- data/spec/vcr/Docker_Container/_run/when_the_Container_s_command_does_not_return_status_code_of_0/raises_an_error.yml +43 -44
- 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
- data/spec/vcr/Docker_Container/_start/starts_the_container.yml +58 -59
- data/spec/vcr/Docker_Container/_stop/stops_the_container.yml +81 -84
- data/spec/vcr/Docker_Container/_top/returns_the_top_commands_as_an_Array.yml +116 -87
- data/spec/vcr/Docker_Container/_wait/waits_for_the_command_to_finish.yml +43 -44
- data/spec/vcr/Docker_Container/_wait/when_an_argument_is_given/and_a_command_runs_for_too_long/raises_a_ServerError.yml +29 -30
- data/spec/vcr/Docker_Container/_wait/when_an_argument_is_given/sets_the_read_timeout_to_that_amount_of_time.yml +43 -44
- data/spec/vcr/Docker_Image/_all/materializes_each_Image_into_a_Docker_Image.yml +46 -32
- 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
- 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
- data/spec/vcr/Docker_Image/_build/with_a_valid_Dockerfile/without_query_parameters/builds_an_image.yml +16 -16
- data/spec/vcr/Docker_Image/_build/with_an_invalid_Dockerfile/throws_a_UnexpectedResponseError.yml +17 -19
- 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
- data/spec/vcr/Docker_Image/_build_from_dir/with_a_valid_Dockerfile/with_no_query_parameters/builds_the_image.yml +50 -52
- 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
- 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
- data/spec/vcr/Docker_Image/_get/when_the_image_does_exist/returns_the_new_image.yml +14 -15
- data/spec/vcr/Docker_Image/_history/returns_the_history_of_the_Image.yml +36 -32
- data/spec/vcr/Docker_Image/_insert/inserts_the_url_s_file_into_a_new_Image.yml +70 -86
- data/spec/vcr/Docker_Image/_insert_local/when_removing_intermediate_containers/creates_a_new_image.yml +69 -47
- data/spec/vcr/Docker_Image/_insert_local/when_removing_intermediate_containers/leave_no_intermediate_containers.yml +118 -47
- data/spec/vcr/Docker_Image/_insert_local/when_the_local_file_does_exist/creates_a_new_Image_that_has_that_file.yml +68 -70
- data/spec/vcr/Docker_Image/_insert_local/when_the_local_file_does_not_exist/raises_an_error.yml +16 -16
- data/spec/vcr/Docker_Image/_insert_local/when_there_are_multiple_files_passed/creates_a_new_Image_that_has_each_file.yml +70 -72
- data/spec/vcr/Docker_Image/_json/returns_additional_information_about_image_image.yml +33 -32
- data/spec/vcr/Docker_Image/_push/pushes_the_Image.yml +162 -105
- data/spec/vcr/Docker_Image/_remove/removes_the_Image.yml +53 -46
- 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
- data/spec/vcr/Docker_Image/_run/when_the_argument_is_an_Array/creates_a_new_Container.yml +54 -54
- 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
- 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
- data/spec/vcr/Docker_Image/_search/materializes_each_Image_into_a_Docker_Image.yml +94 -35
- data/spec/vcr/Docker_Image/_tag/tags_the_image_with_the_repo_name.yml +32 -31
- 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.
|
5
|
+
uri: unix:///var/run/docker.sock/v1.8/containers/create
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
|
-
string:
|
8
|
+
string: "{\"Cmd\":[\"lol\",\"not\",\"a\",\"real\",\"command\"],\"Image\":\"base\"}"
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- Swipely/Docker-API 1.6
|
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
|
-
|
20
|
-
-
|
21
|
-
|
22
|
-
|
23
|
-
-
|
24
|
-
|
25
|
-
|
26
|
-
-
|
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:
|
30
|
-
string:
|
28
|
+
encoding: UTF-8
|
29
|
+
string: |
|
30
|
+
{"Id":"ff01ea70677f91c239614d06d5594bee143047e2a8144b60ee012f5cd4619729","Warnings":null}
|
31
31
|
http_version:
|
32
|
-
recorded_at:
|
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.
|
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
|
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
|
-
|
50
|
-
-
|
51
|
-
|
52
|
-
|
53
|
-
-
|
54
|
-
|
55
|
-
|
56
|
-
-
|
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:
|
58
|
+
encoding: UTF-8
|
60
59
|
string: ''
|
61
60
|
http_version:
|
62
|
-
recorded_at:
|
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.
|
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
|
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
|
-
|
80
|
-
-
|
81
|
-
|
82
|
-
|
83
|
-
-
|
84
|
-
|
85
|
-
|
86
|
-
-
|
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:
|
90
|
-
string:
|
87
|
+
encoding: UTF-8
|
88
|
+
string: |
|
89
|
+
{"StatusCode":127}
|
91
90
|
http_version:
|
92
|
-
recorded_at:
|
93
|
-
recorded_with: VCR 2.
|
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.
|
5
|
+
uri: unix:///var/run/docker.sock/v1.8/containers/create
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
|
-
string:
|
8
|
+
string: "{\"Cmd\":[\"pwd\"],\"Image\":\"base\"}"
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- Swipely/Docker-API 1.6
|
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
|
-
|
20
|
-
-
|
21
|
-
|
22
|
-
|
23
|
-
-
|
24
|
-
|
25
|
-
|
26
|
-
-
|
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:
|
30
|
-
string:
|
28
|
+
encoding: UTF-8
|
29
|
+
string: |
|
30
|
+
{"Id":"d062ac41f03d49177f1500f219a91ad4e2f51a168b9737f5066965941a52debe","Warnings":null}
|
31
31
|
http_version:
|
32
|
-
recorded_at:
|
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.
|
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
|
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
|
-
|
50
|
-
-
|
51
|
-
|
52
|
-
|
53
|
-
-
|
54
|
-
|
55
|
-
|
56
|
-
-
|
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:
|
58
|
+
encoding: UTF-8
|
60
59
|
string: ''
|
61
60
|
http_version:
|
62
|
-
recorded_at:
|
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.
|
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
|
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
|
-
|
80
|
-
-
|
81
|
-
|
82
|
-
|
83
|
-
-
|
84
|
-
|
85
|
-
|
86
|
-
-
|
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:
|
90
|
-
string:
|
87
|
+
encoding: UTF-8
|
88
|
+
string: |
|
89
|
+
{"StatusCode":0}
|
91
90
|
http_version:
|
92
|
-
recorded_at:
|
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.
|
94
|
+
uri: unix:///var/run/docker.sock/v1.8/commit?container=d062ac41
|
96
95
|
body:
|
97
|
-
encoding:
|
98
|
-
string: ''
|
96
|
+
encoding: UTF-8
|
97
|
+
string: 'null'
|
99
98
|
headers:
|
100
99
|
User-Agent:
|
101
|
-
- Swipely/Docker-API 1.6
|
100
|
+
- Swipely/Docker-API 1.7.6
|
102
101
|
Content-Type:
|
103
|
-
-
|
102
|
+
- application/json
|
104
103
|
response:
|
105
104
|
status:
|
106
105
|
code: 201
|
107
106
|
message:
|
108
107
|
headers:
|
109
|
-
|
110
|
-
-
|
111
|
-
|
112
|
-
|
113
|
-
-
|
114
|
-
|
115
|
-
|
116
|
-
-
|
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:
|
120
|
-
string:
|
117
|
+
encoding: UTF-8
|
118
|
+
string: |
|
119
|
+
{"Id":"328de6c59bef1db641600ea40668bbd57f6966a146bebe9640030dea13d0008c"}
|
121
120
|
http_version:
|
122
|
-
recorded_at:
|
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.
|
124
|
+
uri: unix:///var/run/docker.sock/v1.8/containers/create
|
126
125
|
body:
|
127
126
|
encoding: UTF-8
|
128
|
-
string:
|
127
|
+
string: "{\"Image\":\"328de6c59bef1db641600ea40668bbd57f6966a146bebe9640030dea13d0008c\",\"Cmd\":[\"ls\"]}"
|
129
128
|
headers:
|
130
129
|
User-Agent:
|
131
|
-
- Swipely/Docker-API 1.6
|
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
|
-
|
140
|
-
-
|
141
|
-
|
142
|
-
|
143
|
-
-
|
144
|
-
|
145
|
-
|
146
|
-
-
|
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:
|
150
|
-
string:
|
147
|
+
encoding: UTF-8
|
148
|
+
string: |
|
149
|
+
{"Id":"28d003c06e3f52d738615f1d36e6f5495d55be378f3c3d855957c5b52eadb476","Warnings":null}
|
151
150
|
http_version:
|
152
|
-
recorded_at:
|
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.
|
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
|
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
|
-
|
170
|
-
-
|
171
|
-
|
172
|
-
|
173
|
-
-
|
174
|
-
|
175
|
-
|
176
|
-
-
|
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:
|
177
|
+
encoding: UTF-8
|
180
178
|
string: ''
|
181
179
|
http_version:
|
182
|
-
recorded_at:
|
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.
|
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
|
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
|
-
|
200
|
-
-
|
201
|
-
|
202
|
-
|
203
|
-
-
|
204
|
-
|
205
|
-
|
206
|
-
-
|
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:
|
210
|
-
string:
|
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:
|
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.
|
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
|
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
|
-
|
233
|
-
-
|
234
|
-
|
235
|
-
|
236
|
-
-
|
237
|
-
|
238
|
-
|
239
|
-
-
|
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:
|
243
|
-
string:
|
236
|
+
encoding: UTF-8
|
237
|
+
string: |
|
238
|
+
{"StatusCode":0}
|
244
239
|
http_version:
|
245
|
-
recorded_at:
|
246
|
-
recorded_with: VCR 2.
|
240
|
+
recorded_at: Wed, 12 Feb 2014 17:05:47 GMT
|
241
|
+
recorded_with: VCR 2.8.0
|