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,15 +2,15 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: post
|
5
|
-
uri: http://
|
5
|
+
uri: http://unix/v1.4/containers/create
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
8
|
string: ! '{"Cmd":["test","-d","/foo"],"Image":"base","Volumes":{"/foo":{}}}'
|
9
9
|
headers:
|
10
|
-
Content-Type:
|
11
|
-
- text/plain
|
12
10
|
User-Agent:
|
13
|
-
- Swipely/Docker-API 1.4
|
11
|
+
- Swipely/Docker-API 1.5.4
|
12
|
+
Content-Type:
|
13
|
+
- application/json
|
14
14
|
response:
|
15
15
|
status:
|
16
16
|
code: 201
|
@@ -18,29 +18,29 @@ http_interactions:
|
|
18
18
|
headers:
|
19
19
|
!binary "Q29udGVudC1UeXBl":
|
20
20
|
- !binary |-
|
21
|
-
|
21
|
+
YXBwbGljYXRpb24vanNvbg==
|
22
22
|
!binary "Q29udGVudC1MZW5ndGg=":
|
23
23
|
- !binary |-
|
24
|
-
|
24
|
+
NjU=
|
25
25
|
!binary "RGF0ZQ==":
|
26
26
|
- !binary |-
|
27
|
-
|
27
|
+
TW9uLCAwNyBPY3QgMjAxMyAwMDo0NzoyMSBHTVQ=
|
28
28
|
body:
|
29
29
|
encoding: US-ASCII
|
30
|
-
string: ! '{"Id":"
|
30
|
+
string: ! '{"Id":"4519385a528a","Warnings":["IPv4 forwarding is disabled."]}'
|
31
31
|
http_version:
|
32
|
-
recorded_at:
|
32
|
+
recorded_at: Mon, 07 Oct 2013 00:47:21 GMT
|
33
33
|
- request:
|
34
34
|
method: post
|
35
|
-
uri: http://
|
35
|
+
uri: http://unix/v1.4/containers/4519385a528a/start
|
36
36
|
body:
|
37
37
|
encoding: UTF-8
|
38
38
|
string: ! '{"Binds":["/tmp:/foo"]}'
|
39
39
|
headers:
|
40
|
+
User-Agent:
|
41
|
+
- Swipely/Docker-API 1.5.4
|
40
42
|
Content-Type:
|
41
43
|
- application/json
|
42
|
-
User-Agent:
|
43
|
-
- Swipely/Docker-API 1.4.0
|
44
44
|
response:
|
45
45
|
status:
|
46
46
|
code: 204
|
@@ -54,23 +54,23 @@ http_interactions:
|
|
54
54
|
MA==
|
55
55
|
!binary "RGF0ZQ==":
|
56
56
|
- !binary |-
|
57
|
-
|
57
|
+
TW9uLCAwNyBPY3QgMjAxMyAwMDo0NzoyMSBHTVQ=
|
58
58
|
body:
|
59
59
|
encoding: US-ASCII
|
60
60
|
string: ''
|
61
61
|
http_version:
|
62
|
-
recorded_at:
|
62
|
+
recorded_at: Mon, 07 Oct 2013 00:47:21 GMT
|
63
63
|
- request:
|
64
64
|
method: get
|
65
|
-
uri: http://
|
65
|
+
uri: http://unix/v1.4/containers/json
|
66
66
|
body:
|
67
67
|
encoding: US-ASCII
|
68
68
|
string: ''
|
69
69
|
headers:
|
70
|
+
User-Agent:
|
71
|
+
- Swipely/Docker-API 1.5.4
|
70
72
|
Content-Type:
|
71
73
|
- text/plain
|
72
|
-
User-Agent:
|
73
|
-
- Swipely/Docker-API 1.4.0
|
74
74
|
response:
|
75
75
|
status:
|
76
76
|
code: 200
|
@@ -81,32 +81,27 @@ http_interactions:
|
|
81
81
|
YXBwbGljYXRpb24vanNvbg==
|
82
82
|
!binary "Q29udGVudC1MZW5ndGg=":
|
83
83
|
- !binary |-
|
84
|
-
|
84
|
+
MjEz
|
85
85
|
!binary "RGF0ZQ==":
|
86
86
|
- !binary |-
|
87
|
-
|
87
|
+
TW9uLCAwNyBPY3QgMjAxMyAwMDo0NzoyMSBHTVQ=
|
88
88
|
body:
|
89
89
|
encoding: US-ASCII
|
90
|
-
string: ! '[{"Id":"
|
91
|
-
-d /foo","Created":
|
92
|
-
--login -c cd /app && bundle exec rackup -p $PORT","Created":1376001906,"Status":"Up
|
93
|
-
10 hours","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"371a31ee0515e231b53331827e2169a781d605259ca75f0d1b1593095fee6924","Image":"69e523818a5f","Command":"/bin/bash
|
94
|
-
--login -c cd /app && bundle exec rackup config.ru -p 80","Created":1375967943,"Status":"Up
|
95
|
-
19 hours","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"c7a4fe69a7249d6db5f24106891e1c28ee4bfe538ece09a53574c0b91850f165","Image":"samalba/hipache:latest","Command":"supervisord
|
96
|
-
-n","Created":1375657256,"Status":"Up 19 hours","Ports":"80-\u003e80","SizeRw":0,"SizeRootFs":0}]'
|
90
|
+
string: ! '[{"Id":"4519385a528a788dce0728ed1baff4f929cc7fda10b77edeac22418b7ed4f0ad","Image":"base:latest","Command":"test
|
91
|
+
-d /foo","Created":1381106841,"Status":"Up Less than a second","Ports":"","SizeRw":0,"SizeRootFs":0}]'
|
97
92
|
http_version:
|
98
|
-
recorded_at:
|
93
|
+
recorded_at: Mon, 07 Oct 2013 00:47:21 GMT
|
99
94
|
- request:
|
100
95
|
method: post
|
101
|
-
uri: http://
|
96
|
+
uri: http://unix/v1.4/containers/4519385a528a/wait
|
102
97
|
body:
|
103
98
|
encoding: US-ASCII
|
104
99
|
string: ''
|
105
100
|
headers:
|
101
|
+
User-Agent:
|
102
|
+
- Swipely/Docker-API 1.5.4
|
106
103
|
Content-Type:
|
107
104
|
- text/plain
|
108
|
-
User-Agent:
|
109
|
-
- Swipely/Docker-API 1.4.0
|
110
105
|
response:
|
111
106
|
status:
|
112
107
|
code: 200
|
@@ -120,34 +115,10 @@ http_interactions:
|
|
120
115
|
MTY=
|
121
116
|
!binary "RGF0ZQ==":
|
122
117
|
- !binary |-
|
123
|
-
|
118
|
+
TW9uLCAwNyBPY3QgMjAxMyAwMDo0NzoyMSBHTVQ=
|
124
119
|
body:
|
125
120
|
encoding: US-ASCII
|
126
121
|
string: ! '{"StatusCode":0}'
|
127
122
|
http_version:
|
128
|
-
recorded_at:
|
129
|
-
|
130
|
-
method: post
|
131
|
-
uri: http://localhost:4243/v1.4/containers/3632688f5774/attach?logs=true&stderr=true&stdout=true&stream=false
|
132
|
-
body:
|
133
|
-
encoding: US-ASCII
|
134
|
-
string: ''
|
135
|
-
headers:
|
136
|
-
Content-Type:
|
137
|
-
- text/plain
|
138
|
-
User-Agent:
|
139
|
-
- Swipely/Docker-API 1.4.0
|
140
|
-
response:
|
141
|
-
status:
|
142
|
-
code: 200
|
143
|
-
message: ''
|
144
|
-
headers:
|
145
|
-
!binary "Q29udGVudC1UeXBl":
|
146
|
-
- !binary |-
|
147
|
-
YXBwbGljYXRpb24vdm5kLmRvY2tlci5yYXctc3RyZWFt
|
148
|
-
body:
|
149
|
-
encoding: US-ASCII
|
150
|
-
string: ''
|
151
|
-
http_version:
|
152
|
-
recorded_at: Fri, 09 Aug 2013 08:50:06 GMT
|
153
|
-
recorded_with: VCR 2.5.0
|
123
|
+
recorded_at: Mon, 07 Oct 2013 00:47:21 GMT
|
124
|
+
recorded_with: VCR 2.6.0
|
@@ -2,213 +2,177 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: post
|
5
|
-
uri: http://
|
5
|
+
uri: http://unix/v1.4/containers/create
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
|
-
string: '{"Cmd":["true"],"Image":"base"}'
|
8
|
+
string: ! '{"Cmd":["true"],"Image":"base"}'
|
9
9
|
headers:
|
10
|
-
Content-Type:
|
11
|
-
- text/plain
|
12
10
|
User-Agent:
|
13
|
-
- Swipely/Docker-API 1.
|
11
|
+
- Swipely/Docker-API 1.5.4
|
12
|
+
Content-Type:
|
13
|
+
- application/json
|
14
14
|
response:
|
15
15
|
status:
|
16
16
|
code: 201
|
17
17
|
message: ''
|
18
18
|
headers:
|
19
|
-
|
20
|
-
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
19
|
+
!binary "Q29udGVudC1UeXBl":
|
20
|
+
- !binary |-
|
21
|
+
YXBwbGljYXRpb24vanNvbg==
|
22
|
+
!binary "Q29udGVudC1MZW5ndGg=":
|
23
|
+
- !binary |-
|
24
|
+
NjU=
|
25
|
+
!binary "RGF0ZQ==":
|
26
|
+
- !binary |-
|
27
|
+
TW9uLCAwNyBPY3QgMjAxMyAwMDo0NzoyMSBHTVQ=
|
25
28
|
body:
|
26
|
-
encoding:
|
27
|
-
string: '{"Id":"
|
29
|
+
encoding: US-ASCII
|
30
|
+
string: ! '{"Id":"b5691a48ef64","Warnings":["IPv4 forwarding is disabled."]}'
|
28
31
|
http_version:
|
29
|
-
recorded_at:
|
32
|
+
recorded_at: Mon, 07 Oct 2013 00:47:21 GMT
|
30
33
|
- request:
|
31
34
|
method: post
|
32
|
-
uri: http://
|
35
|
+
uri: http://unix/v1.4/containers/b5691a48ef64/start
|
33
36
|
body:
|
34
|
-
encoding:
|
35
|
-
string: ''
|
37
|
+
encoding: UTF-8
|
38
|
+
string: ! '{}'
|
36
39
|
headers:
|
37
|
-
Content-Type:
|
38
|
-
- text/plain
|
39
40
|
User-Agent:
|
40
|
-
- Swipely/Docker-API 1.
|
41
|
+
- Swipely/Docker-API 1.5.4
|
42
|
+
Content-Type:
|
43
|
+
- application/json
|
41
44
|
response:
|
42
45
|
status:
|
43
46
|
code: 204
|
44
47
|
message: ''
|
45
48
|
headers:
|
46
|
-
|
47
|
-
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
49
|
+
!binary "Q29udGVudC1UeXBl":
|
50
|
+
- !binary |-
|
51
|
+
dGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOA==
|
52
|
+
!binary "Q29udGVudC1MZW5ndGg=":
|
53
|
+
- !binary |-
|
54
|
+
MA==
|
55
|
+
!binary "RGF0ZQ==":
|
56
|
+
- !binary |-
|
57
|
+
TW9uLCAwNyBPY3QgMjAxMyAwMDo0NzoyMSBHTVQ=
|
52
58
|
body:
|
53
|
-
encoding:
|
59
|
+
encoding: US-ASCII
|
54
60
|
string: ''
|
55
61
|
http_version:
|
56
|
-
recorded_at:
|
62
|
+
recorded_at: Mon, 07 Oct 2013 00:47:21 GMT
|
57
63
|
- request:
|
58
64
|
method: post
|
59
|
-
uri: http://
|
65
|
+
uri: http://unix/v1.4/containers/b5691a48ef64/stop
|
60
66
|
body:
|
61
|
-
encoding:
|
62
|
-
string: ''
|
67
|
+
encoding: UTF-8
|
68
|
+
string: ! '{}'
|
63
69
|
headers:
|
64
|
-
Content-Type:
|
65
|
-
- text/plain
|
66
70
|
User-Agent:
|
67
|
-
- Swipely/Docker-API 1.
|
71
|
+
- Swipely/Docker-API 1.5.4
|
72
|
+
Content-Type:
|
73
|
+
- application/json
|
68
74
|
response:
|
69
75
|
status:
|
70
76
|
code: 204
|
71
77
|
message: ''
|
72
78
|
headers:
|
73
|
-
|
74
|
-
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
+
!binary "Q29udGVudC1UeXBl":
|
80
|
+
- !binary |-
|
81
|
+
dGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOA==
|
82
|
+
!binary "Q29udGVudC1MZW5ndGg=":
|
83
|
+
- !binary |-
|
84
|
+
MA==
|
85
|
+
!binary "RGF0ZQ==":
|
86
|
+
- !binary |-
|
87
|
+
TW9uLCAwNyBPY3QgMjAxMyAwMDo0NzoyMiBHTVQ=
|
79
88
|
body:
|
80
|
-
encoding:
|
89
|
+
encoding: US-ASCII
|
81
90
|
string: ''
|
82
91
|
http_version:
|
83
|
-
recorded_at:
|
92
|
+
recorded_at: Mon, 07 Oct 2013 00:47:22 GMT
|
84
93
|
- request:
|
85
94
|
method: get
|
86
|
-
uri: http://
|
95
|
+
uri: http://unix/v1.4/containers/json?all=true
|
87
96
|
body:
|
88
97
|
encoding: US-ASCII
|
89
98
|
string: ''
|
90
99
|
headers:
|
100
|
+
User-Agent:
|
101
|
+
- Swipely/Docker-API 1.5.4
|
91
102
|
Content-Type:
|
92
103
|
- text/plain
|
93
|
-
User-Agent:
|
94
|
-
- Swipely/Docker-API 1.3.1
|
95
104
|
response:
|
96
105
|
status:
|
97
106
|
code: 200
|
98
107
|
message: ''
|
99
108
|
headers:
|
100
|
-
|
101
|
-
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
109
|
+
!binary "Q29udGVudC1UeXBl":
|
110
|
+
- !binary |-
|
111
|
+
YXBwbGljYXRpb24vanNvbg==
|
112
|
+
!binary "RGF0ZQ==":
|
113
|
+
- !binary |-
|
114
|
+
TW9uLCAwNyBPY3QgMjAxMyAwMDo0NzoyMiBHTVQ=
|
115
|
+
!binary "VHJhbnNmZXItRW5jb2Rpbmc=":
|
116
|
+
- !binary |-
|
117
|
+
Y2h1bmtlZA==
|
106
118
|
body:
|
107
|
-
encoding:
|
108
|
-
string: '[{"Id":"
|
109
|
-
","Created":
|
110
|
-
","Created":
|
111
|
-
","Created":
|
112
|
-
-rf / --no-preserve-root","Created":
|
113
|
-
|
114
|
-
","Created":
|
115
|
-
|
116
|
-
/
|
117
|
-
/","Created":
|
118
|
-
|
119
|
-
0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"
|
120
|
-
","Created":
|
121
|
-
","Created":
|
122
|
-
","Created":
|
123
|
-
","Created":
|
124
|
-
","Created":
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
","Created":
|
131
|
-
","Created":
|
132
|
-
","Created":
|
133
|
-
","Created":
|
134
|
-
-rf / --no-preserve-root","Created":1375894139,"Status":"Exit 1","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"eb68e13fb678b59cc38c2bd5790b18ef6bf6ce78c0e41e27f215fe260cbaf38d","Image":"base2:latest","Command":"rm
|
135
|
-
-rf /root","Created":1375894139,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"4df1d1b90929f2f8cc37889afeb526a0d7d8e7ca74a599d2cd61fce19d8af6d8","Image":"base2:latest","Command":"true
|
136
|
-
","Created":1375894139,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"3a3d259236331666e5713a3142a2827aeb03fea7c6cd9d675b216a75a6bb0dd1","Image":"base2:latest","Command":"rm
|
137
|
-
-rf /root","Created":1375891315,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"4767d6043328ad1b0e6f2a0ceb63c5bd78003a1ac9912fbf8ef976bd5dce6000","Image":"base2:latest","Command":"/bin/sh
|
138
|
-
-c rm -rf /root","Created":1375891241,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"e6733b0b48f8b9f5e2706bbafe56736fdf8d66c1f1946489c35a08a35d6e53f6","Image":"base2:latest","Command":"pwd
|
139
|
-
","Created":1375890792,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"7df85ea5aa2995b3f92eb93768461cc10bbbd8f6ed34a4b3d517637ef2679485","Image":"base2:latest","Command":"which
|
140
|
-
pwd","Created":1375890059,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"d78de7d782e78be897fa99458fd00dc9ea473109fcd24a0693f9093735e7b41c","Image":"base2:latest","Command":"ls
|
141
|
-
/lib64/","Created":1375890057,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"79d4ae84d84a4d05eb74e40704f0a410ccd7c4ca854c659112af985f6604aec1","Image":"ea96e006d00c","Command":"ls
|
142
|
-
/","Created":1375890051,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"9828255e8e92561b85124acdc41a098b89af57b8c4d12eaf1b22c611c30eb9ed","Image":"base2:latest","Command":"echo
|
143
|
-
insert http://stallman.org /stallman","Created":1375890050,"Status":"Exit
|
144
|
-
0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"237478db500f2e2821ec2987160bce59b5d5eca4e0efe5cf4dcc6666bff7787f","Image":"base2:latest","Command":"ls
|
145
|
-
","Created":1375890046,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"9613b519c6487f3d2775caa4a44d63388222bcdebdea26e027f9cb3262d302db","Image":"base2:latest","Command":"date
|
146
|
-
","Created":1375890046,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"963140b97bb571bff5b64748af1ea3450e2440a36e11cb0b35a5071685a54e05","Image":"base2:latest","Command":"true
|
147
|
-
","Created":1375890046,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"923fcaa31245e030d41a348d870342a152905f0b78547ddbe7a966fcfbfafe4a","Image":"3fdce89c662f","Command":"ls
|
148
|
-
","Created":1375890046,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"6aa794eb15a6545a328e1d790124d91d26dc25ece6abd37c7cf3098544df2d55","Image":"base2:latest","Command":"pwd
|
149
|
-
","Created":1375890045,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"4a2b95ad1d8f7e156deec8cbd19a3eee58d96fd9b2837e35b21c408edee07248","Image":"base2:latest","Command":"lol
|
150
|
-
not a real command","Created":1375890045,"Status":"Exit 127","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"151697f98ee848c55ef96173a27b3aafe337d09c6657b5fbb9bfaa03d48af15c","Image":"base2:latest","Command":"sleep
|
151
|
-
5","Created":1375890045,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"0ce91d722a264f25a18c3c340092d9f5db305d9fefe37c597104572100e34cde","Image":"base2:latest","Command":"sleep
|
152
|
-
5","Created":1375890040,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"88675033704ce895377364f7853afd2ee5956e44c295ef014b665f1b1e8c2814","Image":"base2:latest","Command":"tar
|
153
|
-
nonsense","Created":1375890039,"Status":"Exit 64","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"990e511b3a02b07b5dd6dd911fa411896d9e3ed924ade94706f2c938ff82ea39","Image":"base2:latest","Command":"sleep
|
154
|
-
50","Created":1375890029,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"4706f87c9f4f51bfbf455e21016a810a642fb695188411da9359ada779baee0c","Image":"base2:latest","Command":"ls
|
155
|
-
","Created":1375890029,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"7e5674e2054db019ec8755e742d4d2a7a38c3a6f4f3914dcc31784c6df902e85","Image":"base2:latest","Command":"true
|
156
|
-
","Created":1375890029,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"9c8c25bd6011a1edb9c19b0e0f21ea9c851b0750f34e474f4d7a12903231b2f0","Image":"base2:latest","Command":"true
|
157
|
-
","Created":1375890029,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"480e6d7a543e91f31c43e34031bef39c48762f7f6243463688fe2e47b5e45a88","Image":"base2:latest","Command":"uname
|
158
|
-
-r","Created":1375890029,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"7f7e82d95bb4ec3ae4e3de3fc6ab2c55252f044baf3c3cd549be49e419a05ca5","Image":"base2:latest","Command":"rm
|
159
|
-
-rf / --no-preserve-root","Created":1375890027,"Status":"Exit 1","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"91928a69831d95021b2eb49f63003597771a18aebb82046ef0524e2669a9328e","Image":"base2:latest","Command":"true
|
160
|
-
","Created":1375890027,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"6043a6dbce22ce06004a941a1dc9a1252dee6f35497bd0619f67f3230642b9ca","Image":"base2:latest","Command":"true
|
161
|
-
","Created":1375890027,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"90201367dfc862df2cc20781ee6695a0c41780d72f93eb6d660ebc85c7e418eb","Image":"base2:latest","Command":"which
|
162
|
-
pwd","Created":1374855178,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"8f5a777b3d941ff04685a05a8742d8114248997cae6851b41c2d6ea583e07585","Image":"base2:latest","Command":"ls
|
163
|
-
/lib64/","Created":1374855177,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"e7aa11468936aa5c69cb075522490d6303a6bb902d495d7443a1448ea553346b","Image":"31cc782331e9","Command":"ls
|
164
|
-
/","Created":1374855171,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"1418f2e8b032b4c1565ecb071aafbb8f219e3ec852c3d1c9a7ca3961809716d5","Image":"base2:latest","Command":"echo
|
165
|
-
insert http://stallman.org /stallman","Created":1374855170,"Status":"Exit
|
166
|
-
0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"d5d71ea48805b02c3eae5e3c507ea7b478c668e2f2f33213f0e0d238d98ee330","Image":"base2:latest","Command":"ls
|
167
|
-
","Created":1374855082,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"c1ad9ade3ee2e3945f3623341b1e1b4197d4ab7b1f1e6deb4a7be1ae67cb93e5","Image":"base2:latest","Command":"date
|
168
|
-
","Created":1374855082,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"8365aaf7629a9d51fc831fe5ec9c04aeef0012411ae4653f3dc1be48edbb0725","Image":"base2:latest","Command":"true
|
169
|
-
","Created":1374855082,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"3663ad5661d91fae12b67219de41fd8d9b607c75588568a93b3fd66434314a23","Image":"a7e4813cedd1","Command":"ls
|
170
|
-
","Created":1374855082,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"f9679f5588f084b1df199573979fdf1bc03d1f14a0f225773b1a6e87f18136f8","Image":"base2:latest","Command":"pwd
|
171
|
-
","Created":1374855082,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"c854d4cd92ca4db695209cc7015c84a609ef14429f2188ea9b5e3237d3c3a136","Image":"base2:latest","Command":"lol
|
172
|
-
not a real command","Created":1374855081,"Status":"Exit 127","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"2acbe41c2c3c9632a606427aa907e24af4b7ba15a3e50b9cf34ea28e1797458b","Image":"base2:latest","Command":"sleep
|
173
|
-
5","Created":1374855081,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"8f951f4e643899fb9ef75376961bffaea4bdffe7277bec99d4c08184790af264","Image":"base2:latest","Command":"sleep
|
174
|
-
5","Created":1374855076,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"ccc138464e03af407af017027a11697f4f3e55370d53d27062d530e39b85d5cb","Image":"base2:latest","Command":"tar
|
175
|
-
nonsense","Created":1374855075,"Status":"Exit 64","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"5086540c2501795c0b7cdb7b7bbacdeadd65b3f32df7a030a835c6e28bd329ff","Image":"base2:latest","Command":"sleep
|
176
|
-
50","Created":1374855065,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"348121471d9c3fbbb7f95a41d58184e8cfe316160544d8e9fd2cc54c09199c96","Image":"base2:latest","Command":"ls
|
177
|
-
","Created":1374855065,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"bcd6004f227795922b875619bbbc0db53490ee3dac0487bc3d68fb3abb0a4943","Image":"base2:latest","Command":"true
|
178
|
-
","Created":1374855065,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"9fd9abedfc616a79e590a93629167d7350aff8df06b6d0f88ccaf75da6dd482a","Image":"base2:latest","Command":"true
|
179
|
-
","Created":1374855065,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"6cd83a35b3931071d198ef4c9f4c8a2db710a5143d847c562191904922855dcd","Image":"base2:latest","Command":"uname
|
180
|
-
-r","Created":1374855065,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"3b11b31217836ccf55b9df7ac666f5bf6cae2ba6a24116c9b7230fb69e45dbbf","Image":"base2:latest","Command":"rm
|
181
|
-
-rf / --no-preserve-root","Created":1374855062,"Status":"Exit 1","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"82879e0a9b1e718a0bb8b6bbad3574f01c0fa6c55e12f795a1dbcba812851b2c","Image":"base2:latest","Command":"true
|
182
|
-
","Created":1374855061,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"714ae4978ddf85b1795471163e9d6595c098cc42417b6bcb34c190e5c5d268df","Image":"base2:latest","Command":"true
|
183
|
-
","Created":1374855061,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0}]'
|
119
|
+
encoding: US-ASCII
|
120
|
+
string: ! '[{"Id":"b5691a48ef64433160a6219e3347cd41ed6240b9a7e79bdc90d1b60e22b5310a","Image":"base:latest","Command":"true
|
121
|
+
","Created":1381106841,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"4519385a528a788dce0728ed1baff4f929cc7fda10b77edeac22418b7ed4f0ad","Image":"base:latest","Command":"test
|
122
|
+
-d /foo","Created":1381106841,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"f401329d4fd9fdfea6a1f469f4520f5ce6c7a9e69c28f02fc43636a6290a37ed","Image":"base:latest","Command":"pwd
|
123
|
+
","Created":1381106840,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"cfb96be8490d42fe733cdf0d8e9ff682170591b9f25f6629bc5817fcb3e18745","Image":"base:latest","Command":"rm
|
124
|
+
-rf / --no-preserve-root","Created":1381106839,"Status":"Exit 1","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"fb0f786f06056afb6dcb2cf5ece6e1b6a6544780b030619eb7b0f97b6156636b","Image":"base:latest","Command":"ls
|
125
|
+
","Created":1381106839,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"6082b8bb44b4bb2a9156fdaf612c9e9c36cff44c3713ac9bb7c52cbae283d5a9","Image":"base:latest","Command":"ls
|
126
|
+
","Created":1381106837,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"0b545bc9f0f0f207207b62f7f19ea1c3e3d93993aefa38e14c66f06ce5559279","Image":"base:latest","Command":"ls
|
127
|
+
","Created":1381106835,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"a48a01e35c11a17d3554c2bba3cbda19058f36a057957c6349125bdc78f8a8a7","Image":"base:latest","Command":"find
|
128
|
+
/ -name ''*''","Created":1381106833,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"3aecf08d8d31d3e0c39dea5406011006558f88150763cf60e1b8765af4cc0b60","Image":"base:latest","Command":"rm
|
129
|
+
-rf /root","Created":1381106833,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"92c0a16f7ae5b7e1bef65ae08370c88e90fb17071df512c3a6b2aaba79660a85","Image":"base:latest","Command":"true
|
130
|
+
","Created":1381106833,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"549668c1c28b1ad827cc3404a675a3391123964c3fc802a11f1612c2eb9cec36","Image":"base:latest","Command":"true
|
131
|
+
","Created":1381106696,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"d6649215449a197bbbc187a5e93790eaf170e4b379e28a0337feef8322d5a282","Image":"jbgi/arch-base:latest","Command":"/bin/sh
|
132
|
+
-lc ping tlunter.com","Created":1375557384,"Status":"Exit 2","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"69591ebe41657405c64a48a31d0a2df2cf1ff9ea1b1cf9714175d3e6cc67ea36","Image":"jbgi/arch-base:latest","Command":"/bin/sh
|
133
|
+
-lc ping tlunter.com","Created":1375557372,"Status":"Exit 255","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"704f0cb84b6eff28f052491552d3633c331a746f563cb5bb023bc282b160fb4d","Image":"jbgi/arch-base:latest","Command":"/bin/sh
|
134
|
+
-lc ping tlunter.com","Created":1375556720,"Status":"Exit 2","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"1b3a69caf5fca0fec4a379b03e0be9e80ba17070b723746378320a8008204651","Image":"jbgi/arch-base:latest","Command":"/bin/sh
|
135
|
+
-lc ping tlunter.com","Created":1375556426,"Status":"Exit 2","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"d505d659d2db270faafe0f0e95f7713aff64d3d453a28d6bc182821efd294227","Image":"jbgi/arch-base:latest","Command":"/bin/sh
|
136
|
+
-lc which ping","Created":1375556419,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"f476389ebc0169584d7afd8eda7d5abd3b86b80dc2dab1964418289b38112c16","Image":"jbgi/arch-base:latest","Command":"/bin/sh
|
137
|
+
-lc ls && ping google.com","Created":1375556408,"Status":"Exit 2","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"c31d70d336b7604ef5ef50e731c6a66b2f8217ca80716cce0fe2402dd60030a5","Image":"jbgi/arch-base:latest","Command":"/bin/sh
|
138
|
+
-lc ls","Created":1375556402,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"5804cf327f8edc031eb0169ac3c436629a4bfd16a873991234705be03561ea7e","Image":"jbgi/arch-base:latest","Command":"/bin/sh
|
139
|
+
-lc ping google.com","Created":1375556382,"Status":"Exit 2","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"6ade424558f79beb13249a860cfeb6181ddc5c8c4a1c679ffcb97df80eca971d","Image":"jbgi/arch-base:latest","Command":"/bin/sh
|
140
|
+
-lc ip addr","Created":1375556375,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"dcab42058c9912fdf00152e560844c81633e22cd867866668566d9846e68ff7f","Image":"jbgi/arch-base:latest","Command":"/bin/sh
|
141
|
+
-lc ip addr","Created":1375556346,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"d7ddbde44c7f39f0bd5d390fc3749deb1493496caabcb094f19c5d43505b3332","Image":"jbgi/arch-base:latest","Command":"/bin/sh
|
142
|
+
-lc pacman -Syu","Created":1375556330,"Status":"Exit -127","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"1617294e19c3b56f936165a44106550eba167585e95588ca53be18f13cc3871b","Image":"jbgi/arch-base:latest","Command":"/bin/bash
|
143
|
+
","Created":1375556154,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"7bac043a74338151d1a3d991132687705d2a6cc8d1377ffbfeb92b04eb2201b0","Image":"jbgi/arch-base:latest","Command":"/bin/bash
|
144
|
+
","Created":1375556101,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"aba819a380a1e95ba68516d72c3c7483a316dbb180401595a9dadbb1322ef1b6","Image":"jbgi/arch-base:latest","Command":"/bin/bash
|
145
|
+
","Created":1375556096,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0}]'
|
184
146
|
http_version:
|
185
|
-
recorded_at:
|
147
|
+
recorded_at: Mon, 07 Oct 2013 00:47:22 GMT
|
186
148
|
- request:
|
187
149
|
method: get
|
188
|
-
uri: http://
|
150
|
+
uri: http://unix/v1.4/containers/json
|
189
151
|
body:
|
190
152
|
encoding: US-ASCII
|
191
153
|
string: ''
|
192
154
|
headers:
|
155
|
+
User-Agent:
|
156
|
+
- Swipely/Docker-API 1.5.4
|
193
157
|
Content-Type:
|
194
158
|
- text/plain
|
195
|
-
User-Agent:
|
196
|
-
- Swipely/Docker-API 1.3.1
|
197
159
|
response:
|
198
160
|
status:
|
199
161
|
code: 200
|
200
162
|
message: ''
|
201
163
|
headers:
|
202
|
-
|
203
|
-
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
164
|
+
!binary "Q29udGVudC1UeXBl":
|
165
|
+
- !binary |-
|
166
|
+
YXBwbGljYXRpb24vanNvbg==
|
167
|
+
!binary "Q29udGVudC1MZW5ndGg=":
|
168
|
+
- !binary |-
|
169
|
+
Mg==
|
170
|
+
!binary "RGF0ZQ==":
|
171
|
+
- !binary |-
|
172
|
+
TW9uLCAwNyBPY3QgMjAxMyAwMDo0NzoyMiBHTVQ=
|
208
173
|
body:
|
209
|
-
encoding:
|
210
|
-
string: '[
|
211
|
-
","Created":1375894274,"Status":"Up Less than a second","Ports":"","SizeRw":0,"SizeRootFs":0}]'
|
174
|
+
encoding: US-ASCII
|
175
|
+
string: ! '[]'
|
212
176
|
http_version:
|
213
|
-
recorded_at:
|
214
|
-
recorded_with: VCR 2.
|
177
|
+
recorded_at: Mon, 07 Oct 2013 00:47:22 GMT
|
178
|
+
recorded_with: VCR 2.6.0
|