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.
- checksums.yaml +7 -0
- data/README.md +19 -10
- data/docker-api.gemspec +1 -1
- data/lib/docker.rb +14 -7
- data/lib/docker/connection.rb +6 -1
- data/lib/docker/image.rb +6 -5
- data/lib/docker/version.rb +1 -1
- data/spec/docker/connection_spec.rb +14 -6
- data/spec/docker/container_spec.rb +27 -8
- data/spec/docker/image_spec.rb +23 -5
- data/spec/docker_spec.rb +36 -28
- data/spec/vcr/Docker/_info/returns_the_info_as_a_Hash.yml +16 -13
- data/spec/vcr/Docker/_validate_version/when_nothing_is_raised/validate_version_/.yml +16 -13
- data/spec/vcr/Docker/_version/returns_the_version_as_a_Hash.yml +16 -13
- data/spec/vcr/Docker_Container/_all/when_the_HTTP_response_is_a_200/materializes_each_Container_into_a_Docker_Container.yml +120 -211
- data/spec/vcr/Docker_Container/_attach/yields_each_chunk.yml +46 -38
- data/spec/vcr/Docker_Container/_changes/returns_the_changes_as_an_array.yml +65 -53
- data/spec/vcr/Docker_Container/_commit/creates_a_new_Image_from_the_Container_s_changes.yml +50 -41
- data/spec/vcr/Docker_Container/_copy/when_the_file_does_not_exist/raises_an_error.yml +62 -48
- data/spec/vcr/Docker_Container/_copy/when_the_input_is_a_directory/yields_each_chunk_of_the_tarred_directory.yml +194 -119
- data/spec/vcr/Docker_Container/_copy/when_the_input_is_a_file/yields_each_chunk_of_the_tarred_file.yml +127 -52
- 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
- data/spec/vcr/Docker_Container/_delete/deletes_the_container.yml +62 -126
- data/spec/vcr/Docker_Container/_export/yields_each_chunk.yml +49 -66
- data/spec/vcr/Docker_Container/_json/returns_the_description_as_a_Hash.yml +33 -27
- data/spec/vcr/Docker_Container/_kill/kills_the_container.yml +91 -129
- data/spec/vcr/Docker_Container/_restart/restarts_the_container.yml +116 -95
- data/spec/vcr/Docker_Container/_run/when_the_Container_s_command_does_not_return_status_code_of_0/raises_an_error.yml +50 -41
- 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
- data/spec/vcr/Docker_Container/_start/starts_the_container.yml +28 -57
- data/spec/vcr/Docker_Container/_stop/stops_the_container.yml +107 -143
- data/spec/vcr/Docker_Container/_top/returns_the_top_commands_as_an_Array.yml +78 -39
- data/spec/vcr/Docker_Container/_wait/waits_for_the_command_to_finish.yml +50 -41
- data/spec/vcr/Docker_Container/_wait/when_an_argument_is_given/and_a_command_runs_for_too_long/raises_a_ServerError.yml +35 -29
- data/spec/vcr/Docker_Container/_wait/when_an_argument_is_given/sets_the_read_timeout_to_that_amount_of_time.yml +50 -41
- data/spec/vcr/Docker_Image/_all/materializes_each_Image_into_a_Docker_Image.yml +34 -26
- data/spec/vcr/Docker_Image/_build/with_a_valid_Dockerfile/builds_an_image.yml +17 -17
- data/spec/vcr/Docker_Image/_build/with_an_invalid_Dockerfile/throws_a_UnexpectedResponseError.yml +20 -15
- 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
- data/spec/vcr/Docker_Image/_history/returns_the_history_of_the_Image.yml +34 -26
- data/spec/vcr/Docker_Image/_insert/inserts_the_url_s_file_into_a_new_Image.yml +134 -95
- data/spec/vcr/Docker_Image/_insert_local/when_the_local_file_does_exist/creates_a_new_Image_that_has_that_file.yml +29 -29
- data/spec/vcr/Docker_Image/_insert_local/when_the_local_file_does_not_exist/raises_an_error.yml +5 -5
- data/spec/vcr/Docker_Image/_insert_local/when_there_are_multiple_files_passed/creates_a_new_Image_that_has_each_file.yml +30 -30
- data/spec/vcr/Docker_Image/_json/returns_additional_information_about_image_image.yml +34 -26
- data/spec/vcr/Docker_Image/_remove/removes_the_Image.yml +49 -38
- 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
- data/spec/vcr/Docker_Image/_run/when_the_argument_is_an_Array/creates_a_new_Container.yml +64 -51
- data/spec/vcr/Docker_Image/_search/materializes_each_Image_into_a_Docker_Image.yml +20 -14
- data/spec/vcr/Docker_Image/_tag/tags_the_image_with_the_repo_name.yml +33 -25
- metadata +29 -54
- 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,84 +2,95 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: post
|
5
|
-
uri: http://
|
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
|
-
|
20
|
-
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
19
|
+
!binary "Q29udGVudC1UeXBl":
|
20
|
+
- !binary |-
|
21
|
+
YXBwbGljYXRpb24vanNvbg==
|
22
|
+
!binary "RGF0ZQ==":
|
23
|
+
- !binary |-
|
24
|
+
TW9uLCAwNyBPY3QgMjAxMyAxNDozNTo0OSBHTVQ=
|
25
|
+
!binary "VHJhbnNmZXItRW5jb2Rpbmc=":
|
26
|
+
- !binary |-
|
27
|
+
Y2h1bmtlZA==
|
25
28
|
body:
|
26
|
-
encoding:
|
27
|
-
string: '{"status":"Pulling repository base"}{"status":"Pulling
|
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:
|
35
|
+
recorded_at: Mon, 07 Oct 2013 14:35:50 GMT
|
31
36
|
- request:
|
32
37
|
method: delete
|
33
|
-
uri: http://
|
38
|
+
uri: http://unix/v1.4/images/base
|
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: 200
|
45
50
|
message: ''
|
46
51
|
headers:
|
47
|
-
|
48
|
-
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
52
|
+
!binary "Q29udGVudC1UeXBl":
|
53
|
+
- !binary |-
|
54
|
+
YXBwbGljYXRpb24vanNvbg==
|
55
|
+
!binary "Q29udGVudC1MZW5ndGg=":
|
56
|
+
- !binary |-
|
57
|
+
ODM=
|
58
|
+
!binary "RGF0ZQ==":
|
59
|
+
- !binary |-
|
60
|
+
TW9uLCAwNyBPY3QgMjAxMyAxNDozNTo1MCBHTVQ=
|
53
61
|
body:
|
54
|
-
encoding:
|
55
|
-
string: '[{"Untagged":"b750fe79269d"}]'
|
62
|
+
encoding: US-ASCII
|
63
|
+
string: ! '[{"Untagged":"b750fe79269d"},{"Deleted":"b750fe79269d"},{"Deleted":"27cf78414709"}]'
|
56
64
|
http_version:
|
57
|
-
recorded_at:
|
65
|
+
recorded_at: Mon, 07 Oct 2013 14:35:50 GMT
|
58
66
|
- request:
|
59
67
|
method: get
|
60
|
-
uri: http://
|
68
|
+
uri: http://unix/v1.4/images/json
|
61
69
|
body:
|
62
70
|
encoding: US-ASCII
|
63
71
|
string: ''
|
64
72
|
headers:
|
73
|
+
User-Agent:
|
74
|
+
- Swipely/Docker-API 1.5.4
|
65
75
|
Content-Type:
|
66
76
|
- text/plain
|
67
|
-
User-Agent:
|
68
|
-
- Swipely/Docker-API 1.3.1
|
69
77
|
response:
|
70
78
|
status:
|
71
79
|
code: 200
|
72
80
|
message: ''
|
73
81
|
headers:
|
74
|
-
|
75
|
-
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
82
|
+
!binary "Q29udGVudC1UeXBl":
|
83
|
+
- !binary |-
|
84
|
+
YXBwbGljYXRpb24vanNvbg==
|
85
|
+
!binary "Q29udGVudC1MZW5ndGg=":
|
86
|
+
- !binary |-
|
87
|
+
Mg==
|
88
|
+
!binary "RGF0ZQ==":
|
89
|
+
- !binary |-
|
90
|
+
TW9uLCAwNyBPY3QgMjAxMyAxNDozNTo1MCBHTVQ=
|
80
91
|
body:
|
81
|
-
encoding:
|
82
|
-
string: '[
|
92
|
+
encoding: US-ASCII
|
93
|
+
string: ! '[]'
|
83
94
|
http_version:
|
84
|
-
recorded_at:
|
85
|
-
recorded_with: VCR 2.
|
95
|
+
recorded_at: Mon, 07 Oct 2013 14:35:50 GMT
|
96
|
+
recorded_with: VCR 2.6.0
|
@@ -2,108 +2,121 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: post
|
5
|
-
uri: http://
|
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
|
-
|
20
|
-
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
19
|
+
!binary "Q29udGVudC1UeXBl":
|
20
|
+
- !binary |-
|
21
|
+
YXBwbGljYXRpb24vanNvbg==
|
22
|
+
!binary "RGF0ZQ==":
|
23
|
+
- !binary |-
|
24
|
+
TW9uLCAwNyBPY3QgMjAxMyAwMDo0Nzo1MyBHTVQ=
|
25
|
+
!binary "VHJhbnNmZXItRW5jb2Rpbmc=":
|
26
|
+
- !binary |-
|
27
|
+
Y2h1bmtlZA==
|
25
28
|
body:
|
26
|
-
encoding:
|
27
|
-
string: '{"status":"Pulling repository base"}{"status":"Pulling
|
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:
|
35
|
+
recorded_at: Mon, 07 Oct 2013 00:47:55 GMT
|
31
36
|
- request:
|
32
37
|
method: post
|
33
|
-
uri: http://
|
38
|
+
uri: http://unix/v1.4/containers/create
|
34
39
|
body:
|
35
40
|
encoding: UTF-8
|
36
|
-
string: '{"Image":"base","Cmd":["ls","/lib64/"]}'
|
41
|
+
string: ! '{"Image":"base","Cmd":["ls","/lib64/"]}'
|
37
42
|
headers:
|
38
|
-
Content-Type:
|
39
|
-
- text/plain
|
40
43
|
User-Agent:
|
41
|
-
- Swipely/Docker-API 1.
|
44
|
+
- Swipely/Docker-API 1.5.4
|
45
|
+
Content-Type:
|
46
|
+
- application/json
|
42
47
|
response:
|
43
48
|
status:
|
44
49
|
code: 201
|
45
50
|
message: ''
|
46
51
|
headers:
|
47
|
-
|
48
|
-
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
52
|
+
!binary "Q29udGVudC1UeXBl":
|
53
|
+
- !binary |-
|
54
|
+
YXBwbGljYXRpb24vanNvbg==
|
55
|
+
!binary "Q29udGVudC1MZW5ndGg=":
|
56
|
+
- !binary |-
|
57
|
+
NjU=
|
58
|
+
!binary "RGF0ZQ==":
|
59
|
+
- !binary |-
|
60
|
+
TW9uLCAwNyBPY3QgMjAxMyAwMDo0Nzo1NSBHTVQ=
|
53
61
|
body:
|
54
|
-
encoding:
|
55
|
-
string: '{"Id":"
|
62
|
+
encoding: US-ASCII
|
63
|
+
string: ! '{"Id":"f07e23c5a658","Warnings":["IPv4 forwarding is disabled."]}'
|
56
64
|
http_version:
|
57
|
-
recorded_at:
|
65
|
+
recorded_at: Mon, 07 Oct 2013 00:47:55 GMT
|
58
66
|
- request:
|
59
67
|
method: post
|
60
|
-
uri: http://
|
68
|
+
uri: http://unix/v1.4/containers/f07e23c5a658/start
|
61
69
|
body:
|
62
|
-
encoding:
|
63
|
-
string: ''
|
70
|
+
encoding: UTF-8
|
71
|
+
string: ! '{}'
|
64
72
|
headers:
|
65
|
-
Content-Type:
|
66
|
-
- text/plain
|
67
73
|
User-Agent:
|
68
|
-
- Swipely/Docker-API 1.
|
74
|
+
- Swipely/Docker-API 1.5.4
|
75
|
+
Content-Type:
|
76
|
+
- application/json
|
69
77
|
response:
|
70
78
|
status:
|
71
79
|
code: 204
|
72
80
|
message: ''
|
73
81
|
headers:
|
74
|
-
|
75
|
-
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
82
|
+
!binary "Q29udGVudC1UeXBl":
|
83
|
+
- !binary |-
|
84
|
+
dGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOA==
|
85
|
+
!binary "Q29udGVudC1MZW5ndGg=":
|
86
|
+
- !binary |-
|
87
|
+
MA==
|
88
|
+
!binary "RGF0ZQ==":
|
89
|
+
- !binary |-
|
90
|
+
TW9uLCAwNyBPY3QgMjAxMyAwMDo0Nzo1NSBHTVQ=
|
80
91
|
body:
|
81
|
-
encoding:
|
92
|
+
encoding: US-ASCII
|
82
93
|
string: ''
|
83
94
|
http_version:
|
84
|
-
recorded_at:
|
95
|
+
recorded_at: Mon, 07 Oct 2013 00:47:55 GMT
|
85
96
|
- request:
|
86
97
|
method: post
|
87
|
-
uri: http://
|
98
|
+
uri: http://unix/v1.4/containers/f07e23c5a658/attach?stdout=true&stream=true
|
88
99
|
body:
|
89
100
|
encoding: US-ASCII
|
90
101
|
string: ''
|
91
102
|
headers:
|
103
|
+
User-Agent:
|
104
|
+
- Swipely/Docker-API 1.5.4
|
92
105
|
Content-Type:
|
93
106
|
- text/plain
|
94
|
-
User-Agent:
|
95
|
-
- Swipely/Docker-API 1.3.1
|
96
107
|
response:
|
97
108
|
status:
|
98
109
|
code: 200
|
99
110
|
message: ''
|
100
111
|
headers:
|
101
|
-
|
102
|
-
-
|
112
|
+
!binary "Q29udGVudC1UeXBl":
|
113
|
+
- !binary |-
|
114
|
+
YXBwbGljYXRpb24vdm5kLmRvY2tlci5yYXctc3RyZWFt
|
103
115
|
body:
|
104
|
-
encoding:
|
105
|
-
string:
|
106
|
-
|
116
|
+
encoding: US-ASCII
|
117
|
+
string: ! 'ld-linux-x86-64.so.2
|
118
|
+
|
119
|
+
'
|
107
120
|
http_version:
|
108
|
-
recorded_at:
|
109
|
-
recorded_with: VCR 2.
|
121
|
+
recorded_at: Mon, 07 Oct 2013 00:47:55 GMT
|
122
|
+
recorded_with: VCR 2.6.0
|
@@ -2,108 +2,121 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: post
|
5
|
-
uri: http://
|
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
|
-
|
20
|
-
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
19
|
+
!binary "Q29udGVudC1UeXBl":
|
20
|
+
- !binary |-
|
21
|
+
YXBwbGljYXRpb24vanNvbg==
|
22
|
+
!binary "RGF0ZQ==":
|
23
|
+
- !binary |-
|
24
|
+
TW9uLCAwNyBPY3QgMjAxMyAwMDo0Nzo1NSBHTVQ=
|
25
|
+
!binary "VHJhbnNmZXItRW5jb2Rpbmc=":
|
26
|
+
- !binary |-
|
27
|
+
Y2h1bmtlZA==
|
25
28
|
body:
|
26
|
-
encoding:
|
27
|
-
string: '{"status":"Pulling repository base"}{"status":"Pulling
|
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:
|
35
|
+
recorded_at: Mon, 07 Oct 2013 00:47:57 GMT
|
31
36
|
- request:
|
32
37
|
method: post
|
33
|
-
uri: http://
|
38
|
+
uri: http://unix/v1.4/containers/create
|
34
39
|
body:
|
35
40
|
encoding: UTF-8
|
36
|
-
string: '{"Image":"base","Cmd":["which","pwd"]}'
|
41
|
+
string: ! '{"Image":"base","Cmd":["which","pwd"]}'
|
37
42
|
headers:
|
38
|
-
Content-Type:
|
39
|
-
- text/plain
|
40
43
|
User-Agent:
|
41
|
-
- Swipely/Docker-API 1.
|
44
|
+
- Swipely/Docker-API 1.5.4
|
45
|
+
Content-Type:
|
46
|
+
- application/json
|
42
47
|
response:
|
43
48
|
status:
|
44
49
|
code: 201
|
45
50
|
message: ''
|
46
51
|
headers:
|
47
|
-
|
48
|
-
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
52
|
+
!binary "Q29udGVudC1UeXBl":
|
53
|
+
- !binary |-
|
54
|
+
YXBwbGljYXRpb24vanNvbg==
|
55
|
+
!binary "Q29udGVudC1MZW5ndGg=":
|
56
|
+
- !binary |-
|
57
|
+
NjU=
|
58
|
+
!binary "RGF0ZQ==":
|
59
|
+
- !binary |-
|
60
|
+
TW9uLCAwNyBPY3QgMjAxMyAwMDo0Nzo1NyBHTVQ=
|
53
61
|
body:
|
54
|
-
encoding:
|
55
|
-
string: '{"Id":"
|
62
|
+
encoding: US-ASCII
|
63
|
+
string: ! '{"Id":"5d5a5a1799ac","Warnings":["IPv4 forwarding is disabled."]}'
|
56
64
|
http_version:
|
57
|
-
recorded_at:
|
65
|
+
recorded_at: Mon, 07 Oct 2013 00:47:57 GMT
|
58
66
|
- request:
|
59
67
|
method: post
|
60
|
-
uri: http://
|
68
|
+
uri: http://unix/v1.4/containers/5d5a5a1799ac/start
|
61
69
|
body:
|
62
|
-
encoding:
|
63
|
-
string: ''
|
70
|
+
encoding: UTF-8
|
71
|
+
string: ! '{}'
|
64
72
|
headers:
|
65
|
-
Content-Type:
|
66
|
-
- text/plain
|
67
73
|
User-Agent:
|
68
|
-
- Swipely/Docker-API 1.
|
74
|
+
- Swipely/Docker-API 1.5.4
|
75
|
+
Content-Type:
|
76
|
+
- application/json
|
69
77
|
response:
|
70
78
|
status:
|
71
79
|
code: 204
|
72
80
|
message: ''
|
73
81
|
headers:
|
74
|
-
|
75
|
-
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
82
|
+
!binary "Q29udGVudC1UeXBl":
|
83
|
+
- !binary |-
|
84
|
+
dGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOA==
|
85
|
+
!binary "Q29udGVudC1MZW5ndGg=":
|
86
|
+
- !binary |-
|
87
|
+
MA==
|
88
|
+
!binary "RGF0ZQ==":
|
89
|
+
- !binary |-
|
90
|
+
TW9uLCAwNyBPY3QgMjAxMyAwMDo0Nzo1NyBHTVQ=
|
80
91
|
body:
|
81
|
-
encoding:
|
92
|
+
encoding: US-ASCII
|
82
93
|
string: ''
|
83
94
|
http_version:
|
84
|
-
recorded_at:
|
95
|
+
recorded_at: Mon, 07 Oct 2013 00:47:57 GMT
|
85
96
|
- request:
|
86
97
|
method: post
|
87
|
-
uri: http://
|
98
|
+
uri: http://unix/v1.4/containers/5d5a5a1799ac/attach?stdout=true&stream=true
|
88
99
|
body:
|
89
100
|
encoding: US-ASCII
|
90
101
|
string: ''
|
91
102
|
headers:
|
103
|
+
User-Agent:
|
104
|
+
- Swipely/Docker-API 1.5.4
|
92
105
|
Content-Type:
|
93
106
|
- text/plain
|
94
|
-
User-Agent:
|
95
|
-
- Swipely/Docker-API 1.3.1
|
96
107
|
response:
|
97
108
|
status:
|
98
109
|
code: 200
|
99
110
|
message: ''
|
100
111
|
headers:
|
101
|
-
|
102
|
-
-
|
112
|
+
!binary "Q29udGVudC1UeXBl":
|
113
|
+
- !binary |-
|
114
|
+
YXBwbGljYXRpb24vdm5kLmRvY2tlci5yYXctc3RyZWFt
|
103
115
|
body:
|
104
|
-
encoding:
|
105
|
-
string:
|
106
|
-
|
116
|
+
encoding: US-ASCII
|
117
|
+
string: ! '/bin/pwd
|
118
|
+
|
119
|
+
'
|
107
120
|
http_version:
|
108
|
-
recorded_at:
|
109
|
-
recorded_with: VCR 2.
|
121
|
+
recorded_at: Mon, 07 Oct 2013 00:47:57 GMT
|
122
|
+
recorded_with: VCR 2.6.0
|