docker-api 1.8.4 → 1.9.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/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/containers/create
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
8
|
string: "{\"Cmd\":[\"ls\"],\"Image\":\"base\"}"
|
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
|
- application/json
|
14
14
|
response:
|
@@ -19,7 +19,7 @@ http_interactions:
|
|
19
19
|
Content-Type:
|
20
20
|
- application/json
|
21
21
|
Date:
|
22
|
-
-
|
22
|
+
- Fri, 28 Feb 2014 21:42:32 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":"23c1a78b560afba941db345e5e9e7618ad5a5edf2ac39764249089e906fc201c","Warnings":null}
|
31
31
|
http_version:
|
32
|
-
recorded_at:
|
32
|
+
recorded_at: Fri, 28 Feb 2014 21:42:32 GMT
|
33
33
|
- request:
|
34
34
|
method: get
|
35
|
-
uri: unix:///var/run/docker.sock/v1.
|
35
|
+
uri: unix:///var/run/docker.sock/v1.9/containers/23c1a78b560afba941db345e5e9e7618ad5a5edf2ac39764249089e906fc201c/json
|
36
36
|
body:
|
37
37
|
encoding: US-ASCII
|
38
38
|
string: ''
|
39
39
|
headers:
|
40
40
|
User-Agent:
|
41
|
-
- Swipely/Docker-API 1.
|
41
|
+
- Swipely/Docker-API 1.8.4
|
42
42
|
Content-Type:
|
43
43
|
- text/plain
|
44
44
|
response:
|
@@ -46,17 +46,17 @@ http_interactions:
|
|
46
46
|
code: 200
|
47
47
|
message:
|
48
48
|
headers:
|
49
|
+
Content-Type:
|
50
|
+
- application/json
|
49
51
|
Date:
|
50
|
-
-
|
52
|
+
- Fri, 28 Feb 2014 21:42:32 GMT
|
51
53
|
Content-Length:
|
52
|
-
- '
|
53
|
-
Content-Type:
|
54
|
-
- text/plain; charset=utf-8
|
54
|
+
- '1144'
|
55
55
|
Connection:
|
56
56
|
- close
|
57
57
|
body:
|
58
58
|
encoding: UTF-8
|
59
|
-
string: "{\"ID\":\"
|
59
|
+
string: "{\"ID\":\"23c1a78b560afba941db345e5e9e7618ad5a5edf2ac39764249089e906fc201c\",\"Created\":\"2014-02-28T21:42:32.669714652Z\",\"Path\":\"ls\",\"Args\":[],\"Config\":{\"Hostname\":\"23c1a78b560a\",\"Domainname\":\"\",\"User\":\"\",\"Memory\":0,\"MemorySwap\":0,\"CpuShares\":0,\"AttachStdin\":false,\"AttachStdout\":false,\"AttachStderr\":false,\"PortSpecs\":null,\"ExposedPorts\":null,\"Tty\":false,\"OpenStdin\":false,\"StdinOnce\":false,\"Env\":null,\"Cmd\":[\"ls\"],\"Dns\":null,\"Image\":\"base\",\"Volumes\":null,\"VolumesFrom\":\"\",\"WorkingDir\":\"\",\"Entrypoint\":null,\"NetworkDisabled\":false,\"OnBuild\":null},\"State\":{\"Running\":false,\"Pid\":0,\"ExitCode\":0,\"StartedAt\":\"0001-01-01T00:00:00Z\",\"FinishedAt\":\"0001-01-01T00:00:00Z\",\"Ghost\":false},\"Image\":\"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc\",\"NetworkSettings\":{\"IPAddress\":\"\",\"IPPrefixLen\":0,\"Gateway\":\"\",\"Bridge\":\"\",\"PortMapping\":null,\"Ports\":null},\"ResolvConfPath\":\"/etc/resolv.conf\",\"HostnamePath\":\"\",\"HostsPath\":\"\",\"Name\":\"/goofy_bell\",\"Driver\":\"devicemapper\",\"Volumes\":null,\"VolumesRW\":null,\"HostConfig\":{\"Binds\":null,\"ContainerIDFile\":\"\",\"LxcConf\":null,\"Privileged\":false,\"PortBindings\":null,\"Links\":null,\"PublishAllPorts\":false}}"
|
60
60
|
http_version:
|
61
|
-
recorded_at:
|
61
|
+
recorded_at: Fri, 28 Feb 2014 21:42:32 GMT
|
62
62
|
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/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
|
+
- Swipely/Docker-API 1.8.4
|
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
|
+
- Fri, 28 Feb 2014 21:41:43 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":"9c286a4bdae3f4ee5c581a26c742d80642bedc4b48a00365f5723f197c592cf2","Warnings":null}
|
31
31
|
http_version:
|
32
|
-
recorded_at:
|
32
|
+
recorded_at: Fri, 28 Feb 2014 21:41:43 GMT
|
33
33
|
- request:
|
34
34
|
method: get
|
35
|
-
uri: unix:///var/run/docker.sock/v1.
|
35
|
+
uri: unix:///var/run/docker.sock/v1.9/containers/9c286a4bdae3f4ee5c581a26c742d80642bedc4b48a00365f5723f197c592cf2/json
|
36
36
|
body:
|
37
37
|
encoding: US-ASCII
|
38
38
|
string: ''
|
39
39
|
headers:
|
40
40
|
User-Agent:
|
41
|
-
- Swipely/Docker-API 1.
|
41
|
+
- Swipely/Docker-API 1.8.4
|
42
42
|
Content-Type:
|
43
43
|
- text/plain
|
44
44
|
response:
|
@@ -46,17 +46,17 @@ http_interactions:
|
|
46
46
|
code: 200
|
47
47
|
message:
|
48
48
|
headers:
|
49
|
+
Content-Type:
|
50
|
+
- application/json
|
49
51
|
Date:
|
50
|
-
-
|
52
|
+
- Fri, 28 Feb 2014 21:41:43 GMT
|
51
53
|
Content-Length:
|
52
|
-
- '
|
53
|
-
Content-Type:
|
54
|
-
- text/plain; charset=utf-8
|
54
|
+
- '1155'
|
55
55
|
Connection:
|
56
56
|
- close
|
57
57
|
body:
|
58
58
|
encoding: UTF-8
|
59
|
-
string: "{\"ID\":\"
|
59
|
+
string: "{\"ID\":\"9c286a4bdae3f4ee5c581a26c742d80642bedc4b48a00365f5723f197c592cf2\",\"Created\":\"2014-02-28T21:41:43.032743737Z\",\"Path\":\"true\",\"Args\":[],\"Config\":{\"Hostname\":\"9c286a4bdae3\",\"Domainname\":\"\",\"User\":\"\",\"Memory\":0,\"MemorySwap\":0,\"CpuShares\":0,\"AttachStdin\":false,\"AttachStdout\":false,\"AttachStderr\":false,\"PortSpecs\":null,\"ExposedPorts\":null,\"Tty\":false,\"OpenStdin\":false,\"StdinOnce\":false,\"Env\":null,\"Cmd\":[\"true\"],\"Dns\":null,\"Image\":\"base\",\"Volumes\":null,\"VolumesFrom\":\"\",\"WorkingDir\":\"\",\"Entrypoint\":null,\"NetworkDisabled\":false,\"OnBuild\":null},\"State\":{\"Running\":false,\"Pid\":0,\"ExitCode\":0,\"StartedAt\":\"0001-01-01T00:00:00Z\",\"FinishedAt\":\"0001-01-01T00:00:00Z\",\"Ghost\":false},\"Image\":\"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc\",\"NetworkSettings\":{\"IPAddress\":\"\",\"IPPrefixLen\":0,\"Gateway\":\"\",\"Bridge\":\"\",\"PortMapping\":null,\"Ports\":null},\"ResolvConfPath\":\"/etc/resolv.conf\",\"HostnamePath\":\"\",\"HostsPath\":\"\",\"Name\":\"/trusting_torvalds\",\"Driver\":\"devicemapper\",\"Volumes\":null,\"VolumesRW\":null,\"HostConfig\":{\"Binds\":null,\"ContainerIDFile\":\"\",\"LxcConf\":null,\"Privileged\":false,\"PortBindings\":null,\"Links\":null,\"PublishAllPorts\":false}}"
|
60
60
|
http_version:
|
61
|
-
recorded_at:
|
61
|
+
recorded_at: Fri, 28 Feb 2014 21:41:43 GMT
|
62
62
|
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/containers/create
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
8
|
string: "{\"Cmd\":[\"ls\"],\"Image\":\"base\"}"
|
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
|
- application/json
|
14
14
|
response:
|
@@ -19,7 +19,7 @@ http_interactions:
|
|
19
19
|
Content-Type:
|
20
20
|
- application/json
|
21
21
|
Date:
|
22
|
-
-
|
22
|
+
- Fri, 28 Feb 2014 21:42:07 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":"c1c377e29fa200a68bb1416ea44edd939f466e08f0ce95803ddb8b805eca7d20","Warnings":null}
|
31
31
|
http_version:
|
32
|
-
recorded_at:
|
32
|
+
recorded_at: Fri, 28 Feb 2014 21:42:07 GMT
|
33
33
|
- request:
|
34
34
|
method: post
|
35
|
-
uri: unix:///var/run/docker.sock/v1.
|
35
|
+
uri: unix:///var/run/docker.sock/v1.9/containers/c1c377e29fa200a68bb1416ea44edd939f466e08f0ce95803ddb8b805eca7d20/kill
|
36
36
|
body:
|
37
37
|
encoding: UTF-8
|
38
38
|
string: "{}"
|
39
39
|
headers:
|
40
40
|
User-Agent:
|
41
|
-
- Swipely/Docker-API 1.
|
41
|
+
- Swipely/Docker-API 1.8.4
|
42
42
|
Content-Type:
|
43
43
|
- application/json
|
44
44
|
response:
|
@@ -47,7 +47,7 @@ http_interactions:
|
|
47
47
|
message:
|
48
48
|
headers:
|
49
49
|
Date:
|
50
|
-
-
|
50
|
+
- Fri, 28 Feb 2014 21:42:07 GMT
|
51
51
|
Content-Length:
|
52
52
|
- '0'
|
53
53
|
Content-Type:
|
@@ -58,16 +58,16 @@ http_interactions:
|
|
58
58
|
encoding: UTF-8
|
59
59
|
string: ''
|
60
60
|
http_version:
|
61
|
-
recorded_at:
|
61
|
+
recorded_at: Fri, 28 Feb 2014 21:42:07 GMT
|
62
62
|
- request:
|
63
63
|
method: get
|
64
|
-
uri: unix:///var/run/docker.sock/v1.
|
64
|
+
uri: unix:///var/run/docker.sock/v1.9/containers/json
|
65
65
|
body:
|
66
66
|
encoding: US-ASCII
|
67
67
|
string: ''
|
68
68
|
headers:
|
69
69
|
User-Agent:
|
70
|
-
- Swipely/Docker-API 1.
|
70
|
+
- Swipely/Docker-API 1.8.4
|
71
71
|
Content-Type:
|
72
72
|
- text/plain
|
73
73
|
response:
|
@@ -75,28 +75,28 @@ http_interactions:
|
|
75
75
|
code: 200
|
76
76
|
message:
|
77
77
|
headers:
|
78
|
+
Content-Type:
|
79
|
+
- application/json
|
78
80
|
Date:
|
79
|
-
-
|
81
|
+
- Fri, 28 Feb 2014 21:42:07 GMT
|
80
82
|
Content-Length:
|
81
83
|
- '2'
|
82
|
-
Content-Type:
|
83
|
-
- text/plain; charset=utf-8
|
84
84
|
Connection:
|
85
85
|
- close
|
86
86
|
body:
|
87
87
|
encoding: UTF-8
|
88
88
|
string: "[]"
|
89
89
|
http_version:
|
90
|
-
recorded_at:
|
90
|
+
recorded_at: Fri, 28 Feb 2014 21:42:07 GMT
|
91
91
|
- request:
|
92
92
|
method: get
|
93
|
-
uri: unix:///var/run/docker.sock/v1.
|
93
|
+
uri: unix:///var/run/docker.sock/v1.9/containers/json?all=true
|
94
94
|
body:
|
95
95
|
encoding: US-ASCII
|
96
96
|
string: ''
|
97
97
|
headers:
|
98
98
|
User-Agent:
|
99
|
-
- Swipely/Docker-API 1.
|
99
|
+
- Swipely/Docker-API 1.8.4
|
100
100
|
Content-Type:
|
101
101
|
- text/plain
|
102
102
|
response:
|
@@ -104,10 +104,10 @@ http_interactions:
|
|
104
104
|
code: 200
|
105
105
|
message:
|
106
106
|
headers:
|
107
|
-
Date:
|
108
|
-
- Wed, 12 Feb 2014 17:05:31 GMT
|
109
107
|
Content-Type:
|
110
|
-
-
|
108
|
+
- application/json
|
109
|
+
Date:
|
110
|
+
- Fri, 28 Feb 2014 21:42:07 GMT
|
111
111
|
Connection:
|
112
112
|
- close
|
113
113
|
Transfer-Encoding:
|
@@ -115,20 +115,35 @@ http_interactions:
|
|
115
115
|
body:
|
116
116
|
encoding: UTF-8
|
117
117
|
string: |-
|
118
|
-
[{"Command":"ls ","Created":
|
119
|
-
,{"Command":true,"Created":
|
120
|
-
,{"Command":"test -d /foo","Created":
|
121
|
-
,{"Command":"pwd ","Created":
|
122
|
-
,{"Command":"pwd ","Created":
|
123
|
-
,{"Command":"
|
124
|
-
,{"Command":"
|
125
|
-
,{"Command":"touch /test","Created":
|
126
|
-
,{"Command":"/bin/sh -c printf '#! /bin/sh\\nwhile true\\ndo\\ntrue\\ndone\\n' \u003e /while \u0026\u0026 chmod +x /while","Created":
|
127
|
-
,{"Command":"rm -rf /root","Created":
|
128
|
-
,{"Command":true,"Created":
|
129
|
-
,{"Command":true,"Created":
|
130
|
-
,{"Command":"
|
118
|
+
[{"Command":"ls ","Created":1393623726,"Id":"c1c377e29fa200a68bb1416ea44edd939f466e08f0ce95803ddb8b805eca7d20","Image":"base2:latest","Names":["/ecstatic_archimedes"],"Ports":[],"Status":"Exit 0"}
|
119
|
+
,{"Command":true,"Created":1393623725,"Id":"6b81a0b2d2b9377b34cacadc0caab3727992025133072a6dc8cfd113d0779aa1","Image":"base2:latest","Names":["/prickly_newton1"],"Ports":[],"Status":"Exit 0"}
|
120
|
+
,{"Command":"test -d /foo","Created":1393623723,"Id":"418e67b935e1e25f7b70925e29745a490e4d5b75a9c320b6ea9d9c381a764ef7","Image":"base2:latest","Names":["/berserk_lumiere"],"Ports":[],"Status":"Exit 0"}
|
121
|
+
,{"Command":"pwd ","Created":1393623722,"Id":"e1cb17367cf3237b1a4d2022048077e2632581c2bffdb72fe975d8616a7b65b8","Image":"base2:latest","Names":["/grave_galileo"],"Ports":[],"Status":"Exit 0"}
|
122
|
+
,{"Command":"pwd ","Created":1393623720,"Id":"febc9d46a787fcb7b774b578708d850960265351a9694060c8cbcf08d9103c17","Image":"base2:latest","Names":["/silly_babbage"],"Ports":[],"Status":"Exit 0"}
|
123
|
+
,{"Command":"rm -rf / --no-preserve-root","Created":1393623718,"Id":"c666534d118a485c3f340d154308857640899f10faf686f6cfbd0028d232c8ba","Image":"base2:latest","Names":["/sick_euclid"],"Ports":[],"Status":"Exit 255"}
|
124
|
+
,{"Command":"touch /test","Created":1393623716,"Id":"7c27079e7ae5aaca763c0f0ea72ef6f656409713031c8b51116de27612423912","Image":"base2:latest","Names":["/prickly_newton"],"Ports":[],"Status":"Exit 0"}
|
125
|
+
,{"Command":"touch /test","Created":1393623713,"Id":"d9ca2f0d85c136ae72d03c4053c1175b103154bba20d493812ff8d2803534b8a","Image":"base2:latest","Names":["/boring_pare"],"Ports":[],"Status":"Exit 0"}
|
126
|
+
,{"Command":"/bin/sh -c printf '#! /bin/sh\\nwhile true\\ndo\\ntrue\\ndone\\n' \u003e /while \u0026\u0026 chmod +x /while","Created":1393623705,"Id":"ec65707c842369bd6bc8ea61eee7f499e190be4a04b010370ed501d380c03317","Image":"base2:latest","Names":["/silly_pasteur"],"Ports":[],"Status":"Exit 0"}
|
127
|
+
,{"Command":"rm -rf /root","Created":1393623703,"Id":"b308381c9274c9c2e398635eeca5988c015268bf7e2a558eee0498e25629adc7","Image":"base2:latest","Names":["/thirsty_albattani"],"Ports":[],"Status":"Exit 0"}
|
128
|
+
,{"Command":true,"Created":1393623703,"Id":"1f4356ab785f38d193d074a67622f629b7f6abaa6dca0e9a415a544a91e987ce","Image":"base2:latest","Names":["/bob"],"Ports":[],"Status":"Exit 0"}
|
129
|
+
,{"Command":true,"Created":1393623703,"Id":"9c286a4bdae3f4ee5c581a26c742d80642bedc4b48a00365f5723f197c592cf2","Image":"base2:latest","Names":["/trusting_torvalds"],"Ports":[],"Status":"Exit 0"}
|
130
|
+
,{"Command":"cat /Dockerfile","Created":1393623608,"Id":"05904073890bad4e07d9d9aa50c618915abafa8f4fe69f757c4b02f18c4b1ba1","Image":"swipely/base2:latest","Names":["/pensive_davinci"],"Ports":[],"Status":"Exit 0"}
|
131
|
+
,{"Command":"cat /Dockerfile","Created":1393623607,"Id":"979c4db1554a66bd9625a5d960f16203ce645037a7f63bd5d3ac0e12a4f4aa85","Image":"swipely/base2:latest","Names":["/loving_brown"],"Ports":[],"Status":"Exit 0"}
|
132
|
+
,{"Command":"cat /Dockerfile","Created":1393623015,"Id":"14500692e1e383d1bfadcc4fac538e80a2fa38481a1e8892414034b83d25dc34","Image":"swipely/base2:latest","Names":["/trusting_thompson"],"Ports":[],"Status":"Exit 0"}
|
133
|
+
,{"Command":"cat /Dockerfile","Created":1393623014,"Id":"964080fb57a7e4694307d79acbf5e1426f39d196cd73963906f11ccb46c1170a","Image":"swipely/base2:latest","Names":["/mad_feynman"],"Ports":[],"Status":"Exit 0"}
|
134
|
+
,{"Command":"/bin/sh -c #(nop) ADD dir:1eb775e654a108ecfb3725cc351728601c0031d180071f124b1510620d5ee9b5 in /","Created":1393623012,"Id":"00d9d33e18df5c676755ebeed569a056d5fdabc9cd25acb2b9fcc44da2bd8df5","Image":"base2:latest","Names":["/agitated_curie"],"Ports":[],"Status":"Exit 0"}
|
135
|
+
,{"Command":"/bin/sh -c true","Created":1393623009,"Id":"a2640209c447eb3a54d89f0c5614ed09444fe2f1badb5c3d81cbe46f697a7974","Image":"base2:latest","Names":["/clever_pike"],"Ports":[],"Status":"Exit 0"}
|
136
|
+
,{"Command":"which pwd","Created":1393623004,"Id":"54e5d38edb25f0294cc9011e557282d71ee6c8f88f588dd4efe6ffe609287fa0","Image":"base2:latest","Names":["/jolly_morse"],"Ports":[],"Status":"Exit 0"}
|
137
|
+
,{"Command":"ls /lib64/","Created":1393623001,"Id":"93cdf928ada741f11c9535aa2de4bf7c0d69169e4309e45841efc3d54ae21fb8","Image":"base2:latest","Names":["/kickass_galileo"],"Ports":[],"Status":"Exit 0"}
|
138
|
+
,{"Command":true,"Created":1393622995,"Id":"e4e1b2526e1cf1eae7ac3b1e1c8c29e37b24130d0fcf410916e9f8b8d61ccc27","Image":"base2:latest","Names":["/kickass_newton"],"Ports":[],"Status":"Exit 0"}
|
139
|
+
,{"Command":"cat /Gemfile /Rakefile","Created":1393622987,"Id":"52d9a23cb292a4f1d7a65babf5fa94f05a3d9a79fb44e4ecdfb478f35dadcf11","Image":"7152d6b36451","Names":["/stoic_darwin"],"Ports":[],"Status":"Exit 0"}
|
140
|
+
,{"Command":"/bin/sh -c #(nop) ADD file:0da1397da130ce4eb9c66b709edc0cb80000a1d3bc890b9816b4e4da0204edb0 in /","Created":1393622985,"Id":"636b00134d64da97d41514249b527685651b1b17f396675d27f9ea3bc9dc91ef","Image":"b11e84158567","Names":["/determined_heisenberg"],"Ports":[],"Status":"Exit 0"}
|
141
|
+
,{"Command":"/bin/sh -c #(nop) ADD file:72fd941c3be8f251fffa1dc023f6335a4e8c2c7d5398b8df2f3e86d7209ab2d8 in /","Created":1393622983,"Id":"2441469640cf91420a9f7cb3f20148f1d7b4dfdda43c53500ce074d93db9e83b","Image":"base2:latest","Names":["/drunk_pasteur"],"Ports":[],"Status":"Exit 0"}
|
142
|
+
,{"Command":"cat /Gemfile","Created":1393622982,"Id":"a06f29d105bfeecd9738b51b6ba74374c191e85c1969eaa33945054ee522ce4a","Image":"3a016dd557a7","Names":["/berserk_davinci"],"Ports":[],"Status":"Exit 0"}
|
143
|
+
,{"Command":"/bin/sh -c #(nop) ADD file:39159349a16aa1373d57f522dd5a30e405346e05be85f0ef6ab65dbc8ac0b5d0 in /","Created":1393622980,"Id":"4464bf27679b679170a227944e89f98a6ba128e12879b9df199fd0765724dfe9","Image":"base2:latest","Names":["/desperate_heisenberg"],"Ports":[],"Status":"Exit 0"}
|
144
|
+
,{"Command":"ls /","Created":1393622979,"Id":"68eacec0e17645b561cecc11dcc97073f02a70a761bcb45370be154fdd210aa2","Image":"ec54e7edec81","Names":["/high_engelbart"],"Ports":[],"Status":"Exit 0"}
|
145
|
+
,{"Command":"echo insert http://stallman.org /stallman","Created":1393622977,"Id":"bad53897fd9c6e5825e33ff52e85b5989ce288441f1f6f06471273a8f445a53a","Image":"base2:latest","Names":["/dreamy_brattain"],"Ports":[],"Status":"Exit 0"}
|
131
146
|
]
|
132
147
|
http_version:
|
133
|
-
recorded_at:
|
148
|
+
recorded_at: Fri, 28 Feb 2014 21:42:07 GMT
|
134
149
|
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/containers/create
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
8
|
string: "{\"Cmd\":[\"sleep\",\"50\"],\"Image\":\"base\"}"
|
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
|
- application/json
|
14
14
|
response:
|
@@ -19,7 +19,7 @@ http_interactions:
|
|
19
19
|
Content-Type:
|
20
20
|
- application/json
|
21
21
|
Date:
|
22
|
-
-
|
22
|
+
- Fri, 28 Feb 2014 21:42:09 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":"641bc0dca4e49773c591c5c6abbd35be1b256bb8cd79e2f28e6958891208713a","Warnings":null}
|
31
31
|
http_version:
|
32
|
-
recorded_at:
|
32
|
+
recorded_at: Fri, 28 Feb 2014 21:42:09 GMT
|
33
33
|
- request:
|
34
34
|
method: post
|
35
|
-
uri: unix:///var/run/docker.sock/v1.
|
35
|
+
uri: unix:///var/run/docker.sock/v1.9/containers/641bc0dca4e49773c591c5c6abbd35be1b256bb8cd79e2f28e6958891208713a/start
|
36
36
|
body:
|
37
37
|
encoding: UTF-8
|
38
38
|
string: "{}"
|
39
39
|
headers:
|
40
40
|
User-Agent:
|
41
|
-
- Swipely/Docker-API 1.
|
41
|
+
- Swipely/Docker-API 1.8.4
|
42
42
|
Content-Type:
|
43
43
|
- application/json
|
44
44
|
response:
|
@@ -47,7 +47,7 @@ http_interactions:
|
|
47
47
|
message:
|
48
48
|
headers:
|
49
49
|
Date:
|
50
|
-
-
|
50
|
+
- Fri, 28 Feb 2014 21:42:10 GMT
|
51
51
|
Content-Length:
|
52
52
|
- '0'
|
53
53
|
Content-Type:
|
@@ -58,16 +58,16 @@ http_interactions:
|
|
58
58
|
encoding: UTF-8
|
59
59
|
string: ''
|
60
60
|
http_version:
|
61
|
-
recorded_at:
|
61
|
+
recorded_at: Fri, 28 Feb 2014 21:42:10 GMT
|
62
62
|
- request:
|
63
63
|
method: get
|
64
|
-
uri: unix:///var/run/docker.sock/v1.
|
64
|
+
uri: unix:///var/run/docker.sock/v1.9/containers/json
|
65
65
|
body:
|
66
66
|
encoding: US-ASCII
|
67
67
|
string: ''
|
68
68
|
headers:
|
69
69
|
User-Agent:
|
70
|
-
- Swipely/Docker-API 1.
|
70
|
+
- Swipely/Docker-API 1.8.4
|
71
71
|
Content-Type:
|
72
72
|
- text/plain
|
73
73
|
response:
|
@@ -75,30 +75,30 @@ http_interactions:
|
|
75
75
|
code: 200
|
76
76
|
message:
|
77
77
|
headers:
|
78
|
+
Content-Type:
|
79
|
+
- application/json
|
78
80
|
Date:
|
79
|
-
-
|
81
|
+
- Fri, 28 Feb 2014 21:42:10 GMT
|
80
82
|
Content-Length:
|
81
|
-
- '
|
82
|
-
Content-Type:
|
83
|
-
- text/plain; charset=utf-8
|
83
|
+
- '213'
|
84
84
|
Connection:
|
85
85
|
- close
|
86
86
|
body:
|
87
87
|
encoding: UTF-8
|
88
88
|
string: |-
|
89
|
-
[{"Command":"sleep 50","Created":
|
89
|
+
[{"Command":"sleep 50","Created":1393623728,"Id":"641bc0dca4e49773c591c5c6abbd35be1b256bb8cd79e2f28e6958891208713a","Image":"base2:latest","Names":["/romantic_nobel"],"Ports":[],"Status":"Up Less than a second"}
|
90
90
|
]
|
91
91
|
http_version:
|
92
|
-
recorded_at:
|
92
|
+
recorded_at: Fri, 28 Feb 2014 21:42:10 GMT
|
93
93
|
- request:
|
94
94
|
method: post
|
95
|
-
uri: unix:///var/run/docker.sock/v1.
|
95
|
+
uri: unix:///var/run/docker.sock/v1.9/containers/641bc0dca4e49773c591c5c6abbd35be1b256bb8cd79e2f28e6958891208713a/stop
|
96
96
|
body:
|
97
97
|
encoding: UTF-8
|
98
98
|
string: "{}"
|
99
99
|
headers:
|
100
100
|
User-Agent:
|
101
|
-
- Swipely/Docker-API 1.
|
101
|
+
- Swipely/Docker-API 1.8.4
|
102
102
|
Content-Type:
|
103
103
|
- application/json
|
104
104
|
response:
|
@@ -107,7 +107,7 @@ http_interactions:
|
|
107
107
|
message:
|
108
108
|
headers:
|
109
109
|
Date:
|
110
|
-
-
|
110
|
+
- Fri, 28 Feb 2014 21:42:10 GMT
|
111
111
|
Content-Length:
|
112
112
|
- '0'
|
113
113
|
Content-Type:
|
@@ -118,16 +118,16 @@ http_interactions:
|
|
118
118
|
encoding: UTF-8
|
119
119
|
string: ''
|
120
120
|
http_version:
|
121
|
-
recorded_at:
|
121
|
+
recorded_at: Fri, 28 Feb 2014 21:42:10 GMT
|
122
122
|
- request:
|
123
123
|
method: get
|
124
|
-
uri: unix:///var/run/docker.sock/v1.
|
124
|
+
uri: unix:///var/run/docker.sock/v1.9/containers/json
|
125
125
|
body:
|
126
126
|
encoding: US-ASCII
|
127
127
|
string: ''
|
128
128
|
headers:
|
129
129
|
User-Agent:
|
130
|
-
- Swipely/Docker-API 1.
|
130
|
+
- Swipely/Docker-API 1.8.4
|
131
131
|
Content-Type:
|
132
132
|
- text/plain
|
133
133
|
response:
|
@@ -135,28 +135,28 @@ http_interactions:
|
|
135
135
|
code: 200
|
136
136
|
message:
|
137
137
|
headers:
|
138
|
+
Content-Type:
|
139
|
+
- application/json
|
138
140
|
Date:
|
139
|
-
-
|
141
|
+
- Fri, 28 Feb 2014 21:42:10 GMT
|
140
142
|
Content-Length:
|
141
143
|
- '2'
|
142
|
-
Content-Type:
|
143
|
-
- text/plain; charset=utf-8
|
144
144
|
Connection:
|
145
145
|
- close
|
146
146
|
body:
|
147
147
|
encoding: UTF-8
|
148
148
|
string: "[]"
|
149
149
|
http_version:
|
150
|
-
recorded_at:
|
150
|
+
recorded_at: Fri, 28 Feb 2014 21:42:10 GMT
|
151
151
|
- request:
|
152
152
|
method: post
|
153
|
-
uri: unix:///var/run/docker.sock/v1.
|
153
|
+
uri: unix:///var/run/docker.sock/v1.9/containers/641bc0dca4e49773c591c5c6abbd35be1b256bb8cd79e2f28e6958891208713a/restart
|
154
154
|
body:
|
155
155
|
encoding: UTF-8
|
156
156
|
string: "{}"
|
157
157
|
headers:
|
158
158
|
User-Agent:
|
159
|
-
- Swipely/Docker-API 1.
|
159
|
+
- Swipely/Docker-API 1.8.4
|
160
160
|
Content-Type:
|
161
161
|
- application/json
|
162
162
|
response:
|
@@ -165,7 +165,7 @@ http_interactions:
|
|
165
165
|
message:
|
166
166
|
headers:
|
167
167
|
Date:
|
168
|
-
-
|
168
|
+
- Fri, 28 Feb 2014 21:42:11 GMT
|
169
169
|
Content-Length:
|
170
170
|
- '0'
|
171
171
|
Content-Type:
|
@@ -176,16 +176,16 @@ http_interactions:
|
|
176
176
|
encoding: UTF-8
|
177
177
|
string: ''
|
178
178
|
http_version:
|
179
|
-
recorded_at:
|
179
|
+
recorded_at: Fri, 28 Feb 2014 21:42:11 GMT
|
180
180
|
- request:
|
181
181
|
method: get
|
182
|
-
uri: unix:///var/run/docker.sock/v1.
|
182
|
+
uri: unix:///var/run/docker.sock/v1.9/containers/json
|
183
183
|
body:
|
184
184
|
encoding: US-ASCII
|
185
185
|
string: ''
|
186
186
|
headers:
|
187
187
|
User-Agent:
|
188
|
-
- Swipely/Docker-API 1.
|
188
|
+
- Swipely/Docker-API 1.8.4
|
189
189
|
Content-Type:
|
190
190
|
- text/plain
|
191
191
|
response:
|
@@ -193,19 +193,19 @@ http_interactions:
|
|
193
193
|
code: 200
|
194
194
|
message:
|
195
195
|
headers:
|
196
|
+
Content-Type:
|
197
|
+
- application/json
|
196
198
|
Date:
|
197
|
-
-
|
199
|
+
- Fri, 28 Feb 2014 21:42:11 GMT
|
198
200
|
Content-Length:
|
199
|
-
- '
|
200
|
-
Content-Type:
|
201
|
-
- text/plain; charset=utf-8
|
201
|
+
- '213'
|
202
202
|
Connection:
|
203
203
|
- close
|
204
204
|
body:
|
205
205
|
encoding: UTF-8
|
206
206
|
string: |-
|
207
|
-
[{"Command":"sleep 50","Created":
|
207
|
+
[{"Command":"sleep 50","Created":1393623728,"Id":"641bc0dca4e49773c591c5c6abbd35be1b256bb8cd79e2f28e6958891208713a","Image":"base2:latest","Names":["/romantic_nobel"],"Ports":[],"Status":"Up Less than a second"}
|
208
208
|
]
|
209
209
|
http_version:
|
210
|
-
recorded_at:
|
210
|
+
recorded_at: Fri, 28 Feb 2014 21:42:11 GMT
|
211
211
|
recorded_with: VCR 2.8.0
|