docker-api 1.9.1 → 1.10.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (61) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -5
  3. data/lib/docker/container.rb +20 -3
  4. data/lib/docker/image.rb +2 -2
  5. data/lib/docker/version.rb +2 -2
  6. data/spec/docker/container_spec.rb +3 -3
  7. data/spec/docker/image_spec.rb +1 -1
  8. data/spec/vcr/Docker/_authenticate_/with_valid_credentials/logs_in_and_sets_the_creds.yml +1 -1
  9. data/spec/vcr/Docker/_info/returns_the_info_as_a_Hash.yml +6 -6
  10. data/spec/vcr/Docker/_validate_version/when_nothing_is_raised/validate_version_/.yml +6 -6
  11. data/spec/vcr/Docker/_version/returns_the_version_as_a_Hash.yml +6 -6
  12. data/spec/vcr/Docker_Container/_all/when_the_HTTP_response_is_a_200/materializes_each_Container_into_a_Docker_Container.yml +63 -93
  13. data/spec/vcr/Docker_Container/_attach/with_normal_sized_chunks/yields_each_chunk.yml +12 -12
  14. data/spec/vcr/Docker_Container/_attach/with_very_small_chunks/yields_each_chunk.yml +12 -12
  15. data/spec/vcr/Docker_Container/_changes/returns_the_changes_as_an_array.yml +4 -4
  16. data/spec/vcr/Docker_Container/_commit/creates_a_new_Image_from_the_Container_s_changes.yml +14 -14
  17. data/spec/vcr/Docker_Container/_commit/if_run_is_passed_it_saves_the_command_in_the_image/saves_the_command.yml +9 -9
  18. data/spec/vcr/Docker_Container/_copy/when_the_input_is_a_directory/yields_each_chunk_of_the_tarred_directory.yml +21 -21
  19. data/spec/vcr/Docker_Container/_copy/when_the_input_is_a_file/yields_each_chunk_of_the_tarred_file.yml +22 -22
  20. data/spec/vcr/Docker_Container/_create/when_creating_a_container_named_bob/should_have_name_set_to_bob.yml +11 -11
  21. 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
  22. data/spec/vcr/Docker_Container/_delete/deletes_the_container.yml +17 -15
  23. data/spec/vcr/Docker_Container/_export/yields_each_chunk.yml +3 -3
  24. data/spec/vcr/Docker_Container/_get/when_the_HTTP_response_is_a_200/materializes_the_Container_into_a_Docker_Container.yml +11 -11
  25. data/spec/vcr/Docker_Container/_json/returns_the_description_as_a_Hash.yml +11 -11
  26. data/spec/vcr/Docker_Container/_kill/kills_the_container.yml +34 -47
  27. data/spec/vcr/Docker_Container/_restart/restarts_the_container.yml +39 -35
  28. data/spec/vcr/Docker_Container/_run/when_the_Container_s_command_does_not_return_status_code_of_0/raises_an_error.yml +15 -15
  29. 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 +37 -37
  30. data/spec/vcr/Docker_Container/_start/starts_the_container.yml +20 -19
  31. data/spec/vcr/Docker_Container/_stop/stops_the_container.yml +37 -50
  32. data/spec/vcr/Docker_Container/_top/returns_the_top_commands_as_an_Array.yml +26 -115
  33. data/spec/vcr/Docker_Container/_wait/waits_for_the_command_to_finish.yml +15 -15
  34. data/spec/vcr/Docker_Container/_wait/when_an_argument_is_given/and_a_command_runs_for_too_long/raises_a_ServerError.yml +9 -9
  35. data/spec/vcr/Docker_Container/_wait/when_an_argument_is_given/sets_the_read_timeout_to_that_amount_of_time.yml +13 -13
  36. data/spec/vcr/Docker_Image/_all/materializes_each_Image_into_a_Docker_Image.yml +29 -15
  37. data/spec/vcr/Docker_Image/_build/with_a_valid_Dockerfile/with_a_block_capturing_build_output/calls_the_block_and_passes_build_output.yml +5 -5
  38. 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 +28 -20
  39. data/spec/vcr/Docker_Image/_build/with_a_valid_Dockerfile/without_query_parameters/builds_an_image.yml +5 -5
  40. data/spec/vcr/Docker_Image/_build/with_an_invalid_Dockerfile/throws_a_UnexpectedResponseError.yml +5 -5
  41. 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 +6 -6
  42. data/spec/vcr/Docker_Image/_build_from_dir/with_a_valid_Dockerfile/with_no_query_parameters/builds_the_image.yml +18 -19
  43. 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 -31
  44. data/spec/vcr/Docker_Image/_create/when_the_Image_does_not_yet_exist_and_the_body_is_a_Hash/sets_the_id.yml +4 -4
  45. data/spec/vcr/Docker_Image/_get/when_the_image_does_exist/returns_the_new_image.yml +4 -4
  46. data/spec/vcr/Docker_Image/_history/returns_the_history_of_the_Image.yml +8 -8
  47. data/spec/vcr/Docker_Image/_insert/inserts_the_url_s_file_into_a_new_Image.yml +26 -209
  48. data/spec/vcr/Docker_Image/_insert_local/when_removing_intermediate_containers/creates_a_new_image.yml +51 -35
  49. data/spec/vcr/Docker_Image/_insert_local/when_removing_intermediate_containers/leave_no_intermediate_containers.yml +90 -40
  50. data/spec/vcr/Docker_Image/_insert_local/when_the_local_file_does_exist/creates_a_new_Image_that_has_that_file.yml +26 -26
  51. data/spec/vcr/Docker_Image/_insert_local/when_the_local_file_does_not_exist/raises_an_error.yml +5 -5
  52. data/spec/vcr/Docker_Image/_insert_local/when_there_are_multiple_files_passed/creates_a_new_Image_that_has_each_file.yml +28 -28
  53. data/spec/vcr/Docker_Image/_json/returns_additional_information_about_image_image.yml +8 -8
  54. data/spec/vcr/Docker_Image/_push/pushes_the_Image.yml +49 -33
  55. data/spec/vcr/Docker_Image/_remove/removes_the_Image.yml +25 -18
  56. data/spec/vcr/Docker_Image/_run/when_the_argument_is_a_String/splits_the_String_by_spaces_and_creates_a_new_Container.yml +16 -16
  57. data/spec/vcr/Docker_Image/_run/when_the_argument_is_an_Array/creates_a_new_Container.yml +16 -16
  58. 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 +8 -8
  59. data/spec/vcr/Docker_Image/_search/materializes_each_Image_into_a_Docker_Image.yml +24 -23
  60. data/spec/vcr/Docker_Image/_tag/tags_the_image_with_the_repo_name.yml +8 -8
  61. metadata +2 -2
