docker-api 1.12.0 → 1.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (71) hide show
  1. checksums.yaml +4 -4
  2. data/lib/docker/container.rb +15 -0
  3. data/lib/docker/image.rb +0 -10
  4. data/lib/docker/version.rb +2 -2
  5. data/spec/docker/container_spec.rb +26 -1
  6. data/spec/docker/image_spec.rb +0 -11
  7. data/spec/vcr/Docker/_authenticate_/with_valid_credentials/logs_in_and_sets_the_creds.yml +4 -4
  8. data/spec/vcr/Docker/_info/returns_the_info_as_a_Hash.yml +6 -6
  9. data/spec/vcr/Docker/_validate_version/when_nothing_is_raised/validate_version_/.yml +6 -6
  10. data/spec/vcr/Docker/_version/returns_the_version_as_a_Hash.yml +4 -4
  11. data/spec/vcr/Docker_Container/_all/when_the_HTTP_response_is_a_200/materializes_each_Container_into_a_Docker_Container.yml +127 -75
  12. data/spec/vcr/Docker_Container/_attach/with_normal_sized_chunks/yields_each_chunk.yml +12 -16
  13. data/spec/vcr/Docker_Container/_attach/with_very_small_chunks/yields_each_chunk.yml +12 -16
  14. data/spec/vcr/Docker_Container/_changes/returns_the_changes_as_an_array.yml +17 -21
  15. data/spec/vcr/Docker_Container/_commit/creates_a_new_Image_from_the_Container_s_changes.yml +14 -18
  16. data/spec/vcr/Docker_Container/_commit/if_run_is_passed_it_saves_the_command_in_the_image/saves_the_command.yml +9 -13
  17. data/spec/vcr/Docker_Container/_copy/when_the_input_is_a_directory/yields_each_chunk_of_the_tarred_directory.yml +39 -43
  18. data/spec/vcr/Docker_Container/_copy/when_the_input_is_a_file/yields_each_chunk_of_the_tarred_file.yml +22 -26
  19. data/spec/vcr/Docker_Container/_create/when_creating_a_container_named_bob/should_have_name_set_to_bob.yml +12 -11
  20. data/spec/vcr/Docker_Container/_create/when_the_Container_does_not_yet_exist/when_the_HTTP_request_returns_a_200/sets_the_id.yml +5 -5
  21. data/spec/vcr/Docker_Container/_delete/deletes_the_container.yml +15 -19
  22. data/spec/vcr/Docker_Container/_export/yields_each_chunk.yml +15 -453687
  23. data/spec/vcr/Docker_Container/_get/when_the_HTTP_response_is_a_200/materializes_the_Container_into_a_Docker_Container.yml +12 -11
  24. data/spec/vcr/Docker_Container/_json/returns_the_description_as_a_Hash.yml +12 -11
  25. data/spec/vcr/Docker_Container/_kill/kills_the_container.yml +64 -42
  26. data/spec/vcr/Docker_Container/_logs/when_not_selecting_any_stream/returns_the_error_message.yml +11 -11
  27. data/spec/vcr/Docker_Container/_logs/when_selecting_stdout/returns_blank_logs.yml +9 -9
  28. data/spec/vcr/Docker_Container/_pause/pauses_the_container.yml +121 -0
  29. data/spec/vcr/Docker_Container/_restart/restarts_the_container.yml +37 -49
  30. data/spec/vcr/Docker_Container/_run/when_the_Container_s_command_does_not_return_status_code_of_0/raises_an_error.yml +13 -17
  31. data/spec/vcr/Docker_Container/_run/when_the_Container_s_command_returns_a_status_code_of_0/creates_a_new_container_to_run_the_specified_command.yml +36 -48
  32. data/spec/vcr/Docker_Container/_start/starts_the_container.yml +20 -24
  33. data/spec/vcr/Docker_Container/_stop/stops_the_container.yml +67 -49
  34. data/spec/vcr/Docker_Container/_top/returns_the_top_commands_as_an_Array.yml +23 -26
  35. data/spec/vcr/Docker_Container/_unpause/unpauses_the_container.yml +150 -0
  36. data/spec/vcr/Docker_Container/_wait/waits_for_the_command_to_finish.yml +13 -17
  37. data/spec/vcr/Docker_Container/_wait/when_an_argument_is_given/and_a_command_runs_for_too_long/raises_a_ServerError.yml +9 -13
  38. data/spec/vcr/Docker_Container/_wait/when_an_argument_is_given/sets_the_read_timeout_to_that_amount_of_time.yml +13 -17
  39. data/spec/vcr/Docker_Image/_all/materializes_each_Image_into_a_Docker_Image.yml +10 -11
  40. data/spec/vcr/Docker_Image/_build/with_a_valid_Dockerfile/with_a_block_capturing_build_output/calls_the_block_and_passes_build_output.yml +4 -4
  41. data/spec/vcr/Docker_Image/_build/with_a_valid_Dockerfile/with_specifying_a_repo_in_the_query_parameters/builds_an_image_and_tags_it.yml +25 -24
  42. data/spec/vcr/Docker_Image/_build/with_a_valid_Dockerfile/without_query_parameters/builds_an_image.yml +4 -4
  43. data/spec/vcr/Docker_Image/_build/with_an_invalid_Dockerfile/throws_a_UnexpectedResponseError.yml +4 -4
  44. data/spec/vcr/Docker_Image/_build_from_dir/with_a_valid_Dockerfile/with_a_block_capturing_build_output/calls_the_block_and_passes_build_output.yml +8 -8
  45. data/spec/vcr/Docker_Image/_build_from_dir/with_a_valid_Dockerfile/with_credentials_passed/sends_Docker_creds.yml +6 -6
  46. data/spec/vcr/Docker_Image/_build_from_dir/with_a_valid_Dockerfile/with_no_query_parameters/builds_the_image.yml +21 -24
  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 +39 -43
  48. data/spec/vcr/Docker_Image/_create/when_the_Image_does_not_yet_exist_and_the_body_is_a_Hash/sets_the_id_and_sends_Docker_creds.yml +68 -18
  49. data/spec/vcr/Docker_Image/_get/when_the_image_does_exist/returns_the_new_image.yml +7 -6
  50. data/spec/vcr/Docker_Image/_history/returns_the_history_of_the_Image.yml +10 -10
  51. data/spec/vcr/Docker_Image/_import/when_the_argument_is_a_URI/when_the_URI_is_invalid/raises_an_error.yml +18 -24
  52. data/spec/vcr/Docker_Image/_import/when_the_argument_is_a_URI/when_the_URI_is_valid/returns_an_Image.yml +9 -9
  53. data/spec/vcr/Docker_Image/_import/when_the_file_does_exist/creates_the_Image.yml +5 -5
  54. data/spec/vcr/Docker_Image/_insert_local/when_a_direcory_is_passed/inserts_the_directory.yml +23 -27
  55. data/spec/vcr/Docker_Image/_insert_local/when_removing_intermediate_containers/creates_a_new_image.yml +20 -20
  56. data/spec/vcr/Docker_Image/_insert_local/when_removing_intermediate_containers/leave_no_intermediate_containers.yml +18 -18
  57. data/spec/vcr/Docker_Image/_insert_local/when_the_local_file_does_exist/creates_a_new_Image_that_has_that_file.yml +23 -27
  58. data/spec/vcr/Docker_Image/_insert_local/when_the_local_file_does_not_exist/raises_an_error.yml +4 -4
  59. data/spec/vcr/Docker_Image/_insert_local/when_there_are_multiple_files_passed/creates_a_new_Image_that_has_each_file.yml +25 -28
  60. data/spec/vcr/Docker_Image/_json/returns_additional_information_about_image_image.yml +13 -12
  61. data/spec/vcr/Docker_Image/_push/pushes_the_Image.yml +32 -71
  62. data/spec/vcr/Docker_Image/_push/when_there_are_no_credentials/still_pushes.yml +28 -28
  63. data/spec/vcr/Docker_Image/_refresh_/updates_the_info_hash.yml +35 -34
  64. data/spec/vcr/Docker_Image/_remove/removes_the_Image.yml +50 -21
  65. data/spec/vcr/Docker_Image/_run/when_the_argument_is_a_String/splits_the_String_by_spaces_and_creates_a_new_Container.yml +16 -20
  66. data/spec/vcr/Docker_Image/_run/when_the_argument_is_an_Array/creates_a_new_Container.yml +16 -20
  67. data/spec/vcr/Docker_Image/_run/when_the_argument_is_nil/no_command_configured_in_image/should_raise_an_error_if_no_command_is_specified.yml +10 -10
  68. data/spec/vcr/Docker_Image/_search/materializes_each_Image_into_a_Docker_Image.yml +66 -34
  69. data/spec/vcr/Docker_Image/_tag/tags_the_image_with_the_repo_name.yml +8 -8
  70. metadata +8 -5
  71. data/spec/vcr/Docker_Image/_insert/inserts_the_url_s_file_into_a_new_Image.yml +0 -194
