docker-api 1.7.6 → 1.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (66) hide show
  1. checksums.yaml +7 -0
  2. data/lib/docker.rb +9 -9
  3. data/lib/docker/connection.rb +1 -1
  4. data/lib/docker/container.rb +1 -2
  5. data/lib/docker/image.rb +7 -6
  6. data/lib/docker/version.rb +2 -2
  7. data/spec/docker/connection_spec.rb +2 -2
  8. data/spec/docker/container_spec.rb +12 -10
  9. data/spec/docker/image_spec.rb +13 -13
  10. data/spec/docker_spec.rb +5 -4
  11. data/spec/vcr/Docker/_authenticate_/with_valid_credentials/logs_in_and_sets_the_creds.yml +1 -1
  12. data/spec/vcr/Docker/_info/returns_the_info_as_a_Hash.yml +17 -15
  13. data/spec/vcr/Docker/_validate_version/when_nothing_is_raised/validate_version_/.yml +17 -15
  14. data/spec/vcr/Docker/_version/returns_the_version_as_a_Hash.yml +17 -15
  15. data/spec/vcr/Docker_Container/_all/when_the_HTTP_response_is_a_200/materializes_each_Container_into_a_Docker_Container.yml +96 -46
  16. data/spec/vcr/Docker_Container/_attach/with_normal_sized_chunks/yields_each_chunk.yml +35 -37
  17. data/spec/vcr/Docker_Container/_attach/with_very_small_chunks/yields_each_chunk.yml +35 -37
  18. data/spec/vcr/Docker_Container/_changes/returns_the_changes_as_an_array.yml +60 -58
  19. data/spec/vcr/Docker_Container/_commit/creates_a_new_Image_from_the_Container_s_changes.yml +46 -47
  20. data/spec/vcr/Docker_Container/_commit/if_run_is_passed_it_saves_the_command_in_the_image/saves_the_command.yml +78 -81
  21. data/spec/vcr/Docker_Container/_copy/when_the_file_does_not_exist/raises_an_error.yml +77 -80
  22. data/spec/vcr/Docker_Container/_copy/when_the_input_is_a_directory/yields_each_chunk_of_the_tarred_directory.yml +91 -182
  23. data/spec/vcr/Docker_Container/_copy/when_the_input_is_a_file/yields_each_chunk_of_the_tarred_file.yml +80 -273
  24. data/spec/vcr/Docker_Container/_create/when_creating_a_container_named_bob/should_have_name_set_to_bob.yml +20 -15
  25. data/spec/vcr/Docker_Container/_create/when_the_Container_does_not_yet_exist/when_the_HTTP_request_returns_a_200/sets_the_id.yml +16 -16
  26. data/spec/vcr/Docker_Container/_delete/deletes_the_container.yml +41 -43
  27. data/spec/vcr/Docker_Container/_export/yields_each_chunk.yml +82759 -46
  28. data/spec/vcr/Docker_Container/_get/when_the_HTTP_response_is_a_200/materializes_the_Container_into_a_Docker_Container.yml +29 -30
  29. data/spec/vcr/Docker_Container/_json/returns_the_description_as_a_Hash.yml +29 -30
  30. data/spec/vcr/Docker_Container/_kill/kills_the_container.yml +69 -71
  31. data/spec/vcr/Docker_Container/_restart/restarts_the_container.yml +98 -102
  32. data/spec/vcr/Docker_Container/_run/when_the_Container_s_command_does_not_return_status_code_of_0/raises_an_error.yml +43 -44
  33. data/spec/vcr/Docker_Container/_run/when_the_Container_s_command_returns_a_status_code_of_0/creates_a_new_container_to_run_the_specified_command.yml +117 -122
  34. data/spec/vcr/Docker_Container/_start/starts_the_container.yml +58 -59
  35. data/spec/vcr/Docker_Container/_stop/stops_the_container.yml +81 -84
  36. data/spec/vcr/Docker_Container/_top/returns_the_top_commands_as_an_Array.yml +116 -87
  37. data/spec/vcr/Docker_Container/_wait/waits_for_the_command_to_finish.yml +43 -44
  38. data/spec/vcr/Docker_Container/_wait/when_an_argument_is_given/and_a_command_runs_for_too_long/raises_a_ServerError.yml +29 -30
  39. data/spec/vcr/Docker_Container/_wait/when_an_argument_is_given/sets_the_read_timeout_to_that_amount_of_time.yml +43 -44
  40. data/spec/vcr/Docker_Image/_all/materializes_each_Image_into_a_Docker_Image.yml +46 -32
  41. data/spec/vcr/Docker_Image/_build/with_a_valid_Dockerfile/with_a_block_capturing_build_output/calls_the_block_and_passes_build_output.yml +10 -9
  42. data/spec/vcr/Docker_Image/_build/with_a_valid_Dockerfile/with_specifying_a_repo_in_the_query_parameters/builds_an_image_and_tags_it.yml +42 -31
  43. data/spec/vcr/Docker_Image/_build/with_a_valid_Dockerfile/without_query_parameters/builds_an_image.yml +16 -16
  44. data/spec/vcr/Docker_Image/_build/with_an_invalid_Dockerfile/throws_a_UnexpectedResponseError.yml +17 -19
  45. data/spec/vcr/Docker_Image/_build_from_dir/with_a_valid_Dockerfile/with_a_block_capturing_build_output/calls_the_block_and_passes_build_output.yml +9 -8
  46. data/spec/vcr/Docker_Image/_build_from_dir/with_a_valid_Dockerfile/with_no_query_parameters/builds_the_image.yml +50 -52
  47. data/spec/vcr/Docker_Image/_build_from_dir/with_a_valid_Dockerfile/with_specifying_a_repo_in_the_query_parameters/builds_the_image_and_tags_it.yml +76 -66
  48. data/spec/vcr/Docker_Image/_create/when_the_Image_does_not_yet_exist_and_the_body_is_a_Hash/sets_the_id.yml +20 -18
  49. data/spec/vcr/Docker_Image/_get/when_the_image_does_exist/returns_the_new_image.yml +14 -15
  50. data/spec/vcr/Docker_Image/_history/returns_the_history_of_the_Image.yml +36 -32
  51. data/spec/vcr/Docker_Image/_insert/inserts_the_url_s_file_into_a_new_Image.yml +70 -86
  52. data/spec/vcr/Docker_Image/_insert_local/when_removing_intermediate_containers/creates_a_new_image.yml +69 -47
  53. data/spec/vcr/Docker_Image/_insert_local/when_removing_intermediate_containers/leave_no_intermediate_containers.yml +118 -47
  54. data/spec/vcr/Docker_Image/_insert_local/when_the_local_file_does_exist/creates_a_new_Image_that_has_that_file.yml +68 -70
  55. data/spec/vcr/Docker_Image/_insert_local/when_the_local_file_does_not_exist/raises_an_error.yml +16 -16
  56. data/spec/vcr/Docker_Image/_insert_local/when_there_are_multiple_files_passed/creates_a_new_Image_that_has_each_file.yml +70 -72
  57. data/spec/vcr/Docker_Image/_json/returns_additional_information_about_image_image.yml +33 -32
  58. data/spec/vcr/Docker_Image/_push/pushes_the_Image.yml +162 -105
  59. data/spec/vcr/Docker_Image/_remove/removes_the_Image.yml +53 -46
  60. data/spec/vcr/Docker_Image/_run/when_the_argument_is_a_String/splits_the_String_by_spaces_and_creates_a_new_Container.yml +54 -54
  61. data/spec/vcr/Docker_Image/_run/when_the_argument_is_an_Array/creates_a_new_Container.yml +54 -54
  62. data/spec/vcr/Docker_Image/_run/when_the_argument_is_nil/command_configured_in_image/should_normally_show_result_if_image_has_Cmd_configured.yml +46 -101
  63. data/spec/vcr/Docker_Image/_run/when_the_argument_is_nil/no_command_configured_in_image/should_raise_an_error_if_no_command_is_specified.yml +35 -35
  64. data/spec/vcr/Docker_Image/_search/materializes_each_Image_into_a_Docker_Image.yml +94 -35
  65. data/spec/vcr/Docker_Image/_tag/tags_the_image_with_the_repo_name.yml +32 -31
  66. metadata +29 -49
