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":["pwd"],"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:05 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":"91edd209b1419fd60a4da8e31b1d17d4b060400077b6b00cf855004e28e60cd1","Warnings":null}
|
31
31
|
http_version:
|
32
|
-
recorded_at:
|
32
|
+
recorded_at: Thu, 26 Jun 2014 19:44:05 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/91edd209b1419fd60a4da8e31b1d17d4b060400077b6b00cf855004e28e60cd1/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:05 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:05 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/91edd209b1419fd60a4da8e31b1d17d4b060400077b6b00cf855004e28e60cd1/attach?stderr=true&stdout=true&stream=true
|
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:
|
@@ -82,5 +78,5 @@ http_interactions:
|
|
82
78
|
string: !binary |-
|
83
79
|
AQAAAAAAAAIvCg==
|
84
80
|
http_version:
|
85
|
-
recorded_at:
|
81
|
+
recorded_at: Thu, 26 Jun 2014 19:44:05 GMT
|
86
82
|
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":["pwd"],"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:11 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":"f67711bda71de43c2d9998990ee1442023e71ccd30775adcc5e115293351292f","Warnings":null}
|
31
31
|
http_version:
|
32
|
-
recorded_at:
|
32
|
+
recorded_at: Thu, 26 Jun 2014 19:44:11 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/f67711bda71de43c2d9998990ee1442023e71ccd30775adcc5e115293351292f/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:11 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:11 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/f67711bda71de43c2d9998990ee1442023e71ccd30775adcc5e115293351292f/attach?stderr=true&stdout=true&stream=true
|
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:
|
@@ -82,5 +78,5 @@ http_interactions:
|
|
82
78
|
string: !binary |-
|
83
79
|
AQAAAAAAAAIvCg==
|
84
80
|
http_version:
|
85
|
-
recorded_at:
|
81
|
+
recorded_at: Thu, 26 Jun 2014 19:44:11 GMT
|
86
82
|
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":["rm","-rf","/root"],"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:42:39 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":"6fc279ae9f0858a7d0fd877f6df7f81e6487848af95712ec9dd1f12e587d24ce","Warnings":null}
|
31
31
|
http_version:
|
32
|
-
recorded_at:
|
32
|
+
recorded_at: Thu, 26 Jun 2014 19:42:39 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/6fc279ae9f0858a7d0fd877f6df7f81e6487848af95712ec9dd1f12e587d24ce/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:42:39 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:42:39 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/6fc279ae9f0858a7d0fd877f6df7f81e6487848af95712ec9dd1f12e587d24ce/wait
|
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,7 +74,7 @@ http_interactions:
|
|
78
74
|
Content-Type:
|
79
75
|
- application/json
|
80
76
|
Date:
|
81
|
-
-
|
77
|
+
- Thu, 26 Jun 2014 19:42:39 GMT
|
82
78
|
Content-Length:
|
83
79
|
- '17'
|
84
80
|
Connection:
|
@@ -88,16 +84,16 @@ http_interactions:
|
|
88
84
|
string: |
|
89
85
|
{"StatusCode":0}
|
90
86
|
http_version:
|
91
|
-
recorded_at:
|
87
|
+
recorded_at: Thu, 26 Jun 2014 19:42:39 GMT
|
92
88
|
- request:
|
93
89
|
method: get
|
94
|
-
uri: unix:///var/run/docker.sock/v1.
|
90
|
+
uri: unix:///var/run/docker.sock/v1.12/containers/6fc279ae9f0858a7d0fd877f6df7f81e6487848af95712ec9dd1f12e587d24ce/changes
|
95
91
|
body:
|
96
92
|
encoding: US-ASCII
|
97
93
|
string: ''
|
98
94
|
headers:
|
99
95
|
User-Agent:
|
100
|
-
- Swipely/Docker-API 1.11.
|
96
|
+
- Swipely/Docker-API 1.11.2
|
101
97
|
Content-Type:
|
102
98
|
- text/plain
|
103
99
|
response:
|
@@ -108,7 +104,7 @@ http_interactions:
|
|
108
104
|
Content-Type:
|
109
105
|
- application/json
|
110
106
|
Date:
|
111
|
-
-
|
107
|
+
- Thu, 26 Jun 2014 19:42:40 GMT
|
112
108
|
Content-Length:
|
113
109
|
- '28'
|
114
110
|
Connection:
|
@@ -119,5 +115,5 @@ http_interactions:
|
|
119
115
|
[{"Kind":2,"Path":"/root"}
|
120
116
|
]
|
121
117
|
http_version:
|
122
|
-
recorded_at:
|
118
|
+
recorded_at: Thu, 26 Jun 2014 19:42:40 GMT
|
123
119
|
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:47:25 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":"0d8ae14c085366adfbccb7d6b58da0e49988e357be43d9a369843952ff35f5a4","Warnings":null}
|
31
31
|
http_version:
|
32
|
-
recorded_at:
|
32
|
+
recorded_at: Thu, 26 Jun 2014 19:47:25 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/0d8ae14c085366adfbccb7d6b58da0e49988e357be43d9a369843952ff35f5a4/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:47:25 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:47:25 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/commit?container=0d8ae14c
|
65
61
|
body:
|
66
62
|
encoding: UTF-8
|
67
63
|
string: 'null'
|
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:
|
@@ -78,7 +74,7 @@ http_interactions:
|
|
78
74
|
Content-Type:
|
79
75
|
- application/json
|
80
76
|
Date:
|
81
|
-
-
|
77
|
+
- Thu, 26 Jun 2014 19:47:27 GMT
|
82
78
|
Content-Length:
|
83
79
|
- '74'
|
84
80
|
Connection:
|
@@ -86,7 +82,7 @@ http_interactions:
|
|
86
82
|
body:
|
87
83
|
encoding: UTF-8
|
88
84
|
string: |
|
89
|
-
{"Id":"
|
85
|
+
{"Id":"a0c4eb76de43e01915098f7901d9f3556c6653547504bede6de3ac4a0cbeba94"}
|
90
86
|
http_version:
|
91
|
-
recorded_at:
|
87
|
+
recorded_at: Thu, 26 Jun 2014 19:47:27 GMT
|
92
88
|
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:47: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":"7ab57bdc4f66047b1f2b58ae4c4387c82bce8bf1ce9296924b6854765e858da6","Warnings":null}
|
31
31
|
http_version:
|
32
|
-
recorded_at:
|
32
|
+
recorded_at: Thu, 26 Jun 2014 19:47: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.12/containers/7ab57bdc4f66047b1f2b58ae4c4387c82bce8bf1ce9296924b6854765e858da6/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,16 +47,12 @@ 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:47:30 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:47:30 GMT
|
62
58
|
recorded_with: VCR 2.9.2
|