@@ -0,0 +1,150 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: unix:///var/run/docker.sock/v1.12/containers/create
6
+ body:
7
+ encoding: UTF-8
8
+ string: '{"Cmd":["sleep","50"],"Image":"base"}'
9
+ headers:
10
+ User-Agent:
11
+ - Swipely/Docker-API 1.11.2
12
+ Content-Type:
13
+ - application/json
14
+ response:
15
+ status:
16
+ code: 201
17
+ message:
18
+ headers:
19
+ Content-Type:
20
+ - application/json
21
+ Date:
22
+ - Wed, 25 Jun 2014 20:36:48 GMT
23
+ Content-Length:
24
+ - '90'
25
+ Connection:
26
+ - close
27
+ body:
28
+ encoding: UTF-8
29
+ string: |
30
+ {"Id":"fb761093d72b11437af1fbb405cad2128920db46e8bce79ed13b20f818ee3edc","Warnings":null}
31
+ http_version:
32
+ recorded_at: Wed, 25 Jun 2014 22:31:11 GMT
33
+ - request:
34
+ method: post
35
+ uri: unix:///var/run/docker.sock/v1.12/containers/fb761093d72b11437af1fbb405cad2128920db46e8bce79ed13b20f818ee3edc/start
36
+ body:
37
+ encoding: UTF-8
38
+ string: "{}"
39
+ headers:
40
+ User-Agent:
41
+ - Swipely/Docker-API 1.11.2
42
+ Content-Type:
43
+ - application/json
44
+ response:
45
+ status:
46
+ code: 204
47
+ message:
48
+ headers:
49
+ Date:
50
+ - Wed, 25 Jun 2014 20:36:48 GMT
51
+ Content-Length:
52
+ - '0'
53
+ Content-Type:
54
+ - text/plain; charset=utf-8
55
+ Connection:
56
+ - close
57
+ body:
58
+ encoding: UTF-8
59
+ string: ''
60
+ http_version:
61
+ recorded_at: Wed, 25 Jun 2014 22:31:11 GMT
62
+ - request:
63
+ method: post
64
+ uri: unix:///var/run/docker.sock/v1.12/containers/fb761093d72b11437af1fbb405cad2128920db46e8bce79ed13b20f818ee3edc/pause
65
+ body:
66
+ encoding: US-ASCII
67
+ string: ''
68
+ headers:
69
+ User-Agent:
70
+ - Swipely/Docker-API 1.11.2
71
+ Content-Type:
72
+ - text/plain
73
+ response:
74
+ status:
75
+ code: 204
76
+ message:
77
+ headers:
78
+ Date:
79
+ - Wed, 25 Jun 2014 20:36:48 GMT
80
+ Content-Length:
81
+ - '0'
82
+ Content-Type:
83
+ - text/plain; charset=utf-8
84
+ Connection:
85
+ - close
86
+ body:
87
+ encoding: UTF-8
88
+ string: ''
89
+ http_version:
90
+ recorded_at: Wed, 25 Jun 2014 22:31:11 GMT
91
+ - request:
92
+ method: post
93
+ uri: unix:///var/run/docker.sock/v1.12/containers/fb761093d72b11437af1fbb405cad2128920db46e8bce79ed13b20f818ee3edc/unpause
94
+ body:
95
+ encoding: US-ASCII
96
+ string: ''
97
+ headers:
98
+ User-Agent:
99
+ - Swipely/Docker-API 1.11.2
100
+ Content-Type:
101
+ - text/plain
102
+ response:
103
+ status:
104
+ code: 204
105
+ message:
106
+ headers:
107
+ Date:
108
+ - Wed, 25 Jun 2014 20:36:48 GMT
109
+ Content-Length:
110
+ - '0'
111
+ Content-Type:
112
+ - text/plain; charset=utf-8
113
+ Connection:
114
+ - close
115
+ body:
116
+ encoding: UTF-8
117
+ string: ''
118
+ http_version:
119
+ recorded_at: Wed, 25 Jun 2014 22:31:11 GMT
120
+ - request:
121
+ method: get
122
+ uri: unix:///var/run/docker.sock/v1.12/containers/fb761093d72b11437af1fbb405cad2128920db46e8bce79ed13b20f818ee3edc/json
123
+ body:
124
+ encoding: US-ASCII
125
+ string: ''
126
+ headers:
127
+ User-Agent:
128
+ - Swipely/Docker-API 1.11.2
129
+ Content-Type:
130
+ - text/plain
131
+ response:
132
+ status:
133
+ code: 200
134
+ message:
135
+ headers:
136
+ Content-Type:
137
+ - application/json
138
+ Date:
139
+ - Wed, 25 Jun 2014 20:36:48 GMT
140
+ Content-Length:
141
+ - '1614'
142
+ Connection:
143
+ - close
144
+ body:
145
+ encoding: UTF-8
146
+ string: |
147
+ {"Args":["50"],"Config":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":["sleep","50"],"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":null,"Env":null,"ExposedPorts":null,"Hostname":"fb761093d72b","Image":"base","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":null,"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Created":"2014-06-25T20:36:48.80485791Z","Driver":"aufs","ExecDriver":"native-0.2","HostConfig":{"Binds":null,"ContainerIDFile":"","Dns":null,"DnsSearch":null,"Links":null,"LxcConf":null,"NetworkMode":"","PortBindings":null,"Privileged":false,"PublishAllPorts":false,"VolumesFrom":null},"HostnamePath":"/mnt/sda1/var/lib/docker/containers/fb761093d72b11437af1fbb405cad2128920db46e8bce79ed13b20f818ee3edc/hostname","HostsPath":"/mnt/sda1/var/lib/docker/containers/fb761093d72b11437af1fbb405cad2128920db46e8bce79ed13b20f818ee3edc/hosts","Id":"fb761093d72b11437af1fbb405cad2128920db46e8bce79ed13b20f818ee3edc","Image":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","MountLabel":"","Name":"/stupefied_feynman","NetworkSettings":{"Bridge":"docker0","Gateway":"172.17.42.1","IPAddress":"172.17.0.53","IPPrefixLen":16,"PortMapping":null,"Ports":{}},"Path":"sleep","ProcessLabel":"","ResolvConfPath":"/mnt/sda1/var/lib/docker/containers/fb761093d72b11437af1fbb405cad2128920db46e8bce79ed13b20f818ee3edc/resolv.conf","State":{"ExitCode":0,"FinishedAt":"0001-01-01T00:00:00Z","Paused":false,"Pid":12100,"Running":true,"StartedAt":"2014-06-25T20:36:48.92517516Z"},"Volumes":{},"VolumesRW":{}}
148
+ http_version:
149
+ recorded_at: Wed, 25 Jun 2014 22:31:11 GMT
150
+ recorded_with: VCR 2.9.2
@@ -2,13 +2,13 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: unix:///var/run/docker.sock/v1.11/containers/create
5
+ uri: unix:///var/run/docker.sock/v1.12/containers/create
6
6
  body:
7
7
  encoding: UTF-8
8
8
  string: '{"Cmd":["tar","nonsense"],"Image":"base"}'
9
9
  headers:
10
10
  User-Agent:
11
- - Swipely/Docker-API 1.11.1
11
+ - Swipely/Docker-API 1.11.2
12
12
  Content-Type:
13
13
  - application/json
14
14
  response:
@@ -19,7 +19,7 @@ http_interactions:
19
19
  Content-Type:
20
20
  - application/json
21
21
  Date:
22
- - Fri, 06 Jun 2014 13:36:47 GMT
22
+ - Thu, 26 Jun 2014 19:45:41 GMT
23
23
  Content-Length:
24
24
  - '90'
25
25
  Connection:
@@ -27,18 +27,18 @@ http_interactions:
27
27
  body:
28
28
  encoding: UTF-8
29
29
  string: |
30
- {"Id":"c70cfabe185292f9f8ee870411426a5f395ddff7154b0d33c4856077251ef07b","Warnings":null}
30
+ {"Id":"e13e22d5a496ef17fe88410461fb25b1e67d4a353838ec4ea9e4a1e83479dd8c","Warnings":null}
31
31
  http_version:
32
- recorded_at: Fri, 06 Jun 2014 13:36:47 GMT
32
+ recorded_at: Thu, 26 Jun 2014 19:45:41 GMT
33
33
  - request:
34
34
  method: post
35
- uri: unix:///var/run/docker.sock/v1.11/containers/c70cfabe185292f9f8ee870411426a5f395ddff7154b0d33c4856077251ef07b/start
35
+ uri: unix:///var/run/docker.sock/v1.12/containers/e13e22d5a496ef17fe88410461fb25b1e67d4a353838ec4ea9e4a1e83479dd8c/start
36
36
  body:
37
37
  encoding: UTF-8
38
38
  string: '{}'
39
39
  headers:
40
40
  User-Agent:
41
- - Swipely/Docker-API 1.11.1
41
+ - Swipely/Docker-API 1.11.2
42
42
  Content-Type:
43
43
  - application/json
44
44
  response:
@@ -47,27 +47,23 @@ http_interactions:
47
47
  message:
48
48
  headers:
49
49
  Date:
50
- - Fri, 06 Jun 2014 13:36:47 GMT
51
- Content-Length:
52
- - '0'
53
- Content-Type:
54
- - text/plain; charset=utf-8
50
+ - Thu, 26 Jun 2014 19:45:41 GMT
55
51
  Connection:
56
52
  - close
57
53
  body:
58
54
  encoding: UTF-8
59
55
  string: ''
60
56
  http_version:
61
- recorded_at: Fri, 06 Jun 2014 13:36:47 GMT
57
+ recorded_at: Thu, 26 Jun 2014 19:45:41 GMT
62
58
  - request:
63
59
  method: post
64
- uri: unix:///var/run/docker.sock/v1.11/containers/c70cfabe185292f9f8ee870411426a5f395ddff7154b0d33c4856077251ef07b/wait
60
+ uri: unix:///var/run/docker.sock/v1.12/containers/e13e22d5a496ef17fe88410461fb25b1e67d4a353838ec4ea9e4a1e83479dd8c/wait
65
61
  body:
66
62
  encoding: US-ASCII
67
63
  string: ''
68
64
  headers:
69
65
  User-Agent:
70
- - Swipely/Docker-API 1.11.1
66
+ - Swipely/Docker-API 1.11.2
71
67
  Content-Type:
72
68
  - text/plain
73
69
  response:
@@ -78,7 +74,7 @@ http_interactions:
78
74
  Content-Type:
79
75
  - application/json
80
76
  Date:
81
- - Fri, 06 Jun 2014 13:36:48 GMT
77
+ - Thu, 26 Jun 2014 19:45:41 GMT
82
78
  Content-Length:
83
79
  - '18'
84
80
  Connection:
@@ -88,5 +84,5 @@ http_interactions:
88
84
  string: |
89
85
  {"StatusCode":64}
90
86
  http_version:
91
- recorded_at: Fri, 06 Jun 2014 13:36:48 GMT
87
+ recorded_at: Thu, 26 Jun 2014 19:45:41 GMT
92
88
  recorded_with: VCR 2.9.2
