docker-api 1.8.4 → 1.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/docker/image.rb +4 -4
- data/lib/docker/util.rb +9 -1
- data/lib/docker/version.rb +2 -2
- data/spec/docker/container_spec.rb +1 -3
- data/spec/docker/util_spec.rb +23 -2
- data/spec/vcr/Docker/_authenticate_/with_valid_credentials/logs_in_and_sets_the_creds.yml +16 -16
- data/spec/vcr/Docker/_info/returns_the_info_as_a_Hash.yml +6 -6
- data/spec/vcr/Docker/_validate_version/when_nothing_is_raised/validate_version_/.yml +6 -6
- data/spec/vcr/Docker/_version/returns_the_version_as_a_Hash.yml +6 -6
- data/spec/vcr/Docker_Container/_all/when_the_HTTP_response_is_a_200/materializes_each_Container_into_a_Docker_Container.yml +97 -69
- data/spec/vcr/Docker_Container/_attach/with_normal_sized_chunks/yields_each_chunk.yml +12 -12
- data/spec/vcr/Docker_Container/_attach/with_very_small_chunks/yields_each_chunk.yml +12 -12
- data/spec/vcr/Docker_Container/_changes/returns_the_changes_as_an_array.yml +19 -19
- data/spec/vcr/Docker_Container/_commit/creates_a_new_Image_from_the_Container_s_changes.yml +14 -14
- data/spec/vcr/Docker_Container/_commit/if_run_is_passed_it_saves_the_command_in_the_image/saves_the_command.yml +9 -122
- data/spec/vcr/Docker_Container/_copy/when_the_input_is_a_directory/yields_each_chunk_of_the_tarred_directory.yml +24 -24
- data/spec/vcr/Docker_Container/_copy/when_the_input_is_a_file/yields_each_chunk_of_the_tarred_file.yml +24 -24
- data/spec/vcr/Docker_Container/_create/when_creating_a_container_named_bob/should_have_name_set_to_bob.yml +12 -12
- data/spec/vcr/Docker_Container/_create/when_the_Container_does_not_yet_exist/when_the_HTTP_request_returns_a_200/sets_the_id.yml +5 -5
- data/spec/vcr/Docker_Container/_delete/deletes_the_container.yml +15 -15
- data/spec/vcr/Docker_Container/_export/yields_each_chunk.yml +14 -82732
- data/spec/vcr/Docker_Container/_get/when_the_HTTP_response_is_a_200/materializes_the_Container_into_a_Docker_Container.yml +13 -13
- data/spec/vcr/Docker_Container/_json/returns_the_description_as_a_Hash.yml +13 -13
- data/spec/vcr/Docker_Container/_kill/kills_the_container.yml +49 -34
- data/spec/vcr/Docker_Container/_restart/restarts_the_container.yml +39 -39
- data/spec/vcr/Docker_Container/_run/when_the_Container_s_command_does_not_return_status_code_of_0/raises_an_error.yml +14 -14
- 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 +38 -38
- data/spec/vcr/Docker_Container/_start/starts_the_container.yml +21 -21
- data/spec/vcr/Docker_Container/_stop/stops_the_container.yml +52 -37
- data/spec/vcr/Docker_Container/_top/returns_the_top_commands_as_an_Array.yml +7 -7
- data/spec/vcr/Docker_Container/_wait/waits_for_the_command_to_finish.yml +15 -15
- data/spec/vcr/Docker_Container/_wait/when_an_argument_is_given/and_a_command_runs_for_too_long/raises_a_ServerError.yml +9 -9
- data/spec/vcr/Docker_Container/_wait/when_an_argument_is_given/sets_the_read_timeout_to_that_amount_of_time.yml +13 -13
- data/spec/vcr/Docker_Image/_all/materializes_each_Image_into_a_Docker_Image.yml +19 -22
- data/spec/vcr/Docker_Image/_build/with_a_valid_Dockerfile/with_a_block_capturing_build_output/calls_the_block_and_passes_build_output.yml +7 -7
- 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 +25 -27
- data/spec/vcr/Docker_Image/_build/with_a_valid_Dockerfile/without_query_parameters/builds_an_image.yml +7 -7
- data/spec/vcr/Docker_Image/_build/with_an_invalid_Dockerfile/throws_a_UnexpectedResponseError.yml +7 -7
- 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 +8 -7
- data/spec/vcr/Docker_Image/_build_from_dir/with_a_valid_Dockerfile/with_no_query_parameters/builds_the_image.yml +21 -20
- 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 +36 -38
- data/spec/vcr/Docker_Image/_create/when_the_Image_does_not_yet_exist_and_the_body_is_a_Hash/sets_the_id.yml +5 -5
- data/spec/vcr/Docker_Image/_get/when_the_image_does_exist/returns_the_new_image.yml +8 -8
- data/spec/vcr/Docker_Image/_history/returns_the_history_of_the_Image.yml +10 -10
- data/spec/vcr/Docker_Image/_insert/inserts_the_url_s_file_into_a_new_Image.yml +213 -30
- data/spec/vcr/Docker_Image/_insert_local/when_removing_intermediate_containers/creates_a_new_image.yml +45 -51
- data/spec/vcr/Docker_Image/_insert_local/when_removing_intermediate_containers/leave_no_intermediate_containers.yml +48 -100
- data/spec/vcr/Docker_Image/_insert_local/when_the_local_file_does_exist/creates_a_new_Image_that_has_that_file.yml +30 -30
- data/spec/vcr/Docker_Image/_insert_local/when_the_local_file_does_not_exist/raises_an_error.yml +7 -7
- data/spec/vcr/Docker_Image/_insert_local/when_there_are_multiple_files_passed/creates_a_new_Image_that_has_each_file.yml +32 -32
- data/spec/vcr/Docker_Image/_json/returns_additional_information_about_image_image.yml +8 -8
- data/spec/vcr/Docker_Image/_push/pushes_the_Image.yml +43 -102
- data/spec/vcr/Docker_Image/_remove/removes_the_Image.yml +9 -9
- data/spec/vcr/Docker_Image/_run/when_the_argument_is_a_String/splits_the_String_by_spaces_and_creates_a_new_Container.yml +18 -18
- data/spec/vcr/Docker_Image/_run/when_the_argument_is_an_Array/creates_a_new_Container.yml +18 -18
- 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 +12 -12
- data/spec/vcr/Docker_Image/_search/materializes_each_Image_into_a_Docker_Image.yml +34 -22
- data/spec/vcr/Docker_Image/_tag/tags_the_image_with_the_repo_name.yml +6 -6
- metadata +2 -6
- data/spec/vcr/Docker_Container/_copy/when_the_file_does_not_exist/raises_an_error.yml +0 -156
- 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 +0 -93
@@ -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.9/images/create?fromImage=base
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- Swipely/Docker-API 1.
|
11
|
+
- Swipely/Docker-API 1.8.4
|
12
12
|
Content-Type:
|
13
13
|
- text/plain
|
14
14
|
response:
|
@@ -19,14 +19,14 @@ http_interactions:
|
|
19
19
|
Content-Type:
|
20
20
|
- application/json
|
21
21
|
Date:
|
22
|
-
-
|
22
|
+
- Fri, 28 Feb 2014 21:30:03 GMT
|
23
23
|
Connection:
|
24
24
|
- close
|
25
25
|
Transfer-Encoding:
|
26
26
|
- ''
|
27
27
|
body:
|
28
28
|
encoding: UTF-8
|
29
|
-
string: "{\"status\":\"Pulling repository base\"}{\"status\":\"Pulling image
|
29
|
+
string: "{\"status\":\"Pulling repository base\"}\r\n{\"status\":\"Pulling image
|
30
30
|
(ubuntu-quantl) from base\",\"progressDetail\":{},\"id\":\"b750fe79269d\"}{\"status\":\"Pulling
|
31
31
|
image (ubuntu-quantl) from base, endpoint: https://cdn-registry-1.docker.io/v1/\",\"progressDetail\":{},\"id\":\"b750fe79269d\"}{\"status\":\"Pulling
|
32
32
|
dependent layers\",\"progressDetail\":{},\"id\":\"b750fe79269d\"}{\"status\":\"Download
|
@@ -34,16 +34,16 @@ http_interactions:
|
|
34
34
|
complete\",\"progressDetail\":{},\"id\":\"b750fe79269d\"}{\"status\":\"Download
|
35
35
|
complete\",\"progressDetail\":{},\"id\":\"b750fe79269d\"}"
|
36
36
|
http_version:
|
37
|
-
recorded_at:
|
37
|
+
recorded_at: Fri, 28 Feb 2014 21:30:04 GMT
|
38
38
|
- request:
|
39
39
|
method: post
|
40
|
-
uri: unix:///var/run/docker.sock/v1.
|
40
|
+
uri: unix:///var/run/docker.sock/v1.9/containers/create
|
41
41
|
body:
|
42
42
|
encoding: UTF-8
|
43
|
-
string: "{\"Image\":\"
|
43
|
+
string: "{\"Image\":\"b750fe79269d\",\"Cmd\":[\"which\",\"pwd\"]}"
|
44
44
|
headers:
|
45
45
|
User-Agent:
|
46
|
-
- Swipely/Docker-API 1.
|
46
|
+
- Swipely/Docker-API 1.8.4
|
47
47
|
Content-Type:
|
48
48
|
- application/json
|
49
49
|
response:
|
@@ -54,7 +54,7 @@ http_interactions:
|
|
54
54
|
Content-Type:
|
55
55
|
- application/json
|
56
56
|
Date:
|
57
|
-
-
|
57
|
+
- Fri, 28 Feb 2014 21:30:04 GMT
|
58
58
|
Content-Length:
|
59
59
|
- '90'
|
60
60
|
Connection:
|
@@ -62,18 +62,18 @@ http_interactions:
|
|
62
62
|
body:
|
63
63
|
encoding: UTF-8
|
64
64
|
string: |
|
65
|
-
{"Id":"
|
65
|
+
{"Id":"54e5d38edb25f0294cc9011e557282d71ee6c8f88f588dd4efe6ffe609287fa0","Warnings":null}
|
66
66
|
http_version:
|
67
|
-
recorded_at:
|
67
|
+
recorded_at: Fri, 28 Feb 2014 21:30:04 GMT
|
68
68
|
- request:
|
69
69
|
method: post
|
70
|
-
uri: unix:///var/run/docker.sock/v1.
|
70
|
+
uri: unix:///var/run/docker.sock/v1.9/containers/54e5d38edb25f0294cc9011e557282d71ee6c8f88f588dd4efe6ffe609287fa0/start
|
71
71
|
body:
|
72
72
|
encoding: UTF-8
|
73
73
|
string: "{}"
|
74
74
|
headers:
|
75
75
|
User-Agent:
|
76
|
-
- Swipely/Docker-API 1.
|
76
|
+
- Swipely/Docker-API 1.8.4
|
77
77
|
Content-Type:
|
78
78
|
- application/json
|
79
79
|
response:
|
@@ -82,7 +82,7 @@ http_interactions:
|
|
82
82
|
message:
|
83
83
|
headers:
|
84
84
|
Date:
|
85
|
-
-
|
85
|
+
- Fri, 28 Feb 2014 21:30:05 GMT
|
86
86
|
Content-Length:
|
87
87
|
- '0'
|
88
88
|
Content-Type:
|
@@ -93,16 +93,16 @@ http_interactions:
|
|
93
93
|
encoding: UTF-8
|
94
94
|
string: ''
|
95
95
|
http_version:
|
96
|
-
recorded_at:
|
96
|
+
recorded_at: Fri, 28 Feb 2014 21:30:05 GMT
|
97
97
|
- request:
|
98
98
|
method: post
|
99
|
-
uri: unix:///var/run/docker.sock/v1.
|
99
|
+
uri: unix:///var/run/docker.sock/v1.9/containers/54e5d38edb25f0294cc9011e557282d71ee6c8f88f588dd4efe6ffe609287fa0/attach?stderr=true&stdout=true&stream=true
|
100
100
|
body:
|
101
101
|
encoding: US-ASCII
|
102
102
|
string: ''
|
103
103
|
headers:
|
104
104
|
User-Agent:
|
105
|
-
- Swipely/Docker-API 1.
|
105
|
+
- Swipely/Docker-API 1.8.4
|
106
106
|
Content-Type:
|
107
107
|
- text/plain
|
108
108
|
response:
|
@@ -117,5 +117,5 @@ http_interactions:
|
|
117
117
|
string: !binary |-
|
118
118
|
AQAAAAAAAAkvYmluL3B3ZAo=
|
119
119
|
http_version:
|
120
|
-
recorded_at:
|
120
|
+
recorded_at: Fri, 28 Feb 2014 21:30:05 GMT
|
121
121
|
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.9/images/create?fromImage=base
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- Swipely/Docker-API 1.
|
11
|
+
- Swipely/Docker-API 1.8.4
|
12
12
|
Content-Type:
|
13
13
|
- text/plain
|
14
14
|
response:
|
@@ -19,14 +19,14 @@ http_interactions:
|
|
19
19
|
Content-Type:
|
20
20
|
- application/json
|
21
21
|
Date:
|
22
|
-
-
|
22
|
+
- Fri, 28 Feb 2014 21:30:05 GMT
|
23
23
|
Connection:
|
24
24
|
- close
|
25
25
|
Transfer-Encoding:
|
26
26
|
- ''
|
27
27
|
body:
|
28
28
|
encoding: UTF-8
|
29
|
-
string: "{\"status\":\"Pulling repository base\"}{\"status\":\"Pulling image
|
29
|
+
string: "{\"status\":\"Pulling repository base\"}\r\n{\"status\":\"Pulling image
|
30
30
|
(ubuntu-quantl) from base\",\"progressDetail\":{},\"id\":\"b750fe79269d\"}{\"status\":\"Pulling
|
31
31
|
image (ubuntu-quantl) from base, endpoint: https://cdn-registry-1.docker.io/v1/\",\"progressDetail\":{},\"id\":\"b750fe79269d\"}{\"status\":\"Pulling
|
32
32
|
dependent layers\",\"progressDetail\":{},\"id\":\"b750fe79269d\"}{\"status\":\"Download
|
@@ -34,16 +34,16 @@ http_interactions:
|
|
34
34
|
complete\",\"progressDetail\":{},\"id\":\"b750fe79269d\"}{\"status\":\"Download
|
35
35
|
complete\",\"progressDetail\":{},\"id\":\"b750fe79269d\"}"
|
36
36
|
http_version:
|
37
|
-
recorded_at:
|
37
|
+
recorded_at: Fri, 28 Feb 2014 21:30:06 GMT
|
38
38
|
- request:
|
39
39
|
method: post
|
40
|
-
uri: unix:///var/run/docker.sock/v1.
|
40
|
+
uri: unix:///var/run/docker.sock/v1.9/containers/create
|
41
41
|
body:
|
42
42
|
encoding: UTF-8
|
43
|
-
string: "{\"Image\":\"
|
43
|
+
string: "{\"Image\":\"b750fe79269d\",\"Cmd\":null}"
|
44
44
|
headers:
|
45
45
|
User-Agent:
|
46
|
-
- Swipely/Docker-API 1.
|
46
|
+
- Swipely/Docker-API 1.8.4
|
47
47
|
Content-Type:
|
48
48
|
- application/json
|
49
49
|
response:
|
@@ -54,15 +54,15 @@ http_interactions:
|
|
54
54
|
Content-Type:
|
55
55
|
- text/plain; charset=utf-8
|
56
56
|
Date:
|
57
|
-
-
|
57
|
+
- Fri, 28 Feb 2014 21:30:06 GMT
|
58
58
|
Content-Length:
|
59
|
-
- '
|
59
|
+
- '21'
|
60
60
|
Connection:
|
61
61
|
- close
|
62
62
|
body:
|
63
63
|
encoding: UTF-8
|
64
64
|
string: |
|
65
|
-
|
65
|
+
No command specified
|
66
66
|
http_version:
|
67
|
-
recorded_at:
|
67
|
+
recorded_at: Fri, 28 Feb 2014 21:30:06 GMT
|
68
68
|
recorded_with: VCR 2.8.0
|
@@ -2,13 +2,13 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: unix:///var/run/docker.sock/v1.
|
5
|
+
uri: unix:///var/run/docker.sock/v1.9/images/search?term=sshd
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- Swipely/Docker-API 1.
|
11
|
+
- Swipely/Docker-API 1.8.4
|
12
12
|
Content-Type:
|
13
13
|
- text/plain
|
14
14
|
response:
|
@@ -16,10 +16,10 @@ http_interactions:
|
|
16
16
|
code: 200
|
17
17
|
message:
|
18
18
|
headers:
|
19
|
-
Date:
|
20
|
-
- Wed, 12 Feb 2014 17:06:39 GMT
|
21
19
|
Content-Type:
|
22
|
-
-
|
20
|
+
- application/json
|
21
|
+
Date:
|
22
|
+
- Fri, 28 Feb 2014 21:30:09 GMT
|
23
23
|
Connection:
|
24
24
|
- close
|
25
25
|
Transfer-Encoding:
|
@@ -30,37 +30,42 @@ http_interactions:
|
|
30
30
|
[{"description":"sshd base on angelrr7702/ubuntu-13.10","is_official":false,"is_trusted":true,"name":"angelrr7702/ubuntu-13.10-sshd","star_count":4}
|
31
31
|
,{"description":"SSH Daemon created in the ssh daemon documentation example","is_official":false,"is_trusted":false,"name":"dhrp/sshd","star_count":4}
|
32
32
|
,{"description":"Open JDK 7 on Plain Debian with SSHD","is_official":false,"is_trusted":true,"name":"shuron/debian-openjdk-7","star_count":2}
|
33
|
+
,{"description":"Docker image with nginx and sshd isntalled and running by default.","is_official":false,"is_trusted":false,"name":"iliyan/nginxserver","star_count":1}
|
33
34
|
,{"description":"Ubuntu 13.10 with openssh based on the stackbrew/ubuntu:13.10 image.","is_official":false,"is_trusted":false,"name":"stephens/sshd","star_count":1}
|
34
|
-
,{"description":"This is an image which runs a SSH deamon under supervision of runit.","is_official":false,"is_trusted":false,"name":"skxskx/sshd","star_count":1}
|
35
|
-
,{"description":"","is_official":false,"is_trusted":true,"name":"moul/sshd","star_count":1}
|
36
35
|
,{"description":"","is_official":false,"is_trusted":false,"name":"angelrr7702/ubuntu-13.04-sshd","star_count":1}
|
36
|
+
,{"description":"","is_official":false,"is_trusted":true,"name":"iliyan/docker-nginx-sshd","star_count":1}
|
37
|
+
,{"description":"This is an image which runs a SSH deamon under supervision of runit.","is_official":false,"is_trusted":false,"name":"skxskx/sshd","star_count":1}
|
37
38
|
,{"description":"ssh server: Ubuntu 13.10, user=root, passwd=root","is_official":false,"is_trusted":true,"name":"jchavas/saucy-sshd","star_count":1}
|
38
39
|
,{"description":"centos with ssh, LAMP, PHPMyAdmin(root password 'toor' and MySQL root password 'sysadmin'). Auto starts sshd, MySQL and Apache. Just launch using 'docker run -d mbkan/lamp'. ","is_official":false,"is_trusted":false,"name":"mbkan/lamp","star_count":1}
|
40
|
+
,{"description":"","is_official":false,"is_trusted":true,"name":"moul/sshd","star_count":1}
|
41
|
+
,{"description":"lean centos 6.5 w/ udevadm settle and pam sshd fixes","is_official":false,"is_trusted":false,"name":"nathwill/centos","star_count":1}
|
39
42
|
,{"description":"sshd daemon supervised by DJB daemontools - run cmd :\r\ndocker run -d -p 22 toorop/daemontools-sshd /usr/bin/svscanboot - \r\n\r\nDefault root password : demo - \r\n\r\nSSHD logs location : /var/log/sshd\r\n\r\n","is_official":false,"is_trusted":false,"name":"toorop/daemontools-sshd","star_count":0}
|
40
|
-
,{"description":"A ssh server with password: admin","is_official":false,"is_trusted":true,"name":"wnameless/sshd","star_count":0}
|
41
|
-
,{"description":"","is_official":false,"is_trusted":false,"name":"hyone/sshd","star_count":0}
|
42
43
|
,{"description":"","is_official":false,"is_trusted":false,"name":"blissdev/sshd","star_count":0}
|
43
44
|
,{"description":"","is_official":false,"is_trusted":true,"name":"dockeruser/sshd","star_count":0}
|
44
45
|
,{"description":"","is_official":false,"is_trusted":true,"name":"monokrome/sshd","star_count":0}
|
45
|
-
,{"description":"","is_official":false,"is_trusted":false,"name":"tekknolagi/sshd","star_count":0}
|
46
46
|
,{"description":"","is_official":false,"is_trusted":false,"name":"dongweiming/sshd","star_count":0}
|
47
|
+
,{"description":"","is_official":false,"is_trusted":false,"name":"tekknolagi/sshd","star_count":0}
|
47
48
|
,{"description":"","is_official":false,"is_trusted":false,"name":"emiller/sshd","star_count":0}
|
48
|
-
,{"description":"","is_official":false,"is_trusted":false,"name":"
|
49
|
+
,{"description":"","is_official":false,"is_trusted":false,"name":"jcheng/sshd","star_count":0}
|
49
50
|
,{"description":"","is_official":false,"is_trusted":false,"name":"cespare/sshd","star_count":0}
|
51
|
+
,{"description":"","is_official":false,"is_trusted":false,"name":"yestxh/sshd","star_count":0}
|
52
|
+
,{"description":"","is_official":false,"is_trusted":false,"name":"skardan/sshd","star_count":0}
|
53
|
+
,{"description":"","is_official":false,"is_trusted":false,"name":"vgauthier/sshd","star_count":0}
|
50
54
|
,{"description":"","is_official":false,"is_trusted":false,"name":"rblomberg/sshd","star_count":0}
|
51
55
|
,{"description":"","is_official":false,"is_trusted":false,"name":"yuyat/sshd","star_count":0}
|
52
56
|
,{"description":"","is_official":false,"is_trusted":true,"name":"tiokksar/sshd","star_count":0}
|
53
57
|
,{"description":"","is_official":false,"is_trusted":false,"name":"jamuc/sshd","star_count":0}
|
54
|
-
,{"description":"","is_official":false,"is_trusted":false,"name":"
|
58
|
+
,{"description":"","is_official":false,"is_trusted":false,"name":"jurajpelikan/sshd","star_count":0}
|
55
59
|
,{"description":"sshd daemon \u0026 Nginx supervised by DJB daemontools - run cmd : docker run -d -p 22 -p 80 toorop/daemontools-sshd-nginx /usr/bin/svscanboot - Default root password : demo - SSHD logs location : /var/log/sshd","is_official":false,"is_trusted":false,"name":"toorop/daemontools-sshd-nginx","star_count":0}
|
56
60
|
,{"description":"","is_official":false,"is_trusted":false,"name":"yoshiso/sshd","star_count":0}
|
57
61
|
,{"description":"","is_official":false,"is_trusted":false,"name":"richburroughs/sshd","star_count":0}
|
58
62
|
,{"description":"","is_official":false,"is_trusted":true,"name":"typester/sshd","star_count":0}
|
59
63
|
,{"description":"","is_official":false,"is_trusted":false,"name":"mrtmexx/sshd","star_count":0}
|
60
64
|
,{"description":"","is_official":false,"is_trusted":false,"name":"malbin/sshd","star_count":0}
|
65
|
+
,{"description":"","is_official":false,"is_trusted":false,"name":"dragon9783/sshd","star_count":0}
|
61
66
|
,{"description":"Ubuntu 12.04\nNodeJS 0.10.18\nsshd","is_official":false,"is_trusted":false,"name":"realyze/ubuntu-node-sshd","star_count":0}
|
62
|
-
,{"description":"","is_official":false,"is_trusted":false,"name":"jurajpelikan/sshd","star_count":0}
|
63
67
|
,{"description":"","is_official":false,"is_trusted":false,"name":"dhrp/mongodb-sshd","star_count":0}
|
68
|
+
,{"description":"","is_official":false,"is_trusted":false,"name":"rayang2004/sshd","star_count":0}
|
64
69
|
,{"description":"","is_official":false,"is_trusted":false,"name":"hyao/sshd","star_count":0}
|
65
70
|
,{"description":"","is_official":false,"is_trusted":false,"name":"ckrintz/sshd","star_count":0}
|
66
71
|
,{"description":"","is_official":false,"is_trusted":false,"name":"uzero/sshd","star_count":0}
|
@@ -70,19 +75,23 @@ http_interactions:
|
|
70
75
|
,{"description":"","is_official":false,"is_trusted":false,"name":"steshaw/sshd","star_count":0}
|
71
76
|
,{"description":"Image source was Ubuntu 12.10. Installed openssh-server and reset root password. ","is_official":false,"is_trusted":false,"name":"trebortech/sshd","star_count":0}
|
72
77
|
,{"description":"","is_official":false,"is_trusted":false,"name":"j4pe/sshd","star_count":0}
|
73
|
-
,{"description":"","is_official":false,"is_trusted":false,"name":"
|
74
|
-
,{"description":"","is_official":false,"is_trusted":false,"name":"
|
78
|
+
,{"description":"","is_official":false,"is_trusted":false,"name":"apetersen/sshd","star_count":0}
|
79
|
+
,{"description":"","is_official":false,"is_trusted":false,"name":"marcosvm/sshd","star_count":0}
|
80
|
+
,{"description":"","is_official":false,"is_trusted":true,"name":"bsdlp/sshd","star_count":0}
|
75
81
|
,{"description":"***WIP***\npassword is H3rpD3rp","is_official":false,"is_trusted":false,"name":"bsdlp/arch-sshd","star_count":0}
|
82
|
+
,{"description":"","is_official":false,"is_trusted":true,"name":"kumarpraveen/fedora-sshd","star_count":0}
|
76
83
|
,{"description":"","is_official":false,"is_trusted":false,"name":"zilin/docker-sshd","star_count":0}
|
77
84
|
,{"description":"","is_official":false,"is_trusted":false,"name":"dhrp/sshd-ping","star_count":0}
|
78
|
-
,{"description":"","is_official":false,"is_trusted":true,"name":"
|
85
|
+
,{"description":"","is_official":false,"is_trusted":true,"name":"mogproject/sshd-supervisor","star_count":0}
|
86
|
+
,{"description":"","is_official":false,"is_trusted":false,"name":"morimorihoge/precise-sshd","star_count":0}
|
87
|
+
,{"description":"","is_official":false,"is_trusted":false,"name":"5agms43sgo2z/jessie-with-sshd","star_count":0}
|
79
88
|
,{"description":"","is_official":false,"is_trusted":false,"name":"toorop/daemontools-sshd-nginx-php-fpm","star_count":0}
|
80
89
|
,{"description":"Provides access to pharo-core command line interface","is_official":false,"is_trusted":false,"name":"pshouse/sshd-pharo-core","star_count":0}
|
81
90
|
,{"description":"","is_official":false,"is_trusted":false,"name":"msinger/openfoam-sshd","star_count":0}
|
82
|
-
,{"description":"","is_official":false,"is_trusted":true,"name":"mogproject/sshd-supervisor","star_count":0}
|
83
91
|
,{"description":"","is_official":false,"is_trusted":false,"name":"dhrp/sshd-ping2","star_count":0}
|
84
|
-
,{"description":"","is_official":false,"is_trusted":false,"name":"mikewr/u1210-sshd-postgres","star_count":0}
|
85
92
|
,{"description":"","is_official":false,"is_trusted":false,"name":"lorieri/daemontools-sshd-nginx","star_count":0}
|
93
|
+
,{"description":"","is_official":false,"is_trusted":false,"name":"mikewr/u1210-sshd-postgres","star_count":0}
|
94
|
+
,{"description":"","is_official":false,"is_trusted":false,"name":"johnshen/oink-centos65-sshd","star_count":0}
|
86
95
|
,{"description":"","is_official":false,"is_trusted":true,"name":"brandonmartin/docker-ubuntu-runit-sshd","star_count":0}
|
87
96
|
,{"description":"","is_official":false,"is_trusted":false,"name":"emiller/sshdnpw","star_count":0}
|
88
97
|
,{"description":"SSHD daemon supervised by DJB daemontools\nRUN: sudo docker run -d -p 22 -t mfuller/damontools_sshd /usr/bin/svscan /service\nLogin: USER(with sudo)=admin PASSWORD=password\nSSHD logs : /var/log/sshd\n","is_official":false,"is_trusted":false,"name":"mfuller/daemontools_sshd","star_count":0}
|
@@ -97,16 +106,19 @@ http_interactions:
|
|
97
106
|
,{"description":"My personal base repo built on the ubuntu base, running sshd under daemontools.","is_official":false,"is_trusted":false,"name":"zakame/base","star_count":0}
|
98
107
|
,{"description":"A container for Go developers - Go 1.1 + Git + sshd - run with \"docker run -d -p 22 -h toorop/golang /usr/bin/svscanboot\" - connect throw SSH \"ssh root@localhost -pSSHD_PORT\" default password is \"demo\" - add users : \"adduser USERNAME\" this will also configure USER $HOME directory - Start coding. Enjoy ;)","is_official":false,"is_trusted":false,"name":"toorop/golang","star_count":0}
|
99
108
|
,{"description":"Saltstack Salt Master Image, runs sshd and salt-master via supervisor, exposes 22, 4505 and 4506. Needs configuration files for the master fed in through volumes mounted to/srv and /etc/salt.","is_official":false,"is_trusted":false,"name":"sroegner/saltmaster","star_count":0}
|
100
|
-
,{"description":"
|
109
|
+
,{"description":"","is_official":false,"is_trusted":true,"name":"titanous/sshd","star_count":0}
|
101
110
|
,{"description":"Centos 6.4 (64bit) with sshd","is_official":false,"is_trusted":false,"name":"jonhadfield/sshd","star_count":0}
|
102
111
|
,{"description":"Runs a SSHd server in daemon mode","is_official":false,"is_trusted":false,"name":"zefhemel/sshd","star_count":0}
|
103
|
-
,{"description":"","is_official":false,"is_trusted":false,"name":"kpelykh/sshd","star_count":0}
|
104
112
|
,{"description":"Ubuntu 12.04 with SSHd and ubuntu user (check logs for initial password).","is_official":false,"is_trusted":true,"name":"jimt/sshd","star_count":0}
|
105
|
-
,{"description":"","is_official":false,"is_trusted":
|
113
|
+
,{"description":"","is_official":false,"is_trusted":false,"name":"kpelykh/sshd","star_count":0}
|
114
|
+
,{"description":"Base + sshd + proxy + static ip addr.","is_official":false,"is_trusted":false,"name":"simoman/sshd","star_count":0}
|
115
|
+
,{"description":"sshd image based on official Debian image","is_official":false,"is_trusted":true,"name":"docku/sshd","star_count":0}
|
106
116
|
,{"description":"Ubuntu 12.04 with Openssh-server preinstalled to be used as a basic image to build new images.","is_official":false,"is_trusted":false,"name":"sullof/sshd","star_count":0}
|
117
|
+
,{"description":"","is_official":false,"is_trusted":false,"name":"hyone/sshd","star_count":0}
|
118
|
+
,{"description":"A ssh server with password: admin","is_official":false,"is_trusted":true,"name":"wnameless/sshd","star_count":0}
|
107
119
|
,{"description":"","is_official":false,"is_trusted":false,"name":"johnfuller/sshd","star_count":0}
|
108
120
|
,{"description":"","is_official":false,"is_trusted":false,"name":"oss17888/sshd","star_count":0}
|
109
121
|
]
|
110
122
|
http_version:
|
111
|
-
recorded_at:
|
123
|
+
recorded_at: Fri, 28 Feb 2014 21:30:09 GMT
|
112
124
|
recorded_with: VCR 2.8.0
|
@@ -2,7 +2,7 @@
|
|
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.9/images/create?fromImage=base
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -19,7 +19,7 @@ http_interactions:
|
|
19
19
|
Content-Type:
|
20
20
|
- application/json
|
21
21
|
Date:
|
22
|
-
- Fri, 28 Feb 2014
|
22
|
+
- Fri, 28 Feb 2014 21:29:58 GMT
|
23
23
|
Connection:
|
24
24
|
- close
|
25
25
|
Transfer-Encoding:
|
@@ -34,10 +34,10 @@ http_interactions:
|
|
34
34
|
complete\",\"progressDetail\":{},\"id\":\"b750fe79269d\"}{\"status\":\"Download
|
35
35
|
complete\",\"progressDetail\":{},\"id\":\"b750fe79269d\"}"
|
36
36
|
http_version:
|
37
|
-
recorded_at: Fri, 28 Feb 2014
|
37
|
+
recorded_at: Fri, 28 Feb 2014 21:29:59 GMT
|
38
38
|
- request:
|
39
39
|
method: post
|
40
|
-
uri: unix:///var/run/docker.sock/v1.
|
40
|
+
uri: unix:///var/run/docker.sock/v1.9/images/b750fe79269d/tag?force=true&repo=base2
|
41
41
|
body:
|
42
42
|
encoding: US-ASCII
|
43
43
|
string: ''
|
@@ -52,7 +52,7 @@ http_interactions:
|
|
52
52
|
message:
|
53
53
|
headers:
|
54
54
|
Date:
|
55
|
-
- Fri, 28 Feb 2014
|
55
|
+
- Fri, 28 Feb 2014 21:29:59 GMT
|
56
56
|
Content-Length:
|
57
57
|
- '0'
|
58
58
|
Content-Type:
|
@@ -63,5 +63,5 @@ http_interactions:
|
|
63
63
|
encoding: UTF-8
|
64
64
|
string: ''
|
65
65
|
http_version:
|
66
|
-
recorded_at: Fri, 28 Feb 2014
|
66
|
+
recorded_at: Fri, 28 Feb 2014 21:29:59 GMT
|
67
67
|
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.
|
4
|
+
version: 1.9.0
|
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-
|
11
|
+
date: 2014-03-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: excon
|
@@ -184,7 +184,6 @@ files:
|
|
184
184
|
- spec/vcr/Docker_Container/_changes/returns_the_changes_as_an_array.yml
|
185
185
|
- spec/vcr/Docker_Container/_commit/creates_a_new_Image_from_the_Container_s_changes.yml
|
186
186
|
- spec/vcr/Docker_Container/_commit/if_run_is_passed_it_saves_the_command_in_the_image/saves_the_command.yml
|
187
|
-
- spec/vcr/Docker_Container/_copy/when_the_file_does_not_exist/raises_an_error.yml
|
188
187
|
- spec/vcr/Docker_Container/_copy/when_the_input_is_a_directory/yields_each_chunk_of_the_tarred_directory.yml
|
189
188
|
- spec/vcr/Docker_Container/_copy/when_the_input_is_a_file/yields_each_chunk_of_the_tarred_file.yml
|
190
189
|
- spec/vcr/Docker_Container/_create/when_creating_a_container_named_bob/should_have_name_set_to_bob.yml
|
@@ -225,7 +224,6 @@ files:
|
|
225
224
|
- spec/vcr/Docker_Image/_remove/removes_the_Image.yml
|
226
225
|
- spec/vcr/Docker_Image/_run/when_the_argument_is_a_String/splits_the_String_by_spaces_and_creates_a_new_Container.yml
|
227
226
|
- spec/vcr/Docker_Image/_run/when_the_argument_is_an_Array/creates_a_new_Container.yml
|
228
|
-
- spec/vcr/Docker_Image/_run/when_the_argument_is_nil/command_configured_in_image/should_normally_show_result_if_image_has_Cmd_configured.yml
|
229
227
|
- 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
|
230
228
|
- spec/vcr/Docker_Image/_search/materializes_each_Image_into_a_Docker_Image.yml
|
231
229
|
- spec/vcr/Docker_Image/_tag/tags_the_image_with_the_repo_name.yml
|
@@ -275,7 +273,6 @@ test_files:
|
|
275
273
|
- spec/vcr/Docker_Container/_changes/returns_the_changes_as_an_array.yml
|
276
274
|
- spec/vcr/Docker_Container/_commit/creates_a_new_Image_from_the_Container_s_changes.yml
|
277
275
|
- spec/vcr/Docker_Container/_commit/if_run_is_passed_it_saves_the_command_in_the_image/saves_the_command.yml
|
278
|
-
- spec/vcr/Docker_Container/_copy/when_the_file_does_not_exist/raises_an_error.yml
|
279
276
|
- spec/vcr/Docker_Container/_copy/when_the_input_is_a_directory/yields_each_chunk_of_the_tarred_directory.yml
|
280
277
|
- spec/vcr/Docker_Container/_copy/when_the_input_is_a_file/yields_each_chunk_of_the_tarred_file.yml
|
281
278
|
- spec/vcr/Docker_Container/_create/when_creating_a_container_named_bob/should_have_name_set_to_bob.yml
|
@@ -316,7 +313,6 @@ test_files:
|
|
316
313
|
- spec/vcr/Docker_Image/_remove/removes_the_Image.yml
|
317
314
|
- spec/vcr/Docker_Image/_run/when_the_argument_is_a_String/splits_the_String_by_spaces_and_creates_a_new_Container.yml
|
318
315
|
- spec/vcr/Docker_Image/_run/when_the_argument_is_an_Array/creates_a_new_Container.yml
|
319
|
-
- spec/vcr/Docker_Image/_run/when_the_argument_is_nil/command_configured_in_image/should_normally_show_result_if_image_has_Cmd_configured.yml
|
320
316
|
- 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
|
321
317
|
- spec/vcr/Docker_Image/_search/materializes_each_Image_into_a_Docker_Image.yml
|
322
318
|
- spec/vcr/Docker_Image/_tag/tags_the_image_with_the_repo_name.yml
|
@@ -1,156 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: post
|
5
|
-
uri: unix:///var/run/docker.sock/v1.8/images/create?fromImage=base
|
6
|
-
body:
|
7
|
-
encoding: US-ASCII
|
8
|
-
string: ''
|
9
|
-
headers:
|
10
|
-
User-Agent:
|
11
|
-
- Swipely/Docker-API 1.7.6
|
12
|
-
Content-Type:
|
13
|
-
- text/plain
|
14
|
-
response:
|
15
|
-
status:
|
16
|
-
code: 200
|
17
|
-
message:
|
18
|
-
headers:
|
19
|
-
Content-Type:
|
20
|
-
- application/json
|
21
|
-
Date:
|
22
|
-
- Wed, 12 Feb 2014 17:30:20 GMT
|
23
|
-
Connection:
|
24
|
-
- close
|
25
|
-
Transfer-Encoding:
|
26
|
-
- ''
|
27
|
-
body:
|
28
|
-
encoding: UTF-8
|
29
|
-
string: "{\"status\":\"Pulling repository base\"}{\"status\":\"Pulling image
|
30
|
-
(ubuntu-quantl) from base\",\"progressDetail\":{},\"id\":\"b750fe79269d\"}{\"status\":\"Pulling
|
31
|
-
image (ubuntu-quantl) from base, endpoint: https://cdn-registry-1.docker.io/v1/\",\"progressDetail\":{},\"id\":\"b750fe79269d\"}{\"status\":\"Pulling
|
32
|
-
dependent layers\",\"progressDetail\":{},\"id\":\"b750fe79269d\"}{\"status\":\"Download
|
33
|
-
complete\",\"progressDetail\":{},\"id\":\"27cf78414709\"}{\"status\":\"Download
|
34
|
-
complete\",\"progressDetail\":{},\"id\":\"b750fe79269d\"}{\"status\":\"Download
|
35
|
-
complete\",\"progressDetail\":{},\"id\":\"b750fe79269d\"}"
|
36
|
-
http_version:
|
37
|
-
recorded_at: Wed, 12 Feb 2014 17:30:22 GMT
|
38
|
-
- request:
|
39
|
-
method: post
|
40
|
-
uri: unix:///var/run/docker.sock/v1.8/containers/create
|
41
|
-
body:
|
42
|
-
encoding: UTF-8
|
43
|
-
string: "{\"Image\":\"base\",\"Cmd\":[\"touch\",\"/test\"]}"
|
44
|
-
headers:
|
45
|
-
User-Agent:
|
46
|
-
- Swipely/Docker-API 1.7.6
|
47
|
-
Content-Type:
|
48
|
-
- application/json
|
49
|
-
response:
|
50
|
-
status:
|
51
|
-
code: 201
|
52
|
-
message:
|
53
|
-
headers:
|
54
|
-
Content-Type:
|
55
|
-
- application/json
|
56
|
-
Date:
|
57
|
-
- Wed, 12 Feb 2014 17:30:22 GMT
|
58
|
-
Content-Length:
|
59
|
-
- '90'
|
60
|
-
Connection:
|
61
|
-
- close
|
62
|
-
body:
|
63
|
-
encoding: UTF-8
|
64
|
-
string: |
|
65
|
-
{"Id":"8f5b1b957a642b05f570645b900a6375d62085e97a5e7216f3a2b53cb3033cb0","Warnings":null}
|
66
|
-
http_version:
|
67
|
-
recorded_at: Wed, 12 Feb 2014 17:30:22 GMT
|
68
|
-
- request:
|
69
|
-
method: post
|
70
|
-
uri: unix:///var/run/docker.sock/v1.8/containers/8f5b1b957a642b05f570645b900a6375d62085e97a5e7216f3a2b53cb3033cb0/start
|
71
|
-
body:
|
72
|
-
encoding: UTF-8
|
73
|
-
string: "{}"
|
74
|
-
headers:
|
75
|
-
User-Agent:
|
76
|
-
- Swipely/Docker-API 1.7.6
|
77
|
-
Content-Type:
|
78
|
-
- application/json
|
79
|
-
response:
|
80
|
-
status:
|
81
|
-
code: 204
|
82
|
-
message:
|
83
|
-
headers:
|
84
|
-
Date:
|
85
|
-
- Wed, 12 Feb 2014 17:30:22 GMT
|
86
|
-
Content-Length:
|
87
|
-
- '0'
|
88
|
-
Content-Type:
|
89
|
-
- text/plain; charset=utf-8
|
90
|
-
Connection:
|
91
|
-
- close
|
92
|
-
body:
|
93
|
-
encoding: UTF-8
|
94
|
-
string: ''
|
95
|
-
http_version:
|
96
|
-
recorded_at: Wed, 12 Feb 2014 17:30:22 GMT
|
97
|
-
- request:
|
98
|
-
method: post
|
99
|
-
uri: unix:///var/run/docker.sock/v1.8/containers/8f5b1b957a642b05f570645b900a6375d62085e97a5e7216f3a2b53cb3033cb0/wait
|
100
|
-
body:
|
101
|
-
encoding: US-ASCII
|
102
|
-
string: ''
|
103
|
-
headers:
|
104
|
-
User-Agent:
|
105
|
-
- Swipely/Docker-API 1.7.6
|
106
|
-
Content-Type:
|
107
|
-
- text/plain
|
108
|
-
response:
|
109
|
-
status:
|
110
|
-
code: 200
|
111
|
-
message:
|
112
|
-
headers:
|
113
|
-
Content-Type:
|
114
|
-
- application/json
|
115
|
-
Date:
|
116
|
-
- Wed, 12 Feb 2014 17:30:22 GMT
|
117
|
-
Content-Length:
|
118
|
-
- '17'
|
119
|
-
Connection:
|
120
|
-
- close
|
121
|
-
body:
|
122
|
-
encoding: UTF-8
|
123
|
-
string: |
|
124
|
-
{"StatusCode":0}
|
125
|
-
http_version:
|
126
|
-
recorded_at: Wed, 12 Feb 2014 17:30:22 GMT
|
127
|
-
- request:
|
128
|
-
method: post
|
129
|
-
uri: unix:///var/run/docker.sock/v1.8/containers/8f5b1b957a642b05f570645b900a6375d62085e97a5e7216f3a2b53cb3033cb0/copy
|
130
|
-
body:
|
131
|
-
encoding: UTF-8
|
132
|
-
string: "{\"Resource\":\"/lol/not/a/real/file\"}"
|
133
|
-
headers:
|
134
|
-
User-Agent:
|
135
|
-
- Swipely/Docker-API 1.7.6
|
136
|
-
Content-Type:
|
137
|
-
- application/json
|
138
|
-
response:
|
139
|
-
status:
|
140
|
-
code: 200
|
141
|
-
message:
|
142
|
-
headers:
|
143
|
-
Date:
|
144
|
-
- Wed, 12 Feb 2014 17:30:22 GMT
|
145
|
-
Content-Length:
|
146
|
-
- '0'
|
147
|
-
Content-Type:
|
148
|
-
- text/plain; charset=utf-8
|
149
|
-
Connection:
|
150
|
-
- close
|
151
|
-
body:
|
152
|
-
encoding: UTF-8
|
153
|
-
string: ''
|
154
|
-
http_version:
|
155
|
-
recorded_at: Wed, 12 Feb 2014 17:30:22 GMT
|
156
|
-
recorded_with: VCR 2.8.0
|