@@ -2,13 +2,13 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: unix:///var/run/docker.sock/v1.6/containers/create
5
+ uri: unix:///var/run/docker.sock/v1.8/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
10
  User-Agent:
11
- - Swipely/Docker-API 1.6.0
11
+ - Swipely/Docker-API 1.7.6
12
12
  Content-Type:
13
13
  - application/json
14
14
  response:
@@ -16,133 +16,78 @@ http_interactions:
16
16
  code: 201
17
17
  message:
18
18
  headers:
19
- !binary "Q29udGVudC1UeXBl":
20
- - !binary |-
21
- YXBwbGljYXRpb24vanNvbg==
22
- !binary "Q29udGVudC1MZW5ndGg=":
23
- - !binary |-
24
- MjE=
25
- !binary "RGF0ZQ==":
26
- - !binary |-
27
- VGh1LCAzMSBPY3QgMjAxMyAxODoxNzo0NyBHTVQ=
28
- body:
29
- encoding: US-ASCII
30
- string: ! '{"Id":"dc9e3ac95fc5"}'
31
- http_version:
32
- recorded_at: Thu, 31 Oct 2013 18:17:47 GMT
33
- - request:
34
- method: post
35
- uri: unix:///var/run/docker.sock/v1.6/commit?container=dc9e3ac9
36
- body:
37
- encoding: UTF-8
38
- string: ! '{"Cmd":["pwd"]}'
39
- headers:
40
- User-Agent:
41
- - Swipely/Docker-API 1.6.0
42
19
  Content-Type:
43
20
  - application/json
44
- response:
45
- status:
46
- code: 201
47
- message:
48
- headers:
49
- !binary "Q29udGVudC1UeXBl":
50
- - !binary |-
51
- YXBwbGljYXRpb24vanNvbg==
52
- !binary "Q29udGVudC1MZW5ndGg=":
53
- - !binary |-
54
- MjE=
55
- !binary "RGF0ZQ==":
56
- - !binary |-
57
- VGh1LCAzMSBPY3QgMjAxMyAxODoxNzo0NyBHTVQ=
21
+ Date:
22
+ - Wed, 12 Feb 2014 18:05:45 GMT
23
+ Content-Length:
24
+ - '90'
25
+ Connection:
26
+ - close
58
27
  body:
59
- encoding: US-ASCII
60
- string: ! '{"Id":"3a83fe5e49bf"}'
28
+ encoding: UTF-8
29
+ string: |
30
+ {"Id":"442d2c596cdc0146d3a375cb1bb0ff4b6c6b3e754d6a50687df511f28ff8d925","Warnings":null}
61
31
  http_version:
62
- recorded_at: Thu, 31 Oct 2013 18:17:47 GMT
32
+ recorded_at: Wed, 12 Feb 2014 18:05:45 GMT
63
33
  - request:
64
34
  method: post
65
- uri: unix:///var/run/docker.sock/v1.6/containers/create
35
+ uri: unix:///var/run/docker.sock/v1.8/commit?container=442d2c59&container_config=%7B%22Cmd%22%3D%3E%5B%22pwd%22%5D%7D
66
36
  body:
67
- encoding: UTF-8
68
- string: ! '{"Image":"3a83fe5e49bf"}'
37
+ encoding: US-ASCII
38
+ string: ''
69
39
  headers:
70
40
  User-Agent:
71
- - Swipely/Docker-API 1.6.0
41
+ - Swipely/Docker-API 1.7.6
72
42
  Content-Type:
73
- - application/json
43
+ - text/plain
74
44
  response:
75
45
  status:
76
46
  code: 201
77
47
  message:
78
48
  headers:
79
- !binary "Q29udGVudC1UeXBl":
80
- - !binary |-
81
- YXBwbGljYXRpb24vanNvbg==
82
- !binary "Q29udGVudC1MZW5ndGg=":
83
- - !binary |-
84
- MjE=
85
- !binary "RGF0ZQ==":
86
- - !binary |-
87
- VGh1LCAzMSBPY3QgMjAxMyAxODoxNzo0NyBHTVQ=
49
+ Content-Type:
50
+ - application/json
51
+ Date:
52
+ - Wed, 12 Feb 2014 18:05:46 GMT
53
+ Content-Length:
54
+ - '74'
55
+ Connection:
56
+ - close
88
57
  body:
89
- encoding: US-ASCII
90
- string: ! '{"Id":"ac8e28bf5cb0"}'
58
+ encoding: UTF-8
59
+ string: |
60
+ {"Id":"8bf7ee4e0ceb6cf71d2e6dcd1ba2a810df6f01066e9b3f417bc9d34c12b44089"}
91
61
  http_version:
92
- recorded_at: Thu, 31 Oct 2013 18:17:47 GMT
62
+ recorded_at: Wed, 12 Feb 2014 18:05:46 GMT
93
63
  - request:
94
64
  method: post
