docker-api 1.9.1 → 1.10.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -5
- data/lib/docker/container.rb +20 -3
- data/lib/docker/image.rb +2 -2
- data/lib/docker/version.rb +2 -2
- data/spec/docker/container_spec.rb +3 -3
- data/spec/docker/image_spec.rb +1 -1
- data/spec/vcr/Docker/_authenticate_/with_valid_credentials/logs_in_and_sets_the_creds.yml +1 -1
- 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 +63 -93
- 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 +4 -4
- 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 -9
- data/spec/vcr/Docker_Container/_copy/when_the_input_is_a_directory/yields_each_chunk_of_the_tarred_directory.yml +21 -21
- data/spec/vcr/Docker_Container/_copy/when_the_input_is_a_file/yields_each_chunk_of_the_tarred_file.yml +22 -22
- data/spec/vcr/Docker_Container/_create/when_creating_a_container_named_bob/should_have_name_set_to_bob.yml +11 -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 +17 -15
- data/spec/vcr/Docker_Container/_export/yields_each_chunk.yml +3 -3
- data/spec/vcr/Docker_Container/_get/when_the_HTTP_response_is_a_200/materializes_the_Container_into_a_Docker_Container.yml +11 -11
- data/spec/vcr/Docker_Container/_json/returns_the_description_as_a_Hash.yml +11 -11
- data/spec/vcr/Docker_Container/_kill/kills_the_container.yml +34 -47
- data/spec/vcr/Docker_Container/_restart/restarts_the_container.yml +39 -35
- data/spec/vcr/Docker_Container/_run/when_the_Container_s_command_does_not_return_status_code_of_0/raises_an_error.yml +15 -15
- 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 +37 -37
- data/spec/vcr/Docker_Container/_start/starts_the_container.yml +20 -19
- data/spec/vcr/Docker_Container/_stop/stops_the_container.yml +37 -50
- data/spec/vcr/Docker_Container/_top/returns_the_top_commands_as_an_Array.yml +26 -115
- 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 +29 -15
- data/spec/vcr/Docker_Image/_build/with_a_valid_Dockerfile/with_a_block_capturing_build_output/calls_the_block_and_passes_build_output.yml +5 -5
- data/spec/vcr/Docker_Image/_build/with_a_valid_Dockerfile/with_specifying_a_repo_in_the_query_parameters/builds_an_image_and_tags_it.yml +28 -20
- data/spec/vcr/Docker_Image/_build/with_a_valid_Dockerfile/without_query_parameters/builds_an_image.yml +5 -5
- data/spec/vcr/Docker_Image/_build/with_an_invalid_Dockerfile/throws_a_UnexpectedResponseError.yml +5 -5
- 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 +6 -6
- data/spec/vcr/Docker_Image/_build_from_dir/with_a_valid_Dockerfile/with_no_query_parameters/builds_the_image.yml +18 -19
- 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 -31
- data/spec/vcr/Docker_Image/_create/when_the_Image_does_not_yet_exist_and_the_body_is_a_Hash/sets_the_id.yml +4 -4
- data/spec/vcr/Docker_Image/_get/when_the_image_does_exist/returns_the_new_image.yml +4 -4
- data/spec/vcr/Docker_Image/_history/returns_the_history_of_the_Image.yml +8 -8
- data/spec/vcr/Docker_Image/_insert/inserts_the_url_s_file_into_a_new_Image.yml +26 -209
- data/spec/vcr/Docker_Image/_insert_local/when_removing_intermediate_containers/creates_a_new_image.yml +51 -35
- data/spec/vcr/Docker_Image/_insert_local/when_removing_intermediate_containers/leave_no_intermediate_containers.yml +90 -40
- data/spec/vcr/Docker_Image/_insert_local/when_the_local_file_does_exist/creates_a_new_Image_that_has_that_file.yml +26 -26
- data/spec/vcr/Docker_Image/_insert_local/when_the_local_file_does_not_exist/raises_an_error.yml +5 -5
- data/spec/vcr/Docker_Image/_insert_local/when_there_are_multiple_files_passed/creates_a_new_Image_that_has_each_file.yml +28 -28
- 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 +49 -33
- data/spec/vcr/Docker_Image/_remove/removes_the_Image.yml +25 -18
- data/spec/vcr/Docker_Image/_run/when_the_argument_is_a_String/splits_the_String_by_spaces_and_creates_a_new_Container.yml +16 -16
- data/spec/vcr/Docker_Image/_run/when_the_argument_is_an_Array/creates_a_new_Container.yml +16 -16
- 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 +8 -8
- data/spec/vcr/Docker_Image/_search/materializes_each_Image_into_a_Docker_Image.yml +24 -23
- data/spec/vcr/Docker_Image/_tag/tags_the_image_with_the_repo_name.yml +8 -8
- metadata +2 -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.10/containers/create
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
8
|
string: "{\"Cmd\":[\"pwd\"],\"Image\":\"base\"}"
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- Swipely/Docker-API 1.
|
11
|
+
- Swipely/Docker-API 1.9.1
|
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
|
+
- Wed, 12 Mar 2014 13:31:30 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":"71488237068c3873ebd7ff4cc408b7de962b2a90b7c8b8ad519483b592e282db","Warnings":null}
|
31
31
|
http_version:
|
32
|
-
recorded_at:
|
32
|
+
recorded_at: Wed, 12 Mar 2014 13:31:30 GMT
|
33
33
|
- request:
|
34
34
|
method: post
|
35
|
-
uri: unix:///var/run/docker.sock/v1.
|
35
|
+
uri: unix:///var/run/docker.sock/v1.10/containers/71488237068c3873ebd7ff4cc408b7de962b2a90b7c8b8ad519483b592e282db/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.9.1
|
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
|
+
- Wed, 12 Mar 2014 13:31:30 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: Wed, 12 Mar 2014 13:31:30 GMT
|
62
62
|
- request:
|
63
63
|
method: post
|
64
|
-
uri: unix:///var/run/docker.sock/v1.
|
64
|
+
uri: unix:///var/run/docker.sock/v1.10/containers/71488237068c3873ebd7ff4cc408b7de962b2a90b7c8b8ad519483b592e282db/attach?stderr=true&stdout=true&stream=true
|
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.9.1
|
71
71
|
Content-Type:
|
72
72
|
- text/plain
|
73
73
|
response:
|
@@ -82,5 +82,5 @@ http_interactions:
|
|
82
82
|
string: !binary |-
|
83
83
|
AQAAAAAAAAIvCg==
|
84
84
|
http_version:
|
85
|
-
recorded_at:
|
85
|
+
recorded_at: Wed, 12 Mar 2014 13:31:30 GMT
|
86
86
|
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.10/containers/create
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
8
|
string: "{\"Cmd\":[\"pwd\"],\"Image\":\"base\"}"
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- Swipely/Docker-API 1.
|
11
|
+
- Swipely/Docker-API 1.9.1
|
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
|
+
- Wed, 12 Mar 2014 13:31:31 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":"345e4a1df616ce448e2d45cdb95e8a3f0560fba39ab27e816b244f003430d59f","Warnings":null}
|
31
31
|
http_version:
|
32
|
-
recorded_at:
|
32
|
+
recorded_at: Wed, 12 Mar 2014 13:31:31 GMT
|
33
33
|
- request:
|
34
34
|
method: post
|
35
|
-
uri: unix:///var/run/docker.sock/v1.
|
35
|
+
uri: unix:///var/run/docker.sock/v1.10/containers/345e4a1df616ce448e2d45cdb95e8a3f0560fba39ab27e816b244f003430d59f/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.9.1
|
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
|
+
- Wed, 12 Mar 2014 13:31:31 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: Wed, 12 Mar 2014 13:31:31 GMT
|
62
62
|
- request:
|
63
63
|
method: post
|
64
|
-
uri: unix:///var/run/docker.sock/v1.
|
64
|
+
uri: unix:///var/run/docker.sock/v1.10/containers/345e4a1df616ce448e2d45cdb95e8a3f0560fba39ab27e816b244f003430d59f/attach?stderr=true&stdout=true&stream=true
|
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.9.1
|
71
71
|
Content-Type:
|
72
72
|
- text/plain
|
73
73
|
response:
|
@@ -82,5 +82,5 @@ http_interactions:
|
|
82
82
|
string: !binary |-
|
83
83
|
AQAAAAAAAAIvCg==
|
84
84
|
http_version:
|
85
|
-
recorded_at:
|
85
|
+
recorded_at: Wed, 12 Mar 2014 13:31:31 GMT
|
86
86
|
recorded_with: VCR 2.8.0
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: post
|
5
|
-
uri: unix:///var/run/docker.sock/v1.
|
5
|
+
uri: unix:///var/run/docker.sock/v1.10/containers/create
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
8
|
string: "{\"Cmd\":[\"rm\",\"-rf\",\"/root\"],\"Image\":\"base\"}"
|
@@ -32,7 +32,7 @@ http_interactions:
|
|
32
32
|
recorded_at: Fri, 28 Feb 2014 21:41:43 GMT
|
33
33
|
- request:
|
34
34
|
method: post
|
35
|
-
uri: unix:///var/run/docker.sock/v1.
|
35
|
+
uri: unix:///var/run/docker.sock/v1.10/containers/b308381c9274c9c2e398635eeca5988c015268bf7e2a558eee0498e25629adc7/start
|
36
36
|
body:
|
37
37
|
encoding: UTF-8
|
38
38
|
string: "{}"
|
@@ -61,7 +61,7 @@ http_interactions:
|
|
61
61
|
recorded_at: Fri, 28 Feb 2014 21:41:44 GMT
|
62
62
|
- request:
|
63
63
|
method: post
|
64
|
-
uri: unix:///var/run/docker.sock/v1.
|
64
|
+
uri: unix:///var/run/docker.sock/v1.10/containers/b308381c9274c9c2e398635eeca5988c015268bf7e2a558eee0498e25629adc7/wait
|
65
65
|
body:
|
66
66
|
encoding: US-ASCII
|
67
67
|
string: ''
|
@@ -91,7 +91,7 @@ http_interactions:
|
|
91
91
|
recorded_at: Fri, 28 Feb 2014 21:41:45 GMT
|
92
92
|
- request:
|
93
93
|
method: get
|
94
|
-
uri: unix:///var/run/docker.sock/v1.
|
94
|
+
uri: unix:///var/run/docker.sock/v1.10/containers/b308381c9274c9c2e398635eeca5988c015268bf7e2a558eee0498e25629adc7/changes
|
95
95
|
body:
|
96
96
|
encoding: US-ASCII
|
97
97
|
string: ''
|
@@ -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.10/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.9.1
|
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
|
+
- Wed, 12 Mar 2014 13:31:45 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":"d0b6d1a3338746fd6ff45fe24e9b112a370ca9490ad97d2ff30a6c38c171c110","Warnings":null}
|
31
31
|
http_version:
|
32
|
-
recorded_at:
|
32
|
+
recorded_at: Wed, 12 Mar 2014 13:31:45 GMT
|
33
33
|
- request:
|
34
34
|
method: post
|
35
|
-
uri: unix:///var/run/docker.sock/v1.
|
35
|
+
uri: unix:///var/run/docker.sock/v1.10/containers/d0b6d1a3338746fd6ff45fe24e9b112a370ca9490ad97d2ff30a6c38c171c110/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.9.1
|
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
|
+
- Wed, 12 Mar 2014 13:31:45 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: Wed, 12 Mar 2014 13:31:45 GMT
|
62
62
|
- request:
|
63
63
|
method: post
|
64
|
-
uri: unix:///var/run/docker.sock/v1.
|
64
|
+
uri: unix:///var/run/docker.sock/v1.10/commit?container=d0b6d1a3
|
65
65
|
body:
|
66
66
|
encoding: UTF-8
|
67
67
|
string: 'null'
|
68
68
|
headers:
|
69
69
|
User-Agent:
|
70
|
-
- Swipely/Docker-API 1.
|
70
|
+
- Swipely/Docker-API 1.9.1
|
71
71
|
Content-Type:
|
72
72
|
- application/json
|
73
73
|
response:
|
@@ -78,7 +78,7 @@ http_interactions:
|
|
78
78
|
Content-Type:
|
79
79
|
- application/json
|
80
80
|
Date:
|
81
|
-
-
|
81
|
+
- Wed, 12 Mar 2014 13:31:46 GMT
|
82
82
|
Content-Length:
|
83
83
|
- '74'
|
84
84
|
Connection:
|
@@ -86,7 +86,7 @@ http_interactions:
|
|
86
86
|
body:
|
87
87
|
encoding: UTF-8
|
88
88
|
string: |
|
89
|
-
{"Id":"
|
89
|
+
{"Id":"11967a8e57f5a4535fc81770a3645f10ec7abf92f22308fcb15288bd30a043f7"}
|
90
90
|
http_version:
|
91
|
-
recorded_at:
|
91
|
+
recorded_at: Wed, 12 Mar 2014 13:31:46 GMT
|
92
92
|
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.10/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.9.1
|
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
|
+
- Wed, 12 Mar 2014 13:31:46 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":"0ac223f4d407ad2e694bdfcaf63dfdeaa0d33485b1e8163308ceafc821dbc68c","Warnings":null}
|
31
31
|
http_version:
|
32
|
-
recorded_at:
|
32
|
+
recorded_at: Wed, 12 Mar 2014 13:31:46 GMT
|
33
33
|
- request:
|
34
34
|
method: post
|
35
|
-
uri: unix:///var/run/docker.sock/v1.
|
35
|
+
uri: unix:///var/run/docker.sock/v1.10/containers/0ac223f4d407ad2e694bdfcaf63dfdeaa0d33485b1e8163308ceafc821dbc68c/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.9.1
|
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
|
+
- Wed, 12 Mar 2014 13:31:46 GMT
|
51
51
|
Content-Length:
|
52
52
|
- '0'
|
53
53
|
Content-Type:
|
@@ -58,5 +58,5 @@ http_interactions:
|
|
58
58
|
encoding: UTF-8
|
59
59
|
string: ''
|
60
60
|
http_version:
|
61
|
-
recorded_at:
|
61
|
+
recorded_at: Wed, 12 Mar 2014 13:31:46 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.10/images/create?fromImage=base
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- Swipely/Docker-API 1.
|
11
|
+
- Swipely/Docker-API 1.9.1
|
12
12
|
Content-Type:
|
13
13
|
- text/plain
|
14
14
|
response:
|
@@ -19,7 +19,7 @@ http_interactions:
|
|
19
19
|
Content-Type:
|
20
20
|
- application/json
|
21
21
|
Date:
|
22
|
-
-
|
22
|
+
- Wed, 12 Mar 2014 13:31:25 GMT
|
23
23
|
Connection:
|
24
24
|
- close
|
25
25
|
Transfer-Encoding:
|
@@ -34,16 +34,16 @@ http_interactions:
|
|
34
34
|
complete\",\"progressDetail\":{},\"id\":\"b750fe79269d\"}{\"status\":\"Download
|
35
35
|
complete\",\"progressDetail\":{},\"id\":\"b750fe79269d\"}"
|
36
36
|
http_version:
|
37
|
-
recorded_at:
|
37
|
+
recorded_at: Wed, 12 Mar 2014 13:31:26 GMT
|
38
38
|
- request:
|
39
39
|
method: post
|
40
|
-
uri: unix:///var/run/docker.sock/v1.
|
40
|
+
uri: unix:///var/run/docker.sock/v1.10/containers/create
|
41
41
|
body:
|
42
42
|
encoding: UTF-8
|
43
43
|
string: "{\"Image\":\"b750fe79269d\",\"Cmd\":[\"touch\",\"/test\"]}"
|
44
44
|
headers:
|
45
45
|
User-Agent:
|
46
|
-
- Swipely/Docker-API 1.
|
46
|
+
- Swipely/Docker-API 1.9.1
|
47
47
|
Content-Type:
|
48
48
|
- application/json
|
49
49
|
response:
|
@@ -54,7 +54,7 @@ http_interactions:
|
|
54
54
|
Content-Type:
|
55
55
|
- application/json
|
56
56
|
Date:
|
57
|
-
-
|
57
|
+
- Wed, 12 Mar 2014 13:31:27 GMT
|
58
58
|
Content-Length:
|
59
59
|
- '90'
|
60
60
|
Connection:
|
@@ -62,18 +62,18 @@ http_interactions:
|
|
62
62
|
body:
|
63
63
|
encoding: UTF-8
|
64
64
|
string: |
|
65
|
-
{"Id":"
|
65
|
+
{"Id":"f68efa48ea8d41a0edade5d966d712133d723c910ef01b96fc3d0a9fbad368fe","Warnings":null}
|
66
66
|
http_version:
|
67
|
-
recorded_at:
|
67
|
+
recorded_at: Wed, 12 Mar 2014 13:31:27 GMT
|
68
68
|
- request:
|
69
69
|
method: post
|
70
|
-
uri: unix:///var/run/docker.sock/v1.
|
70
|
+
uri: unix:///var/run/docker.sock/v1.10/containers/f68efa48ea8d41a0edade5d966d712133d723c910ef01b96fc3d0a9fbad368fe/start
|
71
71
|
body:
|
72
72
|
encoding: UTF-8
|
73
73
|
string: "{}"
|
74
74
|
headers:
|
75
75
|
User-Agent:
|
76
|
-
- Swipely/Docker-API 1.
|
76
|
+
- Swipely/Docker-API 1.9.1
|
77
77
|
Content-Type:
|
78
78
|
- application/json
|
79
79
|
response:
|
@@ -82,7 +82,7 @@ http_interactions:
|
|
82
82
|
message:
|
83
83
|
headers:
|
84
84
|
Date:
|
85
|
-
-
|
85
|
+
- Wed, 12 Mar 2014 13:31:27 GMT
|
86
86
|
Content-Length:
|
87
87
|
- '0'
|
88
88
|
Content-Type:
|
@@ -93,16 +93,16 @@ http_interactions:
|
|
93
93
|
encoding: UTF-8
|
94
94
|
string: ''
|
95
95
|
http_version:
|
96
|
-
recorded_at:
|
96
|
+
recorded_at: Wed, 12 Mar 2014 13:31:27 GMT
|
97
97
|
- request:
|
98
98
|
method: post
|
99
|
-
uri: unix:///var/run/docker.sock/v1.
|
99
|
+
uri: unix:///var/run/docker.sock/v1.10/containers/f68efa48ea8d41a0edade5d966d712133d723c910ef01b96fc3d0a9fbad368fe/wait
|
100
100
|
body:
|
101
101
|
encoding: US-ASCII
|
102
102
|
string: ''
|
103
103
|
headers:
|
104
104
|
User-Agent:
|
105
|
-
- Swipely/Docker-API 1.
|
105
|
+
- Swipely/Docker-API 1.9.1
|
106
106
|
Content-Type:
|
107
107
|
- text/plain
|
108
108
|
response:
|
@@ -113,7 +113,7 @@ http_interactions:
|
|
113
113
|
Content-Type:
|
114
114
|
- application/json
|
115
115
|
Date:
|
116
|
-
-
|
116
|
+
- Wed, 12 Mar 2014 13:31:27 GMT
|
117
117
|
Content-Length:
|
118
118
|
- '17'
|
119
119
|
Connection:
|
@@ -123,16 +123,16 @@ http_interactions:
|
|
123
123
|
string: |
|
124
124
|
{"StatusCode":0}
|
125
125
|
http_version:
|
126
|
-
recorded_at:
|
126
|
+
recorded_at: Wed, 12 Mar 2014 13:31:27 GMT
|
127
127
|
- request:
|
128
128
|
method: post
|
129
|
-
uri: unix:///var/run/docker.sock/v1.
|
129
|
+
uri: unix:///var/run/docker.sock/v1.10/containers/f68efa48ea8d41a0edade5d966d712133d723c910ef01b96fc3d0a9fbad368fe/copy
|
130
130
|
body:
|
131
131
|
encoding: UTF-8
|
132
132
|
string: "{\"Resource\":\"/etc/vim\"}"
|
133
133
|
headers:
|
134
134
|
User-Agent:
|
135
|
-
- Swipely/Docker-API 1.
|
135
|
+
- Swipely/Docker-API 1.9.1
|
136
136
|
Content-Type:
|
137
137
|
- application/json
|
138
138
|
response:
|
@@ -141,7 +141,7 @@ http_interactions:
|
|
141
141
|
message:
|
142
142
|
headers:
|
143
143
|
Date:
|
144
|
-
-
|
144
|
+
- Wed, 12 Mar 2014 13:31:27 GMT
|
145
145
|
Content-Type:
|
146
146
|
- application/octet-stream
|
147
147
|
Connection:
|
@@ -289,5 +289,5 @@ http_interactions:
|
|
289
289
|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
290
290
|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
291
291
|
http_version:
|
292
|
-
recorded_at:
|
292
|
+
recorded_at: Wed, 12 Mar 2014 13:31:27 GMT
|
293
293
|
recorded_with: VCR 2.8.0
|