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\":[\"pwd\"],\"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:00 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":"febc9d46a787fcb7b774b578708d850960265351a9694060c8cbcf08d9103c17","Warnings":null}
|
31
31
|
http_version:
|
32
|
-
recorded_at:
|
32
|
+
recorded_at: Fri, 28 Feb 2014 21:42:00 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/febc9d46a787fcb7b774b578708d850960265351a9694060c8cbcf08d9103c17/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:02 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:02 GMT
|
62
62
|
- request:
|
63
63
|
method: post
|
64
|
-
uri: unix:///var/run/docker.sock/v1.
|
64
|
+
uri: unix:///var/run/docker.sock/v1.9/containers/febc9d46a787fcb7b774b578708d850960265351a9694060c8cbcf08d9103c17/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.8.4
|
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: Fri, 28 Feb 2014 21:42:02 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.9/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.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:02 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":"e1cb17367cf3237b1a4d2022048077e2632581c2bffdb72fe975d8616a7b65b8","Warnings":null}
|
31
31
|
http_version:
|
32
|
-
recorded_at:
|
32
|
+
recorded_at: Fri, 28 Feb 2014 21:42:02 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/e1cb17367cf3237b1a4d2022048077e2632581c2bffdb72fe975d8616a7b65b8/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:03 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:03 GMT
|
62
62
|
- request:
|
63
63
|
method: post
|
64
|
-
uri: unix:///var/run/docker.sock/v1.
|
64
|
+
uri: unix:///var/run/docker.sock/v1.9/containers/e1cb17367cf3237b1a4d2022048077e2632581c2bffdb72fe975d8616a7b65b8/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.8.4
|
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: Fri, 28 Feb 2014 21:42:03 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.9/containers/create
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
8
|
string: "{\"Cmd\":[\"rm\",\"-rf\",\"/root\"],\"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":"b308381c9274c9c2e398635eeca5988c015268bf7e2a558eee0498e25629adc7","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: post
|
35
|
-
uri: unix:///var/run/docker.sock/v1.
|
35
|
+
uri: unix:///var/run/docker.sock/v1.9/containers/b308381c9274c9c2e398635eeca5988c015268bf7e2a558eee0498e25629adc7/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:41:44 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: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.9/containers/b308381c9274c9c2e398635eeca5988c015268bf7e2a558eee0498e25629adc7/wait
|
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:
|
@@ -78,7 +78,7 @@ http_interactions:
|
|
78
78
|
Content-Type:
|
79
79
|
- application/json
|
80
80
|
Date:
|
81
|
-
-
|
81
|
+
- Fri, 28 Feb 2014 21:41:45 GMT
|
82
82
|
Content-Length:
|
83
83
|
- '17'
|
84
84
|
Connection:
|
@@ -88,16 +88,16 @@ http_interactions:
|
|
88
88
|
string: |
|
89
89
|
{"StatusCode":0}
|
90
90
|
http_version:
|
91
|
-
recorded_at:
|
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.9/containers/b308381c9274c9c2e398635eeca5988c015268bf7e2a558eee0498e25629adc7/changes
|
95
95
|
body:
|
96
96
|
encoding: US-ASCII
|
97
97
|
string: ''
|
98
98
|
headers:
|
99
99
|
User-Agent:
|
100
|
-
- Swipely/Docker-API 1.
|
100
|
+
- Swipely/Docker-API 1.8.4
|
101
101
|
Content-Type:
|
102
102
|
- text/plain
|
103
103
|
response:
|
@@ -105,12 +105,12 @@ http_interactions:
|
|
105
105
|
code: 200
|
106
106
|
message:
|
107
107
|
headers:
|
108
|
+
Content-Type:
|
109
|
+
- application/json
|
108
110
|
Date:
|
109
|
-
-
|
111
|
+
- Fri, 28 Feb 2014 21:41:45 GMT
|
110
112
|
Content-Length:
|
111
113
|
- '85'
|
112
|
-
Content-Type:
|
113
|
-
- text/plain; charset=utf-8
|
114
114
|
Connection:
|
115
115
|
- close
|
116
116
|
body:
|
@@ -121,5 +121,5 @@ http_interactions:
|
|
121
121
|
,{"Kind":2,"Path":"/root"}
|
122
122
|
]
|
123
123
|
http_version:
|
124
|
-
recorded_at:
|
124
|
+
recorded_at: Fri, 28 Feb 2014 21:41:45 GMT
|
125
125
|
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:42:28 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":"0f7e8f41afb349a219839b88f61b6c5cebe684c022214addc0f376518089dfd8","Warnings":null}
|
31
31
|
http_version:
|
32
|
-
recorded_at:
|
32
|
+
recorded_at: Fri, 28 Feb 2014 21:42:28 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/0f7e8f41afb349a219839b88f61b6c5cebe684c022214addc0f376518089dfd8/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:29 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:29 GMT
|
62
62
|
- request:
|
63
63
|
method: post
|
64
|
-
uri: unix:///var/run/docker.sock/v1.
|
64
|
+
uri: unix:///var/run/docker.sock/v1.9/commit?container=0f7e8f41
|
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.8.4
|
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
|
+
- Fri, 28 Feb 2014 21:42:31 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":"19b902b45881e1264844c9056a3cbff21aba8801dce19340a989403521f9ea07"}
|
90
90
|
http_version:
|
91
|
-
recorded_at:
|
91
|
+
recorded_at: Fri, 28 Feb 2014 21:42:31 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.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:42: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":"b29004c45bb59fe16cc8e162e35e19c94616eed780b215e7bbddd32e0111c6e5","Warnings":null}
|
31
31
|
http_version:
|
32
|
-
recorded_at:
|
32
|
+
recorded_at: Fri, 28 Feb 2014 21:42: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.9/containers/b29004c45bb59fe16cc8e162e35e19c94616eed780b215e7bbddd32e0111c6e5/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:32 GMT
|
51
51
|
Content-Length:
|
52
52
|
- '0'
|
53
53
|
Content-Type:
|
@@ -58,118 +58,5 @@ http_interactions:
|
|
58
58
|
encoding: UTF-8
|
59
59
|
string: ''
|
60
60
|
http_version:
|
61
|
-
recorded_at:
|
62
|
-
- request:
|
63
|
-
method: post
|
64
|
-
uri: unix:///var/run/docker.sock/v1.8/commit?container=6f0873d9
|
65
|
-
body:
|
66
|
-
encoding: UTF-8
|
67
|
-
string: 'null'
|
68
|
-
headers:
|
69
|
-
User-Agent:
|
70
|
-
- Swipely/Docker-API 1.7.6
|
71
|
-
Content-Type:
|
72
|
-
- application/json
|
73
|
-
response:
|
74
|
-
status:
|
75
|
-
code: 201
|
76
|
-
message:
|
77
|
-
headers:
|
78
|
-
Content-Type:
|
79
|
-
- application/json
|
80
|
-
Date:
|
81
|
-
- Wed, 12 Feb 2014 17:05:54 GMT
|
82
|
-
Content-Length:
|
83
|
-
- '74'
|
84
|
-
Connection:
|
85
|
-
- close
|
86
|
-
body:
|
87
|
-
encoding: UTF-8
|
88
|
-
string: |
|
89
|
-
{"Id":"dae27da5a73f01eede1699649c42c727651b4311d2ff689810bf22c75c2d2a08"}
|
90
|
-
http_version:
|
91
|
-
recorded_at: Wed, 12 Feb 2014 17:05:54 GMT
|
92
|
-
- request:
|
93
|
-
method: post
|
94
|
-
uri: unix:///var/run/docker.sock/v1.8/containers/create
|
95
|
-
body:
|
96
|
-
encoding: UTF-8
|
97
|
-
string: "{\"Image\":\"dae27da5a73f01eede1699649c42c727651b4311d2ff689810bf22c75c2d2a08\",\"Cmd\":[\"pwd\"]}"
|
98
|
-
headers:
|
99
|
-
User-Agent:
|
100
|
-
- Swipely/Docker-API 1.7.6
|
101
|
-
Content-Type:
|
102
|
-
- application/json
|
103
|
-
response:
|
104
|
-
status:
|
105
|
-
code: 201
|
106
|
-
message:
|
107
|
-
headers:
|
108
|
-
Content-Type:
|
109
|
-
- application/json
|
110
|
-
Date:
|
111
|
-
- Wed, 12 Feb 2014 17:05:54 GMT
|
112
|
-
Content-Length:
|
113
|
-
- '90'
|
114
|
-
Connection:
|
115
|
-
- close
|
116
|
-
body:
|
117
|
-
encoding: UTF-8
|
118
|
-
string: |
|
119
|
-
{"Id":"ccc53890fd4d75f71d0d762ea8f293263abb046cccecf7f2c2fb6c1736c112ab","Warnings":null}
|
120
|
-
http_version:
|
121
|
-
recorded_at: Wed, 12 Feb 2014 17:05:54 GMT
|
122
|
-
- request:
|
123
|
-
method: post
|
124
|
-
uri: unix:///var/run/docker.sock/v1.8/containers/ccc53890fd4d75f71d0d762ea8f293263abb046cccecf7f2c2fb6c1736c112ab/start
|
125
|
-
body:
|
126
|
-
encoding: UTF-8
|
127
|
-
string: "{}"
|
128
|
-
headers:
|
129
|
-
User-Agent:
|
130
|
-
- Swipely/Docker-API 1.7.6
|
131
|
-
Content-Type:
|
132
|
-
- application/json
|
133
|
-
response:
|
134
|
-
status:
|
135
|
-
code: 204
|
136
|
-
message:
|
137
|
-
headers:
|
138
|
-
Date:
|
139
|
-
- Wed, 12 Feb 2014 17:05:54 GMT
|
140
|
-
Content-Length:
|
141
|
-
- '0'
|
142
|
-
Content-Type:
|
143
|
-
- text/plain; charset=utf-8
|
144
|
-
Connection:
|
145
|
-
- close
|
146
|
-
body:
|
147
|
-
encoding: UTF-8
|
148
|
-
string: ''
|
149
|
-
http_version:
|
150
|
-
recorded_at: Wed, 12 Feb 2014 17:05:54 GMT
|
151
|
-
- request:
|
152
|
-
method: post
|
153
|
-
uri: unix:///var/run/docker.sock/v1.8/containers/ccc53890fd4d75f71d0d762ea8f293263abb046cccecf7f2c2fb6c1736c112ab/attach?stderr=true&stdout=true&stream=true
|
154
|
-
body:
|
155
|
-
encoding: US-ASCII
|
156
|
-
string: ''
|
157
|
-
headers:
|
158
|
-
User-Agent:
|
159
|
-
- Swipely/Docker-API 1.7.6
|
160
|
-
Content-Type:
|
161
|
-
- text/plain
|
162
|
-
response:
|
163
|
-
status:
|
164
|
-
code: 200
|
165
|
-
message:
|
166
|
-
headers:
|
167
|
-
Content-Type:
|
168
|
-
- application/vnd.docker.raw-stream
|
169
|
-
body:
|
170
|
-
encoding: UTF-8
|
171
|
-
string: !binary |-
|
172
|
-
AQAAAAAAAAIvCg==
|
173
|
-
http_version:
|
174
|
-
recorded_at: Wed, 12 Feb 2014 17:05:54 GMT
|
61
|
+
recorded_at: Fri, 28 Feb 2014 21:42:32 GMT
|
175
62
|
recorded_with: VCR 2.8.0
|