@@ -2,13 +2,13 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: unix:///var/run/docker.sock/v1.9/images/create?fromImage=base
5
+ uri: unix:///var/run/docker.sock/v1.10/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.8.4
11
+ - Swipely/Docker-API 1.9.1
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, 28 Feb 2014 21:41:52 GMT
22
+ - Wed, 12 Mar 2014 13:31:22 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, 28 Feb 2014 21:41:53 GMT
37
+ recorded_at: Wed, 12 Mar 2014 13:31:24 GMT
38
38
  - request:
39
39
  method: post
40
- uri: unix:///var/run/docker.sock/v1.9/containers/create
40
+ uri: unix:///var/run/docker.sock/v1.10/containers/create
41
41
  body:
42
42
  encoding: UTF-8
43
43
  string: "{\"Image\":\"b750fe79269d\",\"Cmd\":[\"touch\",\"/test\"]}"
44
44
  headers:
45
45
  User-Agent:
46
- - Swipely/Docker-API 1.8.4
46
+ - Swipely/Docker-API 1.9.1
47
47
  Content-Type:
48
48
  - application/json
49
49
  response:
@@ -54,7 +54,7 @@ http_interactions:
54
54
  Content-Type:
55
55
  - application/json
56
56
  Date:
57
- - Fri, 28 Feb 2014 21:41:53 GMT
57
+ - Wed, 12 Mar 2014 13:31:25 GMT
58
58
  Content-Length:
59
59
  - '90'
60
60
  Connection:
@@ -62,18 +62,18 @@ http_interactions:
62
62
  body:
63
63
  encoding: UTF-8
64
64
  string: |
65
- {"Id":"d9ca2f0d85c136ae72d03c4053c1175b103154bba20d493812ff8d2803534b8a","Warnings":null}
65
+ {"Id":"2703dd3c331e8405de077d5ed9452e0fe27fe3bb9f54740dc34845e1d0ab5499","Warnings":null}
66
66
  http_version:
67
- recorded_at: Fri, 28 Feb 2014 21:41:53 GMT
67
+ recorded_at: Wed, 12 Mar 2014 13:31:25 GMT
68
68
  - request:
69
69
  method: post
70
- uri: unix:///var/run/docker.sock/v1.9/containers/d9ca2f0d85c136ae72d03c4053c1175b103154bba20d493812ff8d2803534b8a/start
70
+ uri: unix:///var/run/docker.sock/v1.10/containers/2703dd3c331e8405de077d5ed9452e0fe27fe3bb9f54740dc34845e1d0ab5499/start
71
71
  body:
72
72
  encoding: UTF-8
73
73
  string: "{}"
74
74
  headers:
75
75
  User-Agent:
76
- - Swipely/Docker-API 1.8.4
76
+ - Swipely/Docker-API 1.9.1
77
77
  Content-Type:
78
78
  - application/json
79
79
  response:
@@ -82,7 +82,7 @@ http_interactions:
82
82
  message:
83
83
  headers:
84
84
  Date:
85
- - Fri, 28 Feb 2014 21:41:54 GMT
85
+ - Wed, 12 Mar 2014 13:31:25 GMT
86
86
  Content-Length:
87
87
  - '0'
88
88
  Content-Type:
@@ -93,16 +93,16 @@ http_interactions:
93
93
  encoding: UTF-8
94
94
  string: ''
