docker-api 1.5.4 → 1.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/README.md +19 -10
- data/docker-api.gemspec +1 -1
- data/lib/docker.rb +14 -7
- data/lib/docker/connection.rb +6 -1
- data/lib/docker/image.rb +6 -5
- data/lib/docker/version.rb +1 -1
- data/spec/docker/connection_spec.rb +14 -6
- data/spec/docker/container_spec.rb +27 -8
- data/spec/docker/image_spec.rb +23 -5
- data/spec/docker_spec.rb +36 -28
- data/spec/vcr/Docker/_info/returns_the_info_as_a_Hash.yml +16 -13
- data/spec/vcr/Docker/_validate_version/when_nothing_is_raised/validate_version_/.yml +16 -13
- data/spec/vcr/Docker/_version/returns_the_version_as_a_Hash.yml +16 -13
- data/spec/vcr/Docker_Container/_all/when_the_HTTP_response_is_a_200/materializes_each_Container_into_a_Docker_Container.yml +120 -211
- data/spec/vcr/Docker_Container/_attach/yields_each_chunk.yml +46 -38
- data/spec/vcr/Docker_Container/_changes/returns_the_changes_as_an_array.yml +65 -53
- data/spec/vcr/Docker_Container/_commit/creates_a_new_Image_from_the_Container_s_changes.yml +50 -41
- data/spec/vcr/Docker_Container/_copy/when_the_file_does_not_exist/raises_an_error.yml +62 -48
- data/spec/vcr/Docker_Container/_copy/when_the_input_is_a_directory/yields_each_chunk_of_the_tarred_directory.yml +194 -119
- data/spec/vcr/Docker_Container/_copy/when_the_input_is_a_file/yields_each_chunk_of_the_tarred_file.yml +127 -52
- data/spec/vcr/Docker_Container/_create/when_the_Container_does_not_yet_exist/when_the_HTTP_request_returns_a_200/sets_the_id.yml +18 -15
- data/spec/vcr/Docker_Container/_delete/deletes_the_container.yml +62 -126
- data/spec/vcr/Docker_Container/_export/yields_each_chunk.yml +49 -66
- data/spec/vcr/Docker_Container/_json/returns_the_description_as_a_Hash.yml +33 -27
- data/spec/vcr/Docker_Container/_kill/kills_the_container.yml +91 -129
- data/spec/vcr/Docker_Container/_restart/restarts_the_container.yml +116 -95
- data/spec/vcr/Docker_Container/_run/when_the_Container_s_command_does_not_return_status_code_of_0/raises_an_error.yml +50 -41
- 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 +135 -109
- data/spec/vcr/Docker_Container/_start/starts_the_container.yml +28 -57
- data/spec/vcr/Docker_Container/_stop/stops_the_container.yml +107 -143
- data/spec/vcr/Docker_Container/_top/returns_the_top_commands_as_an_Array.yml +78 -39
- data/spec/vcr/Docker_Container/_wait/waits_for_the_command_to_finish.yml +50 -41
- data/spec/vcr/Docker_Container/_wait/when_an_argument_is_given/and_a_command_runs_for_too_long/raises_a_ServerError.yml +35 -29
- data/spec/vcr/Docker_Container/_wait/when_an_argument_is_given/sets_the_read_timeout_to_that_amount_of_time.yml +50 -41
- data/spec/vcr/Docker_Image/_all/materializes_each_Image_into_a_Docker_Image.yml +34 -26
- data/spec/vcr/Docker_Image/_build/with_a_valid_Dockerfile/builds_an_image.yml +17 -17
- data/spec/vcr/Docker_Image/_build/with_an_invalid_Dockerfile/throws_a_UnexpectedResponseError.yml +20 -15
- data/spec/vcr/Docker_Image/_create/when_the_Image_does_not_yet_exist_and_the_body_is_a_Hash/sets_the_id.yml +19 -14
- data/spec/vcr/Docker_Image/_history/returns_the_history_of_the_Image.yml +34 -26
- data/spec/vcr/Docker_Image/_insert/inserts_the_url_s_file_into_a_new_Image.yml +134 -95
- data/spec/vcr/Docker_Image/_insert_local/when_the_local_file_does_exist/creates_a_new_Image_that_has_that_file.yml +29 -29
- 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 +30 -30
- data/spec/vcr/Docker_Image/_json/returns_additional_information_about_image_image.yml +34 -26
- data/spec/vcr/Docker_Image/_remove/removes_the_Image.yml +49 -38
- data/spec/vcr/Docker_Image/_run/when_the_argument_is_a_String/splits_the_String_by_spaces_and_creates_a_new_Container.yml +64 -51
- data/spec/vcr/Docker_Image/_run/when_the_argument_is_an_Array/creates_a_new_Container.yml +64 -51
- data/spec/vcr/Docker_Image/_search/materializes_each_Image_into_a_Docker_Image.yml +20 -14
- data/spec/vcr/Docker_Image/_tag/tags_the_image_with_the_repo_name.yml +33 -25
- metadata +29 -54
- data/spec/vcr/Docker_Container/_create/when_the_Container_does_not_yet_exist_and_the_body_is_a_Hash/when_the_HTTP_request_returns_a_200/sets_the_id.yml +0 -30
@@ -2,56 +2,62 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: post
|
5
|
-
uri: http://
|
5
|
+
uri: http://unix/v1.4/containers/create
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
|
-
string: '{"Cmd":["true"],"Image":"base"}'
|
8
|
+
string: ! '{"Cmd":["true"],"Image":"base"}'
|
9
9
|
headers:
|
10
|
-
Content-Type:
|
11
|
-
- text/plain
|
12
10
|
User-Agent:
|
13
|
-
- Swipely/Docker-API 1.
|
11
|
+
- Swipely/Docker-API 1.5.4
|
12
|
+
Content-Type:
|
13
|
+
- application/json
|
14
14
|
response:
|
15
15
|
status:
|
16
16
|
code: 201
|
17
17
|
message: ''
|
18
18
|
headers:
|
19
|
-
|
20
|
-
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
19
|
+
!binary "Q29udGVudC1UeXBl":
|
20
|
+
- !binary |-
|
21
|
+
YXBwbGljYXRpb24vanNvbg==
|
22
|
+
!binary "Q29udGVudC1MZW5ndGg=":
|
23
|
+
- !binary |-
|
24
|
+
NjU=
|
25
|
+
!binary "RGF0ZQ==":
|
26
|
+
- !binary |-
|
27
|
+
TW9uLCAwNyBPY3QgMjAxMyAwMDo0NzoxMyBHTVQ=
|
25
28
|
body:
|
26
|
-
encoding:
|
27
|
-
string: '{"Id":"
|
29
|
+
encoding: US-ASCII
|
30
|
+
string: ! '{"Id":"92c0a16f7ae5","Warnings":["IPv4 forwarding is disabled."]}'
|
28
31
|
http_version:
|
29
|
-
recorded_at:
|
32
|
+
recorded_at: Mon, 07 Oct 2013 00:47:13 GMT
|
30
33
|
- request:
|
31
34
|
method: get
|
32
|
-
uri: http://
|
35
|
+
uri: http://unix/v1.4/containers/92c0a16f7ae5/json
|
33
36
|
body:
|
34
37
|
encoding: US-ASCII
|
35
38
|
string: ''
|
36
39
|
headers:
|
40
|
+
User-Agent:
|
41
|
+
- Swipely/Docker-API 1.5.4
|
37
42
|
Content-Type:
|
38
43
|
- text/plain
|
39
|
-
User-Agent:
|
40
|
-
- Swipely/Docker-API 1.3.1
|
41
44
|
response:
|
42
45
|
status:
|
43
46
|
code: 200
|
44
47
|
message: ''
|
45
48
|
headers:
|
46
|
-
|
47
|
-
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
49
|
+
!binary "Q29udGVudC1UeXBl":
|
50
|
+
- !binary |-
|
51
|
+
YXBwbGljYXRpb24vanNvbg==
|
52
|
+
!binary "Q29udGVudC1MZW5ndGg=":
|
53
|
+
- !binary |-
|
54
|
+
MTEzMg==
|
55
|
+
!binary "RGF0ZQ==":
|
56
|
+
- !binary |-
|
57
|
+
TW9uLCAwNyBPY3QgMjAxMyAwMDo0NzoxMyBHTVQ=
|
52
58
|
body:
|
53
|
-
encoding:
|
54
|
-
string: '{"ID":"
|
59
|
+
encoding: US-ASCII
|
60
|
+
string: ! '{"ID":"92c0a16f7ae5b7e1bef65ae08370c88e90fb17071df512c3a6b2aaba79660a85","Created":"2013-10-06T20:47:13.006008207-04:00","Path":"true","Args":[],"Config":{"Hostname":"92c0a16f7ae5","Domainname":"","User":"","Memory":0,"MemorySwap":0,"CpuShares":0,"AttachStdin":false,"AttachStdout":false,"AttachStderr":false,"PortSpecs":null,"Tty":false,"OpenStdin":false,"StdinOnce":false,"Env":null,"Cmd":["true"],"Dns":null,"Image":"base","Volumes":null,"VolumesFrom":"","WorkingDir":"","Entrypoint":null,"NetworkDisabled":false,"Privileged":false},"State":{"Running":false,"Pid":0,"ExitCode":0,"StartedAt":"0001-01-01T00:00:00Z","Ghost":false},"Image":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","NetworkSettings":{"IPAddress":"","IPPrefixLen":0,"Gateway":"","Bridge":"","PortMapping":null},"SysInitPath":"/usr/bin/docker","ResolvConfPath":"/etc/resolv.conf","HostnamePath":"/var/lib/docker/containers/92c0a16f7ae5b7e1bef65ae08370c88e90fb17071df512c3a6b2aaba79660a85/hostname","HostsPath":"/var/lib/docker/containers/92c0a16f7ae5b7e1bef65ae08370c88e90fb17071df512c3a6b2aaba79660a85/hosts","Volumes":null,"VolumesRW":null}'
|
55
61
|
http_version:
|
56
|
-
recorded_at:
|
57
|
-
recorded_with: VCR 2.
|
62
|
+
recorded_at: Mon, 07 Oct 2013 00:47:13 GMT
|
63
|
+
recorded_with: VCR 2.6.0
|
@@ -2,186 +2,148 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: post
|
5
|
-
uri: http://
|
5
|
+
uri: http://unix/v1.4/containers/create
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
|
-
string: '{"Cmd":["ls"],"Image":"base"}'
|
8
|
+
string: ! '{"Cmd":["ls"],"Image":"base"}'
|
9
9
|
headers:
|
10
|
-
Content-Type:
|
11
|
-
- text/plain
|
12
10
|
User-Agent:
|
13
|
-
- Swipely/Docker-API 1.
|
11
|
+
- Swipely/Docker-API 1.5.4
|
12
|
+
Content-Type:
|
13
|
+
- application/json
|
14
14
|
response:
|
15
15
|
status:
|
16
16
|
code: 201
|
17
17
|
message: ''
|
18
18
|
headers:
|
19
|
-
|
20
|
-
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
19
|
+
!binary "Q29udGVudC1UeXBl":
|
20
|
+
- !binary |-
|
21
|
+
YXBwbGljYXRpb24vanNvbg==
|
22
|
+
!binary "Q29udGVudC1MZW5ndGg=":
|
23
|
+
- !binary |-
|
24
|
+
NjU=
|
25
|
+
!binary "RGF0ZQ==":
|
26
|
+
- !binary |-
|
27
|
+
TW9uLCAwNyBPY3QgMjAxMyAwMDo0NzoyMiBHTVQ=
|
25
28
|
body:
|
26
|
-
encoding:
|
27
|
-
string: '{"Id":"
|
29
|
+
encoding: US-ASCII
|
30
|
+
string: ! '{"Id":"7bf405f5e6fb","Warnings":["IPv4 forwarding is disabled."]}'
|
28
31
|
http_version:
|
29
|
-
recorded_at:
|
32
|
+
recorded_at: Mon, 07 Oct 2013 00:47:22 GMT
|
30
33
|
- request:
|
31
34
|
method: post
|
32
|
-
uri: http://
|
35
|
+
uri: http://unix/v1.4/containers/7bf405f5e6fb/kill
|
33
36
|
body:
|
34
|
-
encoding:
|
35
|
-
string: ''
|
37
|
+
encoding: UTF-8
|
38
|
+
string: ! '{}'
|
36
39
|
headers:
|
37
|
-
Content-Type:
|
38
|
-
- text/plain
|
39
40
|
User-Agent:
|
40
|
-
- Swipely/Docker-API 1.
|
41
|
+
- Swipely/Docker-API 1.5.4
|
42
|
+
Content-Type:
|
43
|
+
- application/json
|
41
44
|
response:
|
42
45
|
status:
|
43
46
|
code: 204
|
44
47
|
message: ''
|
45
48
|
headers:
|
46
|
-
|
47
|
-
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
49
|
+
!binary "Q29udGVudC1UeXBl":
|
50
|
+
- !binary |-
|
51
|
+
dGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOA==
|
52
|
+
!binary "Q29udGVudC1MZW5ndGg=":
|
53
|
+
- !binary |-
|
54
|
+
MA==
|
55
|
+
!binary "RGF0ZQ==":
|
56
|
+
- !binary |-
|
57
|
+
TW9uLCAwNyBPY3QgMjAxMyAwMDo0NzoyMiBHTVQ=
|
52
58
|
body:
|
53
|
-
encoding:
|
59
|
+
encoding: US-ASCII
|
54
60
|
string: ''
|
55
61
|
http_version:
|
56
|
-
recorded_at:
|
62
|
+
recorded_at: Mon, 07 Oct 2013 00:47:22 GMT
|
57
63
|
- request:
|
58
64
|
method: get
|
59
|
-
uri: http://
|
65
|
+
uri: http://unix/v1.4/containers/json
|
60
66
|
body:
|
61
67
|
encoding: US-ASCII
|
62
68
|
string: ''
|
63
69
|
headers:
|
70
|
+
User-Agent:
|
71
|
+
- Swipely/Docker-API 1.5.4
|
64
72
|
Content-Type:
|
65
73
|
- text/plain
|
66
|
-
User-Agent:
|
67
|
-
- Swipely/Docker-API 1.3.1
|
68
74
|
response:
|
69
75
|
status:
|
70
76
|
code: 200
|
71
77
|
message: ''
|
72
78
|
headers:
|
73
|
-
|
74
|
-
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
+
!binary "Q29udGVudC1UeXBl":
|
80
|
+
- !binary |-
|
81
|
+
YXBwbGljYXRpb24vanNvbg==
|
82
|
+
!binary "Q29udGVudC1MZW5ndGg=":
|
83
|
+
- !binary |-
|
84
|
+
Mg==
|
85
|
+
!binary "RGF0ZQ==":
|
86
|
+
- !binary |-
|
87
|
+
TW9uLCAwNyBPY3QgMjAxMyAwMDo0NzoyMiBHTVQ=
|
79
88
|
body:
|
80
|
-
encoding:
|
81
|
-
string: '[]'
|
89
|
+
encoding: US-ASCII
|
90
|
+
string: ! '[]'
|
82
91
|
http_version:
|
83
|
-
recorded_at:
|
92
|
+
recorded_at: Mon, 07 Oct 2013 00:47:22 GMT
|
84
93
|
- request:
|
85
94
|
method: get
|
86
|
-
uri: http://
|
95
|
+
uri: http://unix/v1.4/containers/json?all=true
|
87
96
|
body:
|
88
97
|
encoding: US-ASCII
|
89
98
|
string: ''
|
90
99
|
headers:
|
100
|
+
User-Agent:
|
101
|
+
- Swipely/Docker-API 1.5.4
|
91
102
|
Content-Type:
|
92
103
|
- text/plain
|
93
|
-
User-Agent:
|
94
|
-
- Swipely/Docker-API 1.3.1
|
95
104
|
response:
|
96
105
|
status:
|
97
106
|
code: 200
|
98
107
|
message: ''
|
99
108
|
headers:
|
100
|
-
|
101
|
-
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
109
|
+
!binary "Q29udGVudC1UeXBl":
|
110
|
+
- !binary |-
|
111
|
+
YXBwbGljYXRpb24vanNvbg==
|
112
|
+
!binary "RGF0ZQ==":
|
113
|
+
- !binary |-
|
114
|
+
TW9uLCAwNyBPY3QgMjAxMyAwMDo0NzoyMiBHTVQ=
|
115
|
+
!binary "VHJhbnNmZXItRW5jb2Rpbmc=":
|
116
|
+
- !binary |-
|
117
|
+
Y2h1bmtlZA==
|
106
118
|
body:
|
107
|
-
encoding:
|
108
|
-
string: '[{"Id":"
|
109
|
-
","Created":
|
110
|
-
","Created":
|
111
|
-
","Created":
|
112
|
-
","Created":
|
113
|
-
-rf / --no-preserve-root","Created":
|
114
|
-
|
115
|
-
","Created":
|
116
|
-
|
117
|
-
/
|
118
|
-
/","Created":
|
119
|
-
|
120
|
-
0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"
|
121
|
-
","Created":
|
122
|
-
","Created":
|
123
|
-
","Created":
|
124
|
-
","Created":
|
125
|
-
","Created":
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
","Created":
|
132
|
-
","Created":
|
133
|
-
","Created":
|
134
|
-
","Created":
|
135
|
-
-rf / --no-preserve-root","Created":1375894139,"Status":"Exit 1","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"eb68e13fb678b59cc38c2bd5790b18ef6bf6ce78c0e41e27f215fe260cbaf38d","Image":"base2:latest","Command":"rm
|
136
|
-
-rf /root","Created":1375894139,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"4df1d1b90929f2f8cc37889afeb526a0d7d8e7ca74a599d2cd61fce19d8af6d8","Image":"base2:latest","Command":"true
|
137
|
-
","Created":1375894139,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"3a3d259236331666e5713a3142a2827aeb03fea7c6cd9d675b216a75a6bb0dd1","Image":"base2:latest","Command":"rm
|
138
|
-
-rf /root","Created":1375891315,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"4767d6043328ad1b0e6f2a0ceb63c5bd78003a1ac9912fbf8ef976bd5dce6000","Image":"base2:latest","Command":"/bin/sh
|
139
|
-
-c rm -rf /root","Created":1375891241,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"e6733b0b48f8b9f5e2706bbafe56736fdf8d66c1f1946489c35a08a35d6e53f6","Image":"base2:latest","Command":"pwd
|
140
|
-
","Created":1375890792,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"7df85ea5aa2995b3f92eb93768461cc10bbbd8f6ed34a4b3d517637ef2679485","Image":"base2:latest","Command":"which
|
141
|
-
pwd","Created":1375890059,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"d78de7d782e78be897fa99458fd00dc9ea473109fcd24a0693f9093735e7b41c","Image":"base2:latest","Command":"ls
|
142
|
-
/lib64/","Created":1375890057,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"79d4ae84d84a4d05eb74e40704f0a410ccd7c4ca854c659112af985f6604aec1","Image":"ea96e006d00c","Command":"ls
|
143
|
-
/","Created":1375890051,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"9828255e8e92561b85124acdc41a098b89af57b8c4d12eaf1b22c611c30eb9ed","Image":"base2:latest","Command":"echo
|
144
|
-
insert http://stallman.org /stallman","Created":1375890050,"Status":"Exit
|
145
|
-
0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"237478db500f2e2821ec2987160bce59b5d5eca4e0efe5cf4dcc6666bff7787f","Image":"base2:latest","Command":"ls
|
146
|
-
","Created":1375890046,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"9613b519c6487f3d2775caa4a44d63388222bcdebdea26e027f9cb3262d302db","Image":"base2:latest","Command":"date
|
147
|
-
","Created":1375890046,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"963140b97bb571bff5b64748af1ea3450e2440a36e11cb0b35a5071685a54e05","Image":"base2:latest","Command":"true
|
148
|
-
","Created":1375890046,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"923fcaa31245e030d41a348d870342a152905f0b78547ddbe7a966fcfbfafe4a","Image":"3fdce89c662f","Command":"ls
|
149
|
-
","Created":1375890046,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"6aa794eb15a6545a328e1d790124d91d26dc25ece6abd37c7cf3098544df2d55","Image":"base2:latest","Command":"pwd
|
150
|
-
","Created":1375890045,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"4a2b95ad1d8f7e156deec8cbd19a3eee58d96fd9b2837e35b21c408edee07248","Image":"base2:latest","Command":"lol
|
151
|
-
not a real command","Created":1375890045,"Status":"Exit 127","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"151697f98ee848c55ef96173a27b3aafe337d09c6657b5fbb9bfaa03d48af15c","Image":"base2:latest","Command":"sleep
|
152
|
-
5","Created":1375890045,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"0ce91d722a264f25a18c3c340092d9f5db305d9fefe37c597104572100e34cde","Image":"base2:latest","Command":"sleep
|
153
|
-
5","Created":1375890040,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"88675033704ce895377364f7853afd2ee5956e44c295ef014b665f1b1e8c2814","Image":"base2:latest","Command":"tar
|
154
|
-
nonsense","Created":1375890039,"Status":"Exit 64","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"990e511b3a02b07b5dd6dd911fa411896d9e3ed924ade94706f2c938ff82ea39","Image":"base2:latest","Command":"sleep
|
155
|
-
50","Created":1375890029,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"4706f87c9f4f51bfbf455e21016a810a642fb695188411da9359ada779baee0c","Image":"base2:latest","Command":"ls
|
156
|
-
","Created":1375890029,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"7e5674e2054db019ec8755e742d4d2a7a38c3a6f4f3914dcc31784c6df902e85","Image":"base2:latest","Command":"true
|
157
|
-
","Created":1375890029,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"9c8c25bd6011a1edb9c19b0e0f21ea9c851b0750f34e474f4d7a12903231b2f0","Image":"base2:latest","Command":"true
|
158
|
-
","Created":1375890029,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"480e6d7a543e91f31c43e34031bef39c48762f7f6243463688fe2e47b5e45a88","Image":"base2:latest","Command":"uname
|
159
|
-
-r","Created":1375890029,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"7f7e82d95bb4ec3ae4e3de3fc6ab2c55252f044baf3c3cd549be49e419a05ca5","Image":"base2:latest","Command":"rm
|
160
|
-
-rf / --no-preserve-root","Created":1375890027,"Status":"Exit 1","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"91928a69831d95021b2eb49f63003597771a18aebb82046ef0524e2669a9328e","Image":"base2:latest","Command":"true
|
161
|
-
","Created":1375890027,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"6043a6dbce22ce06004a941a1dc9a1252dee6f35497bd0619f67f3230642b9ca","Image":"base2:latest","Command":"true
|
162
|
-
","Created":1375890027,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"90201367dfc862df2cc20781ee6695a0c41780d72f93eb6d660ebc85c7e418eb","Image":"base2:latest","Command":"which
|
163
|
-
pwd","Created":1374855178,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"8f5a777b3d941ff04685a05a8742d8114248997cae6851b41c2d6ea583e07585","Image":"base2:latest","Command":"ls
|
164
|
-
/lib64/","Created":1374855177,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"e7aa11468936aa5c69cb075522490d6303a6bb902d495d7443a1448ea553346b","Image":"31cc782331e9","Command":"ls
|
165
|
-
/","Created":1374855171,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"1418f2e8b032b4c1565ecb071aafbb8f219e3ec852c3d1c9a7ca3961809716d5","Image":"base2:latest","Command":"echo
|
166
|
-
insert http://stallman.org /stallman","Created":1374855170,"Status":"Exit
|
167
|
-
0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"d5d71ea48805b02c3eae5e3c507ea7b478c668e2f2f33213f0e0d238d98ee330","Image":"base2:latest","Command":"ls
|
168
|
-
","Created":1374855082,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"c1ad9ade3ee2e3945f3623341b1e1b4197d4ab7b1f1e6deb4a7be1ae67cb93e5","Image":"base2:latest","Command":"date
|
169
|
-
","Created":1374855082,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"8365aaf7629a9d51fc831fe5ec9c04aeef0012411ae4653f3dc1be48edbb0725","Image":"base2:latest","Command":"true
|
170
|
-
","Created":1374855082,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"3663ad5661d91fae12b67219de41fd8d9b607c75588568a93b3fd66434314a23","Image":"a7e4813cedd1","Command":"ls
|
171
|
-
","Created":1374855082,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"f9679f5588f084b1df199573979fdf1bc03d1f14a0f225773b1a6e87f18136f8","Image":"base2:latest","Command":"pwd
|
172
|
-
","Created":1374855082,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"c854d4cd92ca4db695209cc7015c84a609ef14429f2188ea9b5e3237d3c3a136","Image":"base2:latest","Command":"lol
|
173
|
-
not a real command","Created":1374855081,"Status":"Exit 127","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"2acbe41c2c3c9632a606427aa907e24af4b7ba15a3e50b9cf34ea28e1797458b","Image":"base2:latest","Command":"sleep
|
174
|
-
5","Created":1374855081,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"8f951f4e643899fb9ef75376961bffaea4bdffe7277bec99d4c08184790af264","Image":"base2:latest","Command":"sleep
|
175
|
-
5","Created":1374855076,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"ccc138464e03af407af017027a11697f4f3e55370d53d27062d530e39b85d5cb","Image":"base2:latest","Command":"tar
|
176
|
-
nonsense","Created":1374855075,"Status":"Exit 64","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"5086540c2501795c0b7cdb7b7bbacdeadd65b3f32df7a030a835c6e28bd329ff","Image":"base2:latest","Command":"sleep
|
177
|
-
50","Created":1374855065,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"348121471d9c3fbbb7f95a41d58184e8cfe316160544d8e9fd2cc54c09199c96","Image":"base2:latest","Command":"ls
|
178
|
-
","Created":1374855065,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"bcd6004f227795922b875619bbbc0db53490ee3dac0487bc3d68fb3abb0a4943","Image":"base2:latest","Command":"true
|
179
|
-
","Created":1374855065,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"9fd9abedfc616a79e590a93629167d7350aff8df06b6d0f88ccaf75da6dd482a","Image":"base2:latest","Command":"true
|
180
|
-
","Created":1374855065,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"6cd83a35b3931071d198ef4c9f4c8a2db710a5143d847c562191904922855dcd","Image":"base2:latest","Command":"uname
|
181
|
-
-r","Created":1374855065,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"3b11b31217836ccf55b9df7ac666f5bf6cae2ba6a24116c9b7230fb69e45dbbf","Image":"base2:latest","Command":"rm
|
182
|
-
-rf / --no-preserve-root","Created":1374855062,"Status":"Exit 1","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"82879e0a9b1e718a0bb8b6bbad3574f01c0fa6c55e12f795a1dbcba812851b2c","Image":"base2:latest","Command":"true
|
183
|
-
","Created":1374855061,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"714ae4978ddf85b1795471163e9d6595c098cc42417b6bcb34c190e5c5d268df","Image":"base2:latest","Command":"true
|
184
|
-
","Created":1374855061,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0}]'
|
119
|
+
encoding: US-ASCII
|
120
|
+
string: ! '[{"Id":"7bf405f5e6fb22c495316077dc7d3b25fe89d508319b66a4a95e7307798dd84a","Image":"base:latest","Command":"ls
|
121
|
+
","Created":1381106842,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"b5691a48ef64433160a6219e3347cd41ed6240b9a7e79bdc90d1b60e22b5310a","Image":"base:latest","Command":"true
|
122
|
+
","Created":1381106841,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"4519385a528a788dce0728ed1baff4f929cc7fda10b77edeac22418b7ed4f0ad","Image":"base:latest","Command":"test
|
123
|
+
-d /foo","Created":1381106841,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"f401329d4fd9fdfea6a1f469f4520f5ce6c7a9e69c28f02fc43636a6290a37ed","Image":"base:latest","Command":"pwd
|
124
|
+
","Created":1381106840,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"cfb96be8490d42fe733cdf0d8e9ff682170591b9f25f6629bc5817fcb3e18745","Image":"base:latest","Command":"rm
|
125
|
+
-rf / --no-preserve-root","Created":1381106839,"Status":"Exit 1","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"fb0f786f06056afb6dcb2cf5ece6e1b6a6544780b030619eb7b0f97b6156636b","Image":"base:latest","Command":"ls
|
126
|
+
","Created":1381106839,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"6082b8bb44b4bb2a9156fdaf612c9e9c36cff44c3713ac9bb7c52cbae283d5a9","Image":"base:latest","Command":"ls
|
127
|
+
","Created":1381106837,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"0b545bc9f0f0f207207b62f7f19ea1c3e3d93993aefa38e14c66f06ce5559279","Image":"base:latest","Command":"ls
|
128
|
+
","Created":1381106835,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"a48a01e35c11a17d3554c2bba3cbda19058f36a057957c6349125bdc78f8a8a7","Image":"base:latest","Command":"find
|
129
|
+
/ -name ''*''","Created":1381106833,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"3aecf08d8d31d3e0c39dea5406011006558f88150763cf60e1b8765af4cc0b60","Image":"base:latest","Command":"rm
|
130
|
+
-rf /root","Created":1381106833,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"92c0a16f7ae5b7e1bef65ae08370c88e90fb17071df512c3a6b2aaba79660a85","Image":"base:latest","Command":"true
|
131
|
+
","Created":1381106833,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"549668c1c28b1ad827cc3404a675a3391123964c3fc802a11f1612c2eb9cec36","Image":"base:latest","Command":"true
|
132
|
+
","Created":1381106696,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"d6649215449a197bbbc187a5e93790eaf170e4b379e28a0337feef8322d5a282","Image":"jbgi/arch-base:latest","Command":"/bin/sh
|
133
|
+
-lc ping tlunter.com","Created":1375557384,"Status":"Exit 2","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"69591ebe41657405c64a48a31d0a2df2cf1ff9ea1b1cf9714175d3e6cc67ea36","Image":"jbgi/arch-base:latest","Command":"/bin/sh
|
134
|
+
-lc ping tlunter.com","Created":1375557372,"Status":"Exit 255","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"704f0cb84b6eff28f052491552d3633c331a746f563cb5bb023bc282b160fb4d","Image":"jbgi/arch-base:latest","Command":"/bin/sh
|
135
|
+
-lc ping tlunter.com","Created":1375556720,"Status":"Exit 2","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"1b3a69caf5fca0fec4a379b03e0be9e80ba17070b723746378320a8008204651","Image":"jbgi/arch-base:latest","Command":"/bin/sh
|
136
|
+
-lc ping tlunter.com","Created":1375556426,"Status":"Exit 2","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"d505d659d2db270faafe0f0e95f7713aff64d3d453a28d6bc182821efd294227","Image":"jbgi/arch-base:latest","Command":"/bin/sh
|
137
|
+
-lc which ping","Created":1375556419,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"f476389ebc0169584d7afd8eda7d5abd3b86b80dc2dab1964418289b38112c16","Image":"jbgi/arch-base:latest","Command":"/bin/sh
|
138
|
+
-lc ls && ping google.com","Created":1375556408,"Status":"Exit 2","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"c31d70d336b7604ef5ef50e731c6a66b2f8217ca80716cce0fe2402dd60030a5","Image":"jbgi/arch-base:latest","Command":"/bin/sh
|
139
|
+
-lc ls","Created":1375556402,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"5804cf327f8edc031eb0169ac3c436629a4bfd16a873991234705be03561ea7e","Image":"jbgi/arch-base:latest","Command":"/bin/sh
|
140
|
+
-lc ping google.com","Created":1375556382,"Status":"Exit 2","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"6ade424558f79beb13249a860cfeb6181ddc5c8c4a1c679ffcb97df80eca971d","Image":"jbgi/arch-base:latest","Command":"/bin/sh
|
141
|
+
-lc ip addr","Created":1375556375,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"dcab42058c9912fdf00152e560844c81633e22cd867866668566d9846e68ff7f","Image":"jbgi/arch-base:latest","Command":"/bin/sh
|
142
|
+
-lc ip addr","Created":1375556346,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"d7ddbde44c7f39f0bd5d390fc3749deb1493496caabcb094f19c5d43505b3332","Image":"jbgi/arch-base:latest","Command":"/bin/sh
|
143
|
+
-lc pacman -Syu","Created":1375556330,"Status":"Exit -127","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"1617294e19c3b56f936165a44106550eba167585e95588ca53be18f13cc3871b","Image":"jbgi/arch-base:latest","Command":"/bin/bash
|
144
|
+
","Created":1375556154,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"7bac043a74338151d1a3d991132687705d2a6cc8d1377ffbfeb92b04eb2201b0","Image":"jbgi/arch-base:latest","Command":"/bin/bash
|
145
|
+
","Created":1375556101,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"aba819a380a1e95ba68516d72c3c7483a316dbb180401595a9dadbb1322ef1b6","Image":"jbgi/arch-base:latest","Command":"/bin/bash
|
146
|
+
","Created":1375556096,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0}]'
|
185
147
|
http_version:
|
186
|
-
recorded_at:
|
187
|
-
recorded_with: VCR 2.
|
148
|
+
recorded_at: Mon, 07 Oct 2013 00:47:22 GMT
|
149
|
+
recorded_with: VCR 2.6.0
|
@@ -2,193 +2,214 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: post
|
5
|
-
uri: http://
|
5
|
+
uri: http://unix/v1.4/containers/create
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
|
-
string: '{"Cmd":["sleep","50"],"Image":"base"}'
|
8
|
+
string: ! '{"Cmd":["sleep","50"],"Image":"base"}'
|
9
9
|
headers:
|
10
|
-
Content-Type:
|
11
|
-
- text/plain
|
12
10
|
User-Agent:
|
13
|
-
- Swipely/Docker-API 1.
|
11
|
+
- Swipely/Docker-API 1.5.4
|
12
|
+
Content-Type:
|
13
|
+
- application/json
|
14
14
|
response:
|
15
15
|
status:
|
16
16
|
code: 201
|
17
17
|
message: ''
|
18
18
|
headers:
|
19
|
-
|
20
|
-
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
19
|
+
!binary "Q29udGVudC1UeXBl":
|
20
|
+
- !binary |-
|
21
|
+
YXBwbGljYXRpb24vanNvbg==
|
22
|
+
!binary "Q29udGVudC1MZW5ndGg=":
|
23
|
+
- !binary |-
|
24
|
+
NjU=
|
25
|
+
!binary "RGF0ZQ==":
|
26
|
+
- !binary |-
|
27
|
+
TW9uLCAwNyBPY3QgMjAxMyAwMDo0NzoyMiBHTVQ=
|
25
28
|
body:
|
26
|
-
encoding:
|
27
|
-
string: '{"Id":"
|
29
|
+
encoding: US-ASCII
|
30
|
+
string: ! '{"Id":"fb0967fb2ba3","Warnings":["IPv4 forwarding is disabled."]}'
|
28
31
|
http_version:
|
29
|
-
recorded_at:
|
32
|
+
recorded_at: Mon, 07 Oct 2013 00:47:22 GMT
|
30
33
|
- request:
|
31
34
|
method: post
|
32
|
-
uri: http://
|
35
|
+
uri: http://unix/v1.4/containers/fb0967fb2ba3/start
|
33
36
|
body:
|
34
|
-
encoding:
|
35
|
-
string: ''
|
37
|
+
encoding: UTF-8
|
38
|
+
string: ! '{}'
|
36
39
|
headers:
|
37
|
-
Content-Type:
|
38
|
-
- text/plain
|
39
40
|
User-Agent:
|
40
|
-
- Swipely/Docker-API 1.
|
41
|
+
- Swipely/Docker-API 1.5.4
|
42
|
+
Content-Type:
|
43
|
+
- application/json
|
41
44
|
response:
|
42
45
|
status:
|
43
46
|
code: 204
|
44
47
|
message: ''
|
45
48
|
headers:
|
46
|
-
|
47
|
-
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
49
|
+
!binary "Q29udGVudC1UeXBl":
|
50
|
+
- !binary |-
|
51
|
+
dGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOA==
|
52
|
+
!binary "Q29udGVudC1MZW5ndGg=":
|
53
|
+
- !binary |-
|
54
|
+
MA==
|
55
|
+
!binary "RGF0ZQ==":
|
56
|
+
- !binary |-
|
57
|
+
TW9uLCAwNyBPY3QgMjAxMyAwMDo0NzoyMiBHTVQ=
|
52
58
|
body:
|
53
|
-
encoding:
|
59
|
+
encoding: US-ASCII
|
54
60
|
string: ''
|
55
61
|
http_version:
|
56
|
-
recorded_at:
|
62
|
+
recorded_at: Mon, 07 Oct 2013 00:47:22 GMT
|
57
63
|
- request:
|
58
64
|
method: get
|
59
|
-
uri: http://
|
65
|
+
uri: http://unix/v1.4/containers/json
|
60
66
|
body:
|
61
67
|
encoding: US-ASCII
|
62
68
|
string: ''
|
63
69
|
headers:
|
70
|
+
User-Agent:
|
71
|
+
- Swipely/Docker-API 1.5.4
|
64
72
|
Content-Type:
|
65
73
|
- text/plain
|
66
|
-
User-Agent:
|
67
|
-
- Swipely/Docker-API 1.3.1
|
68
74
|
response:
|
69
75
|
status:
|
70
76
|
code: 200
|
71
77
|
message: ''
|
72
78
|
headers:
|
73
|
-
|
74
|
-
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
+
!binary "Q29udGVudC1UeXBl":
|
80
|
+
- !binary |-
|
81
|
+
YXBwbGljYXRpb24vanNvbg==
|
82
|
+
!binary "Q29udGVudC1MZW5ndGg=":
|
83
|
+
- !binary |-
|
84
|
+
MjA5
|
85
|
+
!binary "RGF0ZQ==":
|
86
|
+
- !binary |-
|
87
|
+
TW9uLCAwNyBPY3QgMjAxMyAwMDo0NzoyMiBHTVQ=
|
79
88
|
body:
|
80
|
-
encoding:
|
81
|
-
string: '[{"Id":"
|
82
|
-
50","Created":
|
89
|
+
encoding: US-ASCII
|
90
|
+
string: ! '[{"Id":"fb0967fb2ba3f9db4b468f6a70ca832f3b26d72fab3ef704d55416c7952c5d19","Image":"base:latest","Command":"sleep
|
91
|
+
50","Created":1381106842,"Status":"Up Less than a second","Ports":"","SizeRw":0,"SizeRootFs":0}]'
|
83
92
|
http_version:
|
84
|
-
recorded_at:
|
93
|
+
recorded_at: Mon, 07 Oct 2013 00:47:22 GMT
|
85
94
|
- request:
|
86
95
|
method: post
|
87
|
-
uri: http://
|
96
|
+
uri: http://unix/v1.4/containers/fb0967fb2ba3/stop
|
88
97
|
body:
|
89
|
-
encoding:
|
90
|
-
string: ''
|
98
|
+
encoding: UTF-8
|
99
|
+
string: ! '{}'
|
91
100
|
headers:
|
92
|
-
Content-Type:
|
93
|
-
- text/plain
|
94
101
|
User-Agent:
|
95
|
-
- Swipely/Docker-API 1.
|
102
|
+
- Swipely/Docker-API 1.5.4
|
103
|
+
Content-Type:
|
104
|
+
- application/json
|
96
105
|
response:
|
97
106
|
status:
|
98
107
|
code: 204
|
99
108
|
message: ''
|
100
109
|
headers:
|
101
|
-
|
102
|
-
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
110
|
+
!binary "Q29udGVudC1UeXBl":
|
111
|
+
- !binary |-
|
112
|
+
dGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOA==
|
113
|
+
!binary "Q29udGVudC1MZW5ndGg=":
|
114
|
+
- !binary |-
|
115
|
+
MA==
|
116
|
+
!binary "RGF0ZQ==":
|
117
|
+
- !binary |-
|
118
|
+
TW9uLCAwNyBPY3QgMjAxMyAwMDo0NzozMiBHTVQ=
|
107
119
|
body:
|
108
|
-
encoding:
|
120
|
+
encoding: US-ASCII
|
109
121
|
string: ''
|
110
122
|
http_version:
|
111
|
-
recorded_at:
|
123
|
+
recorded_at: Mon, 07 Oct 2013 00:47:32 GMT
|
112
124
|
- request:
|
113
125
|
method: get
|
114
|
-
uri: http://
|
126
|
+
uri: http://unix/v1.4/containers/json
|
115
127
|
body:
|
116
128
|
encoding: US-ASCII
|
117
129
|
string: ''
|
118
130
|
headers:
|
131
|
+
User-Agent:
|
132
|
+
- Swipely/Docker-API 1.5.4
|
119
133
|
Content-Type:
|
120
134
|
- text/plain
|
121
|
-
User-Agent:
|
122
|
-
- Swipely/Docker-API 1.3.1
|
123
135
|
response:
|
124
136
|
status:
|
125
137
|
code: 200
|
126
138
|
message: ''
|
127
139
|
headers:
|
128
|
-
|
129
|
-
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
140
|
+
!binary "Q29udGVudC1UeXBl":
|
141
|
+
- !binary |-
|
142
|
+
YXBwbGljYXRpb24vanNvbg==
|
143
|
+
!binary "Q29udGVudC1MZW5ndGg=":
|
144
|
+
- !binary |-
|
145
|
+
Mg==
|
146
|
+
!binary "RGF0ZQ==":
|
147
|
+
- !binary |-
|
148
|
+
TW9uLCAwNyBPY3QgMjAxMyAwMDo0NzozMiBHTVQ=
|
134
149
|
body:
|
135
|
-
encoding:
|
136
|
-
string: '[]'
|
150
|
+
encoding: US-ASCII
|
151
|
+
string: ! '[]'
|
137
152
|
http_version:
|
138
|
-
recorded_at:
|
153
|
+
recorded_at: Mon, 07 Oct 2013 00:47:32 GMT
|
139
154
|
- request:
|
140
155
|
method: post
|
141
|
-
uri: http://
|
156
|
+
uri: http://unix/v1.4/containers/fb0967fb2ba3/restart
|
142
157
|
body:
|
143
|
-
encoding:
|
144
|
-
string: ''
|
158
|
+
encoding: UTF-8
|
159
|
+
string: ! '{}'
|
145
160
|
headers:
|
146
|
-
Content-Type:
|
147
|
-
- text/plain
|
148
161
|
User-Agent:
|
149
|
-
- Swipely/Docker-API 1.
|
162
|
+
- Swipely/Docker-API 1.5.4
|
163
|
+
Content-Type:
|
164
|
+
- application/json
|
150
165
|
response:
|
151
166
|
status:
|
152
167
|
code: 204
|
153
168
|
message: ''
|
154
169
|
headers:
|
155
|
-
|
156
|
-
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
170
|
+
!binary "Q29udGVudC1UeXBl":
|
171
|
+
- !binary |-
|
172
|
+
dGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOA==
|
173
|
+
!binary "Q29udGVudC1MZW5ndGg=":
|
174
|
+
- !binary |-
|
175
|
+
MA==
|
176
|
+
!binary "RGF0ZQ==":
|
177
|
+
- !binary |-
|
178
|
+
TW9uLCAwNyBPY3QgMjAxMyAwMDo0NzozMiBHTVQ=
|
161
179
|
body:
|
162
|
-
encoding:
|
180
|
+
encoding: US-ASCII
|
163
181
|
string: ''
|
164
182
|
http_version:
|
165
|
-
recorded_at:
|
183
|
+
recorded_at: Mon, 07 Oct 2013 00:47:32 GMT
|
166
184
|
- request:
|
167
185
|
method: get
|
168
|
-
uri: http://
|
186
|
+
uri: http://unix/v1.4/containers/json
|
169
187
|
body:
|
170
188
|
encoding: US-ASCII
|
171
189
|
string: ''
|
172
190
|
headers:
|
191
|
+
User-Agent:
|
192
|
+
- Swipely/Docker-API 1.5.4
|
173
193
|
Content-Type:
|
174
194
|
- text/plain
|
175
|
-
User-Agent:
|
176
|
-
- Swipely/Docker-API 1.3.1
|
177
195
|
response:
|
178
196
|
status:
|
179
197
|
code: 200
|
180
198
|
message: ''
|
181
199
|
headers:
|
182
|
-
|
183
|
-
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
200
|
+
!binary "Q29udGVudC1UeXBl":
|
201
|
+
- !binary |-
|
202
|
+
YXBwbGljYXRpb24vanNvbg==
|
203
|
+
!binary "Q29udGVudC1MZW5ndGg=":
|
204
|
+
- !binary |-
|
205
|
+
MjA5
|
206
|
+
!binary "RGF0ZQ==":
|
207
|
+
- !binary |-
|
208
|
+
TW9uLCAwNyBPY3QgMjAxMyAwMDo0NzozMiBHTVQ=
|
188
209
|
body:
|
189
|
-
encoding:
|
190
|
-
string: '[{"Id":"
|
191
|
-
50","Created":
|
210
|
+
encoding: US-ASCII
|
211
|
+
string: ! '[{"Id":"fb0967fb2ba3f9db4b468f6a70ca832f3b26d72fab3ef704d55416c7952c5d19","Image":"base:latest","Command":"sleep
|
212
|
+
50","Created":1381106842,"Status":"Up Less than a second","Ports":"","SizeRw":0,"SizeRootFs":0}]'
|
192
213
|
http_version:
|
193
|
-
recorded_at:
|
194
|
-
recorded_with: VCR 2.
|
214
|
+
recorded_at: Mon, 07 Oct 2013 00:47:32 GMT
|
215
|
+
recorded_with: VCR 2.6.0
|