docker-api 1.7.6 → 1.8.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.
Files changed (66) hide show
  1. checksums.yaml +7 -0
  2. data/lib/docker.rb +9 -9
  3. data/lib/docker/connection.rb +1 -1
  4. data/lib/docker/container.rb +1 -2
  5. data/lib/docker/image.rb +7 -6
  6. data/lib/docker/version.rb +2 -2
  7. data/spec/docker/connection_spec.rb +2 -2
  8. data/spec/docker/container_spec.rb +12 -10
  9. data/spec/docker/image_spec.rb +13 -13
  10. data/spec/docker_spec.rb +5 -4
  11. data/spec/vcr/Docker/_authenticate_/with_valid_credentials/logs_in_and_sets_the_creds.yml +1 -1
  12. data/spec/vcr/Docker/_info/returns_the_info_as_a_Hash.yml +17 -15
  13. data/spec/vcr/Docker/_validate_version/when_nothing_is_raised/validate_version_/.yml +17 -15
  14. data/spec/vcr/Docker/_version/returns_the_version_as_a_Hash.yml +17 -15
  15. data/spec/vcr/Docker_Container/_all/when_the_HTTP_response_is_a_200/materializes_each_Container_into_a_Docker_Container.yml +96 -46
  16. data/spec/vcr/Docker_Container/_attach/with_normal_sized_chunks/yields_each_chunk.yml +35 -37
  17. data/spec/vcr/Docker_Container/_attach/with_very_small_chunks/yields_each_chunk.yml +35 -37
  18. data/spec/vcr/Docker_Container/_changes/returns_the_changes_as_an_array.yml +60 -58
  19. data/spec/vcr/Docker_Container/_commit/creates_a_new_Image_from_the_Container_s_changes.yml +46 -47
  20. data/spec/vcr/Docker_Container/_commit/if_run_is_passed_it_saves_the_command_in_the_image/saves_the_command.yml +78 -81
  21. data/spec/vcr/Docker_Container/_copy/when_the_file_does_not_exist/raises_an_error.yml +77 -80
  22. data/spec/vcr/Docker_Container/_copy/when_the_input_is_a_directory/yields_each_chunk_of_the_tarred_directory.yml +91 -182
  23. data/spec/vcr/Docker_Container/_copy/when_the_input_is_a_file/yields_each_chunk_of_the_tarred_file.yml +80 -273
  24. data/spec/vcr/Docker_Container/_create/when_creating_a_container_named_bob/should_have_name_set_to_bob.yml +20 -15
  25. data/spec/vcr/Docker_Container/_create/when_the_Container_does_not_yet_exist/when_the_HTTP_request_returns_a_200/sets_the_id.yml +16 -16
  26. data/spec/vcr/Docker_Container/_delete/deletes_the_container.yml +41 -43
  27. data/spec/vcr/Docker_Container/_export/yields_each_chunk.yml +82759 -46
  28. data/spec/vcr/Docker_Container/_get/when_the_HTTP_response_is_a_200/materializes_the_Container_into_a_Docker_Container.yml +29 -30
  29. data/spec/vcr/Docker_Container/_json/returns_the_description_as_a_Hash.yml +29 -30
  30. data/spec/vcr/Docker_Container/_kill/kills_the_container.yml +69 -71
  31. data/spec/vcr/Docker_Container/_restart/restarts_the_container.yml +98 -102
  32. data/spec/vcr/Docker_Container/_run/when_the_Container_s_command_does_not_return_status_code_of_0/raises_an_error.yml +43 -44
  33. 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 +117 -122
  34. data/spec/vcr/Docker_Container/_start/starts_the_container.yml +58 -59
  35. data/spec/vcr/Docker_Container/_stop/stops_the_container.yml +81 -84
  36. data/spec/vcr/Docker_Container/_top/returns_the_top_commands_as_an_Array.yml +116 -87
  37. data/spec/vcr/Docker_Container/_wait/waits_for_the_command_to_finish.yml +43 -44
  38. data/spec/vcr/Docker_Container/_wait/when_an_argument_is_given/and_a_command_runs_for_too_long/raises_a_ServerError.yml +29 -30
  39. data/spec/vcr/Docker_Container/_wait/when_an_argument_is_given/sets_the_read_timeout_to_that_amount_of_time.yml +43 -44
  40. data/spec/vcr/Docker_Image/_all/materializes_each_Image_into_a_Docker_Image.yml +46 -32
  41. data/spec/vcr/Docker_Image/_build/with_a_valid_Dockerfile/with_a_block_capturing_build_output/calls_the_block_and_passes_build_output.yml +10 -9
  42. 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 +42 -31
  43. data/spec/vcr/Docker_Image/_build/with_a_valid_Dockerfile/without_query_parameters/builds_an_image.yml +16 -16
  44. data/spec/vcr/Docker_Image/_build/with_an_invalid_Dockerfile/throws_a_UnexpectedResponseError.yml +17 -19
  45. 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 +9 -8
  46. data/spec/vcr/Docker_Image/_build_from_dir/with_a_valid_Dockerfile/with_no_query_parameters/builds_the_image.yml +50 -52
  47. 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 +76 -66
  48. data/spec/vcr/Docker_Image/_create/when_the_Image_does_not_yet_exist_and_the_body_is_a_Hash/sets_the_id.yml +20 -18
  49. data/spec/vcr/Docker_Image/_get/when_the_image_does_exist/returns_the_new_image.yml +14 -15
  50. data/spec/vcr/Docker_Image/_history/returns_the_history_of_the_Image.yml +36 -32
  51. data/spec/vcr/Docker_Image/_insert/inserts_the_url_s_file_into_a_new_Image.yml +70 -86
  52. data/spec/vcr/Docker_Image/_insert_local/when_removing_intermediate_containers/creates_a_new_image.yml +69 -47
  53. data/spec/vcr/Docker_Image/_insert_local/when_removing_intermediate_containers/leave_no_intermediate_containers.yml +118 -47
  54. data/spec/vcr/Docker_Image/_insert_local/when_the_local_file_does_exist/creates_a_new_Image_that_has_that_file.yml +68 -70
  55. data/spec/vcr/Docker_Image/_insert_local/when_the_local_file_does_not_exist/raises_an_error.yml +16 -16
  56. data/spec/vcr/Docker_Image/_insert_local/when_there_are_multiple_files_passed/creates_a_new_Image_that_has_each_file.yml +70 -72
  57. data/spec/vcr/Docker_Image/_json/returns_additional_information_about_image_image.yml +33 -32
  58. data/spec/vcr/Docker_Image/_push/pushes_the_Image.yml +162 -105
  59. data/spec/vcr/Docker_Image/_remove/removes_the_Image.yml +53 -46
  60. data/spec/vcr/Docker_Image/_run/when_the_argument_is_a_String/splits_the_String_by_spaces_and_creates_a_new_Container.yml +54 -54
  61. data/spec/vcr/Docker_Image/_run/when_the_argument_is_an_Array/creates_a_new_Container.yml +54 -54
  62. data/spec/vcr/Docker_Image/_run/when_the_argument_is_nil/command_configured_in_image/should_normally_show_result_if_image_has_Cmd_configured.yml +46 -101
  63. 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 +35 -35
  64. data/spec/vcr/Docker_Image/_search/materializes_each_Image_into_a_Docker_Image.yml +94 -35
  65. data/spec/vcr/Docker_Image/_tag/tags_the_image_with_the_repo_name.yml +32 -31
  66. metadata +29 -49