95
95
  http_version:
96
- recorded_at: Fri, 28 Feb 2014 21:41:54 GMT
96
+ recorded_at: Wed, 12 Mar 2014 13:31:25 GMT
97
97
  - request:
98
98
  method: post
99
- uri: unix:///var/run/docker.sock/v1.9/containers/d9ca2f0d85c136ae72d03c4053c1175b103154bba20d493812ff8d2803534b8a/wait
99
+ uri: unix:///var/run/docker.sock/v1.10/containers/2703dd3c331e8405de077d5ed9452e0fe27fe3bb9f54740dc34845e1d0ab5499/wait
100
100
  body:
101
101
  encoding: US-ASCII
102
102
  string: ''
103
103
  headers:
104
104
  User-Agent:
105
- - Swipely/Docker-API 1.8.4
105
+ - Swipely/Docker-API 1.9.1
106
106
  Content-Type:
107
107
  - text/plain
108
108
  response:
@@ -113,7 +113,7 @@ http_interactions:
113
113
  Content-Type:
114
114
  - application/json
115
115
  Date:
116
- - Fri, 28 Feb 2014 21:41:55 GMT
116
+ - Wed, 12 Mar 2014 13:31:25 GMT
117
117
  Content-Length:
118
118
  - '17'
119
119
  Connection:
@@ -123,16 +123,16 @@ http_interactions:
123
123
  string: |
124
124
  {"StatusCode":0}
125
125
  http_version:
126
- recorded_at: Fri, 28 Feb 2014 21:41:55 GMT
126
+ recorded_at: Wed, 12 Mar 2014 13:31:25 GMT
127
127
  - request:
128
128
  method: post
129
- uri: unix:///var/run/docker.sock/v1.9/containers/d9ca2f0d85c136ae72d03c4053c1175b103154bba20d493812ff8d2803534b8a/copy
129
+ uri: unix:///var/run/docker.sock/v1.10/containers/2703dd3c331e8405de077d5ed9452e0fe27fe3bb9f54740dc34845e1d0ab5499/copy
130
130
  body:
131
131
  encoding: UTF-8
132
132
  string: "{\"Resource\":\"/test\"}"
133
133
  headers:
134
134
  User-Agent:
135
- - Swipely/Docker-API 1.8.4
135
+ - Swipely/Docker-API 1.9.1
136
136
  Content-Type:
137
137
  - application/json
138
138
  response:
@@ -141,7 +141,7 @@ http_interactions:
141
141
  message:
142
142
  headers:
143
143
  Date:
144
- - Fri, 28 Feb 2014 21:41:55 GMT
144
+ - Wed, 12 Mar 2014 13:31:25 GMT
145
145
  Content-Length:
146
146
  - '1536'
147
147
  Content-Type:
@@ -154,7 +154,7 @@ http_interactions:
154
154
  dGVzdAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
155
155
  AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
156
156
  AAAAAAAAAAAAADAxMDA2NDQAMDAwMDAwMAAwMDAwMDAwADAwMDAwMDAwMDAw
157
- ADEyMzA0MjAxMjQyADAxMDEyMwAgMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
157
+ ADEyMzEwMDYwNjU1ADAxMDEzMwAgMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
158
158
  AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
159
159
  AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAB1c3RhcgAwMAAAAAAA
160
160
  AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
@@ -187,5 +187,5 @@ http_interactions:
187
187
  AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
188
188
  AAAAAAAA
189
189
  http_version:
190
- recorded_at: Fri, 28 Feb 2014 21:41:55 GMT
190
+ recorded_at: Wed, 12 Mar 2014 13:31:25 GMT
191
191
  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.9/containers/create?name=bob
5
+ uri: unix:///var/run/docker.sock/v1.10/containers/create?name=bob
6
6
  body:
7
7
  encoding: UTF-8
8
8
  string: "{\"Cmd\":[\"true\"],\"Image\":\"base\"}"
9
9
  headers:
10
10
  User-Agent:
11
- - Swipely/Docker-API 1.8.4
11
+ - Swipely/Docker-API 1.9.1
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, 28 Feb 2014 21:41:43 GMT
22
+ - Wed, 12 Mar 2014 13:31:18 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":"1f4356ab785f38d193d074a67622f629b7f6abaa6dca0e9a415a544a91e987ce","Warnings":null}
30
+ {"Id":"be31311878d52f79a24ae359a00d7859e80fe6bb429026a74ccbafa606b04782","Warnings":null}
31
31
  http_version:
32
- recorded_at: Fri, 28 Feb 2014 21:41:43 GMT
32
+ recorded_at: Wed, 12 Mar 2014 13:31:18 GMT
33
33
  - request:
34
34
  method: get
35
- uri: unix:///var/run/docker.sock/v1.9/containers/1f4356ab785f38d193d074a67622f629b7f6abaa6dca0e9a415a544a91e987ce/json
35
+ uri: unix:///var/run/docker.sock/v1.10/containers/be31311878d52f79a24ae359a00d7859e80fe6bb429026a74ccbafa606b04782/json
36
36
  body:
37
37
  encoding: US-ASCII
38
38
  string: ''
39
39
  headers:
40
40
  User-Agent:
41
- - Swipely/Docker-API 1.8.4
41
+ - Swipely/Docker-API 1.9.1
42
42
  Content-Type:
43
43
  - text/plain
44
44
  response:
@@ -49,14 +49,14 @@ http_interactions:
49
49
  Content-Type:
50
50
  - application/json
51
51
  Date:
52
- - Fri, 28 Feb 2014 21:41:43 GMT
52
+ - Wed, 12 Mar 2014 13:31:18 GMT
53
53
  Content-Length:
54
- - '1141'
54
+ - '1167'
55
55
  Connection:
56
56
  - close
57
57
  body:
58
58
  encoding: UTF-8
59
- string: "{\"ID\":\"1f4356ab785f38d193d074a67622f629b7f6abaa6dca0e9a415a544a91e987ce\",\"Created\":\"2014-02-28T21:41:43.237313144Z\",\"Path\":\"true\",\"Args\":[],\"Config\":{\"Hostname\":\"1f4356ab785f\",\"Domainname\":\"\",\"User\":\"\",\"Memory\":0,\"MemorySwap\":0,\"CpuShares\":0,\"AttachStdin\":false,\"AttachStdout\":false,\"AttachStderr\":false,\"PortSpecs\":null,\"ExposedPorts\":null,\"Tty\":false,\"OpenStdin\":false,\"StdinOnce\":false,\"Env\":null,\"Cmd\":[\"true\"],\"Dns\":null,\"Image\":\"base\",\"Volumes\":null,\"VolumesFrom\":\"\",\"WorkingDir\":\"\",\"Entrypoint\":null,\"NetworkDisabled\":false,\"OnBuild\":null},\"State\":{\"Running\":false,\"Pid\":0,\"ExitCode\":0,\"StartedAt\":\"0001-01-01T00:00:00Z\",\"FinishedAt\":\"0001-01-01T00:00:00Z\",\"Ghost\":false},\"Image\":\"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc\",\"NetworkSettings\":{\"IPAddress\":\"\",\"IPPrefixLen\":0,\"Gateway\":\"\",\"Bridge\":\"\",\"PortMapping\":null,\"Ports\":null},\"ResolvConfPath\":\"/etc/resolv.conf\",\"HostnamePath\":\"\",\"HostsPath\":\"\",\"Name\":\"/bob\",\"Driver\":\"devicemapper\",\"Volumes\":null,\"VolumesRW\":null,\"HostConfig\":{\"Binds\":null,\"ContainerIDFile\":\"\",\"LxcConf\":null,\"Privileged\":false,\"PortBindings\":null,\"Links\":null,\"PublishAllPorts\":false}}"
59
+ string: "{\"ID\":\"be31311878d52f79a24ae359a00d7859e80fe6bb429026a74ccbafa606b04782\",\"Created\":\"2014-03-12T13:31:18.020984371Z\",\"Path\":\"true\",\"Args\":[],\"Config\":{\"Hostname\":\"be31311878d5\",\"Domainname\":\"\",\"User\":\"\",\"Memory\":0,\"MemorySwap\":0,\"CpuShares\":0,\"AttachStdin\":false,\"AttachStdout\":false,\"AttachStderr\":false,\"PortSpecs\":null,\"ExposedPorts\":null,\"Tty\":false,\"OpenStdin\":false,\"StdinOnce\":false,\"Env\":null,\"Cmd\":[\"true\"],\"Dns\":null,\"Image\":\"base\",\"Volumes\":null,\"VolumesFrom\":\"\",\"WorkingDir\":\"\",\"Entrypoint\":null,\"NetworkDisabled\":false,\"OnBuild\":null},\"State\":{\"Running\":false,\"Pid\":0,\"ExitCode\":0,\"StartedAt\":\"0001-01-01T00:00:00Z\",\"FinishedAt\":\"0001-01-01T00:00:00Z\",\"Ghost\":false},\"Image\":\"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc\",\"NetworkSettings\":{\"IPAddress\":\"\",\"IPPrefixLen\":0,\"Gateway\":\"\",\"Bridge\":\"\",\"PortMapping\":null,\"Ports\":null},\"ResolvConfPath\":\"/etc/resolv.conf\",\"HostnamePath\":\"\",\"HostsPath\":\"\",\"Name\":\"/bob\",\"Driver\":\"devicemapper\",\"ExecDriver\":\"native-0.1\",\"Volumes\":null,\"VolumesRW\":null,\"HostConfig\":{\"Binds\":null,\"ContainerIDFile\":\"\",\"LxcConf\":null,\"Privileged\":false,\"PortBindings\":null,\"Links\":null,\"PublishAllPorts\":false}}"
60
60
  http_version:
61
- recorded_at: Fri, 28 Feb 2014 21:41:43 GMT
61
+ recorded_at: Wed, 12 Mar 2014 13:31:18 GMT
62
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.9/containers/create
5
+ uri: unix:///var/run/docker.sock/v1.10/containers/create
6
6
  body:
7
7
  encoding: UTF-8
8
8
  string: "{\"Hostname\":\"\",\"User\":\"\",\"Memory\":0,\"MemorySwap\":0,\"AttachStdin\":false,\"AttachStdout\":false,\"AttachStderr\":false,\"PortSpecs\":null,\"Tty\":false,\"OpenStdin\":false,\"StdinOnce\":false,\"Env\":null,\"Cmd\":[\"date\"],\"Dns\":null,\"Image\":\"base\",\"Volumes\":{},\"VolumesFrom\":\"\"}"
9
9
  headers:
10
10
  User-Agent:
11
- - Swipely/Docker-API 1.8.4
11
+ - Swipely/Docker-API 1.9.1
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, 28 Feb 2014 21:42:32 GMT
22
+ - Wed, 12 Mar 2014 13:31:47 GMT
23
23
  Content-Length:
24
24
  - '90'
25
25
  Connection:
@@ -27,7 +27,7 @@ http_interactions:
27
27
  body:
28
28
  encoding: UTF-8
29
29
  string: |
30
- {"Id":"ea36d22cc3773deafae3cd7f87a51a6c2743d32c60d1b85a13b3f65fd609921a","Warnings":null}
30
+ {"Id":"e5db8489f386c64097f8b2d23054d3285d6d39eff0e62ebdca8b0fec42864b7d","Warnings":null}
31
31
  http_version:
32
- recorded_at: Fri, 28 Feb 2014 21:42:32 GMT
32
+ recorded_at: Wed, 12 Mar 2014 13:31:47 GMT
33
33
  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.9/containers/create
5
+ uri: unix:///var/run/docker.sock/v1.10/containers/create
6
6
  body:
7
7
  encoding: UTF-8
8
8
  string: "{\"Cmd\":[\"ls\"],\"Image\":\"base\"}"
9
9
  headers:
10
10
  User-Agent:
11
- - Swipely/Docker-API 1.8.4
11
+ - Swipely/Docker-API 1.9.1
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, 28 Feb 2014 21:42:07 GMT
22
+ - Wed, 12 Mar 2014 13:31:33 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":"9be29160a6a52353024a881d522f4780628538bf42b1b6c7ed2bcb76442624a1","Warnings":null}
30
+ {"Id":"bb1f3d81f887e424599fa2a99c1c6d1f92384e7b78db4f8378a4f5adad4c1369","Warnings":null}
31
31
  http_version:
32
- recorded_at: Fri, 28 Feb 2014 21:42:07 GMT
32
+ recorded_at: Wed, 12 Mar 2014 13:31:33 GMT
33
33
  - request:
34
34
  method: delete
35
- uri: unix:///var/run/docker.sock/v1.9/containers/9be29160a6a52353024a881d522f4780628538bf42b1b6c7ed2bcb76442624a1
35
+ uri: unix:///var/run/docker.sock/v1.10/containers/bb1f3d81f887e424599fa2a99c1c6d1f92384e7b78db4f8378a4f5adad4c1369?force=true
36
36
  body:
37
37
  encoding: US-ASCII
38
38
  string: ''
39
39
  headers:
40
40
  User-Agent:
41
- - Swipely/Docker-API 1.8.4
41
+ - Swipely/Docker-API 1.9.1
42
42
  Content-Type:
43
43
  - text/plain
44
44
  response:
@@ -47,7 +47,7 @@ http_interactions:
47
47
  message:
48
48
  headers:
49
49
  Date:
50
- - Fri, 28 Feb 2014 21:42:08 GMT
50
+ - Wed, 12 Mar 2014 13:31:34 GMT
51
51
  Content-Length:
52
52
  - '0'
53
53
  Content-Type:
@@ -58,16 +58,16 @@ http_interactions:
58
58
  encoding: UTF-8
59
59
  string: ''
60
60
  http_version:
61
- recorded_at: Fri, 28 Feb 2014 21:42:08 GMT
61
+ recorded_at: Wed, 12 Mar 2014 13:31:34 GMT
62
62
  - request:
63
63
  method: get
64
- uri: unix:///var/run/docker.sock/v1.9/containers/json
64
+ uri: unix:///var/run/docker.sock/v1.10/containers/json
65
65
  body:
66
66
  encoding: US-ASCII
67
67
  string: ''
68
68
  headers:
69
69
  User-Agent:
70
- - Swipely/Docker-API 1.8.4
70
+ - Swipely/Docker-API 1.9.1
71
71
  Content-Type:
72
72
  - text/plain
73
73
  response:
@@ -78,14 +78,16 @@ http_interactions:
78
78
  Content-Type:
79
79
  - application/json
80
80
  Date:
81
- - Fri, 28 Feb 2014 21:42:08 GMT
81
+ - Wed, 12 Mar 2014 13:31:34 GMT
82
82
  Content-Length:
83
- - '2'
83
+ - '200'
84
84
  Connection:
85
85
  - close
86
86
  body:
87
87
  encoding: UTF-8