@@ -2,13 +2,13 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: unix:///var/run/docker.sock/v1.11/containers/create
5
+ uri: unix:///var/run/docker.sock/v1.12/containers/create
6
6
  body:
7
7
  encoding: UTF-8
8
8
  string: '{"Cmd":["sleep","5"],"Image":"base"}'
9
9
  headers:
10
10
  User-Agent:
11
- - Swipely/Docker-API 1.11.1
11
+ - Swipely/Docker-API 1.11.2
12
12
  Content-Type:
13
13
  - application/json
14
14
  response:
@@ -19,7 +19,7 @@ http_interactions:
19
19
  Content-Type:
20
20
  - application/json
21
21
  Date:
22
- - Fri, 06 Jun 2014 13:36:54 GMT
22
+ - Thu, 26 Jun 2014 19:46:41 GMT
23
23
  Content-Length:
24
24
  - '90'
25
25
  Connection:
@@ -27,18 +27,18 @@ http_interactions:
27
27
  body:
28
28
  encoding: UTF-8
29
29
  string: |
30
- {"Id":"4725efd445a3d695fd1334972a0f09f963369f108a3823709ffe1cdadbf48635","Warnings":null}
30
+ {"Id":"acd7aa98b5ff2e1496f5351b1198442d60fa0e184cb1d14eba16741c5d43e752","Warnings":null}
31
31
  http_version:
32
- recorded_at: Fri, 06 Jun 2014 13:36:54 GMT
32
+ recorded_at: Thu, 26 Jun 2014 19:46:41 GMT
33
33
  - request:
34
34
  method: post
35
- uri: unix:///var/run/docker.sock/v1.11/containers/4725efd445a3d695fd1334972a0f09f963369f108a3823709ffe1cdadbf48635/start
35
+ uri: unix:///var/run/docker.sock/v1.12/containers/acd7aa98b5ff2e1496f5351b1198442d60fa0e184cb1d14eba16741c5d43e752/start
36
36
  body:
37
37
  encoding: UTF-8
38
38
  string: '{}'
39
39
  headers:
40
40
  User-Agent:
41
- - Swipely/Docker-API 1.11.1
41
+ - Swipely/Docker-API 1.11.2
42
42
  Content-Type:
43
43
  - application/json
44
44
  response:
@@ -47,16 +47,12 @@ http_interactions:
47
47
  message:
48
48
  headers:
49
49
  Date:
50
- - Fri, 06 Jun 2014 13:36:54 GMT
51
- Content-Length:
52
- - '0'
53
- Content-Type:
54
- - text/plain; charset=utf-8
50
+ - Thu, 26 Jun 2014 19:46:42 GMT
55
51
  Connection:
56
52
  - close
57
53
  body:
58
54
  encoding: UTF-8
59
55
  string: ''
60
56
  http_version:
61
- recorded_at: Fri, 06 Jun 2014 13:36:54 GMT
57
+ recorded_at: Thu, 26 Jun 2014 19:46:42 GMT
62
58
  recorded_with: VCR 2.9.2