@@ -2,13 +2,13 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: unix:///var/run/docker.sock/v1.6/images/create?fromImage=base
5
+ uri: unix:///var/run/docker.sock/v1.8/images/create?fromImage=base
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
9
9
  headers:
10
10
  User-Agent:
11
- - Swipely/Docker-API 1.6.0
11
+ - Swipely/Docker-API 1.7.6
12
12
  Content-Type:
13
13
  - text/plain
14
14
  response:
@@ -16,32 +16,34 @@ http_interactions:
16
16
  code: 200
17
17
  message:
18
18
  headers:
19
- !binary "Q29udGVudC1UeXBl":
20
- - !binary |-
21
- YXBwbGljYXRpb24vanNvbg==
22
- !binary "RGF0ZQ==":
23
- - !binary |-
24
- RnJpLCAyNSBPY3QgMjAxMyAxNjozMzoxMSBHTVQ=
25
- !binary "VHJhbnNmZXItRW5jb2Rpbmc=":
26
- - !binary |-
27
- Y2h1bmtlZA==
19
+ Content-Type:
20
+ - application/json
21
+ Date:
22
+ - Wed, 12 Feb 2014 17:05:55 GMT
23
+ Connection:
24
+ - close
25
+ Transfer-Encoding:
26
+ - ''
28
27
  body:
29
- encoding: US-ASCII
30
- string: ! '{"status":"Pulling repository base"}{"status":"Pulling","progress":"image
31
- (ubuntu-quantl) from base","id":"b750fe79269d"}{"status":"Pulling","progress":"image
32
- (ubuntu-quantl) from base, endpoint: https://cdn-registry-1.docker.io/v1/","id":"b750fe79269d"}{"status":"Pulling","progress":"dependend
33
- layers","id":"b750fe79269d"}{"status":"Download","progress":"complete","id":"b750fe79269d"}{"status":"Download","progress":"complete","id":"27cf78414709"}{"status":"Download","progress":"complete","id":"b750fe79269d"}'
28
+ encoding: UTF-8
29
+ string: "{\"status\":\"Pulling repository base\"}{\"status\":\"Pulling image
30
+ (ubuntu-quantl) from base\",\"progressDetail\":{},\"id\":\"b750fe79269d\"}{\"status\":\"Pulling
31
+ image (ubuntu-quantl) from base, endpoint: https://cdn-registry-1.docker.io/v1/\",\"progressDetail\":{},\"id\":\"b750fe79269d\"}{\"status\":\"Pulling
32
+ dependent layers\",\"progressDetail\":{},\"id\":\"b750fe79269d\"}{\"status\":\"Download
33
+ complete\",\"progressDetail\":{},\"id\":\"27cf78414709\"}{\"status\":\"Download
34
+ complete\",\"progressDetail\":{},\"id\":\"b750fe79269d\"}{\"status\":\"Download
35
+ complete\",\"progressDetail\":{},\"id\":\"b750fe79269d\"}"
34
36
  http_version:
35
- recorded_at: Fri, 25 Oct 2013 16:33:13 GMT
37
+ recorded_at: Wed, 12 Feb 2014 17:05:56 GMT
36
38
  - request:
37
39
  method: delete
38
- uri: unix:///var/run/docker.sock/v1.6/images/base
40
+ uri: unix:///var/run/docker.sock/v1.8/images/base
39
41
  body:
40
42
  encoding: US-ASCII
41
43
  string: ''
42
44
  headers:
43
45
  User-Agent:
44
- - Swipely/Docker-API 1.6.0
46
+ - Swipely/Docker-API 1.7.6
45
47
  Content-Type:
46
48
  - text/plain
47
49
  response:
@@ -49,29 +51,30 @@ http_interactions:
49
51
  code: 200
50
52
  message:
51
53
  headers:
52
- !binary "Q29udGVudC1UeXBl":
53
- - !binary |-
54
- YXBwbGljYXRpb24vanNvbg==
55
- !binary "Q29udGVudC1MZW5ndGg=":
56
- - !binary |-
57
- MTM3
58
- !binary "RGF0ZQ==":
59
- - !binary |-
60
- RnJpLCAyNSBPY3QgMjAxMyAxNjozMzoxMyBHTVQ=
54
+ Date:
55
+ - Wed, 12 Feb 2014 17:05:56 GMT
56
+ Content-Length:
57
+ - '82'
58
+ Content-Type:
59
+ - text/plain; charset=utf-8
60
+ Connection:
61
+ - close
61
62
  body:
62
- encoding: US-ASCII
63
- string: ! '[{"Untagged":"b750fe79269d"},{"Deleted":"ab6357d3e739"},{"Deleted":"e861b7367861"},{"Deleted":"b750fe79269d"},{"Deleted":"27cf78414709"}]'
63
+ encoding: UTF-8
64
+ string: |-
65
+ [{"Untagged":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc"}
66
+ ]
64
67
  http_version:
65
- recorded_at: Fri, 25 Oct 2013 16:33:13 GMT
68
+ recorded_at: Wed, 12 Feb 2014 17:05:56 GMT
66
69
  - request:
67
70
  method: get
68
- uri: unix:///var/run/docker.sock/v1.6/images/json
71
+ uri: unix:///var/run/docker.sock/v1.8/images/json
69
72
  body:
70
73
  encoding: US-ASCII
71
74
  string: ''
72
75
  headers:
73
76
  User-Agent:
74
- - Swipely/Docker-API 1.6.0
77
+ - Swipely/Docker-API 1.7.6
75
78
  Content-Type:
76
79
  - text/plain
77
80
  response:
@@ -79,18 +82,22 @@ http_interactions:
79
82
  code: 200
80
83
  message:
81
84
  headers:
82
- !binary "Q29udGVudC1UeXBl":
83
- - !binary |-
84
- YXBwbGljYXRpb24vanNvbg==
85
- !binary "Q29udGVudC1MZW5ndGg=":
86
- - !binary |-
87
- Mg==
88
- !binary "RGF0ZQ==":
89
- - !binary |-
90
- RnJpLCAyNSBPY3QgMjAxMyAxNjozMzoxMyBHTVQ=
85
+ Date:
86
+ - Wed, 12 Feb 2014 17:05:56 GMT
87
+ Content-Length:
88
+ - '964'
89
+ Content-Type:
90
+ - text/plain; charset=utf-8
91
+ Connection:
92
+ - close
91
93
  body:
92
- encoding: US-ASCII
93
- string: ! '[]'
94
+ encoding: UTF-8
95
+ string: |-
96
+ [{"Created":1392224753,"Id":"dae27da5a73f01eede1699649c42c727651b4311d2ff689810bf22c75c2d2a08","ParentId":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":7,"VirtualSize":350613950}
97
+ ,{"Created":1392224748,"Id":"291b17ca54f04278c166b1313f9ec211fa27596a6f5a20855fcd8739b8f26116","ParentId":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":7,"VirtualSize":350613950}
98
+ ,{"Created":1392224744,"Id":"328de6c59bef1db641600ea40668bbd57f6966a146bebe9640030dea13d0008c","ParentId":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":7,"VirtualSize":350613950}
99
+ ,{"Created":1364102658,"Id":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","ParentId":"27cf784147099545","RepoTags":["base2:latest"],"Size":175306985,"VirtualSize":350613943}
100
+ ]
94
101
  http_version:
95
- recorded_at: Fri, 25 Oct 2013 16:33:13 GMT
96
- recorded_with: VCR 2.6.0
102
+ recorded_at: Wed, 12 Feb 2014 17:05:56 GMT
103
+ recorded_with: VCR 2.8.0
@@ -2,13 +2,13 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: unix:///var/run/docker.sock/v1.6/images/create?fromImage=base
5
+ uri: unix:///var/run/docker.sock/v1.8/images/create?fromImage=base
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
9
9
  headers:
10
10
  User-Agent:
11
- - Swipely/Docker-API 1.6.0
11
+ - Swipely/Docker-API 1.7.6
12
12
  Content-Type:
13
13
  - text/plain
14
14
  response:
@@ -16,32 +16,34 @@ http_interactions:
16
16
  code: 200
17
17
  message:
18
18
  headers:
19
- !binary "Q29udGVudC1UeXBl":
20
- - !binary |-
21
- YXBwbGljYXRpb24vanNvbg==
22
- !binary "RGF0ZQ==":
23
- - !binary |-
24
- V2VkLCAzMCBPY3QgMjAxMyAxNjo1ODo1NSBHTVQ=
25
- !binary "VHJhbnNmZXItRW5jb2Rpbmc=":
26
- - !binary |-
27
- Y2h1bmtlZA==
19
+ Content-Type:
20
+ - application/json
21
+ Date:
22
+ - Wed, 12 Feb 2014 18:20:49 GMT
23
+ Connection:
24
+ - close
25
+ Transfer-Encoding:
26
+ - ''
28
27
  body:
29
- encoding: US-ASCII
30
- string: ! '{"status":"Pulling repository base"}{"status":"Pulling","progress":"image
31
- (ubuntu-quantl) from base","id":"b750fe79269d"}{"status":"Pulling","progress":"image
32
- (ubuntu-quantl) from base, endpoint: https://cdn-registry-1.docker.io/v1/","id":"b750fe79269d"}{"status":"Pulling","progress":"dependend
33
- layers","id":"b750fe79269d"}{"status":"Download","progress":"complete","id":"b750fe79269d"}{"status":"Download","progress":"complete","id":"27cf78414709"}{"status":"Download","progress":"complete","id":"b750fe79269d"}'
28
+ encoding: UTF-8
29
+ string: "{\"status\":\"Pulling repository base\"}{\"status\":\"Pulling image
30
+ (ubuntu-quantl) from base\",\"progressDetail\":{},\"id\":\"b750fe79269d\"}{\"status\":\"Pulling
31
+ image (ubuntu-quantl) from base, endpoint: https://cdn-registry-1.docker.io/v1/\",\"progressDetail\":{},\"id\":\"b750fe79269d\"}{\"status\":\"Pulling
32
+ dependent layers\",\"progressDetail\":{},\"id\":\"b750fe79269d\"}{\"status\":\"Download
33
+ complete\",\"progressDetail\":{},\"id\":\"27cf78414709\"}{\"status\":\"Download
34
+ complete\",\"progressDetail\":{},\"id\":\"b750fe79269d\"}{\"status\":\"Download
35
+ complete\",\"progressDetail\":{},\"id\":\"b750fe79269d\"}"
34
36
  http_version:
35
- recorded_at: Wed, 30 Oct 2013 16:58:57 GMT
37
+ recorded_at: Wed, 12 Feb 2014 18:20:50 GMT
36
38
  - request:
37
39
  method: post
38
- uri: unix:///var/run/docker.sock/v1.6/containers/create
40
+ uri: unix:///var/run/docker.sock/v1.8/containers/create
39
41
  body:
40
42
  encoding: UTF-8
41
- string: ! '{"Image":"base","Cmd":["ls","/lib64/"]}'
43
+ string: "{\"Image\":\"base\",\"Cmd\":[\"ls\",\"/lib64/\"]}"
42
44
  headers:
43
45
  User-Agent:
44
- - Swipely/Docker-API 1.6.0
46
+ - Swipely/Docker-API 1.7.6
45
47
  Content-Type:
46
48
  - application/json
47
49
  response:
@@ -49,29 +51,29 @@ http_interactions:
49
51
  code: 201
50
52
  message:
51
53
  headers:
52
- !binary "Q29udGVudC1UeXBl":
53
- - !binary |-
54
- YXBwbGljYXRpb24vanNvbg==
55
- !binary "Q29udGVudC1MZW5ndGg=":
56
- - !binary |-
57
- MjE=
58
- !binary "RGF0ZQ==":
59
- - !binary |-
60
- V2VkLCAzMCBPY3QgMjAxMyAxNjo1ODo1NyBHTVQ=
54
+ Content-Type:
55
+ - application/json
56
+ Date:
57
+ - Wed, 12 Feb 2014 18:20:51 GMT
58
+ Content-Length:
59
+ - '90'
60
+ Connection:
61
+ - close
61
62
  body:
62
- encoding: US-ASCII
63
- string: ! '{"Id":"43d2709b42d7"}'
63
+ encoding: UTF-8
64
+ string: |
65
+ {"Id":"3eca284e387a95be29b28716c772a7f40dfc78645e383de31db8725cdf3053a2","Warnings":null}
64
66
  http_version:
65
- recorded_at: Wed, 30 Oct 2013 16:58:57 GMT
67
+ recorded_at: Wed, 12 Feb 2014 18:20:51 GMT
66
68
  - request:
67
69
  method: post
68
- uri: unix:///var/run/docker.sock/v1.6/containers/43d2709b42d7/start
70
+ uri: unix:///var/run/docker.sock/v1.8/containers/3eca284e387a95be29b28716c772a7f40dfc78645e383de31db8725cdf3053a2/start
69
71
  body:
70
72
  encoding: UTF-8
71
- string: ! '{}'
73
+ string: "{}"
72
74
  headers:
73
75
  User-Agent:
74
- - Swipely/Docker-API 1.6.0
76
+ - Swipely/Docker-API 1.7.6
75
77
  Content-Type:
76
78
  - application/json
77
79
  response:
@@ -79,29 +81,28 @@ http_interactions:
79
81
  code: 204
80
82
  message:
81
83
  headers:
82
- !binary "Q29udGVudC1UeXBl":
83
- - !binary |-
84
- dGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOA==
85
- !binary "Q29udGVudC1MZW5ndGg=":
86
- - !binary |-
87
- MA==
88
- !binary "RGF0ZQ==":
89
- - !binary |-
90
- V2VkLCAzMCBPY3QgMjAxMyAxNjo1ODo1NyBHTVQ=
84
+ Date:
85
+ - Wed, 12 Feb 2014 18:20:51 GMT
86
+ Content-Length:
87
+ - '0'
88
+ Content-Type:
89
+ - text/plain; charset=utf-8
90
+ Connection:
91
+ - close
91
92
  body:
92
- encoding: US-ASCII
93
+ encoding: UTF-8
93
94
  string: ''
94
95
  http_version:
95
- recorded_at: Wed, 30 Oct 2013 16:58:57 GMT
96
+ recorded_at: Wed, 12 Feb 2014 18:20:51 GMT
96
97
  - request:
97
98
  method: post
98
- uri: unix:///var/run/docker.sock/v1.6/containers/43d2709b42d7/attach?stderr=true&stdout=true&stream=true
99
+ uri: unix:///var/run/docker.sock/v1.8/containers/3eca284e387a95be29b28716c772a7f40dfc78645e383de31db8725cdf3053a2/attach?stderr=true&stdout=true&stream=true
99
100
  body:
100
101
  encoding: US-ASCII
101
102
  string: ''
102
103
  headers:
103
104
  User-Agent:
104
- - Swipely/Docker-API 1.6.0
105
+ - Swipely/Docker-API 1.7.6
105
106
  Content-Type:
106
107
  - text/plain
107
108
  response:
@@ -109,13 +110,12 @@ http_interactions:
109
110
  code: 200
110
111
  message:
111
112
  headers:
112
- !binary "Q29udGVudC1UeXBl":
113
- - !binary |-
114
- YXBwbGljYXRpb24vdm5kLmRvY2tlci5yYXctc3RyZWFt
113
+ Content-Type:
114
+ - application/vnd.docker.raw-stream
115
115
  body:
116
- encoding: US-ASCII
116
+ encoding: UTF-8
117
117
  string: !binary |-
118
118
  AQAAAAAAABVsZC1saW51eC14ODYtNjQuc28uMgo=
119
119
  http_version:
120
- recorded_at: Wed, 30 Oct 2013 16:58:57 GMT
121
- recorded_with: VCR 2.6.0
120
+ recorded_at: Wed, 12 Feb 2014 18:20:51 GMT
121
+ recorded_with: VCR 2.8.0
@@ -2,13 +2,13 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: unix:///var/run/docker.sock/v1.6/images/create?fromImage=base
5
+ uri: unix:///var/run/docker.sock/v1.8/images/create?fromImage=base
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
9
9
  headers:
10
10
  User-Agent:
11
- - Swipely/Docker-API 1.7.2
11
+ - Swipely/Docker-API 1.7.6
12
12
  Content-Type:
13
13
  - text/plain
14
14
  response:
@@ -16,32 +16,34 @@ http_interactions:
16
16
  code: 200
17
17
  message:
18
18
  headers:
19
- !binary "Q29udGVudC1UeXBl":
20
- - !binary |-
21
- YXBwbGljYXRpb24vanNvbg==
22
- !binary "RGF0ZQ==":
23
- - !binary |-
24
- V2VkLCAyMCBOb3YgMjAxMyAxNzo1OTozNyBHTVQ=
25
- !binary "VHJhbnNmZXItRW5jb2Rpbmc=":
26
- - !binary |-
27
- Y2h1bmtlZA==
19
+ Content-Type:
20
+ - application/json
21
+ Date:
22
+ - Wed, 12 Feb 2014 18:20:51 GMT
23
+ Connection:
24
+ - close
25
+ Transfer-Encoding:
26
+ - ''
28
27
  body:
29
- encoding: US-ASCII
30
- string: ! '{"status":"Pulling repository base"}{"status":"Pulling","progress":"image
31
- (ubuntu-quantl) from base","id":"b750fe79269d"}{"status":"Pulling","progress":"image
32
- (ubuntu-quantl) from base, endpoint: https://cdn-registry-1.docker.io/v1/","id":"b750fe79269d"}{"status":"Pulling","progress":"dependend
33
- layers","id":"b750fe79269d"}{"status":"Download","progress":"complete","id":"b750fe79269d"}{"status":"Download","progress":"complete","id":"27cf78414709"}{"status":"Download","progress":"complete","id":"b750fe79269d"}'
28
+ encoding: UTF-8
29
+ string: "{\"status\":\"Pulling repository base\"}{\"status\":\"Pulling image
30
+ (ubuntu-quantl) from base\",\"progressDetail\":{},\"id\":\"b750fe79269d\"}{\"status\":\"Pulling
31
+ image (ubuntu-quantl) from base, endpoint: https://cdn-registry-1.docker.io/v1/\",\"progressDetail\":{},\"id\":\"b750fe79269d\"}{\"status\":\"Pulling
32
+ dependent layers\",\"progressDetail\":{},\"id\":\"b750fe79269d\"}{\"status\":\"Download
33
+ complete\",\"progressDetail\":{},\"id\":\"27cf78414709\"}{\"status\":\"Download
34
+ complete\",\"progressDetail\":{},\"id\":\"b750fe79269d\"}{\"status\":\"Download
35
+ complete\",\"progressDetail\":{},\"id\":\"b750fe79269d\"}"
34
36
  http_version:
35
- recorded_at: Wed, 20 Nov 2013 17:59:38 GMT
37
+ recorded_at: Wed, 12 Feb 2014 18:20:52 GMT
36
38
  - request:
37
39
  method: post
38
- uri: unix:///var/run/docker.sock/v1.6/containers/create
40
+ uri: unix:///var/run/docker.sock/v1.8/containers/create
39
41
  body:
40
42
  encoding: UTF-8
41
- string: ! '{"Image":"base","Cmd":["which","pwd"]}'
43
+ string: "{\"Image\":\"base\",\"Cmd\":[\"which\",\"pwd\"]}"
42
44
  headers:
43
45
  User-Agent:
44
- - Swipely/Docker-API 1.7.2
46
+ - Swipely/Docker-API 1.7.6
45
47
  Content-Type:
46
48
  - application/json
47
49
  response:
@@ -49,29 +51,29 @@ http_interactions:
49
51
  code: 201
50
52
  message:
51
53
  headers:
52
- !binary "Q29udGVudC1UeXBl":
53
- - !binary |-
54
- YXBwbGljYXRpb24vanNvbg==
55
- !binary "RGF0ZQ==":
56
- - !binary |-
57
- V2VkLCAyMCBOb3YgMjAxMyAxNzo1OTozOCBHTVQ=
58
- !binary "Q29udGVudC1MZW5ndGg=":
59
- - !binary |-
60
- MjE=
54
+ Content-Type:
55
+ - application/json
56
+ Date:
57
+ - Wed, 12 Feb 2014 18:20:52 GMT
58
+ Content-Length:
59
+ - '90'
60
+ Connection:
61
+ - close
61
62
  body:
62
- encoding: US-ASCII
63
- string: ! '{"Id":"616ec71eddd3"}'
63
+ encoding: UTF-8
64
+ string: |
65
+ {"Id":"ec575036b45551e01044e31ccfab576d910f8574b78a5696c5615980e9b2ff81","Warnings":null}
64
66
  http_version:
65
- recorded_at: Wed, 20 Nov 2013 17:59:38 GMT
67
+ recorded_at: Wed, 12 Feb 2014 18:20:52 GMT
66
68
  - request:
67
69
  method: post
68
- uri: unix:///var/run/docker.sock/v1.6/containers/616ec71eddd3/start
70
+ uri: unix:///var/run/docker.sock/v1.8/containers/ec575036b45551e01044e31ccfab576d910f8574b78a5696c5615980e9b2ff81/start
69
71
  body:
70
72
  encoding: UTF-8
71
- string: ! '{}'
73
+ string: "{}"
72
74
  headers:
73
75
  User-Agent:
74
- - Swipely/Docker-API 1.7.2
76
+ - Swipely/Docker-API 1.7.6
75
77
  Content-Type:
76
78
  - application/json
77
79
  response:
@@ -79,29 +81,28 @@ http_interactions:
79
81
  code: 204
80
82
  message:
81
83
  headers:
82
- !binary "RGF0ZQ==":
83
- - !binary |-
84
- V2VkLCAyMCBOb3YgMjAxMyAxNzo1OTozOCBHTVQ=
85
- !binary "Q29udGVudC1MZW5ndGg=":
86
- - !binary |-
87
- MA==
88
- !binary "Q29udGVudC1UeXBl":
89
- - !binary |-
90
- dGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOA==
84
+ Date:
85
+ - Wed, 12 Feb 2014 18:20:52 GMT
86
+ Content-Length:
87
+ - '0'
88
+ Content-Type:
89
+ - text/plain; charset=utf-8
90
+ Connection:
91
+ - close
91
92
  body:
92
- encoding: US-ASCII
93
+ encoding: UTF-8
93
94
  string: ''
94
95
  http_version:
95
- recorded_at: Wed, 20 Nov 2013 17:59:38 GMT
96
+ recorded_at: Wed, 12 Feb 2014 18:20:52 GMT
96
97
  - request:
97
98
  method: post
98
- uri: unix:///var/run/docker.sock/v1.6/containers/616ec71eddd3/attach?stderr=true&stdout=true&stream=true
99
+ uri: unix:///var/run/docker.sock/v1.8/containers/ec575036b45551e01044e31ccfab576d910f8574b78a5696c5615980e9b2ff81/attach?stderr=true&stdout=true&stream=true
99
100
  body:
100
101
  encoding: US-ASCII
101
102
  string: ''
102
103
  headers:
103
104
  User-Agent:
104
- - Swipely/Docker-API 1.7.2
105
+ - Swipely/Docker-API 1.7.6
105
106
  Content-Type:
106
107
  - text/plain
107
108
  response:
@@ -109,13 +110,12 @@ http_interactions:
109
110
  code: 200
110
111
  message:
111
112
  headers:
112
- !binary "Q29udGVudC1UeXBl":
113
- - !binary |-
114
- YXBwbGljYXRpb24vdm5kLmRvY2tlci5yYXctc3RyZWFt
113
+ Content-Type:
114
+ - application/vnd.docker.raw-stream
115
115
  body:
116
- encoding: US-ASCII
116
+ encoding: UTF-8
117
117
  string: !binary |-
118
118
  AQAAAAAAAAkvYmluL3B3ZAo=
119
119
  http_version:
120
- recorded_at: Wed, 20 Nov 2013 17:59:38 GMT
121
- recorded_with: VCR 2.7.0
120
+ recorded_at: Wed, 12 Feb 2014 18:20:52 GMT
121
+ recorded_with: VCR 2.8.0