88
- string: "[]"
88
+ string: |-
89
+ [{"Command":"/while","Created":1394631081,"Id":"d2def324f3daa1989173223f03d22e789c4354aa99d80e7258068de9e911cb35","Image":"2e0a9a843f66","Names":["/stoic_brown"],"Ports":[],"Status":"Up 13 seconds"}
90
+ ]
89
91
  http_version:
90
- recorded_at: Fri, 28 Feb 2014 21:42:08 GMT
92
+ recorded_at: Wed, 12 Mar 2014 13:31:34 GMT
91
93
  recorded_with: VCR 2.8.0
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: unix:///var/run/docker.sock/v1.9/containers/create
5
+ uri: unix:///var/run/docker.sock/v1.10/containers/create
6
6
  body:
7
7
  encoding: UTF-8
8
8
  string: "{\"Cmd\":[\"rm\",\"-rf\",\"/\",\"--no-preserve-root\"],\"Image\":\"base\"}"
@@ -32,7 +32,7 @@ http_interactions:
32
32
  recorded_at: Mon, 03 Mar 2014 12:28:55 GMT
33
33
  - request:
34
34
  method: post
35
- uri: unix:///var/run/docker.sock/v1.9/containers/29d6b39a24e54d692c0d65dc708eb18801a87eca31f50142d55ce9d02a295d50/start
35
+ uri: unix:///var/run/docker.sock/v1.10/containers/29d6b39a24e54d692c0d65dc708eb18801a87eca31f50142d55ce9d02a295d50/start
36
36
  body:
37
37
  encoding: UTF-8
38
38
  string: "{}"
@@ -61,7 +61,7 @@ http_interactions:
61
61
  recorded_at: Mon, 03 Mar 2014 12:28:56 GMT
62
62
  - request:
63
63
  method: get
64
- uri: unix:///var/run/docker.sock/v1.9/containers/29d6b39a24e54d692c0d65dc708eb18801a87eca31f50142d55ce9d02a295d50/export
64
+ uri: unix:///var/run/docker.sock/v1.10/containers/29d6b39a24e54d692c0d65dc708eb18801a87eca31f50142d55ce9d02a295d50/export
65
65
  body:
66
66
  encoding: US-ASCII
67
67
  string: ''
@@ -2,13 +2,13 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: unix:///var/run/docker.sock/v1.9/containers/create
5
+ uri: unix:///var/run/docker.sock/v1.10/containers/create
6
6
  body:
7
7
  encoding: UTF-8
8
8
  string: "{\"Cmd\":[\"ls\"],\"Image\":\"base\"}"
9
9
  headers:
10
10
  User-Agent:
11
- - Swipely/Docker-API 1.8.4
11
+ - Swipely/Docker-API 1.9.1
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, 28 Feb 2014 21:42:32 GMT
22
+ - Wed, 12 Mar 2014 13:31:47 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":"23c1a78b560afba941db345e5e9e7618ad5a5edf2ac39764249089e906fc201c","Warnings":null}
30
+ {"Id":"9b524a40ef7e4204495322507f3e34c27836bd0d4f37a30bea8efca3ba1f0038","Warnings":null}
31
31
  http_version:
32
- recorded_at: Fri, 28 Feb 2014 21:42:32 GMT
32
+ recorded_at: Wed, 12 Mar 2014 13:31:47 GMT
33
33
  - request:
34
34
  method: get
35
- uri: unix:///var/run/docker.sock/v1.9/containers/23c1a78b560afba941db345e5e9e7618ad5a5edf2ac39764249089e906fc201c/json
35
+ uri: unix:///var/run/docker.sock/v1.10/containers/9b524a40ef7e4204495322507f3e34c27836bd0d4f37a30bea8efca3ba1f0038/json
36
36
  body:
37
37
  encoding: US-ASCII
38
38
  string: ''
39
39
  headers:
40
40
  User-Agent:
41
- - Swipely/Docker-API 1.8.4
41
+ - Swipely/Docker-API 1.9.1
42
42
  Content-Type:
43
43
  - text/plain
44
44
  response:
@@ -49,14 +49,14 @@ http_interactions:
49
49
  Content-Type:
50
50
  - application/json
51
51
  Date:
52
- - Fri, 28 Feb 2014 21:42:32 GMT
52
+ - Wed, 12 Mar 2014 13:31:47 GMT
53
53
  Content-Length:
54
- - '1144'
54
+ - '1176'
55
55
  Connection:
56
56
  - close
57
57
  body:
58
58
  encoding: UTF-8
