docker-api 1.10.7 → 1.10.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/docker/image.rb +4 -1
- data/lib/docker/util.rb +13 -16
- data/lib/docker/version.rb +1 -1
- 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 +5 -5
- data/spec/vcr/Docker_Image/_build_from_dir/with_a_valid_Dockerfile/with_no_query_parameters/builds_the_image.yml +16 -16
- 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 +25 -39
- data/spec/vcr/Docker_Image/_insert_local/when_a_direcory_is_passed/inserts_the_directory.yml +79 -79
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9ed5c3e222507b245d5783011b98a1cf7eeed3c5
|
4
|
+
data.tar.gz: 6651758cb1349942d5aec39712f4206be1ab1e87
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e38a46d18b20774c550d80ab38097b144b97b82acf3476a1eb6a8852e35944ad361a6c1b41c3c0732ed14cc41ce2be4e88d5a11c6f90090fc33c44da6f534315
|
7
|
+
data.tar.gz: 569546a13cea285bc28c8884672c659e65be362b6461f38190a1ae209f7dacc9bfe8709c19a93e5e276e9213ab9c50c3e6d7ae4634f36f868c752673f8d9a71e
|
data/lib/docker/image.rb
CHANGED
@@ -187,7 +187,10 @@ class Docker::Image
|
|
187
187
|
) { tar.read(Excon.defaults[:chunk_size]).to_s }
|
188
188
|
new(connection, 'id' => Docker::Util.extract_id(body))
|
189
189
|
ensure
|
190
|
-
|
190
|
+
unless tar.nil?
|
191
|
+
tar.close
|
192
|
+
FileUtils.rm(tar.path)
|
193
|
+
end
|
191
194
|
end
|
192
195
|
end
|
193
196
|
|
data/lib/docker/util.rb
CHANGED
@@ -35,10 +35,10 @@ module Docker::Util
|
|
35
35
|
|
36
36
|
def create_dir_tar(directory)
|
37
37
|
cwd = FileUtils.pwd
|
38
|
-
tempfile =
|
38
|
+
tempfile = Tempfile.new('out')
|
39
39
|
FileUtils.cd(directory)
|
40
40
|
Archive::Tar::Minitar.pack('.', tempfile)
|
41
|
-
File.new(
|
41
|
+
File.new(tempfile.path, 'r')
|
42
42
|
ensure
|
43
43
|
FileUtils.cd(cwd)
|
44
44
|
end
|
@@ -55,24 +55,21 @@ module Docker::Util
|
|
55
55
|
# Convenience method to get the file hash corresponding to an array of
|
56
56
|
# local paths.
|
57
57
|
def file_hash_from_paths(local_paths)
|
58
|
-
|
58
|
+
local_paths.each_with_object({}) do |local_path, file_hash|
|
59
|
+
unless File.exist?(local_path)
|
60
|
+
raise ArgumentError, "#{local_path} does not exist."
|
61
|
+
end
|
59
62
|
|
60
|
-
|
61
|
-
if File.
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
tar.close
|
67
|
-
else
|
68
|
-
file_hash[basename] = File.read(local_path)
|
69
|
-
end
|
63
|
+
basename = File.basename(local_path)
|
64
|
+
if File.directory?(local_path)
|
65
|
+
tar = create_dir_tar(local_path)
|
66
|
+
file_hash[basename] = tar.read
|
67
|
+
tar.close
|
68
|
+
FileUtils.rm(tar.path)
|
70
69
|
else
|
71
|
-
|
70
|
+
file_hash[basename] = File.read(local_path)
|
72
71
|
end
|
73
72
|
end
|
74
|
-
|
75
|
-
file_hash
|
76
73
|
end
|
77
74
|
|
78
75
|
def build_auth_header(credentials)
|
data/lib/docker/version.rb
CHANGED
@@ -8,7 +8,7 @@ http_interactions:
|
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- Swipely/Docker-API 1.
|
11
|
+
- Swipely/Docker-API 1.10.7
|
12
12
|
Content-Type:
|
13
13
|
- application/tar
|
14
14
|
Transfer-Encoding:
|
@@ -21,7 +21,7 @@ http_interactions:
|
|
21
21
|
Content-Type:
|
22
22
|
- application/json
|
23
23
|
Date:
|
24
|
-
- Wed,
|
24
|
+
- Wed, 09 Apr 2014 14:52:14 GMT
|
25
25
|
Connection:
|
26
26
|
- close
|
27
27
|
Transfer-Encoding:
|
@@ -30,8 +30,8 @@ http_interactions:
|
|
30
30
|
encoding: UTF-8
|
31
31
|
string: "{\"stream\":\"Step 0 : from base\\n\"}\r\n{\"stream\":\" ---\\u003e
|
32
32
|
b750fe79269d\\n\"}\r\n{\"stream\":\"Step 1 : add / /\\n\"}\r\n{\"stream\":\"
|
33
|
-
---\\u003e Using cache\\n\"}\r\n{\"stream\":\" ---\\u003e
|
34
|
-
built
|
33
|
+
---\\u003e Using cache\\n\"}\r\n{\"stream\":\" ---\\u003e 2d1ee8b60e67\\n\"}\r\n{\"stream\":\"Successfully
|
34
|
+
built 2d1ee8b60e67\\n\"}\r\n"
|
35
35
|
http_version:
|
36
|
-
recorded_at: Wed,
|
36
|
+
recorded_at: Wed, 09 Apr 2014 14:52:14 GMT
|
37
37
|
recorded_with: VCR 2.8.0
|
@@ -8,7 +8,7 @@ http_interactions:
|
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- Swipely/Docker-API 1.
|
11
|
+
- Swipely/Docker-API 1.10.7
|
12
12
|
Content-Type:
|
13
13
|
- application/tar
|
14
14
|
Transfer-Encoding:
|
@@ -21,7 +21,7 @@ http_interactions:
|
|
21
21
|
Content-Type:
|
22
22
|
- application/json
|
23
23
|
Date:
|
24
|
-
- Wed,
|
24
|
+
- Wed, 09 Apr 2014 14:52:10 GMT
|
25
25
|
Connection:
|
26
26
|
- close
|
27
27
|
Transfer-Encoding:
|
@@ -30,18 +30,18 @@ http_interactions:
|
|
30
30
|
encoding: UTF-8
|
31
31
|
string: "{\"stream\":\"Step 0 : from base\\n\"}\r\n{\"stream\":\" ---\\u003e
|
32
32
|
b750fe79269d\\n\"}\r\n{\"stream\":\"Step 1 : add / /\\n\"}\r\n{\"stream\":\"
|
33
|
-
---\\u003e
|
33
|
+
---\\u003e 2d1ee8b60e67\\n\"}\r\n{\"stream\":\"Successfully built 2d1ee8b60e67\\n\"}\r\n"
|
34
34
|
http_version:
|
35
|
-
recorded_at: Wed,
|
35
|
+
recorded_at: Wed, 09 Apr 2014 14:52:13 GMT
|
36
36
|
- request:
|
37
37
|
method: post
|
38
38
|
uri: unix:///var/run/docker.sock/v1.10/containers/create
|
39
39
|
body:
|
40
40
|
encoding: UTF-8
|
41
|
-
string: "{\"Image\":\"
|
41
|
+
string: "{\"Image\":\"2d1ee8b60e67\",\"Cmd\":[\"cat\",\"/Dockerfile\"]}"
|
42
42
|
headers:
|
43
43
|
User-Agent:
|
44
|
-
- Swipely/Docker-API 1.
|
44
|
+
- Swipely/Docker-API 1.10.7
|
45
45
|
Content-Type:
|
46
46
|
- application/json
|
47
47
|
response:
|
@@ -52,7 +52,7 @@ http_interactions:
|
|
52
52
|
Content-Type:
|
53
53
|
- application/json
|
54
54
|
Date:
|
55
|
-
- Wed,
|
55
|
+
- Wed, 09 Apr 2014 14:52:13 GMT
|
56
56
|
Content-Length:
|
57
57
|
- '90'
|
58
58
|
Connection:
|
@@ -60,18 +60,18 @@ http_interactions:
|
|
60
60
|
body:
|
61
61
|
encoding: UTF-8
|
62
62
|
string: |
|
63
|
-
{"Id":"
|
63
|
+
{"Id":"c16275a57c313edd1edb0f1047589d70743407cc60523af1dd2c85f4a23b2b33","Warnings":null}
|
64
64
|
http_version:
|
65
|
-
recorded_at: Wed,
|
65
|
+
recorded_at: Wed, 09 Apr 2014 14:52:13 GMT
|
66
66
|
- request:
|
67
67
|
method: post
|
68
|
-
uri: unix:///var/run/docker.sock/v1.10/containers/
|
68
|
+
uri: unix:///var/run/docker.sock/v1.10/containers/c16275a57c313edd1edb0f1047589d70743407cc60523af1dd2c85f4a23b2b33/start
|
69
69
|
body:
|
70
70
|
encoding: UTF-8
|
71
71
|
string: "{}"
|
72
72
|
headers:
|
73
73
|
User-Agent:
|
74
|
-
- Swipely/Docker-API 1.
|
74
|
+
- Swipely/Docker-API 1.10.7
|
75
75
|
Content-Type:
|
76
76
|
- application/json
|
77
77
|
response:
|
@@ -80,7 +80,7 @@ http_interactions:
|
|
80
80
|
message:
|
81
81
|
headers:
|
82
82
|
Date:
|
83
|
-
- Wed,
|
83
|
+
- Wed, 09 Apr 2014 14:52:13 GMT
|
84
84
|
Content-Length:
|
85
85
|
- '0'
|
86
86
|
Content-Type:
|
@@ -91,16 +91,16 @@ http_interactions:
|
|
91
91
|
encoding: UTF-8
|
92
92
|
string: ''
|
93
93
|
http_version:
|
94
|
-
recorded_at: Wed,
|
94
|
+
recorded_at: Wed, 09 Apr 2014 14:52:13 GMT
|
95
95
|
- request:
|
96
96
|
method: post
|
97
|
-
uri: unix:///var/run/docker.sock/v1.10/containers/
|
97
|
+
uri: unix:///var/run/docker.sock/v1.10/containers/c16275a57c313edd1edb0f1047589d70743407cc60523af1dd2c85f4a23b2b33/attach?stderr=true&stdout=true&stream=true
|
98
98
|
body:
|
99
99
|
encoding: US-ASCII
|
100
100
|
string: ''
|
101
101
|
headers:
|
102
102
|
User-Agent:
|
103
|
-
- Swipely/Docker-API 1.
|
103
|
+
- Swipely/Docker-API 1.10.7
|
104
104
|
Content-Type:
|
105
105
|
- text/plain
|
106
106
|
response:
|
@@ -115,5 +115,5 @@ http_interactions:
|
|
115
115
|
string: !binary |-
|
116
116
|
AQAAAAAAABJmcm9tIGJhc2UKYWRkIC8gLwo=
|
117
117
|
http_version:
|
118
|
-
recorded_at: Wed,
|
118
|
+
recorded_at: Wed, 09 Apr 2014 14:52:13 GMT
|
119
119
|
recorded_with: VCR 2.8.0
|
@@ -8,7 +8,7 @@ http_interactions:
|
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- Swipely/Docker-API 1.
|
11
|
+
- Swipely/Docker-API 1.10.7
|
12
12
|
Content-Type:
|
13
13
|
- application/tar
|
14
14
|
Transfer-Encoding:
|
@@ -21,7 +21,7 @@ http_interactions:
|
|
21
21
|
Content-Type:
|
22
22
|
- application/json
|
23
23
|
Date:
|
24
|
-
- Wed,
|
24
|
+
- Wed, 09 Apr 2014 14:52:13 GMT
|
25
25
|
Connection:
|
26
26
|
- close
|
27
27
|
Transfer-Encoding:
|
@@ -30,19 +30,19 @@ http_interactions:
|
|
30
30
|
encoding: UTF-8
|
31
31
|
string: "{\"stream\":\"Step 0 : from base\\n\"}\r\n{\"stream\":\" ---\\u003e
|
32
32
|
b750fe79269d\\n\"}\r\n{\"stream\":\"Step 1 : add / /\\n\"}\r\n{\"stream\":\"
|
33
|
-
---\\u003e Using cache\\n\"}\r\n{\"stream\":\" ---\\u003e
|
34
|
-
built
|
33
|
+
---\\u003e Using cache\\n\"}\r\n{\"stream\":\" ---\\u003e 2d1ee8b60e67\\n\"}\r\n{\"stream\":\"Successfully
|
34
|
+
built 2d1ee8b60e67\\n\"}\r\n"
|
35
35
|
http_version:
|
36
|
-
recorded_at: Wed,
|
36
|
+
recorded_at: Wed, 09 Apr 2014 14:52:13 GMT
|
37
37
|
- request:
|
38
38
|
method: post
|
39
39
|
uri: unix:///var/run/docker.sock/v1.10/containers/create
|
40
40
|
body:
|
41
41
|
encoding: UTF-8
|
42
|
-
string: "{\"Image\":\"
|
42
|
+
string: "{\"Image\":\"2d1ee8b60e67\",\"Cmd\":[\"cat\",\"/Dockerfile\"]}"
|
43
43
|
headers:
|
44
44
|
User-Agent:
|
45
|
-
- Swipely/Docker-API 1.
|
45
|
+
- Swipely/Docker-API 1.10.7
|
46
46
|
Content-Type:
|
47
47
|
- application/json
|
48
48
|
response:
|
@@ -53,7 +53,7 @@ http_interactions:
|
|
53
53
|
Content-Type:
|
54
54
|
- application/json
|
55
55
|
Date:
|
56
|
-
- Wed,
|
56
|
+
- Wed, 09 Apr 2014 14:52:14 GMT
|
57
57
|
Content-Length:
|
58
58
|
- '90'
|
59
59
|
Connection:
|
@@ -61,18 +61,18 @@ http_interactions:
|
|
61
61
|
body:
|
62
62
|
encoding: UTF-8
|
63
63
|
string: |
|
64
|
-
{"Id":"
|
64
|
+
{"Id":"225dc88e1c59a2bd4cb417221a922395cbd98232e4c6737aec5cd74d548ff12b","Warnings":null}
|
65
65
|
http_version:
|
66
|
-
recorded_at: Wed,
|
66
|
+
recorded_at: Wed, 09 Apr 2014 14:52:14 GMT
|
67
67
|
- request:
|
68
68
|
method: post
|
69
|
-
uri: unix:///var/run/docker.sock/v1.10/containers/
|
69
|
+
uri: unix:///var/run/docker.sock/v1.10/containers/225dc88e1c59a2bd4cb417221a922395cbd98232e4c6737aec5cd74d548ff12b/start
|
70
70
|
body:
|
71
71
|
encoding: UTF-8
|
72
72
|
string: "{}"
|
73
73
|
headers:
|
74
74
|
User-Agent:
|
75
|
-
- Swipely/Docker-API 1.
|
75
|
+
- Swipely/Docker-API 1.10.7
|
76
76
|
Content-Type:
|
77
77
|
- application/json
|
78
78
|
response:
|
@@ -81,7 +81,7 @@ http_interactions:
|
|
81
81
|
message:
|
82
82
|
headers:
|
83
83
|
Date:
|
84
|
-
- Wed,
|
84
|
+
- Wed, 09 Apr 2014 14:52:14 GMT
|
85
85
|
Content-Length:
|
86
86
|
- '0'
|
87
87
|
Content-Type:
|
@@ -92,16 +92,16 @@ http_interactions:
|
|
92
92
|
encoding: UTF-8
|
93
93
|
string: ''
|
94
94
|
http_version:
|
95
|
-
recorded_at: Wed,
|
95
|
+
recorded_at: Wed, 09 Apr 2014 14:52:14 GMT
|
96
96
|
- request:
|
97
97
|
method: post
|
98
|
-
uri: unix:///var/run/docker.sock/v1.10/containers/
|
98
|
+
uri: unix:///var/run/docker.sock/v1.10/containers/225dc88e1c59a2bd4cb417221a922395cbd98232e4c6737aec5cd74d548ff12b/attach?stderr=true&stdout=true&stream=true
|
99
99
|
body:
|
100
100
|
encoding: US-ASCII
|
101
101
|
string: ''
|
102
102
|
headers:
|
103
103
|
User-Agent:
|
104
|
-
- Swipely/Docker-API 1.
|
104
|
+
- Swipely/Docker-API 1.10.7
|
105
105
|
Content-Type:
|
106
106
|
- text/plain
|
107
107
|
response:
|
@@ -116,7 +116,7 @@ http_interactions:
|
|
116
116
|
string: !binary |-
|
117
117
|
AQAAAAAAABJmcm9tIGJhc2UKYWRkIC8gLwo=
|
118
118
|
http_version:
|
119
|
-
recorded_at: Wed,
|
119
|
+
recorded_at: Wed, 09 Apr 2014 14:52:14 GMT
|
120
120
|
- request:
|
121
121
|
method: get
|
122
122
|
uri: unix:///var/run/docker.sock/v1.10/images/json
|
@@ -125,7 +125,7 @@ http_interactions:
|
|
125
125
|
string: ''
|
126
126
|
headers:
|
127
127
|
User-Agent:
|
128
|
-
- Swipely/Docker-API 1.
|
128
|
+
- Swipely/Docker-API 1.10.7
|
129
129
|
Content-Type:
|
130
130
|
- text/plain
|
131
131
|
response:
|
@@ -136,32 +136,18 @@ http_interactions:
|
|
136
136
|
Content-Type:
|
137
137
|
- application/json
|
138
138
|
Date:
|
139
|
-
- Wed,
|
139
|
+
- Wed, 09 Apr 2014 14:52:14 GMT
|
140
|
+
Content-Length:
|
141
|
+
- '759'
|
140
142
|
Connection:
|
141
143
|
- close
|
142
|
-
Transfer-Encoding:
|
143
|
-
- ''
|
144
144
|
body:
|
145
145
|
encoding: UTF-8
|
146
146
|
string: |-
|
147
|
-
[{"Created":
|
148
|
-
,{"Created":
|
149
|
-
,{"Created":
|
150
|
-
,{"Created":1394631122,"Id":"d0942d483d0165ac12349291309b216b0b8ae653b3589bc451a26e46cdfbfa4f","ParentId":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":38,"VirtualSize":175307073}
|
151
|
-
,{"Created":1394631119,"Id":"6d2c00eb782a1de80c2466d92f573404734d567a0a18549d0a466cd7bdd12ec0","ParentId":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":38,"VirtualSize":175307073}
|
152
|
-
,{"Created":1394631117,"Id":"ecc20c6798796473052dda1b1a6fb8848297a8fc53602312780feee743170b6b","ParentId":"1a7d30c2eb9387e99941b1a777b6f4e0f27115967a21a6c6b567fae59a2735b8","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":328,"VirtualSize":175307401}
|
153
|
-
,{"Created":1394631113,"Id":"2dc4b846cfcb793cfe7784086fdcc5ef8927db1004814493da8fdcfe2ee4cf5c","ParentId":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":38,"VirtualSize":175307073}
|
154
|
-
,{"Created":1394631111,"Id":"cdd6204a56c3f61206af7f7f54250ef32345239d69ed4eb5a0c33d5607ec131b","ParentId":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":87916,"VirtualSize":175394951}
|
155
|
-
,{"Created":1394631105,"Id":"11967a8e57f5a4535fc81770a3645f10ec7abf92f22308fcb15288bd30a043f7","ParentId":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":69,"VirtualSize":175307104}
|
156
|
-
,{"Created":1394631103,"Id":"8564cd49afd7c8c41e5230408f71d3a4214d8cb6f91004ac89fccebc98843516","ParentId":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":69,"VirtualSize":175307104}
|
157
|
-
,{"Created":1394631080,"Id":"2e0a9a843f663c7a7159aef66386b60e3e5db6eb48dce592844f8716b4d3f3f9","ParentId":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":104,"VirtualSize":175307139}
|
158
|
-
,{"Created":1391448676,"Id":"9f676bd305a43a931a8d98b13e5840ffbebcd908370765373315926024c7c35e","ParentId":"1c7f181e78b90d347996d754ffa38c4c6b395e7cf0388bffffbda00365b45077","RepoTags":["ubuntu:13.10","ubuntu:saucy"],"Size":182125825,"VirtualSize":182125825}
|
159
|
-
,{"Created":1391448539,"Id":"eb601b8965b806e798674245307e091b8ac3cdb9fb522aebaa6ac593df8b6b3c","ParentId":"f323cf34fd7797580c96f45c6b59c4c0704e0ecbc3504e986589c4039681c4fd","RepoTags":["ubuntu:13.04","ubuntu:raring"],"Size":170192839,"VirtualSize":170192839}
|
160
|
-
,{"Created":1391448413,"Id":"5ac751e8d62391dab7b5e795e949e74e7053eb443f819cb35e6bd23fe847a794","ParentId":"321f7f4200f444a0ba37aa7bcf35d2776f7f28958ed1cfe79b5108c62a9c1ab5","RepoTags":["ubuntu:12.10","ubuntu:quantal"],"Size":161412295,"VirtualSize":161412295}
|
161
|
-
,{"Created":1391448301,"Id":"9cc9ea5ea540116b89e41898dd30858107c1175260fb7ff50322b34704092232","ParentId":"7a4f8724184531b88441f95d0a12e47e0791aaedf4ef122b5464da54f38973d4","RepoTags":["ubuntu:10.04","ubuntu:lucid"],"Size":182964289,"VirtualSize":182964289}
|
162
|
-
,{"Created":1391448149,"Id":"9cd978db300e27386baa9dd791bf6dc818f13e52235b26e95703361ec3c94dc6","ParentId":"6170bb7b0ad1003a827e4dc5253ba49f6719599eac485db51eaafd507c13c311","RepoTags":["ubuntu:precise","ubuntu:12.04","ubuntu:latest"],"Size":204705001,"VirtualSize":204705001}
|
163
|
-
,{"Created":1364102658,"Id":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","ParentId":"27cf784147099545","RepoTags":["base:latest","base:ubuntu-12.10","base:ubuntu-quantal","base:ubuntu-quantl","base2:latest"],"Size":77,"VirtualSize":175307035}
|
147
|
+
[{"Created":1397055131,"Id":"2d1ee8b60e67f54f4bd3aa236414734df7fbc460c109eb9a5ef0b1e1eecd3f87","ParentId":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","RepoTags":["swipely/base2:latest"],"Size":995523,"VirtualSize":176302558}
|
148
|
+
,{"Created":1397055122,"Id":"a92017f8105bd6aa4634b026a4a1dd5c628a82eceace646f62404239ba8c20ab","ParentId":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":25720,"VirtualSize":175332755}
|
149
|
+
,{"Created":1364102658,"Id":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","ParentId":"27cf784147099545","RepoTags":["base:latest","base:ubuntu-12.10","base:ubuntu-quantal","base:ubuntu-quantl"],"Size":77,"VirtualSize":175307035}
|
164
150
|
]
|
165
151
|
http_version:
|
166
|
-
recorded_at: Wed,
|
152
|
+
recorded_at: Wed, 09 Apr 2014 14:52:14 GMT
|
167
153
|
recorded_with: VCR 2.8.0
|
data/spec/vcr/Docker_Image/_insert_local/when_a_direcory_is_passed/inserts_the_directory.yml
CHANGED
@@ -9,7 +9,7 @@ http_interactions:
|
|
9
9
|
RG9ja2VyZmlsZQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
10
10
|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
11
11
|
AAAAAAAAAAAAADAwMDA2NDAAMDAwMDAwMAAwMDAwMDAwADAwMDAwMDAwMDEx
|
12
|
-
|
12
|
+
ADEyMzIxMjU3MjIxADAxMzI3MQAgMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
13
13
|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
14
14
|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAB1c3RhcgAwMHdoZWVs
|
15
15
|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAd2hlZWwAAAAAAAAAAAAAAAAA
|
@@ -54,7 +54,7 @@ http_interactions:
|
|
54
54
|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=
|
55
55
|
headers:
|
56
56
|
User-Agent:
|
57
|
-
- Swipely/Docker-API 1.10.
|
57
|
+
- Swipely/Docker-API 1.10.7
|
58
58
|
Content-Type:
|
59
59
|
- application/json
|
60
60
|
response:
|
@@ -65,7 +65,7 @@ http_interactions:
|
|
65
65
|
Content-Type:
|
66
66
|
- application/json
|
67
67
|
Date:
|
68
|
-
-
|
68
|
+
- Wed, 09 Apr 2014 14:52:01 GMT
|
69
69
|
Connection:
|
70
70
|
- close
|
71
71
|
Transfer-Encoding:
|
@@ -75,7 +75,7 @@ http_interactions:
|
|
75
75
|
string: "{\"stream\":\"Step 0 : from base\\n\"}\r\n{\"stream\":\" ---\\u003e
|
76
76
|
b750fe79269d\\n\"}\r\n{\"stream\":\"Successfully built b750fe79269d\\n\"}\r\n"
|
77
77
|
http_version:
|
78
|
-
recorded_at:
|
78
|
+
recorded_at: Wed, 09 Apr 2014 14:52:01 GMT
|
79
79
|
- request:
|
80
80
|
method: post
|
81
81
|
uri: unix:///var/run/docker.sock/v1.10/build
|
@@ -85,7 +85,7 @@ http_interactions:
|
|
85
85
|
bGliAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
86
86
|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
87
87
|
AAAAAAAAAAAAADAwMDA2NDAAMDAwMDAwMAAwMDAwMDAwADAwMDAwMTA3MDAw
|
88
|
-
|
88
|
+
ADEyMzIxMjU3Mj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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADAxMDA2NDQAMDAwMTc1
|
463
|
-
|
463
|
+
MAAwMDAxNzUwADAwMDAwMDE2NjI0ADEyMzIxMjU2NDU3ADAxMDczNQAgMAAA
|
464
464
|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
465
465
|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
466
466
|
AAAAAAAAAAB1c3RhcgAwMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
@@ -617,27 +617,27 @@ http_interactions:
|
|
617
617
|
ZChib2R5LCAmYmxvY2spCiAgICAgICkgeyB0YXIucmVhZChFeGNvbi5kZWZh
|
618
618
|
dWx0c1s6Y2h1bmtfc2l6ZV0pLnRvX3MgfQogICAgICBuZXcoY29ubmVjdGlv
|
619
619
|
biwgJ2lkJyA9PiBEb2NrZXI6OlV0aWwuZXh0cmFjdF9pZChib2R5KSkKICAg
|
620
|
-
|
621
|
-
|
622
|
-
|
623
|
-
|
624
|
-
|
625
|
-
|
626
|
-
|
627
|
-
|
628
|
-
|
629
|
-
|
630
|
-
|
631
|
-
|
632
|
-
|
633
|
-
|
634
|
-
|
635
|
-
|
636
|
-
|
637
|
-
|
638
|
-
|
639
|
-
|
640
|
-
|
620
|
+
IGVuc3VyZQogICAgICB1bmxlc3MgdGFyLm5pbD8KICAgICAgICB0YXIuY2xv
|
621
|
+
c2UKICAgICAgICBGaWxlVXRpbHMucm0odGFyLnBhdGgpCiAgICAgIGVuZAog
|
622
|
+
ICAgZW5kCiAgZW5kCgogIHByaXZhdGUKCiAgIyBDb252ZW5pZW5jZSBtZXRo
|
623
|
+
b2QgdG8gcmV0dXJuIHRoZSBwYXRoIGZvciBhIHBhcnRpY3VsYXIgcmVzb3Vy
|
624
|
+
Y2UuCiAgZGVmIHBhdGhfZm9yK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|
+
CmVuZAoAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
641
641
|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
642
642
|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAABkb2NrZXIvbWVzc2FnZXMucmIAAAAA
|
643
643
|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
@@ -722,7 +722,7 @@ http_interactions:
|
|
722
722
|
AAAAAAAAAGRvY2tlci91dGlsLnJiAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
723
723
|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
724
724
|
AAAAAAAAAAAAAAAAAAAAAAAwMTAwNjQ0ADAwMDE3NTAAMDAwMTc1MAAwMDAw
|
725
|
-
|
725
|
+
MDAwNDIwMwAxMjMyMTI1NjY3MQAwMTA2MTQAIDAAAAAAAAAAAAAAAAAAAAAA
|
726
726
|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
727
727
|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAdXN0YXIA
|
728
728
|
MDAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
@@ -750,36 +750,36 @@ http_interactions:
|
|
750
750
|
bGUud3JpdGUoaW5wdXQpIH0KICAgICAgZW5kCiAgICBlbmQKICAgIG91dHB1
|
751
751
|
dC50YXAoJjpyZXdpbmQpLnN0cmluZwogIGVuZAoKICBkZWYgY3JlYXRlX2Rp
|
752
752
|
cl90YXIoZGlyZWN0b3J5KQogICAgY3dkID0gRmlsZVV0aWxzLnB3ZAogICAg
|
753
|
-
|
754
|
-
|
755
|
-
|
756
|
-
|
757
|
-
|
758
|
-
|
759
|
-
|
760
|
-
|
761
|
-
|
762
|
-
|
763
|
-
|
764
|
-
|
765
|
-
|
766
|
-
|
767
|
-
|
768
|
-
|
769
|
-
|
770
|
-
|
771
|
-
|
772
|
-
|
773
|
-
|
774
|
-
|
775
|
-
|
776
|
-
|
777
|
-
|
778
|
-
|
779
|
-
|
780
|
-
|
781
|
-
|
782
|
-
|
753
|
+
dGVtcGZpbGUgPSBUZW1wZmlsZS5uZXcoJ291dCcpCiAgICBGaWxlVXRpbHMu
|
754
|
+
Y2QoZGlyZWN0b3J5KQogICAgQXJjaGl2ZTo6VGFyOjpNaW5pdGFyLnBhY2so
|
755
|
+
Jy4nLCB0ZW1wZmlsZSkKICAgIEZpbGUubmV3KHRlbXBmaWxlLnBhdGgsICdy
|
756
|
+
JykKICBlbnN1cmUKICAgIEZpbGVVdGlscy5jZChjd2QpCiAgZW5kCgogIGRl
|
757
|
+
ZiBleHRyYWN0X2lkKGJvZHkpCiAgICBib2R5LmxpbmVzLnRvX2EucmV2ZXJz
|
758
|
+
ZS5lYWNoIGRvIHxsaW5lfAogICAgICBpZiAoaWQgPSBsaW5lLm1hdGNoKC9T
|
759
|
+
dWNjZXNzZnVsbHkgYnVpbHQgKFthLWYwLTldKykvKSkgJiYgIWlkWzFdLmVt
|
760
|
+
cHR5PwogICAgICAgIHJldHVybiBpZFsxXQogICAgICBlbmQKICAgIGVuZAog
|
761
|
+
ICAgcmFpc2UgVW5leHBlY3RlZFJlc3BvbnNlRXJyb3IsICJDb3VsZG4ndCBm
|
762
|
+
aW5kIGlkOiAje2JvZHl9IgogIGVuZAoKICAjIENvbnZlbmllbmNlIG1ldGhv
|
763
|
+
ZCB0byBnZXQgdGhlIGZpbGUgaGFzaCBjb3JyZXNwb25kaW5nIHRvIGFuIGFy
|
764
|
+
cmF5IG9mCiAgIyBsb2NhbCBwYXRocy4KICBkZWYgZmlsZV9oYXNoX2Zyb21f
|
765
|
+
cG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AAAAAAAAbW9kdWxlIERv
|
802
802
|
Y2tlcgogICMgVGhlIHZlcnNpb24gb2YgdGhlIGRvY2tlci1hcGkgZ2VtLgog
|
803
|
-
|
803
|
+
IFZFUlNJT04gPSAnMS4xMC43JwoKICAjIFRoZSB2ZXJzaW9uIG9mIHRoZSBj
|
804
804
|
b21wYXRpYmxlIERvY2tlciByZW1vdGUgQVBJLgogIEFQSV9WRVJTSU9OID0g
|
805
805
|
JzEuMTAnCmVuZAoAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
806
806
|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
@@ -904,7 +904,7 @@ http_interactions:
|
|
904
904
|
AAAAAAAAAAAARG9ja2VyZmlsZQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
905
905
|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
906
906
|
AAAAAAAAAAAAAAAAAAAAAAAAADAwMDA2NDAAMDAwMDAwMAAwMDAwMDAwADAw
|
907
|
-
|
907
|
+
MDAwMDAwMDM3ADEyMzIxMjU3MjIxADAxMzMwMQAgMAAAAAAAAAAAAAAAAAAA
|
908
908
|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
909
909
|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAB1c3Rh
|
910
910
|
cgAwMHdoZWVsAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAd2hlZWwAAAAA
|
@@ -949,7 +949,7 @@ http_interactions:
|
|
949
949
|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=
|
950
950
|
headers:
|
951
951
|
User-Agent:
|
952
|
-
- Swipely/Docker-API 1.10.
|
952
|
+
- Swipely/Docker-API 1.10.7
|
953
953
|
Content-Type:
|
954
954
|
- application/json
|
955
955
|
response:
|
@@ -960,7 +960,7 @@ http_interactions:
|
|
960
960
|
Content-Type:
|
961
961
|
- application/json
|
962
962
|
Date:
|
963
|
-
-
|
963
|
+
- Wed, 09 Apr 2014 14:52:01 GMT
|
964
964
|
Connection:
|
965
965
|
- close
|
966
966
|
Transfer-Encoding:
|
@@ -969,18 +969,18 @@ http_interactions:
|
|
969
969
|
encoding: UTF-8
|
970
970
|
string: "{\"stream\":\"Step 0 : from b750fe79269d\\n\"}\r\n{\"stream\":\" ---\\u003e
|
971
971
|
b750fe79269d\\n\"}\r\n{\"stream\":\"Step 1 : add lib /lib\\n\"}\r\n{\"stream\":\"
|
972
|
-
---\\u003e
|
972
|
+
---\\u003e a92017f8105b\\n\"}\r\n{\"stream\":\"Successfully built a92017f8105b\\n\"}\r\n"
|
973
973
|
http_version:
|
974
|
-
recorded_at:
|
974
|
+
recorded_at: Wed, 09 Apr 2014 14:52:03 GMT
|
975
975
|
- request:
|
976
976
|
method: post
|
977
977
|
uri: unix:///var/run/docker.sock/v1.10/containers/create
|
978
978
|
body:
|
979
979
|
encoding: UTF-8
|
980
|
-
string: "{\"Image\":\"
|
980
|
+
string: "{\"Image\":\"a92017f8105b\",\"Cmd\":[\"ls\",\"-a\",\"/lib/docker\"]}"
|
981
981
|
headers:
|
982
982
|
User-Agent:
|
983
|
-
- Swipely/Docker-API 1.10.
|
983
|
+
- Swipely/Docker-API 1.10.7
|
984
984
|
Content-Type:
|
985
985
|
- application/json
|
986
986
|
response:
|
@@ -991,7 +991,7 @@ http_interactions:
|
|
991
991
|
Content-Type:
|
992
992
|
- application/json
|
993
993
|
Date:
|
994
|
-
-
|
994
|
+
- Wed, 09 Apr 2014 14:52:03 GMT
|
995
995
|
Content-Length:
|
996
996
|
- '90'
|
997
997
|
Connection:
|
@@ -999,18 +999,18 @@ http_interactions:
|
|
999
999
|
body:
|
1000
1000
|
encoding: UTF-8
|
1001
1001
|
string: |
|
1002
|
-
{"Id":"
|
1002
|
+
{"Id":"54a2a881fb957afff521277b5d75b06a84fd6fe8112bfb3c846f2d01bee35bbd","Warnings":null}
|
1003
1003
|
http_version:
|
1004
|
-
recorded_at:
|
1004
|
+
recorded_at: Wed, 09 Apr 2014 14:52:03 GMT
|
1005
1005
|
- request:
|
1006
1006
|
method: post
|
1007
|
-
uri: unix:///var/run/docker.sock/v1.10/containers/
|
1007
|
+
uri: unix:///var/run/docker.sock/v1.10/containers/54a2a881fb957afff521277b5d75b06a84fd6fe8112bfb3c846f2d01bee35bbd/start
|
1008
1008
|
body:
|
1009
1009
|
encoding: UTF-8
|
1010
1010
|
string: "{}"
|
1011
1011
|
headers:
|
1012
1012
|
User-Agent:
|
1013
|
-
- Swipely/Docker-API 1.10.
|
1013
|
+
- Swipely/Docker-API 1.10.7
|
1014
1014
|
Content-Type:
|
1015
1015
|
- application/json
|
1016
1016
|
response:
|
@@ -1019,7 +1019,7 @@ http_interactions:
|
|
1019
1019
|
message:
|
1020
1020
|
headers:
|
1021
1021
|
Date:
|
1022
|
-
-
|
1022
|
+
- Wed, 09 Apr 2014 14:52:03 GMT
|
1023
1023
|
Content-Length:
|
1024
1024
|
- '0'
|
1025
1025
|
Content-Type:
|
@@ -1030,16 +1030,16 @@ http_interactions:
|
|
1030
1030
|
encoding: UTF-8
|
1031
1031
|
string: ''
|
1032
1032
|
http_version:
|
1033
|
-
recorded_at:
|
1033
|
+
recorded_at: Wed, 09 Apr 2014 14:52:03 GMT
|
1034
1034
|
- request:
|
1035
1035
|
method: post
|
1036
|
-
uri: unix:///var/run/docker.sock/v1.10/containers/
|
1036
|
+
uri: unix:///var/run/docker.sock/v1.10/containers/54a2a881fb957afff521277b5d75b06a84fd6fe8112bfb3c846f2d01bee35bbd/attach?stderr=true&stdout=true&stream=true
|
1037
1037
|
body:
|
1038
1038
|
encoding: US-ASCII
|
1039
1039
|
string: ''
|
1040
1040
|
headers:
|
1041
1041
|
User-Agent:
|
1042
|
-
- Swipely/Docker-API 1.10.
|
1042
|
+
- Swipely/Docker-API 1.10.7
|
1043
1043
|
Content-Type:
|
1044
1044
|
- text/plain
|
1045
1045
|
response:
|
@@ -1056,5 +1056,5 @@ http_interactions:
|
|
1056
1056
|
cmIKZXJyb3IucmIKZXZlbnQucmIKaW1hZ2UucmIKbWVzc2FnZXMucmIKcmFr
|
1057
1057
|
ZV90YXNrLnJiCnV0aWwucmIKdmVyc2lvbi5yYgo=
|
1058
1058
|
http_version:
|
1059
|
-
recorded_at:
|
1059
|
+
recorded_at: Wed, 09 Apr 2014 14:52:03 GMT
|
1060
1060
|
recorded_with: VCR 2.8.0
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: docker-api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.10.
|
4
|
+
version: 1.10.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Swipely, Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-04-
|
11
|
+
date: 2014-04-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: excon
|