docker-client 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (83) hide show
  1. data/.gitignore +1 -0
  2. data/README.md +3 -1
  3. data/Rakefile +18 -0
  4. data/lib/docker/error.rb +1 -0
  5. data/lib/docker/error/image_not_found.rb +7 -0
  6. data/lib/docker/resource/container.rb +10 -0
  7. data/lib/docker/resource/image.rb +43 -0
  8. data/lib/docker/version.rb +1 -1
  9. data/spec/cassettes/Docker_Connection/returns_a_stream.yml +171 -0
  10. data/spec/cassettes/Docker_Connection/returns_a_valid_response_for_a_basic_request.yml +3 -12
  11. data/spec/cassettes/Docker_Connection/returns_a_valid_response_for_get_request.yml +3 -77
  12. data/spec/cassettes/Docker_Connection/returns_a_valid_response_for_post_request.yml +189 -0
  13. data/spec/cassettes/Docker_Connection/returns_status_404_for_non_existent_path.yml +2 -2
  14. data/spec/cassettes/Docker_Connection/sets_given_query_parameters.yml +2 -2
  15. data/spec/cassettes/Docker_Connection/sets_given_request_headers.yml +2 -2
  16. data/spec/cassettes/Docker_Resource_Container/attach/raises_an_exception_for_an_unknown_container.yml +30 -0
  17. data/spec/cassettes/Docker_Resource_Container/changes/inspects_the_container_s_filesystem_changes.yml +210 -0
  18. data/spec/cassettes/Docker_Resource_Container/commit/creates_a_new_image_from_the_container_s_changes.yml +199 -0
  19. data/spec/cassettes/Docker_Resource_Container/commit/raises_an_exception_for_an_unknown_container.yml +31 -0
  20. data/spec/cassettes/Docker_Resource_Container/create/raises_an_exception_when_called_with_invalid_options.yml +2 -2
  21. data/spec/cassettes/Docker_Resource_Container/create/with_many_settings.yml +3 -3
  22. data/spec/cassettes/Docker_Resource_Container/create/with_minimal_settings.yml +3 -3
  23. data/spec/cassettes/Docker_Resource_Container/kill/raises_an_exception_for_an_unknow_container.yml +2 -2
  24. data/spec/cassettes/Docker_Resource_Container/kill/the_container.yml +189 -0
  25. data/spec/cassettes/Docker_Resource_Container/lists/all_running_containers.yml +7 -17
  26. data/spec/cassettes/Docker_Resource_Container/lists/limit_last_created_containers.yml +5 -5
  27. data/spec/cassettes/Docker_Resource_Container/lists/non-running_processes_too.yml +10 -85
  28. data/spec/cassettes/Docker_Resource_Container/lists/processes_before_a_certain_created_container.yml +303 -0
  29. data/spec/cassettes/Docker_Resource_Container/lists/processes_since_a_certain_created_container.yml +217 -0
  30. data/spec/cassettes/Docker_Resource_Container/logs/raises_an_exception_for_an_unknown_container.yml +31 -0
  31. data/spec/cassettes/Docker_Resource_Container/logs/returns_the_stderr_of_a_container.yml +154 -0
  32. data/spec/cassettes/Docker_Resource_Container/logs/returns_the_stdout_of_a_container.yml +154 -0
  33. data/spec/cassettes/Docker_Resource_Container/remove/deletes_the_container.yml +189 -0
  34. data/spec/cassettes/Docker_Resource_Container/remove/raises_an_exception_with_an_invalid_container.yml +2 -2
  35. data/spec/cassettes/Docker_Resource_Container/restarts/raises_an_exception_for_an_unknown_container.yml +2 -2
  36. data/spec/cassettes/Docker_Resource_Container/restarts/the_container.yml +189 -0
  37. data/spec/cassettes/Docker_Resource_Container/shows/the_low_level_details.yml +315 -0
  38. data/spec/cassettes/Docker_Resource_Container/start/brings_a_container_into_state_running.yml +189 -0
  39. data/spec/cassettes/Docker_Resource_Container/start/raises_an_exception_for_an_unknown_container.yml +2 -2
  40. data/spec/cassettes/Docker_Resource_Container/stop/halts_a_container.yml +189 -0
  41. data/spec/cassettes/Docker_Resource_Container/stop/raises_an_exception_for_an_unknown_container.yml +2 -2
  42. data/spec/cassettes/Docker_Resource_Container/wait/blocks_until_the_container_stops.yml +196 -0
  43. data/spec/cassettes/Docker_Resource_Container/wait/raises_an_exception_for_an_unknown_container.yml +2 -2
  44. data/spec/cassettes/Docker_Resource_Image/history/.yml +33 -0
  45. data/spec/cassettes/Docker_Resource_Image/history/size/.yml +33 -0
  46. data/spec/cassettes/Docker_Resource_Image/history/step/.yml +33 -0
  47. data/spec/cassettes/Docker_Resource_Image/list/.yml +44 -0
  48. data/spec/cassettes/Docker_Resource_Image/list/includes_latest_base_image.yml +44 -0
  49. data/spec/cassettes/Docker_Resource_Image/list/size/.yml +44 -0
  50. data/spec/cassettes/Docker_Resource_Image/remove/deletes_the_image.yml +192 -0
  51. data/spec/cassettes/Docker_Resource_Image/remove/raises_an_exception_for_an_unknown_image.yml +31 -0
  52. data/spec/cassettes/Docker_Resource_Image/show/.yml +42 -0
  53. data/spec/cassettes/Docker_Resource_Image/show/raises_an_exception_for_an_unknown_image.yml +31 -0
  54. data/spec/cassettes/Docker_Resource_Image/tag/an_image_into_a_repository.yml +30 -0
  55. data/spec/cassettes/Docker_Resource_Image/tag/raises_an_exception_for_an_unknown_image.yml +31 -0
  56. data/spec/cassettes/test_setup/commit_container.yml +423 -0
  57. data/spec/cassettes/test_setup/create_container__command_/bin/sh_-c_while_true_do_echo_hello_world_sleep_1_done_.yml +33 -0
  58. data/spec/cassettes/test_setup/create_container_connection_post.yml +3 -3
  59. data/spec/cassettes/test_setup/create_container_container_attach.yml +34 -0
  60. data/spec/cassettes/test_setup/create_container_container_changes.yml +3 -3
  61. data/spec/cassettes/test_setup/create_container_container_commit.yml +33 -0
  62. data/spec/cassettes/test_setup/create_container_container_kill.yml +3 -3
  63. data/spec/cassettes/test_setup/create_container_container_lists1.yml +3 -3
  64. data/spec/cassettes/test_setup/create_container_container_lists2.yml +3 -3
  65. data/spec/cassettes/test_setup/create_container_container_logs.yml +3 -3
  66. data/spec/cassettes/test_setup/create_container_container_remove.yml +3 -3
  67. data/spec/cassettes/test_setup/create_container_container_restarts.yml +3 -3
  68. data/spec/cassettes/test_setup/create_container_container_shows.yml +3 -3
  69. data/spec/cassettes/test_setup/create_container_container_start.yml +3 -3
  70. data/spec/cassettes/test_setup/create_container_container_stop.yml +3 -3
  71. data/spec/cassettes/test_setup/create_container_container_wait.yml +3 -3
  72. data/spec/cassettes/test_setup/create_container_test-image.yml +33 -0
  73. data/spec/cassettes/test_setup/create_container_test-returns-a-stream.yml +34 -0
  74. data/spec/cassettes/test_setup/create_container_test-tag.yml +33 -0
  75. data/spec/cassettes/test_setup/delete_container.yml +3727 -0
  76. data/spec/cassettes/test_setup/delete_image.yml +409 -0
  77. data/spec/cassettes/test_setup/start_container.yml +2813 -0
  78. data/spec/cassettes/test_setup/wait_on_container.yml +1080 -0
  79. data/spec/docker/connection_spec.rb +1 -1
  80. data/spec/docker/resource/container_spec.rb +26 -11
  81. data/spec/docker/resource/image_spec.rb +104 -0
  82. data/spec/helpers.rb +31 -2
  83. metadata +55 -2
