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,121 @@
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:41:26 GMT
23
+ Content-Length:
24
+ - '90'
25
+ Connection:
26
+ - close
27
+ body:
28
+ encoding: UTF-8
29
+ string: |
30
+ {"Id":"37e3d60b08c597de8cd904937039048984906e2e2303d09c0f2e7fa078ea42f1","Warnings":null}
31
+ http_version:
32
+ recorded_at: Wed, 25 Jun 2014 22:35:48 GMT
33
+ - request:
34
+ method: post
35
+ uri: unix:///var/run/docker.sock/v1.12/containers/37e3d60b08c597de8cd904937039048984906e2e2303d09c0f2e7fa078ea42f1/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:41:26 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:35:49 GMT
62
+ - request:
63
+ method: post
64
+ uri: unix:///var/run/docker.sock/v1.12/containers/37e3d60b08c597de8cd904937039048984906e2e2303d09c0f2e7fa078ea42f1/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:41:26 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:35:49 GMT
91
+ - request:
92
+ method: get
93
+ uri: unix:///var/run/docker.sock/v1.12/containers/37e3d60b08c597de8cd904937039048984906e2e2303d09c0f2e7fa078ea42f1/json
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: 200
105
+ message:
106
+ headers:
107
+ Content-Type:
108
+ - application/json
109
+ Date:
110
+ - Wed, 25 Jun 2014 20:41:26 GMT
111
+ Content-Length:
112
+ - '1612'
113
+ Connection:
114
+ - close
115
+ body:
116
+ encoding: UTF-8
117
+ string: |
118
+ {"Args":["50"],"Config":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":["sleep","50"],"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":null,"Env":null,"ExposedPorts":null,"Hostname":"37e3d60b08c5","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:41:26.69598368Z","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/37e3d60b08c597de8cd904937039048984906e2e2303d09c0f2e7fa078ea42f1/hostname","HostsPath":"/mnt/sda1/var/lib/docker/containers/37e3d60b08c597de8cd904937039048984906e2e2303d09c0f2e7fa078ea42f1/hosts","Id":"37e3d60b08c597de8cd904937039048984906e2e2303d09c0f2e7fa078ea42f1","Image":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","MountLabel":"","Name":"/agitated_almeida","NetworkSettings":{"Bridge":"docker0","Gateway":"172.17.42.1","IPAddress":"172.17.0.54","IPPrefixLen":16,"PortMapping":null,"Ports":{}},"Path":"sleep","ProcessLabel":"","ResolvConfPath":"/mnt/sda1/var/lib/docker/containers/37e3d60b08c597de8cd904937039048984906e2e2303d09c0f2e7fa078ea42f1/resolv.conf","State":{"ExitCode":0,"FinishedAt":"0001-01-01T00:00:00Z","Paused":true,"Pid":12110,"Running":true,"StartedAt":"2014-06-25T20:41:26.85527983Z"},"Volumes":{},"VolumesRW":{}}
119
+ http_version:
120
+ recorded_at: Wed, 25 Jun 2014 22:35:49 GMT
121
+ 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","50"],"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:46 GMT
22
+ - Thu, 26 Jun 2014 19:45:23 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":"8f21d51b034b2312381b6fecb6f64daf4e27d9383adde881f293ba76a41b13e1","Warnings":null}
30
+ {"Id":"0946fcf9582c5d767717ae0894f7265bb4eaaf9ad4522ea42e6d743e7e27777a","Warnings":null}
31
31
  http_version:
32
- recorded_at: Fri, 06 Jun 2014 13:36:46 GMT
32
+ recorded_at: Thu, 26 Jun 2014 19:45:23 GMT
33
33
  - request:
34
34
  method: post
35
- uri: unix:///var/run/docker.sock/v1.11/containers/8f21d51b034b2312381b6fecb6f64daf4e27d9383adde881f293ba76a41b13e1/start
35
+ uri: unix:///var/run/docker.sock/v1.12/containers/0946fcf9582c5d767717ae0894f7265bb4eaaf9ad4522ea42e6d743e7e27777a/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:46 GMT
51
- Content-Length:
52
- - '0'
53
- Content-Type:
54
- - text/plain; charset=utf-8
50
+ - Thu, 26 Jun 2014 19:45:23 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:46 GMT
57
+ recorded_at: Thu, 26 Jun 2014 19:45:23 GMT
62
58
  - request:
63
59
  method: get
64
- uri: unix:///var/run/docker.sock/v1.11/containers/json
60
+ uri: unix:///var/run/docker.sock/v1.12/containers/json
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,28 +74,28 @@ http_interactions:
78
74
  Content-Type:
79
75
  - application/json
80
76
  Date:
81
- - Fri, 06 Jun 2014 13:36:46 GMT
77
+ - Thu, 26 Jun 2014 19:45:23 GMT
82
78
  Content-Length:
83
- - '409'
79
+ - '411'
84
80
  Connection:
85
81
  - close
86
82
  body:
87
83
  encoding: UTF-8
88
84
  string: |-
89
- [{"Command":"sleep 50","Created":1402061806,"Id":"8f21d51b034b2312381b6fecb6f64daf4e27d9383adde881f293ba76a41b13e1","Image":"base:latest","Names":["/sharp_lalande"],"Ports":[],"Status":"Up Less than a second"}
90
- ,{"Command":"/while","Created":1402061799,"Id":"74553200d912dda35c0f8641028d3e42faaf6e41b4337a4e202328414bb2da5e","Image":"5964d75bfbd2","Names":["/angry_brown"],"Ports":[],"Status":"Up 7 seconds"}
85
+ [{"Command":"sleep 50","Created":1403811922,"Id":"0946fcf9582c5d767717ae0894f7265bb4eaaf9ad4522ea42e6d743e7e27777a","Image":"base:latest","Names":["/jovial_leakey"],"Ports":[],"Status":"Up Less than a second"}
86
+ ,{"Command":"/while","Created":1403811778,"Id":"e3ef53f0c6fc463801a85b9c8d9b2fe348600c2e529c59fa0592da739912224d","Image":"41b70f59d9b6","Names":["/sleepy_yonath"],"Ports":[],"Status":"Up 2 minutes"}
91
87
  ]
92
88
  http_version:
93
- recorded_at: Fri, 06 Jun 2014 13:36:46 GMT
89
+ recorded_at: Thu, 26 Jun 2014 19:45:23 GMT
94
90
  - request:
95
91
  method: post
96
- uri: unix:///var/run/docker.sock/v1.11/containers/8f21d51b034b2312381b6fecb6f64daf4e27d9383adde881f293ba76a41b13e1/stop
92
+ uri: unix:///var/run/docker.sock/v1.12/containers/0946fcf9582c5d767717ae0894f7265bb4eaaf9ad4522ea42e6d743e7e27777a/stop
97
93
  body:
98
94
  encoding: UTF-8
99
95
  string: '{}'
100
96
  headers:
101
97
  User-Agent:
102
- - Swipely/Docker-API 1.11.1
98
+ - Swipely/Docker-API 1.11.2
103
99
  Content-Type:
104
100
  - application/json
105
101
  response:
@@ -108,27 +104,23 @@ http_interactions:
108
104
  message:
109
105
  headers:
110
106
  Date:
111
- - Fri, 06 Jun 2014 13:36:47 GMT
112
- Content-Length:
113
- - '0'
114
- Content-Type:
115
- - text/plain; charset=utf-8
107
+ - Thu, 26 Jun 2014 19:45:23 GMT
116
108
  Connection:
117
109
  - close
118
110
  body:
119
111
  encoding: UTF-8
120
112
  string: ''
121
113
  http_version:
122
- recorded_at: Fri, 06 Jun 2014 13:36:47 GMT
114
+ recorded_at: Thu, 26 Jun 2014 19:45:23 GMT
123
115
  - request:
124
116
  method: get
125
- uri: unix:///var/run/docker.sock/v1.11/containers/json
117
+ uri: unix:///var/run/docker.sock/v1.12/containers/json
126
118
  body:
127
119
  encoding: US-ASCII
128
120
  string: ''
129
121
  headers:
130
122
  User-Agent:
131
- - Swipely/Docker-API 1.11.1
123
+ - Swipely/Docker-API 1.11.2
132
124
  Content-Type:
133
125
  - text/plain
134
126
  response:
@@ -139,27 +131,27 @@ http_interactions:
139
131
  Content-Type:
140
132
  - application/json
141
133
  Date:
142
- - Fri, 06 Jun 2014 13:36:47 GMT
134
+ - Thu, 26 Jun 2014 19:45:23 GMT
143
135
  Content-Length:
144
- - '199'
136
+ - '201'
145
137
  Connection:
146
138
  - close
147
139
  body:
148
140
  encoding: UTF-8
149
141
  string: |-
150
- [{"Command":"/while","Created":1402061799,"Id":"74553200d912dda35c0f8641028d3e42faaf6e41b4337a4e202328414bb2da5e","Image":"5964d75bfbd2","Names":["/angry_brown"],"Ports":[],"Status":"Up 7 seconds"}
142
+ [{"Command":"/while","Created":1403811778,"Id":"e3ef53f0c6fc463801a85b9c8d9b2fe348600c2e529c59fa0592da739912224d","Image":"41b70f59d9b6","Names":["/sleepy_yonath"],"Ports":[],"Status":"Up 2 minutes"}
151
143
  ]
152
144
  http_version:
153
- recorded_at: Fri, 06 Jun 2014 13:36:47 GMT
145
+ recorded_at: Thu, 26 Jun 2014 19:45:23 GMT
154
146
  - request:
155
147
  method: post
156
- uri: unix:///var/run/docker.sock/v1.11/containers/8f21d51b034b2312381b6fecb6f64daf4e27d9383adde881f293ba76a41b13e1/restart?t=10
148
+ uri: unix:///var/run/docker.sock/v1.12/containers/0946fcf9582c5d767717ae0894f7265bb4eaaf9ad4522ea42e6d743e7e27777a/restart?t=10
157
149
  body:
158
150
  encoding: UTF-8
159
151
  string: '{}'
160
152
  headers:
161
153
  User-Agent:
162
- - Swipely/Docker-API 1.11.1
154
+ - Swipely/Docker-API 1.11.2
163
155
  Content-Type:
164
156
  - application/json
165
157
  response:
@@ -168,27 +160,23 @@ http_interactions:
168
160
  message:
169
161
  headers:
170
162
  Date:
171
- - Fri, 06 Jun 2014 13:36:47 GMT
172
- Content-Length:
173
- - '0'
174
- Content-Type:
175
- - text/plain; charset=utf-8
163
+ - Thu, 26 Jun 2014 19:45:23 GMT
176
164
  Connection:
177
165
  - close
178
166
  body:
179
167
  encoding: UTF-8
180
168
  string: ''
181
169
  http_version:
182
- recorded_at: Fri, 06 Jun 2014 13:36:47 GMT
170
+ recorded_at: Thu, 26 Jun 2014 19:45:23 GMT
183
171
  - request:
184
172
  method: get
185
- uri: unix:///var/run/docker.sock/v1.11/containers/json
173
+ uri: unix:///var/run/docker.sock/v1.12/containers/json
186
174
  body:
187
175
  encoding: US-ASCII
188
176
  string: ''
189
177
  headers:
190
178
  User-Agent:
191
- - Swipely/Docker-API 1.11.1
179
+ - Swipely/Docker-API 1.11.2
192
180
  Content-Type:
193
181
  - text/plain
194
182
  response:
@@ -199,17 +187,17 @@ http_interactions:
199
187
  Content-Type:
200
188
  - application/json
201
189
  Date:
202
- - Fri, 06 Jun 2014 13:36:47 GMT
190
+ - Thu, 26 Jun 2014 19:45:23 GMT
203
191
  Content-Length:
204
- - '409'
192
+ - '411'
205
193
  Connection:
206
194
  - close
207
195
  body:
208
196
  encoding: UTF-8
209
197
  string: |-
210
- [{"Command":"sleep 50","Created":1402061806,"Id":"8f21d51b034b2312381b6fecb6f64daf4e27d9383adde881f293ba76a41b13e1","Image":"base:latest","Names":["/sharp_lalande"],"Ports":[],"Status":"Up Less than a second"}
211
- ,{"Command":"/while","Created":1402061799,"Id":"74553200d912dda35c0f8641028d3e42faaf6e41b4337a4e202328414bb2da5e","Image":"5964d75bfbd2","Names":["/angry_brown"],"Ports":[],"Status":"Up 8 seconds"}
198
+ [{"Command":"sleep 50","Created":1403811922,"Id":"0946fcf9582c5d767717ae0894f7265bb4eaaf9ad4522ea42e6d743e7e27777a","Image":"base:latest","Names":["/jovial_leakey"],"Ports":[],"Status":"Up Less than a second"}
199
+ ,{"Command":"/while","Created":1403811778,"Id":"e3ef53f0c6fc463801a85b9c8d9b2fe348600c2e529c59fa0592da739912224d","Image":"41b70f59d9b6","Names":["/sleepy_yonath"],"Ports":[],"Status":"Up 2 minutes"}
212
200
  ]
213
201
  http_version:
214
- recorded_at: Fri, 06 Jun 2014 13:36:47 GMT
202
+ recorded_at: Thu, 26 Jun 2014 19:45:23 GMT
215
203
  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":["lol","not","a","real","command"],"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:47:03 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":"e54a107e5ceda43c339a39ed8024a96f25acf5d52bffcc241e664bb12f7f8d18","Warnings":null}
30
+ {"Id":"0530e3918db251d9b8a8ecc24c68afe0b5b34f8f9ccf8b58cf61f7a1d7ecbb2c","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:47:03 GMT
33
33
  - request:
34
34
  method: post
35
- uri: unix:///var/run/docker.sock/v1.11/containers/e54a107e5ceda43c339a39ed8024a96f25acf5d52bffcc241e664bb12f7f8d18/start
35
+ uri: unix:///var/run/docker.sock/v1.12/containers/0530e3918db251d9b8a8ecc24c68afe0b5b34f8f9ccf8b58cf61f7a1d7ecbb2c/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:54 GMT
51
- Content-Length:
52
- - '0'
53
- Content-Type:
54
- - text/plain; charset=utf-8
50
+ - Thu, 26 Jun 2014 19:47:03 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:47:03 GMT
62
58
  - request:
63
59
  method: post
64
- uri: unix:///var/run/docker.sock/v1.11/containers/e54a107e5ceda43c339a39ed8024a96f25acf5d52bffcc241e664bb12f7f8d18/wait
60
+ uri: unix:///var/run/docker.sock/v1.12/containers/0530e3918db251d9b8a8ecc24c68afe0b5b34f8f9ccf8b58cf61f7a1d7ecbb2c/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:54 GMT
77
+ - Thu, 26 Jun 2014 19:47:03 GMT
82
78
  Content-Length:
83
79
  - '17'
84
80
  Connection:
@@ -88,5 +84,5 @@ http_interactions:
88
84
  string: |
89
85
  {"StatusCode":1}
90
86
  http_version:
91
- recorded_at: Fri, 06 Jun 2014 13:36:54 GMT
87
+ recorded_at: Thu, 26 Jun 2014 19:47:03 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":["pwd"],"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:55 GMT
22
+ - Thu, 26 Jun 2014 19:47:09 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":"e069285efbe59702426c48608bd49e0e50ead091b8e97ad425e215ad9e6b3f7a","Warnings":null}
30
+ {"Id":"382d239647f263158ed32a1117a80698fcc7c2041482f512e953286b617310b2","Warnings":null}
31
31
  http_version:
32
- recorded_at: Fri, 06 Jun 2014 13:36:55 GMT
32
+ recorded_at: Thu, 26 Jun 2014 19:47:09 GMT
33
33
  - request:
34
34
  method: post
35
- uri: unix:///var/run/docker.sock/v1.11/containers/e069285efbe59702426c48608bd49e0e50ead091b8e97ad425e215ad9e6b3f7a/start
35
+ uri: unix:///var/run/docker.sock/v1.12/containers/382d239647f263158ed32a1117a80698fcc7c2041482f512e953286b617310b2/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:55 GMT
51
- Content-Length:
52
- - '0'
53
- Content-Type:
54
- - text/plain; charset=utf-8
50
+ - Thu, 26 Jun 2014 19:47:09 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:55 GMT
57
+ recorded_at: Thu, 26 Jun 2014 19:47:09 GMT
62
58
  - request:
63
59
  method: post
64
- uri: unix:///var/run/docker.sock/v1.11/containers/e069285efbe59702426c48608bd49e0e50ead091b8e97ad425e215ad9e6b3f7a/wait
60
+ uri: unix:///var/run/docker.sock/v1.12/containers/382d239647f263158ed32a1117a80698fcc7c2041482f512e953286b617310b2/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:55 GMT
77
+ - Thu, 26 Jun 2014 19:47:10 GMT
82
78
  Content-Length:
83
79
  - '17'
84
80
  Connection:
@@ -88,16 +84,16 @@ http_interactions:
88
84
  string: |
89
85
  {"StatusCode":0}
90
86
  http_version:
91
- recorded_at: Fri, 06 Jun 2014 13:36:55 GMT
87
+ recorded_at: Thu, 26 Jun 2014 19:47:10 GMT
92
88
  - request:
93
89
  method: post
94
- uri: unix:///var/run/docker.sock/v1.11/commit?container=e069285e
90
+ uri: unix:///var/run/docker.sock/v1.12/commit?container=382d2396
95
91
  body:
96
92
  encoding: UTF-8
97
93
  string: 'null'
98
94
  headers:
99
95
  User-Agent:
100
- - Swipely/Docker-API 1.11.1
96
+ - Swipely/Docker-API 1.11.2
101
97
  Content-Type:
102
98
  - application/json
103
99
  response:
@@ -108,7 +104,7 @@ http_interactions:
108
104
  Content-Type:
109
105
  - application/json
110
106
  Date:
111
- - Fri, 06 Jun 2014 13:36:56 GMT
107
+ - Thu, 26 Jun 2014 19:47:11 GMT
112
108
  Content-Length:
113
109
  - '74'
114
110
  Connection:
@@ -116,18 +112,18 @@ http_interactions:
116
112
  body:
117
113
  encoding: UTF-8
118
114
  string: |
119
- {"Id":"7364e1f83f7b954283072e0bf10b43b92c992940ae639cf71a74e31f4a93e75f"}
115
+ {"Id":"d7a1c20ffa414983c3afe003c09080bfe2648932f55d2665e201a32ec0c3896a"}
120
116
  http_version:
121
- recorded_at: Fri, 06 Jun 2014 13:36:56 GMT
117
+ recorded_at: Thu, 26 Jun 2014 19:47:11 GMT
122
118
  - request:
123
119
  method: post
124
- uri: unix:///var/run/docker.sock/v1.11/containers/create
120
+ uri: unix:///var/run/docker.sock/v1.12/containers/create
125
121
  body:
126
122
  encoding: UTF-8
127
- string: '{"Image":"7364e1f83f7b954283072e0bf10b43b92c992940ae639cf71a74e31f4a93e75f","Cmd":["ls"]}'
123
+ string: '{"Image":"d7a1c20ffa414983c3afe003c09080bfe2648932f55d2665e201a32ec0c3896a","Cmd":["ls"]}'
128
124
  headers:
129
125
  User-Agent:
130
- - Swipely/Docker-API 1.11.1
126
+ - Swipely/Docker-API 1.11.2
131
127
  Content-Type:
132
128
  - application/json
133
129
  response:
@@ -138,7 +134,7 @@ http_interactions:
138
134
  Content-Type:
139
135
  - application/json
140
136
  Date:
141
- - Fri, 06 Jun 2014 13:36:57 GMT
137
+ - Thu, 26 Jun 2014 19:47:11 GMT
142
138
  Content-Length:
143
139
  - '90'
144
140
  Connection:
@@ -146,18 +142,18 @@ http_interactions:
146
142
  body:
147
143
  encoding: UTF-8
148
144
  string: |
149
- {"Id":"cdf087a3327652217345367963fa0c16177c742c13107b1702bcf3d21cf0591d","Warnings":null}
145
+ {"Id":"8add5a1b98de19374296941333822b8ecf6f8971f826e5f0ea98e576c9ba0da6","Warnings":null}
150
146
  http_version:
151
- recorded_at: Fri, 06 Jun 2014 13:36:57 GMT
147
+ recorded_at: Thu, 26 Jun 2014 19:47:11 GMT
152
148
  - request:
153
149
  method: post
154
- uri: unix:///var/run/docker.sock/v1.11/containers/cdf087a3327652217345367963fa0c16177c742c13107b1702bcf3d21cf0591d/start
150
+ uri: unix:///var/run/docker.sock/v1.12/containers/8add5a1b98de19374296941333822b8ecf6f8971f826e5f0ea98e576c9ba0da6/start
155
151
  body:
156
152
  encoding: UTF-8
157
153
  string: '{}'
158
154
  headers:
159
155
  User-Agent:
160
- - Swipely/Docker-API 1.11.1
156
+ - Swipely/Docker-API 1.11.2
161
157
  Content-Type:
162
158
  - application/json
163
159
  response:
@@ -166,27 +162,23 @@ http_interactions:
166
162
  message:
167
163
  headers:
168
164
  Date:
169
- - Fri, 06 Jun 2014 13:36:57 GMT
170
- Content-Length:
171
- - '0'
172
- Content-Type:
173
- - text/plain; charset=utf-8
165
+ - Thu, 26 Jun 2014 19:47:12 GMT
174
166
  Connection:
175
167
  - close
176
168
  body:
177
169
  encoding: UTF-8
178
170
  string: ''
179
171
  http_version:
180
- recorded_at: Fri, 06 Jun 2014 13:36:57 GMT
172
+ recorded_at: Thu, 26 Jun 2014 19:47:12 GMT
181
173
  - request:
182
174
  method: post
183
- uri: unix:///var/run/docker.sock/v1.11/containers/cdf087a3327652217345367963fa0c16177c742c13107b1702bcf3d21cf0591d/start
175
+ uri: unix:///var/run/docker.sock/v1.12/containers/8add5a1b98de19374296941333822b8ecf6f8971f826e5f0ea98e576c9ba0da6/start
184
176
  body:
185
177
  encoding: UTF-8
186
178
  string: '{}'
187
179
  headers:
188
180
  User-Agent:
189
- - Swipely/Docker-API 1.11.1
181
+ - Swipely/Docker-API 1.11.2
190
182
  Content-Type:
191
183
  - application/json
192
184
  response:
@@ -195,27 +187,23 @@ http_interactions:
195
187
  message:
196
188
  headers:
197
189
  Date:
198
- - Fri, 06 Jun 2014 13:36:57 GMT
199
- Content-Length:
200
- - '0'
201
- Content-Type:
202
- - text/plain; charset=utf-8
190
+ - Thu, 26 Jun 2014 19:47:12 GMT
203
191
  Connection:
204
192
  - close
205
193
  body:
206
194
  encoding: UTF-8
207
195
  string: ''
208
196
  http_version:
209
- recorded_at: Fri, 06 Jun 2014 13:36:57 GMT
197
+ recorded_at: Thu, 26 Jun 2014 19:47:12 GMT
210
198
  - request:
211
199
  method: post
212
- uri: unix:///var/run/docker.sock/v1.11/containers/cdf087a3327652217345367963fa0c16177c742c13107b1702bcf3d21cf0591d/wait
200
+ uri: unix:///var/run/docker.sock/v1.12/containers/8add5a1b98de19374296941333822b8ecf6f8971f826e5f0ea98e576c9ba0da6/wait
213
201
  body:
214
202
  encoding: US-ASCII
215
203
  string: ''
216
204
  headers:
217
205
  User-Agent:
218
- - Swipely/Docker-API 1.11.1
206
+ - Swipely/Docker-API 1.11.2
219
207
  Content-Type:
220
208
  - text/plain
221
209
  response:
@@ -226,7 +214,7 @@ http_interactions:
226
214
  Content-Type:
227
215
  - application/json
228
216
  Date:
229
- - Fri, 06 Jun 2014 13:36:57 GMT
217
+ - Thu, 26 Jun 2014 19:47:12 GMT
230
218
  Content-Length:
231
219
  - '17'
232
220
  Connection:
@@ -236,5 +224,5 @@ http_interactions:
236
224
  string: |
237
225
  {"StatusCode":0}
238
226
  http_version:
239
- recorded_at: Fri, 06 Jun 2014 13:36:57 GMT
227
+ recorded_at: Thu, 26 Jun 2014 19:47:12 GMT
240
228
  recorded_with: VCR 2.9.2