@@ -2,13 +2,13 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: unix:///var/run/docker.sock/v1.11/containers/create
5
+ uri: unix:///var/run/docker.sock/v1.12/containers/create
6
6
  body:
7
7
  encoding: UTF-8
8
8
  string: '{"Cmd":["sleep","5"],"Image":"base"}'
9
9
  headers:
10
10
  User-Agent:
11
- - Swipely/Docker-API 1.11.1
11
+ - Swipely/Docker-API 1.11.2
12
12
  Content-Type:
13
13
  - application/json
14
14
  response:
@@ -19,7 +19,7 @@ http_interactions:
19
19
  Content-Type:
20
20
  - application/json
21
21
  Date:
22
- - Fri, 06 Jun 2014 13:36:48 GMT
22
+ - Thu, 26 Jun 2014 19:46:32 GMT
23
23
  Content-Length:
24
24
  - '90'
25
25
  Connection:
@@ -27,18 +27,18 @@ http_interactions:
27
27
  body:
28
28
  encoding: UTF-8
29
29
  string: |
30
- {"Id":"aa7e2ecdf17a537bebbb26ebf03bb737a44e73ad3e0bc0c4291f70f5a788f561","Warnings":null}
30
+ {"Id":"4ed54c9a50fc859927ae5d2f5f0b65cd214a20d968b222f12415c4880811d557","Warnings":null}
31
31
  http_version:
32
- recorded_at: Fri, 06 Jun 2014 13:36:48 GMT
32
+ recorded_at: Thu, 26 Jun 2014 19:46:32 GMT
33
33
  - request:
34
34
  method: post
35
- uri: unix:///var/run/docker.sock/v1.11/containers/aa7e2ecdf17a537bebbb26ebf03bb737a44e73ad3e0bc0c4291f70f5a788f561/start
35
+ uri: unix:///var/run/docker.sock/v1.12/containers/4ed54c9a50fc859927ae5d2f5f0b65cd214a20d968b222f12415c4880811d557/start
36
36
  body:
37
37
  encoding: UTF-8
38
38
  string: '{}'
39
39
  headers:
40
40
  User-Agent:
41
- - Swipely/Docker-API 1.11.1
41
+ - Swipely/Docker-API 1.11.2
42
42
  Content-Type:
43
43
  - application/json
44
44
  response:
@@ -47,27 +47,23 @@ http_interactions:
47
47
  message:
48
48
  headers:
49
49
  Date:
50
- - Fri, 06 Jun 2014 13:36:48 GMT
51
- Content-Length:
52
- - '0'
53
- Content-Type:
54
- - text/plain; charset=utf-8
50
+ - Thu, 26 Jun 2014 19:46:32 GMT
55
51
  Connection:
56
52
  - close
57
53
  body:
58
54
  encoding: UTF-8
59
55
  string: ''
60
56
  http_version:
61
- recorded_at: Fri, 06 Jun 2014 13:36:48 GMT
57
+ recorded_at: Thu, 26 Jun 2014 19:46:32 GMT
62
58
  - request:
63
59
  method: post
64
- uri: unix:///var/run/docker.sock/v1.11/containers/aa7e2ecdf17a537bebbb26ebf03bb737a44e73ad3e0bc0c4291f70f5a788f561/wait
60
+ uri: unix:///var/run/docker.sock/v1.12/containers/4ed54c9a50fc859927ae5d2f5f0b65cd214a20d968b222f12415c4880811d557/wait
65
61
  body:
66
62
  encoding: US-ASCII
67
63
  string: ''
68
64
  headers:
69
65
  User-Agent:
70
- - Swipely/Docker-API 1.11.1
66
+ - Swipely/Docker-API 1.11.2
71
67
  Content-Type:
72
68
  - text/plain
73
69
  response:
@@ -78,7 +74,7 @@ http_interactions:
78
74
  Content-Type:
79
75
  - application/json
80
76
  Date:
81
- - Fri, 06 Jun 2014 13:36:53 GMT
77
+ - Thu, 26 Jun 2014 19:46:38 GMT
82
78
  Content-Length:
83
79
  - '17'
84
80
  Connection:
@@ -88,5 +84,5 @@ http_interactions:
88
84
  string: |
89
85
  {"StatusCode":0}
90
86
  http_version:
91
- recorded_at: Fri, 06 Jun 2014 13:36:53 GMT
87
+ recorded_at: Thu, 26 Jun 2014 19:46:38 GMT
92
88
  recorded_with: VCR 2.9.2
@@ -2,13 +2,13 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: unix:///var/run/docker.sock/v1.11/images/create?fromImage=base
5
+ uri: unix:///var/run/docker.sock/v1.12/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.11.1
11
+ - Swipely/Docker-API 1.11.2
12
12
  Content-Type:
13
13
  - text/plain
14
14
  response:
@@ -19,7 +19,7 @@ http_interactions:
19
19
  Content-Type:
20
20
  - application/json
21
21
  Date:
22
- - Fri, 06 Jun 2014 14:36:55 GMT
22
+ - Thu, 26 Jun 2014 20:58:33 GMT
23
23
  Connection:
24
24
  - close
25
25
  Transfer-Encoding:
@@ -34,16 +34,16 @@ http_interactions:
34
34
  complete\",\"progressDetail\":{},\"id\":\"b750fe79269d\"}{\"status\":\"Download
35
35
  complete\",\"progressDetail\":{},\"id\":\"b750fe79269d\"}"
36
36
  http_version:
37
- recorded_at: Fri, 06 Jun 2014 14:36:56 GMT
37
+ recorded_at: Thu, 26 Jun 2014 20:58:34 GMT
38
38
  - request:
39
39
  method: get
40
- uri: unix:///var/run/docker.sock/v1.11/images/json?all=true
40
+ uri: unix:///var/run/docker.sock/v1.12/images/json?all=true
41
41
  body:
42
42
  encoding: US-ASCII
43
43
  string: ''
44
44
  headers:
45
45
  User-Agent:
46
- - Swipely/Docker-API 1.11.1
46
+ - Swipely/Docker-API 1.11.2
47
47
  Content-Type:
48
48
  - text/plain
49
49
  response:
@@ -54,18 +54,17 @@ http_interactions:
54
54
  Content-Type:
55
55
  - application/json
56
56
  Date:
57
- - Fri, 06 Jun 2014 14:36:56 GMT
57
+ - Thu, 26 Jun 2014 20:58:34 GMT
58
58
  Content-Length:
59
- - '660'
59
+ - '403'
60
60
  Connection:
61
61
  - close
62
62
  body:
63
63
  encoding: UTF-8
64
64
  string: |-
65
- [{"Created":1402065294,"Id":"05e7e1d523ff92976daa0b5515b6ba16da8e9a033e7ee528bf4cb0123e089873","ParentId":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":38,"VirtualSize":175307073}
66
- ,{"Created":1364102658,"Id":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","ParentId":"27cf784147099545","RepoTags":["base:latest","base:ubuntu-12.10","base:ubuntu-quantal","base:ubuntu-quantl"],"Size":77,"VirtualSize":175307035}
65
+ [{"Created":1364102658,"Id":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","ParentId":"27cf784147099545","RepoTags":["base:ubuntu-quantal","base:ubuntu-quantl","base:latest","base:ubuntu-12.10"],"Size":77,"VirtualSize":175307035}
67
66
  ,{"Created":1364068391,"Id":"27cf784147099545","ParentId":"","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":175306958,"VirtualSize":175306958}
68
67
  ]
69
68
  http_version:
70
- recorded_at: Fri, 06 Jun 2014 14:36:56 GMT
69
+ recorded_at: Thu, 26 Jun 2014 20:58:34 GMT
71
70
  recorded_with: VCR 2.9.2