59
- string: "{\"ID\":\"23c1a78b560afba941db345e5e9e7618ad5a5edf2ac39764249089e906fc201c\",\"Created\":\"2014-02-28T21:42:32.669714652Z\",\"Path\":\"ls\",\"Args\":[],\"Config\":{\"Hostname\":\"23c1a78b560a\",\"Domainname\":\"\",\"User\":\"\",\"Memory\":0,\"MemorySwap\":0,\"CpuShares\":0,\"AttachStdin\":false,\"AttachStdout\":false,\"AttachStderr\":false,\"PortSpecs\":null,\"ExposedPorts\":null,\"Tty\":false,\"OpenStdin\":false,\"StdinOnce\":false,\"Env\":null,\"Cmd\":[\"ls\"],\"Dns\":null,\"Image\":\"base\",\"Volumes\":null,\"VolumesFrom\":\"\",\"WorkingDir\":\"\",\"Entrypoint\":null,\"NetworkDisabled\":false,\"OnBuild\":null},\"State\":{\"Running\":false,\"Pid\":0,\"ExitCode\":0,\"StartedAt\":\"0001-01-01T00:00:00Z\",\"FinishedAt\":\"0001-01-01T00:00:00Z\",\"Ghost\":false},\"Image\":\"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc\",\"NetworkSettings\":{\"IPAddress\":\"\",\"IPPrefixLen\":0,\"Gateway\":\"\",\"Bridge\":\"\",\"PortMapping\":null,\"Ports\":null},\"ResolvConfPath\":\"/etc/resolv.conf\",\"HostnamePath\":\"\",\"HostsPath\":\"\",\"Name\":\"/goofy_bell\",\"Driver\":\"devicemapper\",\"Volumes\":null,\"VolumesRW\":null,\"HostConfig\":{\"Binds\":null,\"ContainerIDFile\":\"\",\"LxcConf\":null,\"Privileged\":false,\"PortBindings\":null,\"Links\":null,\"PublishAllPorts\":false}}"
59
+ string: "{\"ID\":\"9b524a40ef7e4204495322507f3e34c27836bd0d4f37a30bea8efca3ba1f0038\",\"Created\":\"2014-03-12T13:31:47.067626418Z\",\"Path\":\"ls\",\"Args\":[],\"Config\":{\"Hostname\":\"9b524a40ef7e\",\"Domainname\":\"\",\"User\":\"\",\"Memory\":0,\"MemorySwap\":0,\"CpuShares\":0,\"AttachStdin\":false,\"AttachStdout\":false,\"AttachStderr\":false,\"PortSpecs\":null,\"ExposedPorts\":null,\"Tty\":false,\"OpenStdin\":false,\"StdinOnce\":false,\"Env\":null,\"Cmd\":[\"ls\"],\"Dns\":null,\"Image\":\"base\",\"Volumes\":null,\"VolumesFrom\":\"\",\"WorkingDir\":\"\",\"Entrypoint\":null,\"NetworkDisabled\":false,\"OnBuild\":null},\"State\":{\"Running\":false,\"Pid\":0,\"ExitCode\":0,\"StartedAt\":\"0001-01-01T00:00:00Z\",\"FinishedAt\":\"0001-01-01T00:00:00Z\",\"Ghost\":false},\"Image\":\"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc\",\"NetworkSettings\":{\"IPAddress\":\"\",\"IPPrefixLen\":0,\"Gateway\":\"\",\"Bridge\":\"\",\"PortMapping\":null,\"Ports\":null},\"ResolvConfPath\":\"/etc/resolv.conf\",\"HostnamePath\":\"\",\"HostsPath\":\"\",\"Name\":\"/romantic_davinci\",\"Driver\":\"devicemapper\",\"ExecDriver\":\"native-0.1\",\"Volumes\":null,\"VolumesRW\":null,\"HostConfig\":{\"Binds\":null,\"ContainerIDFile\":\"\",\"LxcConf\":null,\"Privileged\":false,\"PortBindings\":null,\"Links\":null,\"PublishAllPorts\":false}}"
60
60
  http_version:
61
- recorded_at: Fri, 28 Feb 2014 21:42:32 GMT
61
+ recorded_at: Wed, 12 Mar 2014 13:31:47 GMT
62
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.9/containers/create
5
+ uri: unix:///var/run/docker.sock/v1.10/containers/create
6
6
  body:
7
7
  encoding: UTF-8
8
8
  string: "{\"Cmd\":[\"true\"],\"Image\":\"base\"}"
9
9
  headers:
10
10
  User-Agent:
11
- - Swipely/Docker-API 1.8.4
11
+ - Swipely/Docker-API 1.9.1
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, 28 Feb 2014 21:41:43 GMT
22
+ - Wed, 12 Mar 2014 13:31:17 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":"9c286a4bdae3f4ee5c581a26c742d80642bedc4b48a00365f5723f197c592cf2","Warnings":null}
30
+ {"Id":"b615f325b67d6bf74b31ce94f39dea0c1a9f2707b2f610bbdbf6e5dc779b4444","Warnings":null}
31
31
  http_version:
32
- recorded_at: Fri, 28 Feb 2014 21:41:43 GMT
32
+ recorded_at: Wed, 12 Mar 2014 13:31:17 GMT
33
33
  - request:
34
34
  method: get
35
- uri: unix:///var/run/docker.sock/v1.9/containers/9c286a4bdae3f4ee5c581a26c742d80642bedc4b48a00365f5723f197c592cf2/json
35
+ uri: unix:///var/run/docker.sock/v1.10/containers/b615f325b67d6bf74b31ce94f39dea0c1a9f2707b2f610bbdbf6e5dc779b4444/json
36
36
  body:
37
37
  encoding: US-ASCII
38
38
  string: ''
39
39
  headers:
40
40
  User-Agent:
41
- - Swipely/Docker-API 1.8.4
41
+ - Swipely/Docker-API 1.9.1
42
42
  Content-Type:
43
43
  - text/plain
44
44
  response:
@@ -49,14 +49,14 @@ http_interactions:
49
49
  Content-Type:
50
50
  - application/json
51
51
  Date:
52
- - Fri, 28 Feb 2014 21:41:43 GMT
52
+ - Wed, 12 Mar 2014 13:31:17 GMT
53
53
  Content-Length:
54
- - '1155'
54
+ - '1175'
55
55
  Connection:
56
56
  - close
57
57
  body:
58
58
  encoding: UTF-8
59
- string: "{\"ID\":\"9c286a4bdae3f4ee5c581a26c742d80642bedc4b48a00365f5723f197c592cf2\",\"Created\":\"2014-02-28T21:41:43.032743737Z\",\"Path\":\"true\",\"Args\":[],\"Config\":{\"Hostname\":\"9c286a4bdae3\",\"Domainname\":\"\",\"User\":\"\",\"Memory\":0,\"MemorySwap\":0,\"CpuShares\":0,\"AttachStdin\":false,\"AttachStdout\":false,\"AttachStderr\":false,\"PortSpecs\":null,\"ExposedPorts\":null,\"Tty\":false,\"OpenStdin\":false,\"StdinOnce\":false,\"Env\":null,\"Cmd\":[\"true\"],\"Dns\":null,\"Image\":\"base\",\"Volumes\":null,\"VolumesFrom\":\"\",\"WorkingDir\":\"\",\"Entrypoint\":null,\"NetworkDisabled\":false,\"OnBuild\":null},\"State\":{\"Running\":false,\"Pid\":0,\"ExitCode\":0,\"StartedAt\":\"0001-01-01T00:00:00Z\",\"FinishedAt\":\"0001-01-01T00:00:00Z\",\"Ghost\":false},\"Image\":\"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc\",\"NetworkSettings\":{\"IPAddress\":\"\",\"IPPrefixLen\":0,\"Gateway\":\"\",\"Bridge\":\"\",\"PortMapping\":null,\"Ports\":null},\"ResolvConfPath\":\"/etc/resolv.conf\",\"HostnamePath\":\"\",\"HostsPath\":\"\",\"Name\":\"/trusting_torvalds\",\"Driver\":\"devicemapper\",\"Volumes\":null,\"VolumesRW\":null,\"HostConfig\":{\"Binds\":null,\"ContainerIDFile\":\"\",\"LxcConf\":null,\"Privileged\":false,\"PortBindings\":null,\"Links\":null,\"PublishAllPorts\":false}}"
59
+ string: "{\"ID\":\"b615f325b67d6bf74b31ce94f39dea0c1a9f2707b2f610bbdbf6e5dc779b4444\",\"Created\":\"2014-03-12T13:31:17.80029627Z\",\"Path\":\"true\",\"Args\":[],\"Config\":{\"Hostname\":\"b615f325b67d\",\"Domainname\":\"\",\"User\":\"\",\"Memory\":0,\"MemorySwap\":0,\"CpuShares\":0,\"AttachStdin\":false,\"AttachStdout\":false,\"AttachStderr\":false,\"PortSpecs\":null,\"ExposedPorts\":null,\"Tty\":false,\"OpenStdin\":false,\"StdinOnce\":false,\"Env\":null,\"Cmd\":[\"true\"],\"Dns\":null,\"Image\":\"base\",\"Volumes\":null,\"VolumesFrom\":\"\",\"WorkingDir\":\"\",\"Entrypoint\":null,\"NetworkDisabled\":false,\"OnBuild\":null},\"State\":{\"Running\":false,\"Pid\":0,\"ExitCode\":0,\"StartedAt\":\"0001-01-01T00:00:00Z\",\"FinishedAt\":\"0001-01-01T00:00:00Z\",\"Ghost\":false},\"Image\":\"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc\",\"NetworkSettings\":{\"IPAddress\":\"\",\"IPPrefixLen\":0,\"Gateway\":\"\",\"Bridge\":\"\",\"PortMapping\":null,\"Ports\":null},\"ResolvConfPath\":\"/etc/resolv.conf\",\"HostnamePath\":\"\",\"HostsPath\":\"\",\"Name\":\"/high_pasteur\",\"Driver\":\"devicemapper\",\"ExecDriver\":\"native-0.1\",\"Volumes\":null,\"VolumesRW\":null,\"HostConfig\":{\"Binds\":null,\"ContainerIDFile\":\"\",\"LxcConf\":null,\"Privileged\":false,\"PortBindings\":null,\"Links\":null,\"PublishAllPorts\":false}}"
60
60
  http_version:
61
- recorded_at: Fri, 28 Feb 2014 21:41:43 GMT
61
+ recorded_at: Wed, 12 Mar 2014 13:31:17 GMT
62
62
  recorded_with: VCR 2.8.0