docker-api 1.7.6 → 1.8.0

Sign up to get free protection for your applications and to get access to all the features.
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/containers/create
5
+ uri: unix:///var/run/docker.sock/v1.8/containers/create
6
6
  body:
7
7
  encoding: UTF-8
8
- string: ! '{"Cmd":["tar","nonsense"],"Image":"base"}'
8
+ string: "{\"Cmd\":[\"tar\",\"nonsense\"],\"Image\":\"base\"}"
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
  - application/json
14
14
  response:
@@ -16,29 +16,29 @@ http_interactions:
16
16
  code: 201
17
17
  message:
18
18
  headers:
19
- !binary "Q29udGVudC1UeXBl":
20
- - !binary |-
21
- YXBwbGljYXRpb24vanNvbg==
22
- !binary "Q29udGVudC1MZW5ndGg=":
23
- - !binary |-
24
- MjE=
25
- !binary "RGF0ZQ==":
26
- - !binary |-
27
- RnJpLCAyNSBPY3QgMjAxMyAxNjoyOToxMiBHTVQ=
19
+ Content-Type:
20
+ - application/json
21
+ Date:
22
+ - Wed, 12 Feb 2014 17:05:34 GMT
23
+ Content-Length:
24
+ - '90'
25
+ Connection:
26
+ - close
28
27
  body:
29
- encoding: US-ASCII
30
- string: ! '{"Id":"49a0920f92f7"}'
28
+ encoding: UTF-8
29
+ string: |
30
+ {"Id":"f59a41eaf3fe69c574fea81ba8fb48988c25727885e0a4781354752631ab682e","Warnings":null}
31
31
  http_version:
32
- recorded_at: Fri, 25 Oct 2013 16:29:12 GMT
32
+ recorded_at: Wed, 12 Feb 2014 17:05:34 GMT
33
33
  - request:
34
34
  method: post
35
- uri: unix:///var/run/docker.sock/v1.6/containers/49a0920f92f7/start
35
+ uri: unix:///var/run/docker.sock/v1.8/containers/f59a41eaf3fe69c574fea81ba8fb48988c25727885e0a4781354752631ab682e/start
36
36
  body:
37
37
  encoding: UTF-8
38
- string: ! '{}'
38
+ string: "{}"
39
39
  headers:
40
40
  User-Agent:
41
- - Swipely/Docker-API 1.6.0
41
+ - Swipely/Docker-API 1.7.6
42
42
  Content-Type:
43
43
  - application/json
44
44
  response:
@@ -46,29 +46,28 @@ http_interactions:
46
46
  code: 204
47
47
  message:
48
48
  headers:
49
- !binary "Q29udGVudC1UeXBl":
50
- - !binary |-
51
- dGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOA==
52
- !binary "Q29udGVudC1MZW5ndGg=":
53
- - !binary |-
54
- MA==
55
- !binary "RGF0ZQ==":
56
- - !binary |-
57
- RnJpLCAyNSBPY3QgMjAxMyAxNjoyOToxMiBHTVQ=
49
+ Date:
50
+ - Wed, 12 Feb 2014 17:05:34 GMT
51
+ Content-Length:
52
+ - '0'
53
+ Content-Type:
54
+ - text/plain; charset=utf-8
55
+ Connection:
56
+ - close
58
57
  body:
59
- encoding: US-ASCII
58
+ encoding: UTF-8
60
59
  string: ''
61
60
  http_version:
62
- recorded_at: Fri, 25 Oct 2013 16:29:12 GMT
61
+ recorded_at: Wed, 12 Feb 2014 17:05:34 GMT
63
62
  - request:
64
63
  method: post
65
- uri: unix:///var/run/docker.sock/v1.6/containers/49a0920f92f7/wait
64
+ uri: unix:///var/run/docker.sock/v1.8/containers/f59a41eaf3fe69c574fea81ba8fb48988c25727885e0a4781354752631ab682e/wait
66
65
  body:
67
66
  encoding: US-ASCII
68
67
  string: ''
69
68
  headers:
70
69
  User-Agent:
71
- - Swipely/Docker-API 1.6.0
70
+ - Swipely/Docker-API 1.7.6
72
71
  Content-Type:
73
72
  - text/plain
74
73
  response:
@@ -76,18 +75,18 @@ http_interactions:
76
75
  code: 200
77
76
  message:
78
77
  headers:
79
- !binary "Q29udGVudC1UeXBl":
80
- - !binary |-
81
- YXBwbGljYXRpb24vanNvbg==
82
- !binary "Q29udGVudC1MZW5ndGg=":
83
- - !binary |-
84
- MTc=
85
- !binary "RGF0ZQ==":
86
- - !binary |-
87
- RnJpLCAyNSBPY3QgMjAxMyAxNjoyOToxMyBHTVQ=
78
+ Content-Type:
79
+ - application/json
80
+ Date:
81
+ - Wed, 12 Feb 2014 17:05:34 GMT
82
+ Content-Length:
83
+ - '18'
84
+ Connection:
85
+ - close
88
86
  body:
89
- encoding: US-ASCII
90
- string: ! '{"StatusCode":64}'
87
+ encoding: UTF-8
88
+ string: |
89
+ {"StatusCode":64}
91
90
  http_version:
92
- recorded_at: Fri, 25 Oct 2013 16:29:13 GMT
93
- recorded_with: VCR 2.6.0
91
+ recorded_at: Wed, 12 Feb 2014 17:05:34 GMT
92
+ 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/containers/create
5
+ uri: unix:///var/run/docker.sock/v1.8/containers/create
6
6
  body:
7
7
  encoding: UTF-8
8
- string: ! '{"Cmd":["sleep","5"],"Image":"base"}'
8
+ string: "{\"Cmd\":[\"sleep\",\"5\"],\"Image\":\"base\"}"
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
  - application/json
14
14
  response:
@@ -16,29 +16,29 @@ http_interactions:
16
16
  code: 201
17
17
  message:
18
18
  headers:
19
- !binary "Q29udGVudC1UeXBl":
20
- - !binary |-
21
- YXBwbGljYXRpb24vanNvbg==
22
- !binary "Q29udGVudC1MZW5ndGg=":
23
- - !binary |-
24
- MjE=
25
- !binary "RGF0ZQ==":
26
- - !binary |-
27
- RnJpLCAyNSBPY3QgMjAxMyAxNjoyOToxOCBHTVQ=
19
+ Content-Type:
20
+ - application/json
21
+ Date:
22
+ - Wed, 12 Feb 2014 17:05:40 GMT
23
+ Content-Length:
24
+ - '90'
25
+ Connection:
26
+ - close
28
27
  body:
29
- encoding: US-ASCII
30
- string: ! '{"Id":"59325ab9abcd"}'
28
+ encoding: UTF-8
29
+ string: |
30
+ {"Id":"b60e2d88cbbdf0b6f2e49eda5354b65a8b8a36da47cc6983f36b38f49183d0c2","Warnings":null}
31
31
  http_version:
32
- recorded_at: Fri, 25 Oct 2013 16:29:18 GMT
32
+ recorded_at: Wed, 12 Feb 2014 17:05:40 GMT
33
33
  - request:
34
34
  method: post
35
- uri: unix:///var/run/docker.sock/v1.6/containers/59325ab9abcd/start
35
+ uri: unix:///var/run/docker.sock/v1.8/containers/b60e2d88cbbdf0b6f2e49eda5354b65a8b8a36da47cc6983f36b38f49183d0c2/start
36
36
  body:
37
37
  encoding: UTF-8
38
- string: ! '{}'
38
+ string: "{}"
39
39
  headers:
40
40
  User-Agent:
41
- - Swipely/Docker-API 1.6.0
41
+ - Swipely/Docker-API 1.7.6
42
42
  Content-Type:
43
43
  - application/json
44
44
  response:
@@ -46,18 +46,17 @@ http_interactions:
46
46
  code: 204
47
47
  message:
48
48
  headers:
49
- !binary "Q29udGVudC1UeXBl":
50
- - !binary |-
51
- dGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOA==
52
- !binary "Q29udGVudC1MZW5ndGg=":
53
- - !binary |-
54
- MA==
55
- !binary "RGF0ZQ==":
56
- - !binary |-
57
- RnJpLCAyNSBPY3QgMjAxMyAxNjoyOToxOCBHTVQ=
49
+ Date:
50
+ - Wed, 12 Feb 2014 17:05:40 GMT
51
+ Content-Length:
52
+ - '0'
53
+ Content-Type:
54
+ - text/plain; charset=utf-8
55
+ Connection:
56
+ - close
58
57
  body:
59
- encoding: US-ASCII
58
+ encoding: UTF-8
60
59
  string: ''
61
60
  http_version:
62
- recorded_at: Fri, 25 Oct 2013 16:29:18 GMT
63
- recorded_with: VCR 2.6.0
61
+ recorded_at: Wed, 12 Feb 2014 17:05:40 GMT
62
+ 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/containers/create
5
+ uri: unix:///var/run/docker.sock/v1.8/containers/create
6
6
  body:
7
7
  encoding: UTF-8
8
- string: ! '{"Cmd":["sleep","5"],"Image":"base"}'
8
+ string: "{\"Cmd\":[\"sleep\",\"5\"],\"Image\":\"base\"}"
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
  - application/json
14
14
  response:
@@ -16,29 +16,29 @@ http_interactions:
16
16
  code: 201
17
17
  message:
18
18
  headers:
19
- !binary "Q29udGVudC1UeXBl":
20
- - !binary |-
21
- YXBwbGljYXRpb24vanNvbg==
22
- !binary "Q29udGVudC1MZW5ndGg=":
23
- - !binary |-
24
- MjE=
25
- !binary "RGF0ZQ==":
26
- - !binary |-
27
- RnJpLCAyNSBPY3QgMjAxMyAxNjoyOToxMyBHTVQ=
19
+ Content-Type:
20
+ - application/json
21
+ Date:
22
+ - Wed, 12 Feb 2014 17:05:34 GMT
23
+ Content-Length:
24
+ - '90'
25
+ Connection:
26
+ - close
28
27
  body:
29
- encoding: US-ASCII
30
- string: ! '{"Id":"7000cc4d0b17"}'
28
+ encoding: UTF-8
29
+ string: |
30
+ {"Id":"8ca4734f0a48caa34f8c0ac2a1ab59de2e00493e6e5786d177eb2e62907b4725","Warnings":null}
31
31
  http_version:
32
- recorded_at: Fri, 25 Oct 2013 16:29:13 GMT
32
+ recorded_at: Wed, 12 Feb 2014 17:05:34 GMT
33
33
  - request:
34
34
  method: post
35
- uri: unix:///var/run/docker.sock/v1.6/containers/7000cc4d0b17/start
35
+ uri: unix:///var/run/docker.sock/v1.8/containers/8ca4734f0a48caa34f8c0ac2a1ab59de2e00493e6e5786d177eb2e62907b4725/start
36
36
  body:
37
37
  encoding: UTF-8
38
- string: ! '{}'
38
+ string: "{}"
39
39
  headers:
40
40
  User-Agent:
41
- - Swipely/Docker-API 1.6.0
41
+ - Swipely/Docker-API 1.7.6
42
42
  Content-Type:
43
43
  - application/json
44
44
  response:
@@ -46,29 +46,28 @@ http_interactions:
46
46
  code: 204
47
47
  message:
48
48
  headers:
49
- !binary "Q29udGVudC1UeXBl":
50
- - !binary |-
51
- dGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOA==
52
- !binary "Q29udGVudC1MZW5ndGg=":
53
- - !binary |-
54
- MA==
55
- !binary "RGF0ZQ==":
56
- - !binary |-
57
- RnJpLCAyNSBPY3QgMjAxMyAxNjoyOToxMyBHTVQ=
49
+ Date:
50
+ - Wed, 12 Feb 2014 17:05:34 GMT
51
+ Content-Length:
52
+ - '0'
53
+ Content-Type:
54
+ - text/plain; charset=utf-8
55
+ Connection:
56
+ - close
58
57
  body:
59
- encoding: US-ASCII
58
+ encoding: UTF-8
60
59
  string: ''
61
60
  http_version:
62
- recorded_at: Fri, 25 Oct 2013 16:29:13 GMT
61
+ recorded_at: Wed, 12 Feb 2014 17:05:34 GMT
63
62
  - request:
64
63
  method: post
65
- uri: unix:///var/run/docker.sock/v1.6/containers/7000cc4d0b17/wait
64
+ uri: unix:///var/run/docker.sock/v1.8/containers/8ca4734f0a48caa34f8c0ac2a1ab59de2e00493e6e5786d177eb2e62907b4725/wait
66
65
  body:
67
66
  encoding: US-ASCII
68
67
  string: ''
69
68
  headers:
70
69
  User-Agent:
71
- - Swipely/Docker-API 1.6.0
70
+ - Swipely/Docker-API 1.7.6
72
71
  Content-Type:
73
72
  - text/plain
74
73
  response:
@@ -76,18 +75,18 @@ http_interactions:
76
75
  code: 200
77
76
  message:
78
77
  headers:
79
- !binary "Q29udGVudC1UeXBl":
80
- - !binary |-
81
- YXBwbGljYXRpb24vanNvbg==
82
- !binary "Q29udGVudC1MZW5ndGg=":
83
- - !binary |-
84
- MTY=
85
- !binary "RGF0ZQ==":
86
- - !binary |-
87
- RnJpLCAyNSBPY3QgMjAxMyAxNjoyOToxOCBHTVQ=
78
+ Content-Type:
79
+ - application/json
80
+ Date:
81
+ - Wed, 12 Feb 2014 17:05:40 GMT
82
+ Content-Length:
83
+ - '17'
84
+ Connection:
85
+ - close
88
86
  body:
89
- encoding: US-ASCII
90
- string: ! '{"StatusCode":0}'
87
+ encoding: UTF-8
88
+ string: |
89
+ {"StatusCode":0}
91
90
  http_version:
92
- recorded_at: Fri, 25 Oct 2013 16:29:18 GMT
93
- recorded_with: VCR 2.6.0
91
+ recorded_at: Wed, 12 Feb 2014 17:05:40 GMT
92
+ 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
- RnJpLCAyNSBPY3QgMjAxMyAxNjozMzo1MyBHTVQ=
25
- !binary "VHJhbnNmZXItRW5jb2Rpbmc=":
26
- - !binary |-
27
- Y2h1bmtlZA==
19
+ Content-Type:
20
+ - application/json
21
+ Date:
22
+ - Wed, 12 Feb 2014 17:06:37 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:54 GMT
37
+ recorded_at: Wed, 12 Feb 2014 17:06:38 GMT
36
38
  - request:
37
39
  method: get
38
- uri: unix:///var/run/docker.sock/v1.6/images/json?all=true
40
+ uri: unix:///var/run/docker.sock/v1.8/images/json?all=true
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,18 +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
- MTY0Nw==
58
- !binary "RGF0ZQ==":
59
- - !binary |-
60
- RnJpLCAyNSBPY3QgMjAxMyAxNjozMzo1NCBHTVQ=
54
+ Date:
55
+ - Wed, 12 Feb 2014 17:06:38 GMT
56
+ Content-Type:
57
+ - text/plain; charset=utf-8
58
+ Connection:
59
+ - close
60
+ Transfer-Encoding:
61
+ - ''
61
62
  body:
62
- encoding: US-ASCII
63
- string: ! '[{"Repository":"test/base","Tag":"latest","Id":"14d61fb79dfaddb7e1e9f7a2d172868380bbc50e5ca57ab4d6b37785093aaedb","Created":1382718826,"Size":16391,"VirtualSize":180132526},{"Id":"a36a841ba24ee3e7a0b677077f5313c192c153e8e2b583d3efad2a5e45b3d900","Created":1382718825,"Size":12405,"VirtualSize":180128540},{"Id":"97a93c0b0746dc2898ad29df53a6ff6840a0d7e76e5c8ba1dcdd461fb7b5df8d","Created":1382718825,"Size":12405,"VirtualSize":180128540},{"Id":"80470943bc285c02c97b15b490588ff28df499ea14e43d0499a1c40c84d30afd","Created":1382718825,"Size":12616,"VirtualSize":180141156},{"Id":"bba88fbf7e6361d952b13cfcbffde9ac879878abbb2d4897bbc4e4e5c040ab36","Created":1382718824,"Size":104350,"VirtualSize":180220485},{"Repository":"base2","Tag":"latest","Id":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","Created":1364102658,"Size":24653,"VirtualSize":180116135},{"Repository":"base","Tag":"latest","Id":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","Created":1364102658,"Size":24653,"VirtualSize":180116135},{"Repository":"base","Tag":"ubuntu-12.10","Id":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","Created":1364102658,"Size":24653,"VirtualSize":180116135},{"Repository":"base","Tag":"ubuntu-quantal","Id":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","Created":1364102658,"Size":24653,"VirtualSize":180116135},{"Repository":"base","Tag":"ubuntu-quantl","Id":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","Created":1364102658,"Size":24653,"VirtualSize":180116135},{"Id":"27cf784147099545","Created":1364068391,"Size":180091482,"VirtualSize":180091482}]'
63
+ encoding: UTF-8
64
+ string: |-
65
+ [{"Created":1392224791,"Id":"fe20982d654dc449eeca28574a5ca9a88d31214385de328e87701c7791195d38","ParentId":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":0,"VirtualSize":350613943}
66
+ ,{"Created":1392224778,"Id":"e86ce037ddd754144fdbf27a5985c8ea3e542762045f0a9db2380c6a4652351d","ParentId":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":38,"VirtualSize":350613981}
67
+ ,{"Created":1392224774,"Id":"1b3c75d341bd8ca014239a9a658bea02e7e01e02d10aafdca598f1aec970781d","ParentId":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":38,"VirtualSize":350613981}
68
+ ,{"Created":1392224769,"Id":"724a85dfbc0f7e528ee2f30a4ff344a10f708fde454b1c7b2fe36585b42795f1","ParentId":"6b7f51d79dfdc9513b1a7429839a27f23f9c6e7fdfa8fc6ebcb061b18bd2ec8f","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":328,"VirtualSize":350614309}
69
+ ,{"Created":1392224767,"Id":"6b7f51d79dfdc9513b1a7429839a27f23f9c6e7fdfa8fc6ebcb061b18bd2ec8f","ParentId":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":38,"VirtualSize":350613981}
70
+ ,{"Created":1392224762,"Id":"53f8b4e63bb87e4ea9304f59f4b926c978d3025c3fcd255485de323ca645e1ef","ParentId":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":38,"VirtualSize":350613981}
71
+ ,{"Created":1392224759,"Id":"4ba9053f199a519e1e1cdbbe1f19230c2160f77453d055a0f0d6ded82ce04946","ParentId":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":94554,"VirtualSize":350708497}
72
+ ,{"Created":1392224753,"Id":"dae27da5a73f01eede1699649c42c727651b4311d2ff689810bf22c75c2d2a08","ParentId":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":7,"VirtualSize":350613950}
73
+ ,{"Created":1392224748,"Id":"291b17ca54f04278c166b1313f9ec211fa27596a6f5a20855fcd8739b8f26116","ParentId":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":7,"VirtualSize":350613950}
74
+ ,{"Created":1392224744,"Id":"328de6c59bef1db641600ea40668bbd57f6966a146bebe9640030dea13d0008c","ParentId":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":7,"VirtualSize":350613950}
75
+ ,{"Created":1364102658,"Id":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","ParentId":"27cf784147099545","RepoTags":["base:latest","base:ubuntu-12.10","base:ubuntu-quantal","base:ubuntu-quantl","base2:latest"],"Size":175306985,"VirtualSize":350613943}
76
+ ,{"Created":1364068391,"Id":"27cf784147099545","ParentId":"","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":175306958,"VirtualSize":175306958}
77
+ ]
64
78
  http_version:
65
- recorded_at: Fri, 25 Oct 2013 16:33:54 GMT
66
- recorded_with: VCR 2.6.0
79
+ recorded_at: Wed, 12 Feb 2014 17:06:38 GMT
80
+ recorded_with: VCR 2.8.0