@@ -18,7 +18,7 @@ http_interactions:
18
18
  dGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOA==
19
19
  !binary "RGF0ZQ==":
20
20
  - !binary |-
21
- U2F0LCAyNSBNYXkgMjAxMyAxNjowNTo0MCBHTVQ=
21
+ TW9uLCAwMyBKdW4gMjAxMyAyMTozNzo1NiBHTVQ=
22
22
  !binary "VHJhbnNmZXItRW5jb2Rpbmc=":
23
23
  - !binary |-
24
24
  Y2h1bmtlZA==
@@ -27,5 +27,5 @@ http_interactions:
27
27
  string: !binary |-
28
28
  NDA0IHBhZ2Ugbm90IGZvdW5kCg==
29
29
  http_version:
30
- recorded_at: Sat, 25 May 2013 16:05:43 GMT
30
+ recorded_at: Mon, 03 Jun 2013 21:37:56 GMT
31
31
  recorded_with: VCR 2.5.0
@@ -18,7 +18,7 @@ http_interactions:
18
18
  dGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOA==
19
19
  !binary "RGF0ZQ==":
20
20
  - !binary |-
21
- U2F0LCAyNSBNYXkgMjAxMyAxNjowNTo0MCBHTVQ=
21
+ TW9uLCAwMyBKdW4gMjAxMyAyMTozNzo1NiBHTVQ=
22
22
  !binary "VHJhbnNmZXItRW5jb2Rpbmc=":
