docker-api 1.12.0 → 1.13.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/docker/container.rb +15 -0
- data/lib/docker/image.rb +0 -10
- data/lib/docker/version.rb +2 -2
- data/spec/docker/container_spec.rb +26 -1
- data/spec/docker/image_spec.rb +0 -11
- data/spec/vcr/Docker/_authenticate_/with_valid_credentials/logs_in_and_sets_the_creds.yml +4 -4
- 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 +4 -4
- data/spec/vcr/Docker_Container/_all/when_the_HTTP_response_is_a_200/materializes_each_Container_into_a_Docker_Container.yml +127 -75
- data/spec/vcr/Docker_Container/_attach/with_normal_sized_chunks/yields_each_chunk.yml +12 -16
- data/spec/vcr/Docker_Container/_attach/with_very_small_chunks/yields_each_chunk.yml +12 -16
- data/spec/vcr/Docker_Container/_changes/returns_the_changes_as_an_array.yml +17 -21
- data/spec/vcr/Docker_Container/_commit/creates_a_new_Image_from_the_Container_s_changes.yml +14 -18
- data/spec/vcr/Docker_Container/_commit/if_run_is_passed_it_saves_the_command_in_the_image/saves_the_command.yml +9 -13
- data/spec/vcr/Docker_Container/_copy/when_the_input_is_a_directory/yields_each_chunk_of_the_tarred_directory.yml +39 -43
- data/spec/vcr/Docker_Container/_copy/when_the_input_is_a_file/yields_each_chunk_of_the_tarred_file.yml +22 -26
- data/spec/vcr/Docker_Container/_create/when_creating_a_container_named_bob/should_have_name_set_to_bob.yml +12 -11
- 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 -19
- data/spec/vcr/Docker_Container/_export/yields_each_chunk.yml +15 -453687
- data/spec/vcr/Docker_Container/_get/when_the_HTTP_response_is_a_200/materializes_the_Container_into_a_Docker_Container.yml +12 -11
- data/spec/vcr/Docker_Container/_json/returns_the_description_as_a_Hash.yml +12 -11
- data/spec/vcr/Docker_Container/_kill/kills_the_container.yml +64 -42
- data/spec/vcr/Docker_Container/_logs/when_not_selecting_any_stream/returns_the_error_message.yml +11 -11
- data/spec/vcr/Docker_Container/_logs/when_selecting_stdout/returns_blank_logs.yml +9 -9
- data/spec/vcr/Docker_Container/_pause/pauses_the_container.yml +121 -0
- data/spec/vcr/Docker_Container/_restart/restarts_the_container.yml +37 -49
- data/spec/vcr/Docker_Container/_run/when_the_Container_s_command_does_not_return_status_code_of_0/raises_an_error.yml +13 -17
- 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 +36 -48
- data/spec/vcr/Docker_Container/_start/starts_the_container.yml +20 -24
- data/spec/vcr/Docker_Container/_stop/stops_the_container.yml +67 -49
- data/spec/vcr/Docker_Container/_top/returns_the_top_commands_as_an_Array.yml +23 -26
- data/spec/vcr/Docker_Container/_unpause/unpauses_the_container.yml +150 -0
- data/spec/vcr/Docker_Container/_wait/waits_for_the_command_to_finish.yml +13 -17
- data/spec/vcr/Docker_Container/_wait/when_an_argument_is_given/and_a_command_runs_for_too_long/raises_a_ServerError.yml +9 -13
- data/spec/vcr/Docker_Container/_wait/when_an_argument_is_given/sets_the_read_timeout_to_that_amount_of_time.yml +13 -17
- data/spec/vcr/Docker_Image/_all/materializes_each_Image_into_a_Docker_Image.yml +10 -11
- data/spec/vcr/Docker_Image/_build/with_a_valid_Dockerfile/with_a_block_capturing_build_output/calls_the_block_and_passes_build_output.yml +4 -4
- 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 -24
- data/spec/vcr/Docker_Image/_build/with_a_valid_Dockerfile/without_query_parameters/builds_an_image.yml +4 -4
- data/spec/vcr/Docker_Image/_build/with_an_invalid_Dockerfile/throws_a_UnexpectedResponseError.yml +4 -4
- 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 -8
- data/spec/vcr/Docker_Image/_build_from_dir/with_a_valid_Dockerfile/with_credentials_passed/sends_Docker_creds.yml +6 -6
- data/spec/vcr/Docker_Image/_build_from_dir/with_a_valid_Dockerfile/with_no_query_parameters/builds_the_image.yml +21 -24
- 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 +39 -43
- data/spec/vcr/Docker_Image/_create/when_the_Image_does_not_yet_exist_and_the_body_is_a_Hash/sets_the_id_and_sends_Docker_creds.yml +68 -18
- data/spec/vcr/Docker_Image/_get/when_the_image_does_exist/returns_the_new_image.yml +7 -6
- data/spec/vcr/Docker_Image/_history/returns_the_history_of_the_Image.yml +10 -10
- data/spec/vcr/Docker_Image/_import/when_the_argument_is_a_URI/when_the_URI_is_invalid/raises_an_error.yml +18 -24
- data/spec/vcr/Docker_Image/_import/when_the_argument_is_a_URI/when_the_URI_is_valid/returns_an_Image.yml +9 -9
- data/spec/vcr/Docker_Image/_import/when_the_file_does_exist/creates_the_Image.yml +5 -5
- data/spec/vcr/Docker_Image/_insert_local/when_a_direcory_is_passed/inserts_the_directory.yml +23 -27
- data/spec/vcr/Docker_Image/_insert_local/when_removing_intermediate_containers/creates_a_new_image.yml +20 -20
- data/spec/vcr/Docker_Image/_insert_local/when_removing_intermediate_containers/leave_no_intermediate_containers.yml +18 -18
- data/spec/vcr/Docker_Image/_insert_local/when_the_local_file_does_exist/creates_a_new_Image_that_has_that_file.yml +23 -27
- data/spec/vcr/Docker_Image/_insert_local/when_the_local_file_does_not_exist/raises_an_error.yml +4 -4
- data/spec/vcr/Docker_Image/_insert_local/when_there_are_multiple_files_passed/creates_a_new_Image_that_has_each_file.yml +25 -28
- data/spec/vcr/Docker_Image/_json/returns_additional_information_about_image_image.yml +13 -12
- data/spec/vcr/Docker_Image/_push/pushes_the_Image.yml +32 -71
- data/spec/vcr/Docker_Image/_push/when_there_are_no_credentials/still_pushes.yml +28 -28
- data/spec/vcr/Docker_Image/_refresh_/updates_the_info_hash.yml +35 -34
- data/spec/vcr/Docker_Image/_remove/removes_the_Image.yml +50 -21
- data/spec/vcr/Docker_Image/_run/when_the_argument_is_a_String/splits_the_String_by_spaces_and_creates_a_new_Container.yml +16 -20
- data/spec/vcr/Docker_Image/_run/when_the_argument_is_an_Array/creates_a_new_Container.yml +16 -20
- 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 +10 -10
- data/spec/vcr/Docker_Image/_search/materializes_each_Image_into_a_Docker_Image.yml +66 -34
- data/spec/vcr/Docker_Image/_tag/tags_the_image_with_the_repo_name.yml +8 -8
- metadata +8 -5
- data/spec/vcr/Docker_Image/_insert/inserts_the_url_s_file_into_a_new_Image.yml +0 -194
@@ -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.12/containers/create
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
8
|
string: '{"Cmd":["test","-d","/foo"],"Image":"base","Volumes":{"/foo":{}}}'
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- Swipely/Docker-API 1.11.
|
11
|
+
- Swipely/Docker-API 1.11.2
|
12
12
|
Content-Type:
|
13
13
|
- application/json
|
14
14
|
response:
|
@@ -19,7 +19,7 @@ http_interactions:
|
|
19
19
|
Content-Type:
|
20
20
|
- application/json
|
21
21
|
Date:
|
22
|
-
-
|
22
|
+
- Thu, 26 Jun 2014 19:44:34 GMT
|
23
23
|
Content-Length:
|
24
24
|
- '90'
|
25
25
|
Connection:
|
@@ -27,18 +27,18 @@ http_interactions:
|
|
27
27
|
body:
|
28
28
|
encoding: UTF-8
|
29
29
|
string: |
|
30
|
-
{"Id":"
|
30
|
+
{"Id":"8ca74b5b1eb86837a183544a09672418b8f94ffebfc2e4734b997cc444b90a84","Warnings":null}
|
31
31
|
http_version:
|
32
|
-
recorded_at:
|
32
|
+
recorded_at: Thu, 26 Jun 2014 19:44:34 GMT
|
33
33
|
- request:
|
34
34
|
method: post
|
35
|
-
uri: unix:///var/run/docker.sock/v1.
|
35
|
+
uri: unix:///var/run/docker.sock/v1.12/containers/8ca74b5b1eb86837a183544a09672418b8f94ffebfc2e4734b997cc444b90a84/start
|
36
36
|
body:
|
37
37
|
encoding: UTF-8
|
38
38
|
string: '{"Binds":["/tmp:/foo"]}'
|
39
39
|
headers:
|
40
40
|
User-Agent:
|
41
|
-
- Swipely/Docker-API 1.11.
|
41
|
+
- Swipely/Docker-API 1.11.2
|
42
42
|
Content-Type:
|
43
43
|
- application/json
|
44
44
|
response:
|
@@ -47,27 +47,23 @@ http_interactions:
|
|
47
47
|
message:
|
48
48
|
headers:
|
49
49
|
Date:
|
50
|
-
-
|
51
|
-
Content-Length:
|
52
|
-
- '0'
|
53
|
-
Content-Type:
|
54
|
-
- text/plain; charset=utf-8
|
50
|
+
- Thu, 26 Jun 2014 19:44:34 GMT
|
55
51
|
Connection:
|
56
52
|
- close
|
57
53
|
body:
|
58
54
|
encoding: UTF-8
|
59
55
|
string: ''
|
60
56
|
http_version:
|
61
|
-
recorded_at:
|
57
|
+
recorded_at: Thu, 26 Jun 2014 19:44:34 GMT
|
62
58
|
- request:
|
63
59
|
method: get
|
64
|
-
uri: unix:///var/run/docker.sock/v1.
|
60
|
+
uri: unix:///var/run/docker.sock/v1.12/containers/json
|
65
61
|
body:
|
66
62
|
encoding: US-ASCII
|
67
63
|
string: ''
|
68
64
|
headers:
|
69
65
|
User-Agent:
|
70
|
-
- Swipely/Docker-API 1.11.
|
66
|
+
- Swipely/Docker-API 1.11.2
|
71
67
|
Content-Type:
|
72
68
|
- text/plain
|
73
69
|
response:
|
@@ -78,28 +74,28 @@ http_interactions:
|
|
78
74
|
Content-Type:
|
79
75
|
- application/json
|
80
76
|
Date:
|
81
|
-
-
|
77
|
+
- Thu, 26 Jun 2014 19:44:34 GMT
|
82
78
|
Content-Length:
|
83
|
-
- '
|
79
|
+
- '415'
|
84
80
|
Connection:
|
85
81
|
- close
|
86
82
|
body:
|
87
83
|
encoding: UTF-8
|
88
84
|
string: |-
|
89
|
-
[{"Command":"test -d /foo","Created":
|
90
|
-
,{"Command":"/while","Created":
|
85
|
+
[{"Command":"test -d /foo","Created":1403811874,"Id":"8ca74b5b1eb86837a183544a09672418b8f94ffebfc2e4734b997cc444b90a84","Image":"base:latest","Names":["/sad_bohr"],"Ports":[],"Status":"Up Less than a second"}
|
86
|
+
,{"Command":"/while","Created":1403811778,"Id":"e3ef53f0c6fc463801a85b9c8d9b2fe348600c2e529c59fa0592da739912224d","Image":"41b70f59d9b6","Names":["/sleepy_yonath"],"Ports":[],"Status":"Up About a minute"}
|
91
87
|
]
|
92
88
|
http_version:
|
93
|
-
recorded_at:
|
89
|
+
recorded_at: Thu, 26 Jun 2014 19:44:34 GMT
|
94
90
|
- request:
|
95
91
|
method: post
|
96
|
-
uri: unix:///var/run/docker.sock/v1.
|
92
|
+
uri: unix:///var/run/docker.sock/v1.12/containers/8ca74b5b1eb86837a183544a09672418b8f94ffebfc2e4734b997cc444b90a84/wait
|
97
93
|
body:
|
98
94
|
encoding: US-ASCII
|
99
95
|
string: ''
|
100
96
|
headers:
|
101
97
|
User-Agent:
|
102
|
-
- Swipely/Docker-API 1.11.
|
98
|
+
- Swipely/Docker-API 1.11.2
|
103
99
|
Content-Type:
|
104
100
|
- text/plain
|
105
101
|
response:
|
@@ -110,7 +106,7 @@ http_interactions:
|
|
110
106
|
Content-Type:
|
111
107
|
- application/json
|
112
108
|
Date:
|
113
|
-
-
|
109
|
+
- Thu, 26 Jun 2014 19:44:35 GMT
|
114
110
|
Content-Length:
|
115
111
|
- '17'
|
116
112
|
Connection:
|
@@ -120,5 +116,5 @@ http_interactions:
|
|
120
116
|
string: |
|
121
117
|
{"StatusCode":0}
|
122
118
|
http_version:
|
123
|
-
recorded_at:
|
119
|
+
recorded_at: Thu, 26 Jun 2014 19:44:35 GMT
|
124
120
|
recorded_with: VCR 2.9.2
|
@@ -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.12/containers/create
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
8
|
string: '{"Cmd":["true"],"Image":"base"}'
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- Swipely/Docker-API 1.11.
|
11
|
+
- Swipely/Docker-API 1.11.2
|
12
12
|
Content-Type:
|
13
13
|
- application/json
|
14
14
|
response:
|
@@ -19,7 +19,7 @@ http_interactions:
|
|
19
19
|
Content-Type:
|
20
20
|
- application/json
|
21
21
|
Date:
|
22
|
-
-
|
22
|
+
- Thu, 26 Jun 2014 19:44:44 GMT
|
23
23
|
Content-Length:
|
24
24
|
- '90'
|
25
25
|
Connection:
|
@@ -27,18 +27,18 @@ http_interactions:
|
|
27
27
|
body:
|
28
28
|
encoding: UTF-8
|
29
29
|
string: |
|
30
|
-
{"Id":"
|
30
|
+
{"Id":"51540acbefe569857cb71839e23cd88fe47b56fcc241bcb8af0c4ae7998ef12d","Warnings":null}
|
31
31
|
http_version:
|
32
|
-
recorded_at:
|
32
|
+
recorded_at: Thu, 26 Jun 2014 19:44:44 GMT
|
33
33
|
- request:
|
34
34
|
method: post
|
35
|
-
uri: unix:///var/run/docker.sock/v1.
|
35
|
+
uri: unix:///var/run/docker.sock/v1.12/containers/51540acbefe569857cb71839e23cd88fe47b56fcc241bcb8af0c4ae7998ef12d/start
|
36
36
|
body:
|
37
37
|
encoding: UTF-8
|
38
38
|
string: '{}'
|
39
39
|
headers:
|
40
40
|
User-Agent:
|
41
|
-
- Swipely/Docker-API 1.11.
|
41
|
+
- Swipely/Docker-API 1.11.2
|
42
42
|
Content-Type:
|
43
43
|
- application/json
|
44
44
|
response:
|
@@ -47,27 +47,23 @@ http_interactions:
|
|
47
47
|
message:
|
48
48
|
headers:
|
49
49
|
Date:
|
50
|
-
-
|
51
|
-
Content-Length:
|
52
|
-
- '0'
|
53
|
-
Content-Type:
|
54
|
-
- text/plain; charset=utf-8
|
50
|
+
- Thu, 26 Jun 2014 19:44:44 GMT
|
55
51
|
Connection:
|
56
52
|
- close
|
57
53
|
body:
|
58
54
|
encoding: UTF-8
|
59
55
|
string: ''
|
60
56
|
http_version:
|
61
|
-
recorded_at:
|
57
|
+
recorded_at: Thu, 26 Jun 2014 19:44:44 GMT
|
62
58
|
- request:
|
63
59
|
method: post
|
64
|
-
uri: unix:///var/run/docker.sock/v1.
|
60
|
+
uri: unix:///var/run/docker.sock/v1.12/containers/51540acbefe569857cb71839e23cd88fe47b56fcc241bcb8af0c4ae7998ef12d/stop?t=10
|
65
61
|
body:
|
66
62
|
encoding: UTF-8
|
67
63
|
string: '{}'
|
68
64
|
headers:
|
69
65
|
User-Agent:
|
70
|
-
- Swipely/Docker-API 1.11.
|
66
|
+
- Swipely/Docker-API 1.11.2
|
71
67
|
Content-Type:
|
72
68
|
- application/json
|
73
69
|
response:
|
@@ -76,27 +72,23 @@ http_interactions:
|
|
76
72
|
message:
|
77
73
|
headers:
|
78
74
|
Date:
|
79
|
-
-
|
80
|
-
Content-Length:
|
81
|
-
- '0'
|
82
|
-
Content-Type:
|
83
|
-
- text/plain; charset=utf-8
|
75
|
+
- Thu, 26 Jun 2014 19:44:45 GMT
|
84
76
|
Connection:
|
85
77
|
- close
|
86
78
|
body:
|
87
79
|
encoding: UTF-8
|
88
80
|
string: ''
|
89
81
|
http_version:
|
90
|
-
recorded_at:
|
82
|
+
recorded_at: Thu, 26 Jun 2014 19:44:45 GMT
|
91
83
|
- request:
|
92
84
|
method: get
|
93
|
-
uri: unix:///var/run/docker.sock/v1.
|
85
|
+
uri: unix:///var/run/docker.sock/v1.12/containers/json?all=true
|
94
86
|
body:
|
95
87
|
encoding: US-ASCII
|
96
88
|
string: ''
|
97
89
|
headers:
|
98
90
|
User-Agent:
|
99
|
-
- Swipely/Docker-API 1.11.
|
91
|
+
- Swipely/Docker-API 1.11.2
|
100
92
|
Content-Type:
|
101
93
|
- text/plain
|
102
94
|
response:
|
@@ -107,7 +99,7 @@ http_interactions:
|
|
107
99
|
Content-Type:
|
108
100
|
- application/json
|
109
101
|
Date:
|
110
|
-
-
|
102
|
+
- Thu, 26 Jun 2014 19:44:45 GMT
|
111
103
|
Connection:
|
112
104
|
- close
|
113
105
|
Transfer-Encoding:
|
@@ -115,36 +107,62 @@ http_interactions:
|
|
115
107
|
body:
|
116
108
|
encoding: UTF-8
|
117
109
|
string: |-
|
118
|
-
[{"Command":"true","Created":
|
119
|
-
,{"Command":"test -d /foo","Created":
|
120
|
-
,{"Command":"pwd","Created":
|
121
|
-
,{"Command":"pwd","Created":
|
122
|
-
,{"Command":"rm -rf / --no-preserve-root","Created":
|
123
|
-
,{"Command":"/
|
124
|
-
,{"Command":"
|
125
|
-
,{"Command":"
|
126
|
-
,{"Command":"
|
127
|
-
,{"Command":"true","Created":
|
128
|
-
,{"Command":"echo hello","Created":
|
129
|
-
,{"Command":"
|
130
|
-
,{"Command":"
|
131
|
-
,{"Command":"
|
132
|
-
,{"Command":"
|
133
|
-
,{"Command":"
|
134
|
-
,{"Command":"bash","Created":
|
135
|
-
,{"Command":"
|
110
|
+
[{"Command":"true","Created":1403811884,"Id":"51540acbefe569857cb71839e23cd88fe47b56fcc241bcb8af0c4ae7998ef12d","Image":"base:latest","Names":["/condescending_shockley"],"Ports":[],"Status":"Exited (2) Less than a second ago"}
|
111
|
+
,{"Command":"test -d /foo","Created":1403811874,"Id":"8ca74b5b1eb86837a183544a09672418b8f94ffebfc2e4734b997cc444b90a84","Image":"base:latest","Names":["/sad_bohr"],"Ports":[],"Status":"Exited (0) 10 seconds ago"}
|
112
|
+
,{"Command":"pwd","Created":1403811850,"Id":"f67711bda71de43c2d9998990ee1442023e71ccd30775adcc5e115293351292f","Image":"base:latest","Names":["/distracted_darwin"],"Ports":[],"Status":"Exited (0) 33 seconds ago"}
|
113
|
+
,{"Command":"pwd","Created":1403811845,"Id":"91edd209b1419fd60a4da8e31b1d17d4b060400077b6b00cf855004e28e60cd1","Image":"base:latest","Names":["/naughty_hoover"],"Ports":[],"Status":"Exited (0) 39 seconds ago"}
|
114
|
+
,{"Command":"rm -rf / --no-preserve-root","Created":1403811822,"Id":"ac19ec0a08d3beb57e4eff6e978a6bea402ea2e6cdfd06dd2d8826e24fc1bc22","Image":"base:latest","Names":["/silly_leakey"],"Ports":[],"Status":"Exited (1) About a minute ago"}
|
115
|
+
,{"Command":"touch /test","Created":1403811805,"Id":"e94213e6d92bbc20ba9b4fb299902a0edb7e60e78f6183ed39d35c4d0b83f395","Image":"base:latest","Names":["/nostalgic_curie"],"Ports":[],"Status":"Exited (0) About a minute ago"}
|
116
|
+
,{"Command":"touch /test","Created":1403811798,"Id":"e36507d15801857e28153923c2968f77112a40aa5df02251ee7ef83d0db9097a","Image":"base:latest","Names":["/sad_shockley"],"Ports":[],"Status":"Exited (0) About a minute ago"}
|
117
|
+
,{"Command":"/while","Created":1403811778,"Id":"e3ef53f0c6fc463801a85b9c8d9b2fe348600c2e529c59fa0592da739912224d","Image":"41b70f59d9b6","Names":["/sleepy_yonath"],"Ports":[],"Status":"Up About a minute"}
|
118
|
+
,{"Command":"rm -rf /root","Created":1403811759,"Id":"6fc279ae9f0858a7d0fd877f6df7f81e6487848af95712ec9dd1f12e587d24ce","Image":"base:latest","Names":["/trusting_galileo"],"Ports":[],"Status":"Exited (0) 2 minutes ago"}
|
119
|
+
,{"Command":"true","Created":1403811740,"Id":"36912cef208b36a175e7f48dd3bffc5a698f7eb818b7bcbf56343209f8fc473b","Image":"base:latest","Names":["/bob"],"Ports":[],"Status":""}
|
120
|
+
,{"Command":"echo hello","Created":1403811721,"Id":"bcdc58f638d20be4172508fc80d191317628d55f48eeb274abc9de5f9c2761d0","Image":"base:latest","Names":["/grave_bartik"],"Ports":[],"Status":""}
|
121
|
+
,{"Command":"echo hello","Created":1403811717,"Id":"6968a8299df95ffad447a6b364d0cb9cfeb1bcc28d0ef09356f35bdeca57d953","Image":"base:latest","Names":["/goofy_fermat"],"Ports":[],"Status":""}
|
122
|
+
,{"Command":"true","Created":1403811562,"Id":"cf367fe2a4eaf9908dd1f6c6d988b6b7391cebfbe827435ee7204659fa2d6ec1","Image":"base:latest","Names":["/thirsty_nobel"],"Ports":[],"Status":""}
|
123
|
+
,{"Command":"/bin/sh -c 'exec docker-registry'","Created":1403809177,"Id":"5759e35c33773e7a1ecaee390fa7db4097f1030995282da972076979e345c709","Image":"localhost:5000/registry:test","Names":["/stupefied_meitner"],"Ports":[],"Status":"Exited (0) 14 minutes ago"}
|
124
|
+
,{"Command":"/bin/sh -c 'exec docker-registry'","Created":1403809143,"Id":"a36c555f919ec5ccc717cbaf50c655dcc4db776c5bcbb92a4bb05f7e80ca32a1","Image":"localhost:5000/registry:test","Names":["/sharp_turing"],"Ports":[],"Status":"Exited (0) 45 minutes ago"}
|
125
|
+
,{"Command":"/bin/sh -c 'cd /app \u0026\u0026 bundle exec foreman start'","Created":1402430887,"Id":"bb24a1dbb5fa6e7204101e9f0e47c11944d3400d68076c0df9dbec40daef9a5e","Image":"795d6b82162f","Names":["/stupefied_morse"],"Ports":[{"IP":"0.0.0.0","PrivatePort":8080,"PublicPort":8080,"Type":"tcp"}],"Status":"Exited (-1) 2 weeks ago"}
|
126
|
+
,{"Command":"bash","Created":1402430685,"Id":"6123f38072655a1587a67e4a7afc4cd4374a23e2dcc1e0f302ba67902ff2aa6c","Image":"795d6b82162f","Names":["/naughty_shockley"],"Ports":[{"IP":"0.0.0.0","PrivatePort":8080,"PublicPort":8080,"Type":"tcp"}],"Status":"Exited (130) 2 weeks ago"}
|
127
|
+
,{"Command":"/bin/sh -c 'cd /app \u0026\u0026 bundle exec foreman start'","Created":1402430595,"Id":"0cb45d8388407844b0e4c9fc4b691d5a81f27a6ed75ac69c26aa9ebf37d9ecae","Image":"795d6b82162f","Names":["/angry_heisenberg"],"Ports":[{"IP":"0.0.0.0","PrivatePort":8080,"PublicPort":8080,"Type":"tcp"}],"Status":"Exited (-1) 2 weeks ago"}
|
128
|
+
,{"Command":"/bin/sh -c 'cd /app \u0026\u0026 bundle exec foreman start'","Created":1402430547,"Id":"342f632dbf963b429e442b238a236ab3cf91885e71233d853dd2b405e32e4863","Image":"795d6b82162f","Names":["/jolly_heisenberg"],"Ports":[],"Status":"Exited (-1) 2 weeks ago"}
|
129
|
+
,{"Command":"/bin/sh -c 'cd /app \u0026\u0026 bundle exec foreman start'","Created":1402430293,"Id":"3164a68c936d209a2b1e2da323b52e1b043bc17fbd41f06ae8a356bd6c06152b","Image":"24b631358e16","Names":["/agitated_wright"],"Ports":[],"Status":"Exited (0) 2 weeks ago"}
|
130
|
+
,{"Command":"/bin/sh -c 'cd /app \u0026\u0026 bundle exec foreman start'","Created":1402430143,"Id":"33ccfbb00c9717cb24818072db9752401c1e099d7447cf413b9ee571e1bcd012","Image":"2e68e4667d3f","Names":["/determined_bardeen"],"Ports":[],"Status":"Exited (0) 2 weeks ago"}
|
131
|
+
,{"Command":"/bin/sh -c 'cd /app \u0026\u0026 bundle exec foreman start'","Created":1402429919,"Id":"cd063c45640ce588466f6d845e5a2fc25921f113a5ccbeefa9317fdcd8ee908a","Image":"76587bc93b7d","Names":["/boring_nobel"],"Ports":[],"Status":"Exited (0) 2 weeks ago"}
|
132
|
+
,{"Command":"/bin/bash","Created":1402429676,"Id":"bbc878209d4d7b98fe044e02ea13850f19d95ce56fb1428de1a81e426e74a735","Image":"76587bc93b7d","Names":["/tender_goldstine"],"Ports":[],"Status":"Exited (1) 2 weeks ago"}
|
133
|
+
,{"Command":"/bin/bash","Created":1402429664,"Id":"1d43aae6eb71e6b402f0df19509420fe15f8c1c097711dd97b9e41d55b6220c7","Image":"76587bc93b7d","Names":["/mad_tesla"],"Ports":[],"Status":"Exited (0) 2 weeks ago"}
|
134
|
+
,{"Command":"/bin/sh -c 'cd /app \u0026\u0026 bundle exec foreman start'","Created":1402429649,"Id":"2c6c24d1f0da0d3021c60a9dcd9e648daf6be4a40642ab8cce35480cf931e648","Image":"76587bc93b7d","Names":["/pensive_rosalind"],"Ports":[],"Status":"Exited (0) 2 weeks ago"}
|
135
|
+
,{"Command":"/bin/sh -c 'cd /app \u0026\u0026 bundle exec foreman start'","Created":1402429637,"Id":"cf21c9ae97e204c05748a596b3ebd2fc7e5793c33fd9ee787be78a2159d193fe","Image":"76587bc93b7d","Names":["/determined_ardinghelli"],"Ports":[{"IP":"0.0.0.0","PrivatePort":6379,"PublicPort":49160,"Type":"tcp"}],"Status":"Exited (0) 2 weeks ago"}
|
136
|
+
,{"Command":"/bin/sh -c 'cd /app \u0026\u0026 bundle exec foreman start'","Created":1402429619,"Id":"217b0f8aa6504f460de1ef2a559a8916c957a079adce597d3deb0c6046f2d7db","Image":"76587bc93b7d","Names":["/grave_torvalds"],"Ports":[{"IP":"0.0.0.0","PrivatePort":6379,"PublicPort":49159,"Type":"tcp"}],"Status":"Exited (0) 2 weeks ago"}
|
137
|
+
,{"Command":"/bin/sh -c 'cd /app \u0026\u0026 bundle exec foreman start'","Created":1402429610,"Id":"a7104142e02b3a64bf99e0489ed69eba92aaca2f1cb60ef8221bec7e90099263","Image":"76587bc93b7d","Names":["/thirsty_hoover"],"Ports":[{"IP":"127.0.0.1","PrivatePort":6379,"PublicPort":49158,"Type":"tcp"}],"Status":"Exited (0) 2 weeks ago"}
|
138
|
+
,{"Command":"/bin/sh -c 'cd /app \u0026\u0026 bundle exec foreman start'","Created":1402429596,"Id":"18c4d104ba348ae8af2a7f0ebbe1435011570dabcece81b10ba7f735bb52c142","Image":"76587bc93b7d","Names":["/backstabbing_mestorf"],"Ports":[],"Status":"Exited (0) 2 weeks ago"}
|
139
|
+
,{"Command":"/bin/sh -c 'cd /app \u0026\u0026 bundle exec foreman start'","Created":1402429583,"Id":"c9e54634fc5c8fb250c9137092e8cc047ab7496655b6d656a6a387b5994e4a3e","Image":"0cf0d2c9f3c9","Names":["/high_goodall"],"Ports":[],"Status":"Exited (0) 2 weeks ago"}
|
140
|
+
,{"Command":"/bin/sh -c 'cd /app \u0026\u0026 bundle exec foreman start'","Created":1402429574,"Id":"1900baf794a5734e406ca6226d5a5f62d85f2ad3db0a886654f15e692729741a","Image":"0cf0d2c9f3c9","Names":["/agitated_kirch"],"Ports":[{"IP":"127.0.0.1","PrivatePort":6379,"PublicPort":49157,"Type":"tcp"}],"Status":"Exited (0) 2 weeks ago"}
|
141
|
+
,{"Command":"/bin/sh -c 'cd /app \u0026\u0026 bundle exec foreman start'","Created":1402428859,"Id":"791283f719e9089e4c97ad5ea7096df317c5378db0255a7e9846830f326f11ad","Image":"0cf0d2c9f3c9","Names":["/romantic_fermi"],"Ports":[{"IP":"127.0.0.1","PrivatePort":6379,"PublicPort":49156,"Type":"tcp"}],"Status":"Exited (0) 2 weeks ago"}
|
142
|
+
,{"Command":"/bin/sh -c 'cd /app \u0026\u0026 bundle exec foreman start'","Created":1402427020,"Id":"b32593d5dfb04c83db55e798f52ecc89f57102b5d672cde4f0b55d5f4d3b856c","Image":"0cf0d2c9f3c9","Names":["/naughty_euclid"],"Ports":[{"IP":"127.0.0.1","PrivatePort":6379,"PublicPort":49155,"Type":"tcp"}],"Status":"Exited (0) 2 weeks ago"}
|
143
|
+
,{"Command":"/bin/sh -c 'cd /app \u0026\u0026 bundle exec foreman start'","Created":1402427017,"Id":"cdcab97cd8eeaeb8696024c92e28aedc182b2f3519e4e0445585f8fb501e44eb","Image":"0cf0d2c9f3c9","Names":["/high_lumiere"],"Ports":[],"Status":""}
|
144
|
+
,{"Command":"/bin/sh -c 'cd /app \u0026\u0026 bundle exec foreman start'","Created":1402426976,"Id":"1e095cd0c96b76a1131dd47dc0c54c153200320647ba1643c0b6e4efd397f1b5","Image":"0cf0d2c9f3c9","Names":["/goofy_wozniak"],"Ports":[],"Status":""}
|
145
|
+
,{"Command":"/bin/sh -c 'cd /app \u0026\u0026 bundle exec foreman start'","Created":1402426959,"Id":"53839f4d1e1c26db22b91db8e9ee2477822140c8397ebcdae627b5e4b4df27ce","Image":"0cf0d2c9f3c9","Names":["/drunk_ritchie"],"Ports":[],"Status":""}
|
146
|
+
,{"Command":"/bin/sh -c 'cd /app \u0026\u0026 bundle exec foreman start'","Created":1402426953,"Id":"5906226b2dd64485bc917d7c7296bfba04589b0954fdf793f122236e04d0b58c","Image":"0cf0d2c9f3c9","Names":["/jolly_fermi"],"Ports":[],"Status":""}
|
147
|
+
,{"Command":"/bin/sh -c 'cd /app \u0026\u0026 bundle exec foreman start'","Created":1402426945,"Id":"03ea0209a642de9adba85c2aea67802806eb23de7e9c3d886a9ab9cfcd708578","Image":"0cf0d2c9f3c9","Names":["/loving_wilson"],"Ports":[{"IP":"127.0.0.1","PrivatePort":6379,"PublicPort":49154,"Type":"tcp"}],"Status":"Exited (0) 2 weeks ago"}
|
148
|
+
,{"Command":"/bin/sh -c 'cd /app \u0026\u0026 bundle exec foreman start'","Created":1402426934,"Id":"428e6478f665780fe3300d316b3789c92575bbe728e196b1a33655096dfb9baa","Image":"0cf0d2c9f3c9","Names":["/angry_rosalind"],"Ports":[{"IP":"0.0.0.0","PrivatePort":6379,"PublicPort":49153,"Type":"tcp"}],"Status":"Exited (0) 2 weeks ago"}
|
149
|
+
,{"Command":"/bin/sh -c 'cd /app \u0026\u0026 bundle exec foreman start'","Created":1402426799,"Id":"fc77637ca9d934565017ebe326ed29263778443831b799977257c2fa4255e666","Image":"0cf0d2c9f3c9","Names":["/sharp_lovelace"],"Ports":[],"Status":"Exited (0) 2 weeks ago"}
|
150
|
+
,{"Command":"/bin/sh -c 'cd /app \u0026\u0026 bundle install'","Created":1402425989,"Id":"dc372caeee6f2d1f797ca4986c1c917aef25285cf0a97f3453a9c8ee6de226ef","Image":"f39385fcb372","Names":["/cocky_galileo"],"Ports":[],"Status":"Exited (5) 2 weeks ago"}
|
151
|
+
,{"Command":"/bin/sh -c 'gem install atomic -v '1.1.10' --no-user-install'","Created":1402425859,"Id":"bff3f8dff516f8ec53890e52e30f07ea6a34887d12de2133e1ec2f03a47e7a33","Image":"e41a4fd75845","Names":["/thirsty_newton"],"Ports":[],"Status":"Exited (1) 2 weeks ago"}
|
152
|
+
,{"Command":"/bin/sh -c 'cd /app \u0026\u0026 bundle install'","Created":1402425808,"Id":"c7f35941f9683ee1d6b78b25e323d6678ed02a8390b48f7609fd506b7e1dbfe9","Image":"4d1584ae379a","Names":["/stupefied_heisenberg"],"Ports":[],"Status":"Exited (5) 2 weeks ago"}
|
153
|
+
,{"Command":"/bin/sh -c 'gem install bundler --no-user-install'","Created":1402425760,"Id":"e1d25c1ddd9a471fdbc381b95820aba9f84b334efe9b815ffbf63cfca89399d7","Image":"e607630fc5e6","Names":["/insane_fermi"],"Ports":[],"Status":"Exited (0) 2 weeks ago"}
|
136
154
|
]
|
137
155
|
http_version:
|
138
|
-
recorded_at:
|
156
|
+
recorded_at: Thu, 26 Jun 2014 19:44:45 GMT
|
139
157
|
- request:
|
140
158
|
method: get
|
141
|
-
uri: unix:///var/run/docker.sock/v1.
|
159
|
+
uri: unix:///var/run/docker.sock/v1.12/containers/json
|
142
160
|
body:
|
143
161
|
encoding: US-ASCII
|
144
162
|
string: ''
|
145
163
|
headers:
|
146
164
|
User-Agent:
|
147
|
-
- Swipely/Docker-API 1.11.
|
165
|
+
- Swipely/Docker-API 1.11.2
|
148
166
|
Content-Type:
|
149
167
|
- text/plain
|
150
168
|
response:
|
@@ -155,16 +173,16 @@ http_interactions:
|
|
155
173
|
Content-Type:
|
156
174
|
- application/json
|
157
175
|
Date:
|
158
|
-
-
|
176
|
+
- Thu, 26 Jun 2014 19:44:45 GMT
|
159
177
|
Content-Length:
|
160
|
-
- '
|
178
|
+
- '206'
|
161
179
|
Connection:
|
162
180
|
- close
|
163
181
|
body:
|
164
182
|
encoding: UTF-8
|
165
183
|
string: |-
|
166
|
-
[{"Command":"/while","Created":
|
184
|
+
[{"Command":"/while","Created":1403811778,"Id":"e3ef53f0c6fc463801a85b9c8d9b2fe348600c2e529c59fa0592da739912224d","Image":"41b70f59d9b6","Names":["/sleepy_yonath"],"Ports":[],"Status":"Up About a minute"}
|
167
185
|
]
|
168
186
|
http_version:
|
169
|
-
recorded_at:
|
187
|
+
recorded_at: Thu, 26 Jun 2014 19:44:45 GMT
|
170
188
|
recorded_with: VCR 2.9.2
|
@@ -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.12/build
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- Swipely/Docker-API 1.11.
|
11
|
+
- Swipely/Docker-API 1.11.2
|
12
12
|
Content-Type:
|
13
13
|
- application/tar
|
14
14
|
Transfer-Encoding:
|
@@ -25,7 +25,7 @@ http_interactions:
|
|
25
25
|
Content-Type:
|
26
26
|
- application/json
|
27
27
|
Date:
|
28
|
-
-
|
28
|
+
- Thu, 26 Jun 2014 19:42:54 GMT
|
29
29
|
Connection:
|
30
30
|
- close
|
31
31
|
Transfer-Encoding:
|
@@ -35,19 +35,20 @@ http_interactions:
|
|
35
35
|
string: "{\"stream\":\"Step 0 : from base\\n\"}\r\n{\"stream\":\" ---\\u003e
|
36
36
|
b750fe79269d\\n\"}\r\n{\"stream\":\"Step 1 : run printf '#! /bin/sh\\\\nwhile
|
37
37
|
true\\\\ndo\\\\ntrue\\\\ndone\\\\n' \\u003e /while \\u0026\\u0026 chmod +x
|
38
|
-
/while\\n\"}\r\n{\"stream\":\" ---\\u003e
|
39
|
-
---\\u003e
|
38
|
+
/while\\n\"}\r\n{\"stream\":\" ---\\u003e Running in 0902d83c4674\\n\"}\r\n{\"stream\":\"
|
39
|
+
---\\u003e 41b70f59d9b6\\n\"}\r\n{\"stream\":\"Removing intermediate container
|
40
|
+
0902d83c4674\\n\"}\r\n{\"stream\":\"Successfully built 41b70f59d9b6\\n\"}\r\n"
|
40
41
|
http_version:
|
41
|
-
recorded_at:
|
42
|
+
recorded_at: Thu, 26 Jun 2014 19:42:58 GMT
|
42
43
|
- request:
|
43
44
|
method: post
|
44
|
-
uri: unix:///var/run/docker.sock/v1.
|
45
|
+
uri: unix:///var/run/docker.sock/v1.12/containers/create
|
45
46
|
body:
|
46
47
|
encoding: UTF-8
|
47
|
-
string: '{"Image":"
|
48
|
+
string: '{"Image":"41b70f59d9b6","Cmd":["/while"]}'
|
48
49
|
headers:
|
49
50
|
User-Agent:
|
50
|
-
- Swipely/Docker-API 1.11.
|
51
|
+
- Swipely/Docker-API 1.11.2
|
51
52
|
Content-Type:
|
52
53
|
- application/json
|
53
54
|
response:
|
@@ -58,7 +59,7 @@ http_interactions:
|
|
58
59
|
Content-Type:
|
59
60
|
- application/json
|
60
61
|
Date:
|
61
|
-
-
|
62
|
+
- Thu, 26 Jun 2014 19:42:58 GMT
|
62
63
|
Content-Length:
|
63
64
|
- '90'
|
64
65
|
Connection:
|
@@ -66,18 +67,18 @@ http_interactions:
|
|
66
67
|
body:
|
67
68
|
encoding: UTF-8
|
68
69
|
string: |
|
69
|
-
{"Id":"
|
70
|
+
{"Id":"e3ef53f0c6fc463801a85b9c8d9b2fe348600c2e529c59fa0592da739912224d","Warnings":null}
|
70
71
|
http_version:
|
71
|
-
recorded_at:
|
72
|
+
recorded_at: Thu, 26 Jun 2014 19:42:58 GMT
|
72
73
|
- request:
|
73
74
|
method: post
|
74
|
-
uri: unix:///var/run/docker.sock/v1.
|
75
|
+
uri: unix:///var/run/docker.sock/v1.12/containers/e3ef53f0c6fc463801a85b9c8d9b2fe348600c2e529c59fa0592da739912224d/start
|
75
76
|
body:
|
76
77
|
encoding: UTF-8
|
77
78
|
string: '{}'
|
78
79
|
headers:
|
79
80
|
User-Agent:
|
80
|
-
- Swipely/Docker-API 1.11.
|
81
|
+
- Swipely/Docker-API 1.11.2
|
81
82
|
Content-Type:
|
82
83
|
- application/json
|
83
84
|
response:
|
@@ -86,27 +87,23 @@ http_interactions:
|
|
86
87
|
message:
|
87
88
|
headers:
|
88
89
|
Date:
|
89
|
-
-
|
90
|
-
Content-Length:
|
91
|
-
- '0'
|
92
|
-
Content-Type:
|
93
|
-
- text/plain; charset=utf-8
|
90
|
+
- Thu, 26 Jun 2014 19:42:58 GMT
|
94
91
|
Connection:
|
95
92
|
- close
|
96
93
|
body:
|
97
94
|
encoding: UTF-8
|
98
95
|
string: ''
|
99
96
|
http_version:
|
100
|
-
recorded_at:
|
97
|
+
recorded_at: Thu, 26 Jun 2014 19:42:58 GMT
|
101
98
|
- request:
|
102
99
|
method: get
|
103
|
-
uri: unix:///var/run/docker.sock/v1.
|
100
|
+
uri: unix:///var/run/docker.sock/v1.12/containers/e3ef53f0c6fc463801a85b9c8d9b2fe348600c2e529c59fa0592da739912224d/top
|
104
101
|
body:
|
105
102
|
encoding: US-ASCII
|
106
103
|
string: ''
|
107
104
|
headers:
|
108
105
|
User-Agent:
|
109
|
-
- Swipely/Docker-API 1.11.
|
106
|
+
- Swipely/Docker-API 1.11.2
|
110
107
|
Content-Type:
|
111
108
|
- text/plain
|
112
109
|
response:
|
@@ -117,15 +114,15 @@ http_interactions:
|
|
117
114
|
Content-Type:
|
118
115
|
- application/json
|
119
116
|
Date:
|
120
|
-
-
|
117
|
+
- Thu, 26 Jun 2014 19:42:59 GMT
|
121
118
|
Content-Length:
|
122
|
-
- '
|
119
|
+
- '147'
|
123
120
|
Connection:
|
124
121
|
- close
|
125
122
|
body:
|
126
123
|
encoding: UTF-8
|
127
124
|
string: |
|
128
|
-
{"Processes":[["root","
|
125
|
+
{"Processes":[["root","10678","17600","95","15:42","?","00:00:00","/bin/sh /while"]],"Titles":["UID","PID","PPID","C","STIME","TTY","TIME","CMD"]}
|
129
126
|
http_version:
|
130
|
-
recorded_at:
|
127
|
+
recorded_at: Thu, 26 Jun 2014 19:42:59 GMT
|
131
128
|
recorded_with: VCR 2.9.2
|