docker-api 1.12.0 → 1.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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
@@ -0,0 +1,121 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: unix:///var/run/docker.sock/v1.12/containers/create
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: '{"Cmd":["sleep","50"],"Image":"base"}'
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- Swipely/Docker-API 1.11.2
|
12
|
+
Content-Type:
|
13
|
+
- application/json
|
14
|
+
response:
|
15
|
+
status:
|
16
|
+
code: 201
|
17
|
+
message:
|
18
|
+
headers:
|
19
|
+
Content-Type:
|
20
|
+
- application/json
|
21
|
+
Date:
|
22
|
+
- Wed, 25 Jun 2014 20:41:26 GMT
|
23
|
+
Content-Length:
|
24
|
+
- '90'
|
25
|
+
Connection:
|
26
|
+
- close
|
27
|
+
body:
|
28
|
+
encoding: UTF-8
|
29
|
+
string: |
|
30
|
+
{"Id":"37e3d60b08c597de8cd904937039048984906e2e2303d09c0f2e7fa078ea42f1","Warnings":null}
|
31
|
+
http_version:
|
32
|
+
recorded_at: Wed, 25 Jun 2014 22:35:48 GMT
|
33
|
+
- request:
|
34
|
+
method: post
|
35
|
+
uri: unix:///var/run/docker.sock/v1.12/containers/37e3d60b08c597de8cd904937039048984906e2e2303d09c0f2e7fa078ea42f1/start
|
36
|
+
body:
|
37
|
+
encoding: UTF-8
|
38
|
+
string: "{}"
|
39
|
+
headers:
|
40
|
+
User-Agent:
|
41
|
+
- Swipely/Docker-API 1.11.2
|
42
|
+
Content-Type:
|
43
|
+
- application/json
|
44
|
+
response:
|
45
|
+
status:
|
46
|
+
code: 204
|
47
|
+
message:
|
48
|
+
headers:
|
49
|
+
Date:
|
50
|
+
- Wed, 25 Jun 2014 20:41:26 GMT
|
51
|
+
Content-Length:
|
52
|
+
- '0'
|
53
|
+
Content-Type:
|
54
|
+
- text/plain; charset=utf-8
|
55
|
+
Connection:
|
56
|
+
- close
|
57
|
+
body:
|
58
|
+
encoding: UTF-8
|
59
|
+
string: ''
|
60
|
+
http_version:
|
61
|
+
recorded_at: Wed, 25 Jun 2014 22:35:49 GMT
|
62
|
+
- request:
|
63
|
+
method: post
|
64
|
+
uri: unix:///var/run/docker.sock/v1.12/containers/37e3d60b08c597de8cd904937039048984906e2e2303d09c0f2e7fa078ea42f1/pause
|
65
|
+
body:
|
66
|
+
encoding: US-ASCII
|
67
|
+
string: ''
|
68
|
+
headers:
|
69
|
+
User-Agent:
|
70
|
+
- Swipely/Docker-API 1.11.2
|
71
|
+
Content-Type:
|
72
|
+
- text/plain
|
73
|
+
response:
|
74
|
+
status:
|
75
|
+
code: 204
|
76
|
+
message:
|
77
|
+
headers:
|
78
|
+
Date:
|
79
|
+
- Wed, 25 Jun 2014 20:41:26 GMT
|
80
|
+
Content-Length:
|
81
|
+
- '0'
|
82
|
+
Content-Type:
|
83
|
+
- text/plain; charset=utf-8
|
84
|
+
Connection:
|
85
|
+
- close
|
86
|
+
body:
|
87
|
+
encoding: UTF-8
|
88
|
+
string: ''
|
89
|
+
http_version:
|
90
|
+
recorded_at: Wed, 25 Jun 2014 22:35:49 GMT
|
91
|
+
- request:
|
92
|
+
method: get
|
93
|
+
uri: unix:///var/run/docker.sock/v1.12/containers/37e3d60b08c597de8cd904937039048984906e2e2303d09c0f2e7fa078ea42f1/json
|
94
|
+
body:
|
95
|
+
encoding: US-ASCII
|
96
|
+
string: ''
|
97
|
+
headers:
|
98
|
+
User-Agent:
|
99
|
+
- Swipely/Docker-API 1.11.2
|
100
|
+
Content-Type:
|
101
|
+
- text/plain
|
102
|
+
response:
|
103
|
+
status:
|
104
|
+
code: 200
|
105
|
+
message:
|
106
|
+
headers:
|
107
|
+
Content-Type:
|
108
|
+
- application/json
|
109
|
+
Date:
|
110
|
+
- Wed, 25 Jun 2014 20:41:26 GMT
|
111
|
+
Content-Length:
|
112
|
+
- '1612'
|
113
|
+
Connection:
|
114
|
+
- close
|
115
|
+
body:
|
116
|
+
encoding: UTF-8
|
117
|
+
string: |
|
118
|
+
{"Args":["50"],"Config":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":["sleep","50"],"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":null,"Env":null,"ExposedPorts":null,"Hostname":"37e3d60b08c5","Image":"base","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":null,"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Created":"2014-06-25T20:41:26.69598368Z","Driver":"aufs","ExecDriver":"native-0.2","HostConfig":{"Binds":null,"ContainerIDFile":"","Dns":null,"DnsSearch":null,"Links":null,"LxcConf":null,"NetworkMode":"","PortBindings":null,"Privileged":false,"PublishAllPorts":false,"VolumesFrom":null},"HostnamePath":"/mnt/sda1/var/lib/docker/containers/37e3d60b08c597de8cd904937039048984906e2e2303d09c0f2e7fa078ea42f1/hostname","HostsPath":"/mnt/sda1/var/lib/docker/containers/37e3d60b08c597de8cd904937039048984906e2e2303d09c0f2e7fa078ea42f1/hosts","Id":"37e3d60b08c597de8cd904937039048984906e2e2303d09c0f2e7fa078ea42f1","Image":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","MountLabel":"","Name":"/agitated_almeida","NetworkSettings":{"Bridge":"docker0","Gateway":"172.17.42.1","IPAddress":"172.17.0.54","IPPrefixLen":16,"PortMapping":null,"Ports":{}},"Path":"sleep","ProcessLabel":"","ResolvConfPath":"/mnt/sda1/var/lib/docker/containers/37e3d60b08c597de8cd904937039048984906e2e2303d09c0f2e7fa078ea42f1/resolv.conf","State":{"ExitCode":0,"FinishedAt":"0001-01-01T00:00:00Z","Paused":true,"Pid":12110,"Running":true,"StartedAt":"2014-06-25T20:41:26.85527983Z"},"Volumes":{},"VolumesRW":{}}
|
119
|
+
http_version:
|
120
|
+
recorded_at: Wed, 25 Jun 2014 22:35:49 GMT
|
121
|
+
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":["sleep","50"],"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:45:23 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":"0946fcf9582c5d767717ae0894f7265bb4eaaf9ad4522ea42e6d743e7e27777a","Warnings":null}
|
31
31
|
http_version:
|
32
|
-
recorded_at:
|
32
|
+
recorded_at: Thu, 26 Jun 2014 19:45:23 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/0946fcf9582c5d767717ae0894f7265bb4eaaf9ad4522ea42e6d743e7e27777a/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:45:23 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:45:23 GMT
|
62
58
|
- request:
|
63
59
|
method: get
|
64
|
-
uri: unix:///var/run/docker.sock/v1.
|
60
|
+
uri: unix:///var/run/docker.sock/v1.12/containers/json
|
65
61
|
body:
|
66
62
|
encoding: US-ASCII
|
67
63
|
string: ''
|
68
64
|
headers:
|
69
65
|
User-Agent:
|
70
|
-
- Swipely/Docker-API 1.11.
|
66
|
+
- Swipely/Docker-API 1.11.2
|
71
67
|
Content-Type:
|
72
68
|
- text/plain
|
73
69
|
response:
|
@@ -78,28 +74,28 @@ http_interactions:
|
|
78
74
|
Content-Type:
|
79
75
|
- application/json
|
80
76
|
Date:
|
81
|
-
-
|
77
|
+
- Thu, 26 Jun 2014 19:45:23 GMT
|
82
78
|
Content-Length:
|
83
|
-
- '
|
79
|
+
- '411'
|
84
80
|
Connection:
|
85
81
|
- close
|
86
82
|
body:
|
87
83
|
encoding: UTF-8
|
88
84
|
string: |-
|
89
|
-
[{"Command":"sleep 50","Created":
|
90
|
-
,{"Command":"/while","Created":
|
85
|
+
[{"Command":"sleep 50","Created":1403811922,"Id":"0946fcf9582c5d767717ae0894f7265bb4eaaf9ad4522ea42e6d743e7e27777a","Image":"base:latest","Names":["/jovial_leakey"],"Ports":[],"Status":"Up Less than a second"}
|
86
|
+
,{"Command":"/while","Created":1403811778,"Id":"e3ef53f0c6fc463801a85b9c8d9b2fe348600c2e529c59fa0592da739912224d","Image":"41b70f59d9b6","Names":["/sleepy_yonath"],"Ports":[],"Status":"Up 2 minutes"}
|
91
87
|
]
|
92
88
|
http_version:
|
93
|
-
recorded_at:
|
89
|
+
recorded_at: Thu, 26 Jun 2014 19:45:23 GMT
|
94
90
|
- request:
|
95
91
|
method: post
|
96
|
-
uri: unix:///var/run/docker.sock/v1.
|
92
|
+
uri: unix:///var/run/docker.sock/v1.12/containers/0946fcf9582c5d767717ae0894f7265bb4eaaf9ad4522ea42e6d743e7e27777a/stop
|
97
93
|
body:
|
98
94
|
encoding: UTF-8
|
99
95
|
string: '{}'
|
100
96
|
headers:
|
101
97
|
User-Agent:
|
102
|
-
- Swipely/Docker-API 1.11.
|
98
|
+
- Swipely/Docker-API 1.11.2
|
103
99
|
Content-Type:
|
104
100
|
- application/json
|
105
101
|
response:
|
@@ -108,27 +104,23 @@ http_interactions:
|
|
108
104
|
message:
|
109
105
|
headers:
|
110
106
|
Date:
|
111
|
-
-
|
112
|
-
Content-Length:
|
113
|
-
- '0'
|
114
|
-
Content-Type:
|
115
|
-
- text/plain; charset=utf-8
|
107
|
+
- Thu, 26 Jun 2014 19:45:23 GMT
|
116
108
|
Connection:
|
117
109
|
- close
|
118
110
|
body:
|
119
111
|
encoding: UTF-8
|
120
112
|
string: ''
|
121
113
|
http_version:
|
122
|
-
recorded_at:
|
114
|
+
recorded_at: Thu, 26 Jun 2014 19:45:23 GMT
|
123
115
|
- request:
|
124
116
|
method: get
|
125
|
-
uri: unix:///var/run/docker.sock/v1.
|
117
|
+
uri: unix:///var/run/docker.sock/v1.12/containers/json
|
126
118
|
body:
|
127
119
|
encoding: US-ASCII
|
128
120
|
string: ''
|
129
121
|
headers:
|
130
122
|
User-Agent:
|
131
|
-
- Swipely/Docker-API 1.11.
|
123
|
+
- Swipely/Docker-API 1.11.2
|
132
124
|
Content-Type:
|
133
125
|
- text/plain
|
134
126
|
response:
|
@@ -139,27 +131,27 @@ http_interactions:
|
|
139
131
|
Content-Type:
|
140
132
|
- application/json
|
141
133
|
Date:
|
142
|
-
-
|
134
|
+
- Thu, 26 Jun 2014 19:45:23 GMT
|
143
135
|
Content-Length:
|
144
|
-
- '
|
136
|
+
- '201'
|
145
137
|
Connection:
|
146
138
|
- close
|
147
139
|
body:
|
148
140
|
encoding: UTF-8
|
149
141
|
string: |-
|
150
|
-
[{"Command":"/while","Created":
|
142
|
+
[{"Command":"/while","Created":1403811778,"Id":"e3ef53f0c6fc463801a85b9c8d9b2fe348600c2e529c59fa0592da739912224d","Image":"41b70f59d9b6","Names":["/sleepy_yonath"],"Ports":[],"Status":"Up 2 minutes"}
|
151
143
|
]
|
152
144
|
http_version:
|
153
|
-
recorded_at:
|
145
|
+
recorded_at: Thu, 26 Jun 2014 19:45:23 GMT
|
154
146
|
- request:
|
155
147
|
method: post
|
156
|
-
uri: unix:///var/run/docker.sock/v1.
|
148
|
+
uri: unix:///var/run/docker.sock/v1.12/containers/0946fcf9582c5d767717ae0894f7265bb4eaaf9ad4522ea42e6d743e7e27777a/restart?t=10
|
157
149
|
body:
|
158
150
|
encoding: UTF-8
|
159
151
|
string: '{}'
|
160
152
|
headers:
|
161
153
|
User-Agent:
|
162
|
-
- Swipely/Docker-API 1.11.
|
154
|
+
- Swipely/Docker-API 1.11.2
|
163
155
|
Content-Type:
|
164
156
|
- application/json
|
165
157
|
response:
|
@@ -168,27 +160,23 @@ http_interactions:
|
|
168
160
|
message:
|
169
161
|
headers:
|
170
162
|
Date:
|
171
|
-
-
|
172
|
-
Content-Length:
|
173
|
-
- '0'
|
174
|
-
Content-Type:
|
175
|
-
- text/plain; charset=utf-8
|
163
|
+
- Thu, 26 Jun 2014 19:45:23 GMT
|
176
164
|
Connection:
|
177
165
|
- close
|
178
166
|
body:
|
179
167
|
encoding: UTF-8
|
180
168
|
string: ''
|
181
169
|
http_version:
|
182
|
-
recorded_at:
|
170
|
+
recorded_at: Thu, 26 Jun 2014 19:45:23 GMT
|
183
171
|
- request:
|
184
172
|
method: get
|
185
|
-
uri: unix:///var/run/docker.sock/v1.
|
173
|
+
uri: unix:///var/run/docker.sock/v1.12/containers/json
|
186
174
|
body:
|
187
175
|
encoding: US-ASCII
|
188
176
|
string: ''
|
189
177
|
headers:
|
190
178
|
User-Agent:
|
191
|
-
- Swipely/Docker-API 1.11.
|
179
|
+
- Swipely/Docker-API 1.11.2
|
192
180
|
Content-Type:
|
193
181
|
- text/plain
|
194
182
|
response:
|
@@ -199,17 +187,17 @@ http_interactions:
|
|
199
187
|
Content-Type:
|
200
188
|
- application/json
|
201
189
|
Date:
|
202
|
-
-
|
190
|
+
- Thu, 26 Jun 2014 19:45:23 GMT
|
203
191
|
Content-Length:
|
204
|
-
- '
|
192
|
+
- '411'
|
205
193
|
Connection:
|
206
194
|
- close
|
207
195
|
body:
|
208
196
|
encoding: UTF-8
|
209
197
|
string: |-
|
210
|
-
[{"Command":"sleep 50","Created":
|
211
|
-
,{"Command":"/while","Created":
|
198
|
+
[{"Command":"sleep 50","Created":1403811922,"Id":"0946fcf9582c5d767717ae0894f7265bb4eaaf9ad4522ea42e6d743e7e27777a","Image":"base:latest","Names":["/jovial_leakey"],"Ports":[],"Status":"Up Less than a second"}
|
199
|
+
,{"Command":"/while","Created":1403811778,"Id":"e3ef53f0c6fc463801a85b9c8d9b2fe348600c2e529c59fa0592da739912224d","Image":"41b70f59d9b6","Names":["/sleepy_yonath"],"Ports":[],"Status":"Up 2 minutes"}
|
212
200
|
]
|
213
201
|
http_version:
|
214
|
-
recorded_at:
|
202
|
+
recorded_at: Thu, 26 Jun 2014 19:45:23 GMT
|
215
203
|
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":["lol","not","a","real","command"],"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:03 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":"0530e3918db251d9b8a8ecc24c68afe0b5b34f8f9ccf8b58cf61f7a1d7ecbb2c","Warnings":null}
|
31
31
|
http_version:
|
32
|
-
recorded_at:
|
32
|
+
recorded_at: Thu, 26 Jun 2014 19:47:03 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/0530e3918db251d9b8a8ecc24c68afe0b5b34f8f9ccf8b58cf61f7a1d7ecbb2c/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:03 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:03 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/0530e3918db251d9b8a8ecc24c68afe0b5b34f8f9ccf8b58cf61f7a1d7ecbb2c/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:47:03 GMT
|
82
78
|
Content-Length:
|
83
79
|
- '17'
|
84
80
|
Connection:
|
@@ -88,5 +84,5 @@ http_interactions:
|
|
88
84
|
string: |
|
89
85
|
{"StatusCode":1}
|
90
86
|
http_version:
|
91
|
-
recorded_at:
|
87
|
+
recorded_at: Thu, 26 Jun 2014 19:47:03 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":["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:47: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":"382d239647f263158ed32a1117a80698fcc7c2041482f512e953286b617310b2","Warnings":null}
|
31
31
|
http_version:
|
32
|
-
recorded_at:
|
32
|
+
recorded_at: Thu, 26 Jun 2014 19:47: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.12/containers/382d239647f263158ed32a1117a80698fcc7c2041482f512e953286b617310b2/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:09 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:09 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/382d239647f263158ed32a1117a80698fcc7c2041482f512e953286b617310b2/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:47:10 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:47:10 GMT
|
92
88
|
- request:
|
93
89
|
method: post
|
94
|
-
uri: unix:///var/run/docker.sock/v1.
|
90
|
+
uri: unix:///var/run/docker.sock/v1.12/commit?container=382d2396
|
95
91
|
body:
|
96
92
|
encoding: UTF-8
|
97
93
|
string: 'null'
|
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
|
- application/json
|
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:47:11 GMT
|
112
108
|
Content-Length:
|
113
109
|
- '74'
|
114
110
|
Connection:
|
@@ -116,18 +112,18 @@ http_interactions:
|
|
116
112
|
body:
|
117
113
|
encoding: UTF-8
|
118
114
|
string: |
|
119
|
-
{"Id":"
|
115
|
+
{"Id":"d7a1c20ffa414983c3afe003c09080bfe2648932f55d2665e201a32ec0c3896a"}
|
120
116
|
http_version:
|
121
|
-
recorded_at:
|
117
|
+
recorded_at: Thu, 26 Jun 2014 19:47:11 GMT
|
122
118
|
- request:
|
123
119
|
method: post
|
124
|
-
uri: unix:///var/run/docker.sock/v1.
|
120
|
+
uri: unix:///var/run/docker.sock/v1.12/containers/create
|
125
121
|
body:
|
126
122
|
encoding: UTF-8
|
127
|
-
string: '{"Image":"
|
123
|
+
string: '{"Image":"d7a1c20ffa414983c3afe003c09080bfe2648932f55d2665e201a32ec0c3896a","Cmd":["ls"]}'
|
128
124
|
headers:
|
129
125
|
User-Agent:
|
130
|
-
- Swipely/Docker-API 1.11.
|
126
|
+
- Swipely/Docker-API 1.11.2
|
131
127
|
Content-Type:
|
132
128
|
- application/json
|
133
129
|
response:
|
@@ -138,7 +134,7 @@ http_interactions:
|
|
138
134
|
Content-Type:
|
139
135
|
- application/json
|
140
136
|
Date:
|
141
|
-
-
|
137
|
+
- Thu, 26 Jun 2014 19:47:11 GMT
|
142
138
|
Content-Length:
|
143
139
|
- '90'
|
144
140
|
Connection:
|
@@ -146,18 +142,18 @@ http_interactions:
|
|
146
142
|
body:
|
147
143
|
encoding: UTF-8
|
148
144
|
string: |
|
149
|
-
{"Id":"
|
145
|
+
{"Id":"8add5a1b98de19374296941333822b8ecf6f8971f826e5f0ea98e576c9ba0da6","Warnings":null}
|
150
146
|
http_version:
|
151
|
-
recorded_at:
|
147
|
+
recorded_at: Thu, 26 Jun 2014 19:47:11 GMT
|
152
148
|
- request:
|
153
149
|
method: post
|
154
|
-
uri: unix:///var/run/docker.sock/v1.
|
150
|
+
uri: unix:///var/run/docker.sock/v1.12/containers/8add5a1b98de19374296941333822b8ecf6f8971f826e5f0ea98e576c9ba0da6/start
|
155
151
|
body:
|
156
152
|
encoding: UTF-8
|
157
153
|
string: '{}'
|
158
154
|
headers:
|
159
155
|
User-Agent:
|
160
|
-
- Swipely/Docker-API 1.11.
|
156
|
+
- Swipely/Docker-API 1.11.2
|
161
157
|
Content-Type:
|
162
158
|
- application/json
|
163
159
|
response:
|
@@ -166,27 +162,23 @@ http_interactions:
|
|
166
162
|
message:
|
167
163
|
headers:
|
168
164
|
Date:
|
169
|
-
-
|
170
|
-
Content-Length:
|
171
|
-
- '0'
|
172
|
-
Content-Type:
|
173
|
-
- text/plain; charset=utf-8
|
165
|
+
- Thu, 26 Jun 2014 19:47:12 GMT
|
174
166
|
Connection:
|
175
167
|
- close
|
176
168
|
body:
|
177
169
|
encoding: UTF-8
|
178
170
|
string: ''
|
179
171
|
http_version:
|
180
|
-
recorded_at:
|
172
|
+
recorded_at: Thu, 26 Jun 2014 19:47:12 GMT
|
181
173
|
- request:
|
182
174
|
method: post
|
183
|
-
uri: unix:///var/run/docker.sock/v1.
|
175
|
+
uri: unix:///var/run/docker.sock/v1.12/containers/8add5a1b98de19374296941333822b8ecf6f8971f826e5f0ea98e576c9ba0da6/start
|
184
176
|
body:
|
185
177
|
encoding: UTF-8
|
186
178
|
string: '{}'
|
187
179
|
headers:
|
188
180
|
User-Agent:
|
189
|
-
- Swipely/Docker-API 1.11.
|
181
|
+
- Swipely/Docker-API 1.11.2
|
190
182
|
Content-Type:
|
191
183
|
- application/json
|
192
184
|
response:
|
@@ -195,27 +187,23 @@ http_interactions:
|
|
195
187
|
message:
|
196
188
|
headers:
|
197
189
|
Date:
|
198
|
-
-
|
199
|
-
Content-Length:
|
200
|
-
- '0'
|
201
|
-
Content-Type:
|
202
|
-
- text/plain; charset=utf-8
|
190
|
+
- Thu, 26 Jun 2014 19:47:12 GMT
|
203
191
|
Connection:
|
204
192
|
- close
|
205
193
|
body:
|
206
194
|
encoding: UTF-8
|
207
195
|
string: ''
|
208
196
|
http_version:
|
209
|
-
recorded_at:
|
197
|
+
recorded_at: Thu, 26 Jun 2014 19:47:12 GMT
|
210
198
|
- request:
|
211
199
|
method: post
|
212
|
-
uri: unix:///var/run/docker.sock/v1.
|
200
|
+
uri: unix:///var/run/docker.sock/v1.12/containers/8add5a1b98de19374296941333822b8ecf6f8971f826e5f0ea98e576c9ba0da6/wait
|
213
201
|
body:
|
214
202
|
encoding: US-ASCII
|
215
203
|
string: ''
|
216
204
|
headers:
|
217
205
|
User-Agent:
|
218
|
-
- Swipely/Docker-API 1.11.
|
206
|
+
- Swipely/Docker-API 1.11.2
|
219
207
|
Content-Type:
|
220
208
|
- text/plain
|
221
209
|
response:
|
@@ -226,7 +214,7 @@ http_interactions:
|
|
226
214
|
Content-Type:
|
227
215
|
- application/json
|
228
216
|
Date:
|
229
|
-
-
|
217
|
+
- Thu, 26 Jun 2014 19:47:12 GMT
|
230
218
|
Content-Length:
|
231
219
|
- '17'
|
232
220
|
Connection:
|
@@ -236,5 +224,5 @@ http_interactions:
|
|
236
224
|
string: |
|
237
225
|
{"StatusCode":0}
|
238
226
|
http_version:
|
239
|
-
recorded_at:
|
227
|
+
recorded_at: Thu, 26 Jun 2014 19:47:12 GMT
|
240
228
|
recorded_with: VCR 2.9.2
|