95
- uri: unix:///var/run/docker.sock/v1.6/containers/ac8e28bf5cb0/start
65
+ uri: unix:///var/run/docker.sock/v1.8/containers/create
96
66
  body:
97
67
  encoding: UTF-8
98
- string: ! '{}'
68
+ string: "{\"Image\":\"8bf7ee4e0ceb6cf71d2e6dcd1ba2a810df6f01066e9b3f417bc9d34c12b44089\",\"Cmd\":null}"
99
69
  headers:
100
70
  User-Agent:
101
- - Swipely/Docker-API 1.6.0
71
+ - Swipely/Docker-API 1.7.6
102
72
  Content-Type:
103
73
  - application/json
104
74
  response:
105
75
  status:
106
- code: 204
76
+ code: 500
107
77
  message:
108
78
  headers:
109
- !binary "Q29udGVudC1UeXBl":
110
- - !binary |-
111
- dGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOA==
112
- !binary "Q29udGVudC1MZW5ndGg=":
113
- - !binary |-
114
- MA==
115
- !binary "RGF0ZQ==":
116
- - !binary |-
117
- VGh1LCAzMSBPY3QgMjAxMyAxODoxNzo0NyBHTVQ=
118
- body:
119
- encoding: US-ASCII
120
- string: ''
121
- http_version:
122
- recorded_at: Thu, 31 Oct 2013 18:17:47 GMT
123
- - request:
124
- method: post
125
- uri: unix:///var/run/docker.sock/v1.6/containers/ac8e28bf5cb0/attach?stderr=true&stdout=true&stream=true
126
- body:
127
- encoding: US-ASCII
128
- string: ''
129
- headers:
130
- User-Agent:
131
- - Swipely/Docker-API 1.6.0
132
79
  Content-Type:
133
- - text/plain
134
- response:
135
- status:
136
- code: 200
137
- message:
138
- headers:
139
- !binary "Q29udGVudC1UeXBl":
140
- - !binary |-
141
- YXBwbGljYXRpb24vdm5kLmRvY2tlci5yYXctc3RyZWFt
80
+ - text/plain; charset=utf-8
81
+ Date:
82
+ - Wed, 12 Feb 2014 18:05:46 GMT
83
+ Content-Length:
84
+ - '29'
85
+ Connection:
86
+ - close
142
87
  body:
143
- encoding: US-ASCII
144
- string: !binary |-
145
- AQAAAAAAAAIvCg==
88
+ encoding: UTF-8
89
+ string: |
90
+ create: No command specified
146
91
  http_version:
147
- recorded_at: Thu, 31 Oct 2013 18:17:47 GMT
148
- recorded_with: VCR 2.7.0
92
+ recorded_at: Wed, 12 Feb 2014 18:05:46 GMT
93
+ 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.6/images/create?fromImage=base
5
+ uri: unix:///var/run/docker.sock/v1.8/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.6.0
11
+ - Swipely/Docker-API 1.7.6
12
12
  Content-Type:
13
13
  - text/plain
14
14
  response:
@@ -16,32 +16,34 @@ http_interactions:
16
16
  code: 200
17
17
  message:
18
18
  headers:
19
- !binary "Q29udGVudC1UeXBl":
20
- - !binary |-
21
- YXBwbGljYXRpb24vanNvbg==
22
- !binary "RGF0ZQ==":
23
- - !binary |-
24
- VGh1LCAzMSBPY3QgMjAxMyAxODoxNzo0NSBHTVQ=
25
- !binary "VHJhbnNmZXItRW5jb2Rpbmc=":
26
- - !binary |-
27
- Y2h1bmtlZA==
19
+ Content-Type:
20
+ - application/json
21
+ Date:
22
+ - Wed, 12 Feb 2014 18:20:52 GMT
23
+ Connection:
24
+ - close
25
+ Transfer-Encoding:
26
+ - ''
28
27
  body:
29
- encoding: US-ASCII
30
- string: ! '{"status":"Pulling repository base"}{"status":"Pulling","progress":"image
31
- (ubuntu-quantl) from base","id":"b750fe79269d"}{"status":"Pulling","progress":"image
32
- (ubuntu-quantl) from base, endpoint: https://cdn-registry-1.docker.io/v1/","id":"b750fe79269d"}{"status":"Pulling","progress":"dependend
33
- layers","id":"b750fe79269d"}{"status":"Download","progress":"complete","id":"b750fe79269d"}{"status":"Download","progress":"complete","id":"27cf78414709"}{"status":"Download","progress":"complete","id":"b750fe79269d"}'
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\"}"
34
36
  http_version:
35
- recorded_at: Thu, 31 Oct 2013 18:17:47 GMT
37
+ recorded_at: Wed, 12 Feb 2014 18:20:53 GMT
36
38
  - request:
37
39
  method: post
38
- uri: unix:///var/run/docker.sock/v1.6/containers/create
40
+ uri: unix:///var/run/docker.sock/v1.8/containers/create
39
41
  body:
40
42
  encoding: UTF-8
41
- string: ! '{"Image":"base"}'
43
+ string: "{\"Image\":\"base\",\"Cmd\":null}"
42
44
  headers:
43
45
  User-Agent:
44
- - Swipely/Docker-API 1.6.0
46
+ - Swipely/Docker-API 1.7.6
45
47
  Content-Type:
46
48
  - application/json
47
49
  response:
@@ -49,20 +51,18 @@ http_interactions:
49
51
  code: 500
50
52
  message:
51
53
  headers:
52
- !binary "Q29udGVudC1UeXBl":
53
- - !binary |-
54
- dGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOA==
55
- !binary "Q29udGVudC1MZW5ndGg=":
56
- - !binary |-
57
- MjE=
58
- !binary "RGF0ZQ==":
59
- - !binary |-
60
- VGh1LCAzMSBPY3QgMjAxMyAxODoxNzo0NyBHTVQ=
54
+ Content-Type:
55
+ - text/plain; charset=utf-8
56
+ Date:
57
+ - Wed, 12 Feb 2014 18:20:53 GMT
58
+ Content-Length:
59
+ - '29'
60
+ Connection:
61
+ - close
61
62
  body:
62
- encoding: US-ASCII
63
- string: ! 'No command specified
64
-
65
- '
63
+ encoding: UTF-8
64
+ string: |
65
+ create: No command specified
66
66
  http_version:
67
- recorded_at: Thu, 31 Oct 2013 18:17:47 GMT
68
- recorded_with: VCR 2.7.0
67
+ recorded_at: Wed, 12 Feb 2014 18:20:53 GMT
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.6/images/search?term=sshd
5
+ uri: unix:///var/run/docker.sock/v1.8/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.6.0
11
+ - Swipely/Docker-API 1.7.6
12
12
  Content-Type:
13
13
  - text/plain
14
14
  response:
@@ -16,38 +16,97 @@ http_interactions:
16
16
  code: 200
17
17
  message:
18
18
  headers:
19
- !binary "Q29udGVudC1UeXBl":
20
- - !binary |-
21
- YXBwbGljYXRpb24vanNvbg==
22
- !binary "RGF0ZQ==":
23
- - !binary |-
24
- RnJpLCAyNSBPY3QgMjAxMyAxNjozMzo1NCBHTVQ=
25
- !binary "VHJhbnNmZXItRW5jb2Rpbmc=":
26
- - !binary |-
27
- Y2h1bmtlZA==
19
+ Date:
20
+ - Wed, 12 Feb 2014 17:06:39 GMT
21
+ Content-Type:
22
+ - text/plain; charset=utf-8
23
+ Connection:
24
+ - close
25
+ Transfer-Encoding:
26
+ - ''
28
27
  body:
29
- encoding: US-ASCII
30
- string: ! '[{"Name":"lorieri/daemontools-sshd-nginx","Description":""},{"Name":"onyxperidot/base_sshd","Description":""},{"Name":"tekknolagi/sshd","Description":""},{"Name":"realyze/ubuntu-node-sshd","Description":"Ubuntu
31
- 12.04\nNodeJS 0.10.18\nsshd"},{"Name":"hyao/sshd","Description":""},{"Name":"simoman/sshd","Description":"Base
32
- + sshd + proxy + static ip addr."},{"Name":"blissdev/sshd","Description":""},{"Name":"qooleot/ivcsshd","Description":""},{"Name":"aterreno/hello-clojure","Description":"Simple
33
- compojure hello world with sshd and supervisord to keep the service up."},{"Name":"vdrizheruk/sshd","Description":"just
34
- ssh daemon"},{"Name":"zilin/docker-sshd","Description":""},{"Name":"dhrp/sshd-ping","Description":""},{"Name":"jonhadfield/sshd","Description":"Centos
35
- 6.4 (64bit) with sshd"},{"Name":"rblomberg/sshd","Description":""},{"Name":"cespare/sshd","Description":""},{"Name":"johnfuller/sshd","Description":""},{"Name":"dhrp/mongodb-sshd","Description":""},{"Name":"rayang2004/sshd","Description":""},{"Name":"dhrp/sshd","Description":"SSH
36
- Daemon created in the ssh daemon documentation example"},{"Name":"toorop/daemontools-sshd","Description":"sshd
37
- daemon supervised by DJB daemontools - run cmd :\r\ndocker run -d -p 22 toorop/daemontools-sshd
38
- /usr/bin/svscanboot - \r\n\r\nDefault root password : demo - \r\n\r\nSSHD
39
- logs location : /var/log/sshd\r\n\r\n"},{"Name":"toorop/daemontools-sshd-nginx","Description":"sshd
40
- daemon & Nginx supervised by DJB daemontools - run cmd : docker run -d -p
41
- 22 -p 80 toorop/daemontools-sshd-nginx /usr/bin/svscanboot - Default root
42
- password : demo - SSHD logs location : /var/log/sshd"},{"Name":"toorop/daemontools-sshd-nginx-php-fpm","Description":""},{"Name":"mbkan/lamp","Description":"centos
43
- with ssh, LAMP, PHPMyAdmin(root password ''toor'' and MySQL root password
44
- ''sysadmin''). Auto starts sshd, MySQL and Apache. Just launch using ''docker
45
- run -d mbkan/lamp''. "},{"Name":"toorop/golang","Description":"A container
46
- for Go developers - Go 1.1 + Git + sshd - run with \"docker run -d -p 22 -h
47
- toorop/golang /usr/bin/svscanboot\" - connect throw SSH \"ssh root@localhost
48
- -pSSHD_PORT\" default password is \"demo\" - add users : \"adduser USERNAME\"
49
- this will also configure USER $HOME directory - Start coding. Enjoy ;)"},{"Name":"zefhemel/sshd","Description":"Runs
50
- a SSHd server in daemon mode"}]'
28
+ encoding: UTF-8
29
+ string: |-
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
+ ,{"description":"SSH Daemon created in the ssh daemon documentation example","is_official":false,"is_trusted":false,"name":"dhrp/sshd","star_count":4}
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":"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
+ ,{"description":"","is_official":false,"is_trusted":false,"name":"angelrr7702/ubuntu-13.04-sshd","star_count":1}
37
+ ,{"description":"ssh server: Ubuntu 13.10, user=root, passwd=root","is_official":false,"is_trusted":true,"name":"jchavas/saucy-sshd","star_count":1}
38
+ ,{"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}
39
+ ,{"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
+ ,{"description":"","is_official":false,"is_trusted":false,"name":"blissdev/sshd","star_count":0}
43
+ ,{"description":"","is_official":false,"is_trusted":true,"name":"dockeruser/sshd","star_count":0}
44
+ ,{"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
+ ,{"description":"","is_official":false,"is_trusted":false,"name":"dongweiming/sshd","star_count":0}
47
+ ,{"description":"","is_official":false,"is_trusted":false,"name":"emiller/sshd","star_count":0}
48
+ ,{"description":"","is_official":false,"is_trusted":false,"name":"yestxh/sshd","star_count":0}
49
+ ,{"description":"","is_official":false,"is_trusted":false,"name":"cespare/sshd","star_count":0}
50
+ ,{"description":"","is_official":false,"is_trusted":false,"name":"rblomberg/sshd","star_count":0}
51
+ ,{"description":"","is_official":false,"is_trusted":false,"name":"yuyat/sshd","star_count":0}
52
+ ,{"description":"","is_official":false,"is_trusted":true,"name":"tiokksar/sshd","star_count":0}
53
+ ,{"description":"","is_official":false,"is_trusted":false,"name":"jamuc/sshd","star_count":0}
54
+ ,{"description":"","is_official":false,"is_trusted":false,"name":"vgauthier/sshd","star_count":0}
55
+ ,{"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
+ ,{"description":"","is_official":false,"is_trusted":false,"name":"yoshiso/sshd","star_count":0}
57
+ ,{"description":"","is_official":false,"is_trusted":false,"name":"richburroughs/sshd","star_count":0}
58
+ ,{"description":"","is_official":false,"is_trusted":true,"name":"typester/sshd","star_count":0}
59
+ ,{"description":"","is_official":false,"is_trusted":false,"name":"mrtmexx/sshd","star_count":0}
60
+ ,{"description":"","is_official":false,"is_trusted":false,"name":"malbin/sshd","star_count":0}
61
+ ,{"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
+ ,{"description":"","is_official":false,"is_trusted":false,"name":"dhrp/mongodb-sshd","star_count":0}
64
+ ,{"description":"","is_official":false,"is_trusted":false,"name":"hyao/sshd","star_count":0}
65
+ ,{"description":"","is_official":false,"is_trusted":false,"name":"ckrintz/sshd","star_count":0}
66
+ ,{"description":"","is_official":false,"is_trusted":false,"name":"uzero/sshd","star_count":0}
67
+ ,{"description":"","is_official":false,"is_trusted":false,"name":"colorscode/sshd","star_count":0}
68
+ ,{"description":"","is_official":false,"is_trusted":false,"name":"greut/sshd","star_count":0}
69
+ ,{"description":"","is_official":false,"is_trusted":true,"name":"mogproject/sshd","star_count":0}
70
+ ,{"description":"","is_official":false,"is_trusted":false,"name":"steshaw/sshd","star_count":0}
71
+ ,{"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
+ ,{"description":"","is_official":false,"is_trusted":false,"name":"j4pe/sshd","star_count":0}
73
+ ,{"description":"","is_official":false,"is_trusted":false,"name":"dragon9783/sshd","star_count":0}
74
+ ,{"description":"","is_official":false,"is_trusted":false,"name":"rayang2004/sshd","star_count":0}
75
+ ,{"description":"***WIP***\npassword is H3rpD3rp","is_official":false,"is_trusted":false,"name":"bsdlp/arch-sshd","star_count":0}
76
+ ,{"description":"","is_official":false,"is_trusted":false,"name":"zilin/docker-sshd","star_count":0}
77
+ ,{"description":"","is_official":false,"is_trusted":false,"name":"dhrp/sshd-ping","star_count":0}
78
+ ,{"description":"","is_official":false,"is_trusted":true,"name":"kumarpraveen/fedora-sshd","star_count":0}
79
+ ,{"description":"","is_official":false,"is_trusted":false,"name":"toorop/daemontools-sshd-nginx-php-fpm","star_count":0}
80
+ ,{"description":"Provides access to pharo-core command line interface","is_official":false,"is_trusted":false,"name":"pshouse/sshd-pharo-core","star_count":0}
81
+ ,{"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
+ ,{"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
+ ,{"description":"","is_official":false,"is_trusted":false,"name":"lorieri/daemontools-sshd-nginx","star_count":0}
86
+ ,{"description":"","is_official":false,"is_trusted":true,"name":"brandonmartin/docker-ubuntu-runit-sshd","star_count":0}
87
+ ,{"description":"","is_official":false,"is_trusted":false,"name":"emiller/sshdnpw","star_count":0}
88
+ ,{"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}
89
+ ,{"description":"","is_official":false,"is_trusted":false,"name":"pungoyal/ubuntu_sshd","star_count":0}
90
+ ,{"description":"","is_official":false,"is_trusted":false,"name":"defishguy/jmeter_sshd","star_count":0}
91
+ ,{"description":"","is_official":false,"is_trusted":false,"name":"wma55/u1210sshd","star_count":0}
92
+ ,{"description":"","is_official":false,"is_trusted":false,"name":"onyxperidot/base_sshd","star_count":0}
93
+ ,{"description":"","is_official":false,"is_trusted":false,"name":"qooleot/ivcsshd","star_count":0}
94
+ ,{"description":"","is_official":false,"is_trusted":false,"name":"pungoyal/centos_sshd","star_count":0}
95
+ ,{"description":"Basic Debian Wheezy container using supervisord to start sshd.\n","is_official":false,"is_trusted":false,"name":"andrelop/docker-debian","star_count":0}
96
+ ,{"description":"This image contains configured sshd daemon and pre-installed ubuntu's build-essential package, the default root's password is 'passw0rd'.","is_official":false,"is_trusted":false,"name":"parkghost/base","star_count":0}
97
+ ,{"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
+ ,{"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
+ ,{"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":"Base + sshd + proxy + static ip addr.","is_official":false,"is_trusted":false,"name":"simoman/sshd","star_count":0}
101
+ ,{"description":"Centos 6.4 (64bit) with sshd","is_official":false,"is_trusted":false,"name":"jonhadfield/sshd","star_count":0}
102
+ ,{"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
+ ,{"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":true,"name":"titanous/sshd","star_count":0}
106
+ ,{"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}
107
+ ,{"description":"","is_official":false,"is_trusted":false,"name":"johnfuller/sshd","star_count":0}
108
+ ,{"description":"","is_official":false,"is_trusted":false,"name":"oss17888/sshd","star_count":0}
109
+ ]
51
110
  http_version:
52
- recorded_at: Fri, 25 Oct 2013 16:33:54 GMT
53
- recorded_with: VCR 2.6.0
111
+ recorded_at: Wed, 12 Feb 2014 17:06:39 GMT
112
+ 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.6/images/create?fromImage=base
5
+ uri: unix:///var/run/docker.sock/v1.8/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.6.0
11
+ - Swipely/Docker-API 1.7.6
12
12
  Content-Type:
13
13
  - text/plain
14
14
  response:
@@ -16,32 +16,34 @@ http_interactions:
16
16
  code: 200
17
17
  message:
18
18
  headers:
19
- !binary "Q29udGVudC1UeXBl":
20
- - !binary |-
21
- YXBwbGljYXRpb24vanNvbg==
22
- !binary "RGF0ZQ==":
23
- - !binary |-
24
- V2VkLCAzMCBPY3QgMjAxMyAxNDowNTozOCBHTVQ=
25
- !binary "VHJhbnNmZXItRW5jb2Rpbmc=":
26
- - !binary |-
27
- Y2h1bmtlZA==
19
+ Content-Type:
20
+ - application/json
21
+ Date:
22
+ - Wed, 12 Feb 2014 17:06:20 GMT
23
+ Connection:
24
+ - close
25
+ Transfer-Encoding:
26
+ - ''
28
27
  body:
29
- encoding: US-ASCII
30
- string: ! '{"status":"Pulling repository base"}{"status":"Pulling","progress":"image
31
- (ubuntu-quantl) from base","id":"b750fe79269d"}{"status":"Pulling","progress":"image
32
- (ubuntu-quantl) from base, endpoint: https://cdn-registry-1.docker.io/v1/","id":"b750fe79269d"}{"status":"Pulling","progress":"dependend
33
- layers","id":"b750fe79269d"}{"status":"Download","progress":"complete","id":"b750fe79269d"}{"status":"Download","progress":"complete","id":"27cf78414709"}{"status":"Download","progress":"complete","id":"b750fe79269d"}'
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\"}"
34
36
  http_version:
35
- recorded_at: Wed, 30 Oct 2013 14:05:39 GMT
37
+ recorded_at: Wed, 12 Feb 2014 17:06:21 GMT
36
38
  - request:
37
39
  method: post
38
- uri: unix:///var/run/docker.sock/v1.6/images/base/tag?force=true&repo=base2
40
+ uri: unix:///var/run/docker.sock/v1.8/images/base/tag?force=true&repo=base2
39
41
  body:
40
42
  encoding: US-ASCII
41
43
  string: ''
42
44
  headers:
43
45
  User-Agent:
44
- - Swipely/Docker-API 1.6.0
46
+ - Swipely/Docker-API 1.7.6
45
47
  Content-Type:
46
48
  - text/plain
47
49
  response:
@@ -49,18 +51,17 @@ http_interactions:
49
51
  code: 201
50
52
  message:
51
53
  headers:
52
- !binary "Q29udGVudC1UeXBl":
53
- - !binary |-
54
- dGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOA==
55
- !binary "Q29udGVudC1MZW5ndGg=":
56
- - !binary |-
57
- MA==
58
- !binary "RGF0ZQ==":
59
- - !binary |-
60
- V2VkLCAzMCBPY3QgMjAxMyAxNDowNTozOSBHTVQ=
54
+ Date:
55
+ - Wed, 12 Feb 2014 17:06:21 GMT
56
+ Content-Length:
57
+ - '0'
58
+ Content-Type:
59
+ - text/plain; charset=utf-8
60
+ Connection:
61
+ - close
61
62
  body:
62
- encoding: US-ASCII
63
+ encoding: UTF-8
63
64
  string: ''
64
65
  http_version:
65
- recorded_at: Wed, 30 Oct 2013 14:05:39 GMT
66
- recorded_with: VCR 2.6.0
66
+ recorded_at: Wed, 12 Feb 2014 17:06:21 GMT
67
+ recorded_with: VCR 2.8.0