docker-api 0.1.0 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (42) hide show
  1. data/README.md +21 -48
  2. data/lib/docker/connection.rb +8 -1
  3. data/lib/docker/container.rb +11 -12
  4. data/lib/docker/error.rb +0 -4
  5. data/lib/docker/image.rb +44 -30
  6. data/lib/docker/model.rb +30 -40
  7. data/lib/docker/version.rb +1 -1
  8. data/spec/docker/connection_spec.rb +3 -2
  9. data/spec/docker/container_spec.rb +206 -377
  10. data/spec/docker/image_spec.rb +123 -237
  11. data/spec/vcr/Docker_Container/_all/when_the_HTTP_response_is_a_200/materializes_each_Container_into_a_Docker_Container.yml +2503 -263
  12. data/spec/vcr/Docker_Container/_attach/{when_the_Container_has_been_created/when_the_HTTP_response_status_is_200 → when_the_HTTP_response_status_is_200}/yields_each_chunk.yml +30 -22
  13. data/spec/vcr/Docker_Container/_changes/{when_the_Container_has_been_created/when_the_HTTP_response_status_is_200 → when_the_HTTP_response_status_is_200}/returns_the_changes_as_an_array.yml +41 -33
  14. data/spec/vcr/Docker_Container/_commit/{when_the_Container_has_been_created/when_the_HTTP_response_status_is_200 → when_the_HTTP_response_status_is_200}/creates_a_new_Image_from_the_Container_s_changes.yml +34 -28
  15. data/spec/vcr/Docker_Container/{_create_ → _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 +11 -9
  16. data/spec/vcr/Docker_Container/_export/{when_the_Container_has_been_created/when_the_HTTP_response_status_is_200 → when_the_HTTP_response_status_is_200}/yields_each_chunk.yml +43 -29
  17. data/spec/vcr/Docker_Container/_json/when_the_HTTP_response_status_is_200/returns_the_description_as_a_Hash.yml +63 -0
  18. data/spec/vcr/Docker_Container/_kill/when_the_HTTP_response_status_is_204/kills_the_container.yml +1358 -0
  19. data/spec/vcr/Docker_Container/_restart/{when_the_Container_has_been_created/when_the_HTTP_response_status_is_204 → when_the_HTTP_response_status_is_204}/restarts_the_container.yml +73 -59
  20. data/spec/vcr/Docker_Container/_start/{when_the_Container_has_been_created/when_the_HTTP_response_status_is_200 → when_the_HTTP_response_status_is_200}/starts_the_container.yml +33 -28
  21. data/spec/vcr/Docker_Container/_stop/when_the_HTTP_response_status_is_204/stops_the_container.yml +1387 -0
  22. data/spec/vcr/Docker_Container/_wait/{when_the_Container_has_been_created/when_the_HTTP_response_status_is_200 → when_the_HTTP_response_status_is_200}/waits_for_the_command_to_finish.yml +31 -25
  23. data/spec/vcr/Docker_Image/_all/when_the_HTTP_response_is_a_200/materializes_each_Image_into_a_Docker_Image.yml +6 -6
  24. data/spec/vcr/Docker_Image/_build/with_a_valid_Dockerfile/builds_an_image.yml +4 -4
  25. data/spec/vcr/Docker_Image/_build/with_an_invalid_Dockerfile/throws_a_UnexpectedResponseError.yml +4 -4
  26. data/spec/vcr/Docker_Image/_build_from_dir/with_a_valid_Dockerfile/builds_the_image.yml +14 -14
  27. data/spec/vcr/Docker_Image/_create/when_the_Image_does_not_yet_exist_and_the_body_is_a_Hash/when_the_HTTP_request_returns_a_200/sets_the_id.yml +33 -0
  28. data/spec/vcr/Docker_Image/_history/when_the_HTTP_response_status_is_200/returns_the_history_of_the_Image.yml +63 -0
  29. data/spec/vcr/Docker_Image/_import/when_the_file_does_exist/creates_the_Image.yml +11 -9
  30. data/spec/vcr/Docker_Image/_insert/when_the_HTTP_response_status_is_200/inserts_the_url_s_file_into_a_new_Image.yml +220 -0
  31. data/spec/vcr/Docker_Image/_json/when_the_HTTP_response_status_is_200/returns_additional_information_about_image_image.yml +63 -0
  32. data/spec/vcr/Docker_Image/_remove/when_the_HTTP_response_status_is_204/removes_the_Image.yml +93 -0
  33. data/spec/vcr/Docker_Image/_remove/when_the_Image_has_been_created/when_the_HTTP_response_status_is_204/removes_the_Image.yml +63 -0
  34. data/spec/vcr/Docker_Image/_run/when_the_Image_has_been_created/when_the_argument_is_a_String/splits_the_String_by_spaces_and_creates_a_new_Container.yml +119 -0
  35. data/spec/vcr/Docker_Image/_run/when_the_Image_has_been_created/when_the_argument_is_an_Array/creates_a_new_Container.yml +119 -0
  36. data/spec/vcr/Docker_Image/_run/when_the_argument_is_a_String/splits_the_String_by_spaces_and_creates_a_new_Container.yml +119 -0
  37. data/spec/vcr/Docker_Image/_run/when_the_argument_is_an_Array/creates_a_new_Container.yml +119 -0
  38. data/spec/vcr/Docker_Image/_tag/when_the_HTTP_response_status_is_200/tags_the_image_with_the_repo_name.yml +63 -0
  39. metadata +46 -29
  40. data/spec/vcr/Docker_Container/_json/when_the_Container_has_been_created/when_the_HTTP_response_status_is_200/returns_the_description_as_a_Hash.yml +0 -61
  41. data/spec/vcr/Docker_Container/_kill/when_the_Container_has_been_created/when_the_HTTP_response_status_is_204/kills_the_container.yml +0 -232
  42. data/spec/vcr/Docker_Container/_stop/when_the_Container_has_been_created/when_the_HTTP_response_status_is_204/stops_the_container.yml +0 -259
@@ -8,63 +8,69 @@ http_interactions:
8
8
  string: ! '{"Cmd":["uname","-r"],"Image":"base"}'
9
9
  headers:
10
10
  Content-Type:
11
- - application/json
11
+ - text/plain
12
+ User-Agent:
13
+ - Docker-Client/0.4.6
12
14
  response:
13
15
  status:
14
16
  code: 201
15
17
  message: ''
16
18
  headers:
17
- !binary "RGF0ZQ==":
18
- - !binary |-
19
- VHVlLCAxOCBKdW4gMjAxMyAxNjoyMzo1NyBHTVQ=
20
- !binary "VHJhbnNmZXItRW5jb2Rpbmc=":
21
- - !binary |-
22
- Y2h1bmtlZA==
23
19
  !binary "Q29udGVudC1UeXBl":
24
20
  - !binary |-
25
21
  dGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOA==
22
+ !binary "Q29udGVudC1MZW5ndGg=":
23
+ - !binary |-
24
+ MjE=
25
+ !binary "RGF0ZQ==":
26
+ - !binary |-
27
+ TW9uLCAyNCBKdW4gMjAxMyAxOTo0MToxMiBHTVQ=
26
28
  body:
27
29
  encoding: US-ASCII
28
- string: ! '{"Id":"c4cde19ef35d"}'
30
+ string: ! '{"Id":"f1b6a203102c"}'
29
31
  http_version:
30
- recorded_at: Tue, 18 Jun 2013 16:23:57 GMT
32
+ recorded_at: Mon, 24 Jun 2013 19:41:12 GMT
31
33
  - request:
32
34
  method: post
33
- uri: http://localhost:4243/containers/c4cde19ef35d/start
35
+ uri: http://localhost:4243/containers/f1b6a203102c/start
34
36
  body:
35
37
  encoding: US-ASCII
36
38
  string: ''
37
39
  headers:
38
40
  Content-Type:
39
- - application/json
41
+ - text/plain
42
+ User-Agent:
43
+ - Docker-Client/0.4.6
40
44
  response:
41
45
  status:
42
46
  code: 204
43
47
  message: ''
44
48
  headers:
45
- !binary "RGF0ZQ==":
46
- - !binary |-
47
- VHVlLCAxOCBKdW4gMjAxMyAxNjoyMzo1NyBHTVQ=
48
- !binary "VHJhbnNmZXItRW5jb2Rpbmc=":
49
- - !binary |-
50
- Y2h1bmtlZA==
51
49
  !binary "Q29udGVudC1UeXBl":
52
50
  - !binary |-
53
51
  dGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOA==
52
+ !binary "Q29udGVudC1MZW5ndGg=":
53
+ - !binary |-
54
+ MA==
55
+ !binary "RGF0ZQ==":
56
+ - !binary |-
57
+ TW9uLCAyNCBKdW4gMjAxMyAxOTo0MToxMiBHTVQ=
54
58
  body:
55
59
  encoding: US-ASCII
56
60
  string: ''
57
61
  http_version:
58
- recorded_at: Tue, 18 Jun 2013 16:23:57 GMT
62
+ recorded_at: Mon, 24 Jun 2013 19:41:12 GMT
59
63
  - request:
60
64
  method: post
61
- uri: http://localhost:4243/containers/c4cde19ef35d/attach
65
+ uri: http://localhost:4243/containers/f1b6a203102c/attach?stdout=true&stream=true
62
66
  body:
63
67
  encoding: US-ASCII
64
68
  string: ''
65
69
  headers:
66
70
  Content-Type:
67
- - application/json
71
+ - text/plain
72
+ User-Agent:
73
+ - Docker-Client/0.4.6
68
74
  response:
69
75
  status:
70
76
  code: 200
@@ -75,7 +81,9 @@ http_interactions:
75
81
  YXBwbGljYXRpb24vdm5kLmRvY2tlci5yYXctc3RyZWFt
76
82
  body:
77
83
  encoding: US-ASCII
78
- string: ''
84
+ string: ! '3.8.0-25-generic
85
+
86
+ '
79
87
  http_version:
80
- recorded_at: Tue, 18 Jun 2013 16:23:57 GMT
88
+ recorded_at: Mon, 24 Jun 2013 19:41:12 GMT
81
89
  recorded_with: VCR 2.5.0
@@ -5,66 +5,72 @@ http_interactions:
5
5
  uri: http://localhost:4243/containers/create
6
6
  body:
7
7
  encoding: UTF-8
8
- string: ! '{"Cmd":["ls"],"Image":"base"}'
8
+ string: ! '{"Cmd":["true"],"Image":"base"}'
9
9
  headers:
10
10
  Content-Type:
11
- - application/json
11
+ - text/plain
12
+ User-Agent:
13
+ - Docker-Client/0.4.6
12
14
  response:
13
15
  status:
14
16
  code: 201
15
17
  message: ''
16
18
  headers:
17
- !binary "RGF0ZQ==":
18
- - !binary |-
19
- VHVlLCAxOCBKdW4gMjAxMyAxNjoyMzo1NSBHTVQ=
20
- !binary "VHJhbnNmZXItRW5jb2Rpbmc=":
21
- - !binary |-
22
- Y2h1bmtlZA==
23
19
  !binary "Q29udGVudC1UeXBl":
24
20
  - !binary |-
25
21
  dGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOA==
22
+ !binary "Q29udGVudC1MZW5ndGg=":
23
+ - !binary |-
24
+ MjE=
25
+ !binary "RGF0ZQ==":
26
+ - !binary |-
27
+ TW9uLCAyNCBKdW4gMjAxMyAxOTo0MTowMCBHTVQ=
26
28
  body:
27
29
  encoding: US-ASCII
28
- string: ! '{"Id":"8a70da775026"}'
30
+ string: ! '{"Id":"6183d70df92e"}'
29
31
  http_version:
30
- recorded_at: Tue, 18 Jun 2013 16:23:55 GMT
32
+ recorded_at: Mon, 24 Jun 2013 19:41:00 GMT
31
33
  - request:
32
34
  method: post
33
- uri: http://localhost:4243/containers/8a70da775026/start
35
+ uri: http://localhost:4243/containers/6183d70df92e/start
34
36
  body:
35
37
  encoding: US-ASCII
36
38
  string: ''
37
39
  headers:
38
40
  Content-Type:
39
- - application/json
41
+ - text/plain
42
+ User-Agent:
43
+ - Docker-Client/0.4.6
40
44
  response:
41
45
  status:
42
46
  code: 204
43
47
  message: ''
44
48
  headers:
45
- !binary "RGF0ZQ==":
46
- - !binary |-
47
- VHVlLCAxOCBKdW4gMjAxMyAxNjoyMzo1NSBHTVQ=
48
- !binary "VHJhbnNmZXItRW5jb2Rpbmc=":
49
- - !binary |-
50
- Y2h1bmtlZA==
51
49
  !binary "Q29udGVudC1UeXBl":
52
50
  - !binary |-
53
51
  dGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOA==
52
+ !binary "Q29udGVudC1MZW5ndGg=":
53
+ - !binary |-
54
+ MA==
55
+ !binary "RGF0ZQ==":
56
+ - !binary |-
57
+ TW9uLCAyNCBKdW4gMjAxMyAxOTo0MTowMCBHTVQ=
54
58
  body:
55
59
  encoding: US-ASCII
56
60
  string: ''
57
61
  http_version:
58
- recorded_at: Tue, 18 Jun 2013 16:23:55 GMT
62
+ recorded_at: Mon, 24 Jun 2013 19:41:00 GMT
59
63
  - request:
60
64
  method: post
61
- uri: http://localhost:4243/containers/8a70da775026/wait
65
+ uri: http://localhost:4243/containers/6183d70df92e/wait
62
66
  body:
63
67
  encoding: US-ASCII
64
68
  string: ''
65
69
  headers:
66
70
  Content-Type:
67
- - application/json
71
+ - text/plain
72
+ User-Agent:
73
+ - Docker-Client/0.4.6
68
74
  response:
69
75
  status:
70
76
  code: 200
@@ -73,26 +79,28 @@ http_interactions:
73
79
  !binary "Q29udGVudC1UeXBl":
74
80
  - !binary |-
75
81
  YXBwbGljYXRpb24vanNvbg==
76
- !binary "RGF0ZQ==":
82
+ !binary "Q29udGVudC1MZW5ndGg=":
77
83
  - !binary |-
78
- VHVlLCAxOCBKdW4gMjAxMyAxNjoyMzo1NSBHTVQ=
79
- !binary "VHJhbnNmZXItRW5jb2Rpbmc=":
84
+ MTY=
85
+ !binary "RGF0ZQ==":
80
86
  - !binary |-
81
- Y2h1bmtlZA==
87
+ TW9uLCAyNCBKdW4gMjAxMyAxOTo0MTowMCBHTVQ=
82
88
  body:
83
89
  encoding: US-ASCII
84
90
  string: ! '{"StatusCode":0}'
85
91
  http_version:
86
- recorded_at: Tue, 18 Jun 2013 16:23:55 GMT
92
+ recorded_at: Mon, 24 Jun 2013 19:41:00 GMT
87
93
  - request:
88
94
  method: get
89
- uri: http://localhost:4243/containers/8a70da775026/changes
95
+ uri: http://localhost:4243/containers/6183d70df92e/changes
90
96
  body:
91
97
  encoding: US-ASCII
92
98
  string: ''
93
99
  headers:
94
100
  Content-Type:
95
- - application/json
101
+ - text/plain
102
+ User-Agent:
103
+ - Docker-Client/0.4.6
96
104
  response:
97
105
  status:
98
106
  code: 200
@@ -101,15 +109,15 @@ http_interactions:
101
109
  !binary "Q29udGVudC1UeXBl":
102
110
  - !binary |-
103
111
  YXBwbGljYXRpb24vanNvbg==
104
- !binary "RGF0ZQ==":
112
+ !binary "Q29udGVudC1MZW5ndGg=":
105
113
  - !binary |-
106
- VHVlLCAxOCBKdW4gMjAxMyAxNjoyMzo1NSBHTVQ=
107
- !binary "VHJhbnNmZXItRW5jb2Rpbmc=":
114
+ NTY=
115
+ !binary "RGF0ZQ==":
108
116
  - !binary |-
109
- Y2h1bmtlZA==
117
+ TW9uLCAyNCBKdW4gMjAxMyAxOTo0MTowMCBHTVQ=
110
118
  body:
111
119
  encoding: US-ASCII
112
120
  string: ! '[{"Path":"/dev","Kind":0},{"Path":"/dev/kmsg","Kind":1}]'
113
121
  http_version:
114
- recorded_at: Tue, 18 Jun 2013 16:23:55 GMT
122
+ recorded_at: Mon, 24 Jun 2013 19:41:00 GMT
115
123
  recorded_with: VCR 2.5.0
@@ -8,80 +8,86 @@ http_interactions:
8
8
  string: ! '{"Cmd":["ls"],"Image":"base"}'
9
9
  headers:
10
10
  Content-Type:
11
- - application/json
11
+ - text/plain
12
+ User-Agent:
13
+ - Docker-Client/0.4.6
12
14
  response:
13
15
  status:
14
16
  code: 201
15
17
  message: ''
16
18
  headers:
17
- !binary "RGF0ZQ==":
18
- - !binary |-
19
- V2VkLCAxOSBKdW4gMjAxMyAyMDo0Mjo0OSBHTVQ=
20
- !binary "VHJhbnNmZXItRW5jb2Rpbmc=":
21
- - !binary |-
22
- Y2h1bmtlZA==
23
19
  !binary "Q29udGVudC1UeXBl":
24
20
  - !binary |-
25
21
  dGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOA==
22
+ !binary "Q29udGVudC1MZW5ndGg=":
23
+ - !binary |-
24
+ MjE=
25
+ !binary "RGF0ZQ==":
26
+ - !binary |-
27
+ TW9uLCAyNCBKdW4gMjAxMyAxOTo0MToxNiBHTVQ=
26
28
  body:
27
29
  encoding: US-ASCII
28
- string: ! '{"Id":"8629440938d1"}'
30
+ string: ! '{"Id":"01b05de7bdec"}'
29
31
  http_version:
30
- recorded_at: Wed, 19 Jun 2013 20:42:49 GMT
32
+ recorded_at: Mon, 24 Jun 2013 19:41:16 GMT
31
33
  - request:
32
34
  method: post
33
- uri: http://localhost:4243/containers/8629440938d1/start
35
+ uri: http://localhost:4243/containers/01b05de7bdec/start
34
36
  body:
35
37
  encoding: US-ASCII
36
38
  string: ''
37
39
  headers:
38
40
  Content-Type:
39
- - application/json
41
+ - text/plain
42
+ User-Agent:
43
+ - Docker-Client/0.4.6
40
44
  response:
41
45
  status:
42
46
  code: 204
43
47
  message: ''
44
48
  headers:
45
- !binary "RGF0ZQ==":
46
- - !binary |-
47
- V2VkLCAxOSBKdW4gMjAxMyAyMDo0Mjo0OSBHTVQ=
48
- !binary "VHJhbnNmZXItRW5jb2Rpbmc=":
49
- - !binary |-
50
- Y2h1bmtlZA==
51
49
  !binary "Q29udGVudC1UeXBl":
52
50
  - !binary |-
53
51
  dGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOA==
52
+ !binary "Q29udGVudC1MZW5ndGg=":
53
+ - !binary |-
54
+ MA==
55
+ !binary "RGF0ZQ==":
56
+ - !binary |-
57
+ TW9uLCAyNCBKdW4gMjAxMyAxOTo0MToxNiBHTVQ=
54
58
  body:
55
59
  encoding: US-ASCII
56
60
  string: ''
57
61
  http_version:
58
- recorded_at: Wed, 19 Jun 2013 20:42:49 GMT
62
+ recorded_at: Mon, 24 Jun 2013 19:41:16 GMT
59
63
  - request:
60
64
  method: post
61
- uri: http://localhost:4243/commit?container=86294409
65
+ uri: http://localhost:4243/commit?container=01b05de7
62
66
  body:
63
67
  encoding: US-ASCII
64
68
  string: ''
65
69
  headers:
66
70
  Content-Type:
67
- - application/json
71
+ - text/plain
72
+ User-Agent:
73
+ - Docker-Client/0.4.6
68
74
  response:
69
75
  status:
70
76
  code: 201
71
77
  message: ''
72
78
  headers:
73
- !binary "RGF0ZQ==":
74
- - !binary |-
75
- V2VkLCAxOSBKdW4gMjAxMyAyMDo0Mjo0OSBHTVQ=
76
- !binary "VHJhbnNmZXItRW5jb2Rpbmc=":
77
- - !binary |-
78
- Y2h1bmtlZA==
79
79
  !binary "Q29udGVudC1UeXBl":
80
80
  - !binary |-
81
81
  dGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOA==
82
+ !binary "Q29udGVudC1MZW5ndGg=":
83
+ - !binary |-
84
+ MjE=
85
+ !binary "RGF0ZQ==":
86
+ - !binary |-
87
+ TW9uLCAyNCBKdW4gMjAxMyAxOTo0MToxNiBHTVQ=
82
88
  body:
83
89
  encoding: US-ASCII
84
- string: ! '{"Id":"39033946ad29"}'
90
+ string: ! '{"Id":"844edba54d0d"}'
85
91
  http_version:
86
- recorded_at: Wed, 19 Jun 2013 20:42:49 GMT
92
+ recorded_at: Mon, 24 Jun 2013 19:41:16 GMT
87
93
  recorded_with: VCR 2.5.0
@@ -8,24 +8,26 @@ http_interactions:
8
8
  string: ! '{"Hostname":"","User":"","Memory":0,"MemorySwap":0,"AttachStdin":false,"AttachStdout":false,"AttachStderr":false,"PortSpecs":null,"Tty":false,"OpenStdin":false,"StdinOnce":false,"Env":null,"Cmd":["date"],"Dns":null,"Image":"base","Volumes":{},"VolumesFrom":""}'
9
9
  headers:
10
10
  Content-Type:
11
- - application/json
11
+ - text/plain
12
+ User-Agent:
13
+ - Docker-Client/0.4.6
12
14
  response:
13
15
  status:
14
16
  code: 201
15
17
  message: ''
16
18
  headers:
17
- !binary "RGF0ZQ==":
18
- - !binary |-
19
- VHVlLCAxOCBKdW4gMjAxMyAxNjoyMzo1NCBHTVQ=
20
- !binary "VHJhbnNmZXItRW5jb2Rpbmc=":
21
- - !binary |-
22
- Y2h1bmtlZA==
23
19
  !binary "Q29udGVudC1UeXBl":
24
20
  - !binary |-
25
21
  dGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOA==
22
+ !binary "Q29udGVudC1MZW5ndGg=":
23
+ - !binary |-
24
+ MjE=
25
+ !binary "RGF0ZQ==":
26
+ - !binary |-
27
+ TW9uLCAyNCBKdW4gMjAxMyAxOTo0MToxNiBHTVQ=
26
28
  body:
27
29
  encoding: US-ASCII
28
- string: ! '{"Id":"da457ee2275e"}'
30
+ string: ! '{"Id":"a233fce67287"}'
29
31
  http_version:
30
- recorded_at: Tue, 18 Jun 2013 16:23:54 GMT
32
+ recorded_at: Mon, 24 Jun 2013 19:41:16 GMT
31
33
  recorded_with: VCR 2.5.0
@@ -8,90 +8,104 @@ http_interactions:
8
8
  string: ! '{"Cmd":["rm","-rf","/","--no-preserve-root"],"Image":"base"}'
9
9
  headers:
10
10
  Content-Type:
11
- - application/json
11
+ - text/plain
12
+ User-Agent:
13
+ - Docker-Client/0.4.6
12
14
  response:
13
15
  status:
14
16
  code: 201
15
17
  message: ''
16
18
  headers:
17
- !binary "RGF0ZQ==":
18
- - !binary |-
19
- TW9uLCAxNyBKdW4gMjAxMyAxNjozMzo0MSBHTVQ=
20
- !binary "VHJhbnNmZXItRW5jb2Rpbmc=":
21
- - !binary |-
22
- Y2h1bmtlZA==
23
19
  !binary "Q29udGVudC1UeXBl":
24
20
  - !binary |-
25
21
  dGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOA==
22
+ !binary "Q29udGVudC1MZW5ndGg=":
23
+ - !binary |-
24
+ MjE=
25
+ !binary "RGF0ZQ==":
26
+ - !binary |-
27
+ TW9uLCAyNCBKdW4gMjAxMyAxOTo0MTowMSBHTVQ=
26
28
  body:
27
29
  encoding: US-ASCII
28
- string: ! '{"Id":"cfa2a0e0ba12"}'
30
+ string: ! '{"Id":"bd9836835f4b"}'
29
31
  http_version:
30
- recorded_at: Mon, 17 Jun 2013 16:33:41 GMT
32
+ recorded_at: Mon, 24 Jun 2013 19:41:01 GMT
31
33
  - request:
32
34
  method: post
33
- uri: http://localhost:4243/containers/cfa2a0e0ba12/start
35
+ uri: http://localhost:4243/containers/bd9836835f4b/start
34
36
  body:
35
37
  encoding: US-ASCII
36
38
  string: ''
37
39
  headers:
38
40
  Content-Type:
39
- - application/json
41
+ - text/plain
42
+ User-Agent:
43
+ - Docker-Client/0.4.6
40
44
  response:
41
45
  status:
42
46
  code: 204
43
47
  message: ''
44
48
  headers:
45
- !binary "RGF0ZQ==":
46
- - !binary |-
47
- TW9uLCAxNyBKdW4gMjAxMyAxNjozMzo0MSBHTVQ=
48
- !binary "VHJhbnNmZXItRW5jb2Rpbmc=":
49
- - !binary |-
50
- Y2h1bmtlZA==
51
49
  !binary "Q29udGVudC1UeXBl":
52
50
  - !binary |-
53
51
  dGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOA==
52
+ !binary "Q29udGVudC1MZW5ndGg=":
53
+ - !binary |-
54
+ MA==
55
+ !binary "RGF0ZQ==":
56
+ - !binary |-
57
+ TW9uLCAyNCBKdW4gMjAxMyAxOTo0MTowMSBHTVQ=
54
58
  body:
55
59
  encoding: US-ASCII
56
60
  string: ''
57
61
  http_version:
58
- recorded_at: Mon, 17 Jun 2013 16:33:41 GMT
62
+ recorded_at: Mon, 24 Jun 2013 19:41:01 GMT
59
63
  - request:
60
64
  method: get
61
- uri: http://localhost:4243/containers/cfa2a0e0ba12/export
65
+ uri: http://localhost:4243/containers/bd9836835f4b/export
62
66
  body:
63
67
  encoding: US-ASCII
64
68
  string: ''
65
69
  headers:
66
70
  Content-Type:
67
- - application/octet-stream
71
+ - text/plain
72
+ User-Agent:
73
+ - Docker-Client/0.4.6
68
74
  response:
69
75
  status:
70
76
  code: 200
71
77
  message: ''
72
78
  headers:
79
+ !binary "Q29udGVudC1UeXBl":
80
+ - !binary |-
81
+ YXBwbGljYXRpb24vb2N0ZXQtc3RyZWFt
73
82
  !binary "RGF0ZQ==":
74
83
  - !binary |-
75
- TW9uLCAxNyBKdW4gMjAxMyAxNjozMzo0MSBHTVQ=
84
+ TW9uLCAyNCBKdW4gMjAxMyAxOTo0MTowMSBHTVQ=
76
85
  !binary "VHJhbnNmZXItRW5jb2Rpbmc=":
77
86
  - !binary |-
78
87
  Y2h1bmtlZA==
79
- !binary "Q29udGVudC1UeXBl":
80
- - !binary |-
81
- YXBwbGljYXRpb24vb2N0ZXQtc3RyZWFt
82
88
  body:
83
89
  encoding: ASCII-8BIT
84
90
  string: !binary |-
85
91
  Li8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
86
92
  AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
87
- AAAAAAAAAAAAADAwMDc1NSAAMDAwMDAwIAAwMDAwMDAgADAwMDAwMDAwMDAw
88
- IDEyMTU3NjM1MTQ1IDAxMTIwMgAgNQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
93
+ AAAAAAAAAAAAADAwMDA3NTUAMDAwMDAwMAAwMDAwMDAwADAwMDAwMDAwMDAw
94
+ ADEyMTYyMTIwMzE1ADAwNzcwMgAgNQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
89
95
  AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
90
- AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAB1c3RhcgAwMHJvb3QA
96
+ AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAB1c3RhciAgAHJvb3QA
91
97
  AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcm9vdAAAAAAAAAAAAAAAAAAA
92
- AAAAAAAAAAAAAAAAAAAwMDAwMDAgADAwMDAwMCAAAAAAAAAAAAAAAAAAAAAA
93
98
  AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
94
99
  AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
100
+ AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
101
+ AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
102
+ AAAAAAAAAAAAAAAAAAAAAAAuL2V0Yy8AAAAAAAAAAAAAAAAAAAAAAAAAAAAA
103
+ AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
104
+ AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMDAwMDc1NQAwMDAwMDAwADAw
105
+ MDAwMDAAMDAwMDAwMDAwMDAAMTIxMDA0MDU2NTYAMDEwNDYzACA1AAAAAAAA
106
+ AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
107
+ AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
108
+ AAAAAHVzdGFyICAAcm9vdAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABy
95
109
  http_version:
96
- recorded_at: Mon, 17 Jun 2013 16:33:43 GMT
110
+ recorded_at: Mon, 24 Jun 2013 19:41:03 GMT
97
111
  recorded_with: VCR 2.5.0