23
23
  - !binary |-
24
24
  Y2h1bmtlZA==
@@ -27,5 +27,5 @@ http_interactions:
27
27
  string: !binary |-
28
28
  NDA0IHBhZ2Ugbm90IGZvdW5kCg==
29
29
  http_version:
30
- recorded_at: Sat, 25 May 2013 16:05:43 GMT
30
+ recorded_at: Mon, 03 Jun 2013 21:37:56 GMT
31
31
  recorded_with: VCR 2.5.0
@@ -20,7 +20,7 @@ http_interactions:
20
20
  dGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOA==
21
21
  !binary "RGF0ZQ==":
22
22
  - !binary |-
23
- U2F0LCAyNSBNYXkgMjAxMyAxNjowNTo0MCBHTVQ=
23
+ TW9uLCAwMyBKdW4gMjAxMyAyMTozNzo1NiBHTVQ=
24
24
  !binary "VHJhbnNmZXItRW5jb2Rpbmc=":
25
25
  - !binary |-
26
26
  Y2h1bmtlZA==
@@ -29,5 +29,5 @@ http_interactions:
29
29
  string: !binary |-
30
30
  NDA0IHBhZ2Ugbm90IGZvdW5kCg==
31
31
  http_version:
32
- recorded_at: Sat, 25 May 2013 16:05:43 GMT
32
+ recorded_at: Mon, 03 Jun 2013 21:37:56 GMT
33
33
  recorded_with: VCR 2.5.0
@@ -0,0 +1,30 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: http://10.0.5.5:4243/containers/invalid_id/attach?logs=false&stderr=true&stdout=true&stream=true
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers: {}
10
+ response:
11
+ status:
12
+ code: 404
13
+ message: !binary |-
14
+ Tm90IEZvdW5k
15
+ headers:
16
+ !binary "Q29udGVudC1UeXBl":
17
+ - !binary |-
18
+ dGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOA==
19
+ !binary "RGF0ZQ==":
20
+ - !binary |-
21
+ TW9uLCAwMyBKdW4gMjAxMyAyMTozNzoyNiBHTVQ=
22
+ !binary "VHJhbnNmZXItRW5jb2Rpbmc=":
23
+ - !binary |-
24
+ Y2h1bmtlZA==
25
+ body:
26
+ encoding: US-ASCII
27
+ string: ''
28
+ http_version:
29
+ recorded_at: Mon, 03 Jun 2013 21:37:26 GMT
30
+ recorded_with: VCR 2.5.0
@@ -30,4 +30,214 @@ http_interactions:
30
30
  L3RtcC9jaGFuZ2VzIiwiS2luZCI6MX1d
31
31
  http_version:
32
32
  recorded_at: Sat, 25 May 2013 16:05:35 GMT
33
+ - request:
34
+ method: get
35
+ uri: http://10.0.5.5:4243/containers/f28f1e3082c0/changes
36
+ body:
37
+ encoding: US-ASCII
38
+ string: ''
39
+ headers: {}
40
+ response:
41
+ status:
42
+ code: 200
43
+ message: !binary |-
44
+ T0s=
45
+ headers:
46
+ !binary "Q29udGVudC1UeXBl":
47
+ - !binary |-
48
+ YXBwbGljYXRpb24vanNvbg==
49
+ !binary "RGF0ZQ==":
50
+ - !binary |-
51
+ TW9uLCAwMyBKdW4gMjAxMyAyMTowMDowNiBHTVQ=
52
+ !binary "VHJhbnNmZXItRW5jb2Rpbmc=":
53
+ - !binary |-
54
+ Y2h1bmtlZA==
55
+ body:
56
+ encoding: ASCII-8BIT
57
+ string: !binary |-
58
+ W3siUGF0aCI6Ii9kZXYiLCJLaW5kIjowfSx7IlBhdGgiOiIvZGV2L2ttc2ci
59
+ LCJLaW5kIjoxfSx7IlBhdGgiOiIvdG1wIiwiS2luZCI6MH0seyJQYXRoIjoi
60
+ L3RtcC9jaGFuZ2VzIiwiS2luZCI6MX1d
61
+ http_version:
62
+ recorded_at: Mon, 03 Jun 2013 21:00:06 GMT
63
+ - request:
64
+ method: get
65
+ uri: http://10.0.5.5:4243/containers/55d7e2344dd3/changes
66
+ body:
67
+ encoding: US-ASCII
68
+ string: ''
69
+ headers: {}
70
+ response:
71
+ status:
72
+ code: 200
73
+ message: !binary |-
74
+ T0s=
75
+ headers:
76
+ !binary "Q29udGVudC1UeXBl":
77
+ - !binary |-
78
+ YXBwbGljYXRpb24vanNvbg==
79
+ !binary "RGF0ZQ==":
80
+ - !binary |-
81
+ TW9uLCAwMyBKdW4gMjAxMyAyMTowNDoyMiBHTVQ=
82
+ !binary "VHJhbnNmZXItRW5jb2Rpbmc=":
83
+ - !binary |-
84
+ Y2h1bmtlZA==
85
+ body:
86
+ encoding: ASCII-8BIT
87
+ string: !binary |-
88
+ W3siUGF0aCI6Ii9kZXYiLCJLaW5kIjowfSx7IlBhdGgiOiIvZGV2L2ttc2ci
89
+ LCJLaW5kIjoxfSx7IlBhdGgiOiIvdG1wIiwiS2luZCI6MH0seyJQYXRoIjoi
90
+ L3RtcC9jaGFuZ2VzIiwiS2luZCI6MX1d
91
+ http_version:
92
+ recorded_at: Mon, 03 Jun 2013 21:04:22 GMT
93
+ - request:
94
+ method: get
95
+ uri: http://10.0.5.5:4243/containers/249a77b7cd10/changes
96
+ body:
97
+ encoding: US-ASCII
98
+ string: ''
99
+ headers: {}
100
+ response:
101
+ status:
102
+ code: 200
103
+ message: !binary |-
104
+ T0s=
105
+ headers:
106
+ !binary "Q29udGVudC1UeXBl":
107
+ - !binary |-
108
+ YXBwbGljYXRpb24vanNvbg==
109
+ !binary "RGF0ZQ==":
110
+ - !binary |-
111
+ TW9uLCAwMyBKdW4gMjAxMyAyMToxMDowNCBHTVQ=
112
+ !binary "VHJhbnNmZXItRW5jb2Rpbmc=":
113
+ - !binary |-
114
+ Y2h1bmtlZA==
115
+ body:
116
+ encoding: ASCII-8BIT
117
+ string: !binary |-
118
+ W3siUGF0aCI6Ii9kZXYiLCJLaW5kIjowfSx7IlBhdGgiOiIvZGV2L2ttc2ci
119
+ LCJLaW5kIjoxfSx7IlBhdGgiOiIvdG1wIiwiS2luZCI6MH0seyJQYXRoIjoi
120
+ L3RtcC9jaGFuZ2VzIiwiS2luZCI6MX1d
121
+ http_version:
122
+ recorded_at: Mon, 03 Jun 2013 21:10:04 GMT
123
+ - request:
124
+ method: get
125
+ uri: http://10.0.5.5:4243/containers/4fb29a135ce7/changes
126
+ body:
127
+ encoding: US-ASCII
128
+ string: ''
129
+ headers: {}
130
+ response:
131
+ status:
132
+ code: 200
133
+ message: !binary |-
134
+ T0s=
135
+ headers:
136
+ !binary "Q29udGVudC1UeXBl":
137
+ - !binary |-
138
+ YXBwbGljYXRpb24vanNvbg==
139
+ !binary "RGF0ZQ==":
140
+ - !binary |-
141
+ TW9uLCAwMyBKdW4gMjAxMyAyMToyMToxOSBHTVQ=
142
+ !binary "VHJhbnNmZXItRW5jb2Rpbmc=":
143
+ - !binary |-
144
+ Y2h1bmtlZA==
145
+ body:
146
+ encoding: ASCII-8BIT
147
+ string: !binary |-
148
+ W3siUGF0aCI6Ii9kZXYiLCJLaW5kIjowfSx7IlBhdGgiOiIvZGV2L2ttc2ci
149
+ LCJLaW5kIjoxfSx7IlBhdGgiOiIvdG1wIiwiS2luZCI6MH0seyJQYXRoIjoi
150
+ L3RtcC9jaGFuZ2VzIiwiS2luZCI6MX1d
151
+ http_version:
152
+ recorded_at: Mon, 03 Jun 2013 21:21:19 GMT
153
+ - request:
154
+ method: get
155
+ uri: http://10.0.5.5:4243/containers/e0a0df374739/changes
156
+ body:
157
+ encoding: US-ASCII
158
+ string: ''
159
+ headers: {}
160
+ response:
161
+ status:
162
+ code: 200
163
+ message: !binary |-
164
+ T0s=
165
+ headers:
166
+ !binary "Q29udGVudC1UeXBl":
167
+ - !binary |-
168
+ YXBwbGljYXRpb24vanNvbg==
169
+ !binary "RGF0ZQ==":
170
+ - !binary |-
171
+ TW9uLCAwMyBKdW4gMjAxMyAyMToyNTo0NSBHTVQ=
172
+ !binary "VHJhbnNmZXItRW5jb2Rpbmc=":
173
+ - !binary |-
174
+ Y2h1bmtlZA==
175
+ body:
176
+ encoding: ASCII-8BIT
177
+ string: !binary |-
178
+ W3siUGF0aCI6Ii9kZXYiLCJLaW5kIjowfSx7IlBhdGgiOiIvZGV2L2ttc2ci
179
+ LCJLaW5kIjoxfSx7IlBhdGgiOiIvdG1wIiwiS2luZCI6MH0seyJQYXRoIjoi
180
+ L3RtcC9jaGFuZ2VzIiwiS2luZCI6MX1d
181
+ http_version:
182
+ recorded_at: Mon, 03 Jun 2013 21:25:45 GMT
183
+ - request:
184
+ method: get
185
+ uri: http://10.0.5.5:4243/containers/30417829f9d5/changes
186
+ body:
187
+ encoding: US-ASCII
188
+ string: ''
189
+ headers: {}
190
+ response:
191
+ status:
192
+ code: 200
193
+ message: !binary |-
194
+ T0s=
195
+ headers:
196
+ !binary "Q29udGVudC1UeXBl":
197
+ - !binary |-
198
+ YXBwbGljYXRpb24vanNvbg==
199
+ !binary "RGF0ZQ==":
200
+ - !binary |-
201
+ TW9uLCAwMyBKdW4gMjAxMyAyMToyNzozMCBHTVQ=
202
+ !binary "VHJhbnNmZXItRW5jb2Rpbmc=":
203
+ - !binary |-
204
+ Y2h1bmtlZA==
205
+ body:
206
+ encoding: ASCII-8BIT
207
+ string: !binary |-
208
+ W3siUGF0aCI6Ii9kZXYiLCJLaW5kIjowfSx7IlBhdGgiOiIvZGV2L2ttc2ci
209
+ LCJLaW5kIjoxfSx7IlBhdGgiOiIvdG1wIiwiS2luZCI6MH0seyJQYXRoIjoi
210
+ L3RtcC9jaGFuZ2VzIiwiS2luZCI6MX1d
211
+ http_version:
212
+ recorded_at: Mon, 03 Jun 2013 21:27:30 GMT
213
+ - request:
214
+ method: get
215
+ uri: http://10.0.5.5:4243/containers/c918270027e3/changes
216
+ body:
217
+ encoding: US-ASCII
218
+ string: ''
219
+ headers: {}
220
+ response:
221
+ status:
222
+ code: 200
223
+ message: !binary |-
224
+ T0s=
225
+ headers:
226
+ !binary "Q29udGVudC1UeXBl":
227
+ - !binary |-
228
+ YXBwbGljYXRpb24vanNvbg==
229
+ !binary "RGF0ZQ==":
230
+ - !binary |-
231
+ TW9uLCAwMyBKdW4gMjAxMyAyMTozNzozMiBHTVQ=
232
+ !binary "VHJhbnNmZXItRW5jb2Rpbmc=":
233
+ - !binary |-
234
+ Y2h1bmtlZA==
235
+ body:
236
+ encoding: ASCII-8BIT
237
+ string: !binary |-
238
+ W3siUGF0aCI6Ii9kZXYiLCJLaW5kIjowfSx7IlBhdGgiOiIvZGV2L2ttc2ci
239
+ LCJLaW5kIjoxfSx7IlBhdGgiOiIvdG1wIiwiS2luZCI6MH0seyJQYXRoIjoi
240
+ L3RtcC9jaGFuZ2VzIiwiS2luZCI6MX1d
241
+ http_version:
242
+ recorded_at: Mon, 03 Jun 2013 21:37:32 GMT
33
243
  recorded_with: VCR 2.5.0
@@ -0,0 +1,199 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: http://10.0.5.5:4243/commit?author=Docker%20Client&container=59397c6fcc7f&m=Commit%20message&repo=test-repo&tag=test-tag
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers: {}
10
+ response:
11
+ status:
12
+ code: 201
13
+ message: !binary |-
14
+ Q3JlYXRlZA==
15
+ headers:
16
+ !binary "RGF0ZQ==":
17
+ - !binary |-
18
+ TW9uLCAwMyBKdW4gMjAxMyAyMTowMDowOSBHTVQ=
19
+ !binary "VHJhbnNmZXItRW5jb2Rpbmc=":
20
+ - !binary |-
21
+ Y2h1bmtlZA==
22
+ !binary "Q29udGVudC1UeXBl":
23
+ - !binary |-
24
+ dGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOA==
25
+ body:
26
+ encoding: ASCII-8BIT
27
+ string: !binary |-
28
+ eyJJZCI6IjAyY2QxN2YwYTc4NCJ9
29
+ http_version:
30
+ recorded_at: Mon, 03 Jun 2013 21:00:09 GMT
31
+ - request:
32
+ method: post
33
+ uri: http://10.0.5.5:4243/commit?author=Docker%20Client&container=cd0ad6d65741&m=Commit%20message&repo=test-repo&tag=test-tag
34
+ body:
35
+ encoding: US-ASCII
36
+ string: ''
37
+ headers: {}
38
+ response:
39
+ status:
40
+ code: 201
41
+ message: !binary |-
42
+ Q3JlYXRlZA==
43
+ headers:
44
+ !binary "RGF0ZQ==":
45
+ - !binary |-
46
+ TW9uLCAwMyBKdW4gMjAxMyAyMTowNDoyMCBHTVQ=
47
+ !binary "VHJhbnNmZXItRW5jb2Rpbmc=":
48
+ - !binary |-
49
+ Y2h1bmtlZA==
50
+ !binary "Q29udGVudC1UeXBl":
51
+ - !binary |-
52
+ dGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOA==
53
+ body:
54
+ encoding: ASCII-8BIT
55
+ string: !binary |-
56
+ eyJJZCI6ImQwZjY4NDg4ZjY2MSJ9
57
+ http_version:
58
+ recorded_at: Mon, 03 Jun 2013 21:04:20 GMT
59
+ - request:
60
+ method: post
61
+ uri: http://10.0.5.5:4243/commit?author=Docker%20Client&container=7913afb1999e&m=Commit%20message&repo=test-repo&tag=test-tag
62
+ body:
63
+ encoding: US-ASCII
64
+ string: ''
65
+ headers: {}
66
+ response:
67
+ status:
68
+ code: 201
69
+ message: !binary |-
70
+ Q3JlYXRlZA==
71
+ headers:
72
+ !binary "RGF0ZQ==":
73
+ - !binary |-
74
+ TW9uLCAwMyBKdW4gMjAxMyAyMToxMDowNSBHTVQ=
75
+ !binary "VHJhbnNmZXItRW5jb2Rpbmc=":
76
+ - !binary |-
77
+ Y2h1bmtlZA==
78
+ !binary "Q29udGVudC1UeXBl":
79
+ - !binary |-
80
+ dGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOA==
81
+ body:
82
+ encoding: ASCII-8BIT
83
+ string: !binary |-
84
+ eyJJZCI6IjM1ZTVjOGYzZWVjNyJ9
85
+ http_version:
86
+ recorded_at: Mon, 03 Jun 2013 21:10:05 GMT
87
+ - request:
88
+ method: post
89
+ uri: http://10.0.5.5:4243/commit?author=Docker%20Client&container=ec3ca1865f3a&m=Commit%20message&repo=test-repo&tag=test-tag
90
+ body:
91
+ encoding: US-ASCII
92
+ string: ''
93
+ headers: {}
94
+ response:
95
+ status:
96
+ code: 201
97
+ message: !binary |-
98
+ Q3JlYXRlZA==
99
+ headers:
100
+ !binary "RGF0ZQ==":
101
+ - !binary |-
102
+ TW9uLCAwMyBKdW4gMjAxMyAyMToyMTozOCBHTVQ=
103
+ !binary "VHJhbnNmZXItRW5jb2Rpbmc=":
104
+ - !binary |-
105
+ Y2h1bmtlZA==
106
+ !binary "Q29udGVudC1UeXBl":
107
+ - !binary |-
108
+ dGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOA==
109
+ body:
110
+ encoding: ASCII-8BIT
111
+ string: !binary |-
112
+ eyJJZCI6ImEzNDUxZTM2OGM5NiJ9
113
+ http_version:
114
+ recorded_at: Mon, 03 Jun 2013 21:21:38 GMT
115
+ - request:
116
+ method: post
117
+ uri: http://10.0.5.5:4243/commit?author=Docker%20Client&container=7f0f7e0baedc&m=Commit%20message&repo=test-repo&tag=test-tag
118
+ body:
119
+ encoding: US-ASCII
120
+ string: ''
121
+ headers: {}
122
+ response:
123
+ status:
124
+ code: 201
125
+ message: !binary |-
126
+ Q3JlYXRlZA==
127
+ headers:
128
+ !binary "RGF0ZQ==":
129
+ - !binary |-
130
+ TW9uLCAwMyBKdW4gMjAxMyAyMToyNTozMiBHTVQ=
131
+ !binary "VHJhbnNmZXItRW5jb2Rpbmc=":
132
+ - !binary |-
133
+ Y2h1bmtlZA==
134
+ !binary "Q29udGVudC1UeXBl":
135
+ - !binary |-
136
+ dGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOA==
137
+ body:
138
+ encoding: ASCII-8BIT
139
+ string: !binary |-
140
+ eyJJZCI6IjM4NGNjNzFmNzVmNSJ9
141
+ http_version:
142
+ recorded_at: Mon, 03 Jun 2013 21:25:32 GMT
143
+ - request:
144
+ method: post
145
+ uri: http://10.0.5.5:4243/commit?author=Docker%20Client&container=efc1661a7b42&m=Commit%20message&repo=test-repo&tag=test-tag
146
+ body:
147
+ encoding: US-ASCII
148
+ string: ''
149
+ headers: {}
150
+ response:
151
+ status:
152
+ code: 201
153
+ message: !binary |-
154
+ Q3JlYXRlZA==
155
+ headers:
156
+ !binary "RGF0ZQ==":
157
+ - !binary |-
158
+ TW9uLCAwMyBKdW4gMjAxMyAyMToyNjo1MSBHTVQ=
159
+ !binary "VHJhbnNmZXItRW5jb2Rpbmc=":
160
+ - !binary |-
161
+ Y2h1bmtlZA==
162
+ !binary "Q29udGVudC1UeXBl":
163
+ - !binary |-
164
+ dGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOA==
165
+ body:
166
+ encoding: ASCII-8BIT
167
+ string: !binary |-
168
+ eyJJZCI6IjJhNzJmZDg5MGMwMyJ9
169
+ http_version:
170
+ recorded_at: Mon, 03 Jun 2013 21:26:51 GMT
171
+ - request:
172
+ method: post
173
+ uri: http://10.0.5.5:4243/commit?author=Docker%20Client&container=054430dc097d&m=Commit%20message&repo=test-repo&tag=test-tag
174
+ body:
175
+ encoding: US-ASCII
176
+ string: ''
177
+ headers: {}
178
+ response:
179
+ status:
180
+ code: 201
181
+ message: !binary |-
182
+ Q3JlYXRlZA==
183
+ headers:
184
+ !binary "RGF0ZQ==":
185
+ - !binary |-
186
+ TW9uLCAwMyBKdW4gMjAxMyAyMTozNzo0MyBHTVQ=
187
+ !binary "VHJhbnNmZXItRW5jb2Rpbmc=":
188
+ - !binary |-
189
+ Y2h1bmtlZA==
190
+ !binary "Q29udGVudC1UeXBl":
191
+ - !binary |-
192
+ dGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOA==
193
+ body:
194
+ encoding: ASCII-8BIT
195
+ string: !binary |-
196
+ eyJJZCI6IjZiMzBmNTk2NmNmNyJ9
197
+ http_version:
198
+ recorded_at: Mon, 03 Jun 2013 21:37:43 GMT
199
+ recorded_with: VCR 2.5.0