docker-api 1.5.4 → 1.6.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 (52) hide show
  1. checksums.yaml +7 -0
  2. data/README.md +19 -10
  3. data/docker-api.gemspec +1 -1
  4. data/lib/docker.rb +14 -7
  5. data/lib/docker/connection.rb +6 -1
  6. data/lib/docker/image.rb +6 -5
  7. data/lib/docker/version.rb +1 -1
  8. data/spec/docker/connection_spec.rb +14 -6
  9. data/spec/docker/container_spec.rb +27 -8
  10. data/spec/docker/image_spec.rb +23 -5
  11. data/spec/docker_spec.rb +36 -28
  12. data/spec/vcr/Docker/_info/returns_the_info_as_a_Hash.yml +16 -13
  13. data/spec/vcr/Docker/_validate_version/when_nothing_is_raised/validate_version_/.yml +16 -13
  14. data/spec/vcr/Docker/_version/returns_the_version_as_a_Hash.yml +16 -13
  15. data/spec/vcr/Docker_Container/_all/when_the_HTTP_response_is_a_200/materializes_each_Container_into_a_Docker_Container.yml +120 -211
  16. data/spec/vcr/Docker_Container/_attach/yields_each_chunk.yml +46 -38
  17. data/spec/vcr/Docker_Container/_changes/returns_the_changes_as_an_array.yml +65 -53
  18. data/spec/vcr/Docker_Container/_commit/creates_a_new_Image_from_the_Container_s_changes.yml +50 -41
  19. data/spec/vcr/Docker_Container/_copy/when_the_file_does_not_exist/raises_an_error.yml +62 -48
  20. data/spec/vcr/Docker_Container/_copy/when_the_input_is_a_directory/yields_each_chunk_of_the_tarred_directory.yml +194 -119
  21. data/spec/vcr/Docker_Container/_copy/when_the_input_is_a_file/yields_each_chunk_of_the_tarred_file.yml +127 -52
  22. data/spec/vcr/Docker_Container/_create/when_the_Container_does_not_yet_exist/when_the_HTTP_request_returns_a_200/sets_the_id.yml +18 -15
  23. data/spec/vcr/Docker_Container/_delete/deletes_the_container.yml +62 -126
  24. data/spec/vcr/Docker_Container/_export/yields_each_chunk.yml +49 -66
  25. data/spec/vcr/Docker_Container/_json/returns_the_description_as_a_Hash.yml +33 -27
  26. data/spec/vcr/Docker_Container/_kill/kills_the_container.yml +91 -129
  27. data/spec/vcr/Docker_Container/_restart/restarts_the_container.yml +116 -95
  28. data/spec/vcr/Docker_Container/_run/when_the_Container_s_command_does_not_return_status_code_of_0/raises_an_error.yml +50 -41
  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 +135 -109
  30. data/spec/vcr/Docker_Container/_start/starts_the_container.yml +28 -57
  31. data/spec/vcr/Docker_Container/_stop/stops_the_container.yml +107 -143
  32. data/spec/vcr/Docker_Container/_top/returns_the_top_commands_as_an_Array.yml +78 -39
  33. data/spec/vcr/Docker_Container/_wait/waits_for_the_command_to_finish.yml +50 -41
  34. data/spec/vcr/Docker_Container/_wait/when_an_argument_is_given/and_a_command_runs_for_too_long/raises_a_ServerError.yml +35 -29
  35. data/spec/vcr/Docker_Container/_wait/when_an_argument_is_given/sets_the_read_timeout_to_that_amount_of_time.yml +50 -41
  36. data/spec/vcr/Docker_Image/_all/materializes_each_Image_into_a_Docker_Image.yml +34 -26
  37. data/spec/vcr/Docker_Image/_build/with_a_valid_Dockerfile/builds_an_image.yml +17 -17
  38. data/spec/vcr/Docker_Image/_build/with_an_invalid_Dockerfile/throws_a_UnexpectedResponseError.yml +20 -15
  39. data/spec/vcr/Docker_Image/_create/when_the_Image_does_not_yet_exist_and_the_body_is_a_Hash/sets_the_id.yml +19 -14
  40. data/spec/vcr/Docker_Image/_history/returns_the_history_of_the_Image.yml +34 -26
  41. data/spec/vcr/Docker_Image/_insert/inserts_the_url_s_file_into_a_new_Image.yml +134 -95
  42. data/spec/vcr/Docker_Image/_insert_local/when_the_local_file_does_exist/creates_a_new_Image_that_has_that_file.yml +29 -29
  43. data/spec/vcr/Docker_Image/_insert_local/when_the_local_file_does_not_exist/raises_an_error.yml +5 -5
  44. data/spec/vcr/Docker_Image/_insert_local/when_there_are_multiple_files_passed/creates_a_new_Image_that_has_each_file.yml +30 -30
  45. data/spec/vcr/Docker_Image/_json/returns_additional_information_about_image_image.yml +34 -26
  46. data/spec/vcr/Docker_Image/_remove/removes_the_Image.yml +49 -38
  47. data/spec/vcr/Docker_Image/_run/when_the_argument_is_a_String/splits_the_String_by_spaces_and_creates_a_new_Container.yml +64 -51
  48. data/spec/vcr/Docker_Image/_run/when_the_argument_is_an_Array/creates_a_new_Container.yml +64 -51
  49. data/spec/vcr/Docker_Image/_search/materializes_each_Image_into_a_Docker_Image.yml +20 -14
  50. data/spec/vcr/Docker_Image/_tag/tags_the_image_with_the_repo_name.yml +33 -25
  51. metadata +29 -54
  52. data/spec/vcr/Docker_Container/_create/when_the_Container_does_not_yet_exist_and_the_body_is_a_Hash/when_the_HTTP_request_returns_a_200/sets_the_id.yml +0 -30
@@ -2,83 +2,122 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: http://localhost:4243/v1.4/containers/create
5
+ uri: http://unix/v1.4/containers/create
6
6
  body:
7
7
  encoding: UTF-8
8
- string: '{"Cmd":["find","/","-name","''*''"],"Image":"base"}'
8
+ string: ! '{"Cmd":["while","true;","do;","done;"],"Image":"base"}'
9
9
  headers:
10
- Content-Type:
11
- - text/plain
12
10
  User-Agent:
13
- - Swipely/Docker-API 1.3.1
11
+ - Swipely/Docker-API 1.5.4
12
+ Content-Type:
13
+ - application/json
14
14
  response:
15
15
  status:
16
16
  code: 201
17
17
  message: ''
18
18
  headers:
19
- Content-Type:
20
- - text/plain; charset=utf-8
21
- Content-Length:
22
- - '21'
23
- Date:
24
- - Wed, 07 Aug 2013 17:12:03 GMT
19
+ !binary "Q29udGVudC1UeXBl":
20
+ - !binary |-
21
+ YXBwbGljYXRpb24vanNvbg==
22
+ !binary "Q29udGVudC1MZW5ndGg=":
23
+ - !binary |-
24
+ NjU=
25
+ !binary "RGF0ZQ==":
26
+ - !binary |-
27
+ TW9uLCAwNyBPY3QgMjAxMyAwMDo1Nzo0OSBHTVQ=
25
28
  body:
26
- encoding: UTF-8
27
- string: '{"Id":"defee56da87a"}'
29
+ encoding: US-ASCII
30
+ string: ! '{"Id":"a035020dfbbf","Warnings":["IPv4 forwarding is disabled."]}'
28
31
  http_version:
29
- recorded_at: Wed, 07 Aug 2013 17:12:03 GMT
32
+ recorded_at: Mon, 07 Oct 2013 00:57:49 GMT
30
33
  - request:
31
34
  method: post
32
- uri: http://localhost:4243/v1.4/containers/defee56da87a/start
35
+ uri: http://unix/v1.4/containers/a035020dfbbf/start
33
36
  body:
34
- encoding: US-ASCII
35
- string: ''
37
+ encoding: UTF-8
38
+ string: ! '{}'
36
39
  headers:
37
- Content-Type:
38
- - text/plain
39
40
  User-Agent:
40
- - Swipely/Docker-API 1.3.1
41
+ - Swipely/Docker-API 1.5.4
42
+ Content-Type:
43
+ - application/json
41
44
  response:
42
45
  status:
43
46
  code: 204
44
47
  message: ''
45
48
  headers:
46
- Content-Type:
47
- - text/plain; charset=utf-8
48
- Content-Length:
49
- - '0'
50
- Date:
51
- - Wed, 07 Aug 2013 17:12:03 GMT
49
+ !binary "Q29udGVudC1UeXBl":
50
+ - !binary |-
51
+ dGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOA==
52
+ !binary "Q29udGVudC1MZW5ndGg=":
53
+ - !binary |-
54
+ MA==
55
+ !binary "RGF0ZQ==":
56
+ - !binary |-
57
+ TW9uLCAwNyBPY3QgMjAxMyAwMDo1Nzo0OSBHTVQ=
52
58
  body:
53
- encoding: UTF-8
59
+ encoding: US-ASCII
54
60
  string: ''
55
61
  http_version:
56
- recorded_at: Wed, 07 Aug 2013 17:12:03 GMT
62
+ recorded_at: Mon, 07 Oct 2013 00:57:49 GMT
57
63
  - request:
58
64
  method: get
59
- uri: http://localhost:4243/v1.4/containers/defee56da87a/top
65
+ uri: http://unix/v1.4/containers/a035020dfbbf/top
60
66
  body:
61
67
  encoding: US-ASCII
62
68
  string: ''
63
69
  headers:
70
+ User-Agent:
71
+ - Swipely/Docker-API 1.5.4
64
72
  Content-Type:
65
73
  - text/plain
66
- User-Agent:
67
- - Swipely/Docker-API 1.3.1
68
74
  response:
69
75
  status:
70
76
  code: 200
71
77
  message: ''
72
78
  headers:
79
+ !binary "Q29udGVudC1UeXBl":
80
+ - !binary |-
81
+ YXBwbGljYXRpb24vanNvbg==
82
+ !binary "Q29udGVudC1MZW5ndGg=":
83
+ - !binary |-
84
+ ODg=
85
+ !binary "RGF0ZQ==":
86
+ - !binary |-
87
+ TW9uLCAwNyBPY3QgMjAxMyAwMDo1Nzo0OSBHTVQ=
88
+ body:
89
+ encoding: US-ASCII
90
+ string: ! '{"Titles":["PID","TTY","TIME","CMD"],"Processes":[["17946","?","00:00:00","lxc-start"]]}'
91
+ http_version:
92
+ recorded_at: Mon, 07 Oct 2013 00:57:49 GMT
93
+ - request:
94
+ method: post
95
+ uri: http://unix/v1.4/containers/a035020dfbbf/kill
96
+ body:
97
+ encoding: UTF-8
98
+ string: ! '{}'
99
+ headers:
100
+ User-Agent:
101
+ - Swipely/Docker-API 1.5.4
73
102
  Content-Type:
74
103
  - application/json
75
- Content-Length:
76
- - '91'
77
- Date:
78
- - Wed, 07 Aug 2013 17:12:03 GMT
104
+ response:
105
+ status:
106
+ code: 204
107
+ message: ''
108
+ headers:
109
+ !binary "Q29udGVudC1UeXBl":
110
+ - !binary |-
111
+ dGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOA==
112
+ !binary "Q29udGVudC1MZW5ndGg=":
113
+ - !binary |-
114
+ MA==
115
+ !binary "RGF0ZQ==":
116
+ - !binary |-
117
+ TW9uLCAwNyBPY3QgMjAxMyAwMDo1Nzo0OSBHTVQ=
79
118
  body:
80
- encoding: UTF-8
81
- string: '{"Titles":["PID","TTY","TIME","CMD"],"Processes":[["4931","pts/0","00:00:00","lxc-start"]]}'
119
+ encoding: US-ASCII
120
+ string: ''
82
121
  http_version:
83
- recorded_at: Wed, 07 Aug 2013 17:12:03 GMT
84
- recorded_with: VCR 2.4.0
122
+ recorded_at: Mon, 07 Oct 2013 00:57:49 GMT
123
+ recorded_with: VCR 2.6.0
@@ -2,83 +2,92 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: http://localhost:4243/v1.4/containers/create
5
+ uri: http://unix/v1.4/containers/create
6
6
  body:
7
7
  encoding: UTF-8
8
- string: '{"Cmd":["tar","nonsense"],"Image":"base"}'
8
+ string: ! '{"Cmd":["tar","nonsense"],"Image":"base"}'
9
9
  headers:
10
- Content-Type:
11
- - text/plain
12
10
  User-Agent:
13
- - Swipely/Docker-API 1.3.1
11
+ - Swipely/Docker-API 1.5.4
12
+ Content-Type:
13
+ - application/json
14
14
  response:
15
15
  status:
16
16
  code: 201
17
17
  message: ''
18
18
  headers:
19
- Content-Type:
20
- - text/plain; charset=utf-8
21
- Content-Length:
22
- - '21'
23
- Date:
24
- - Wed, 07 Aug 2013 16:51:25 GMT
19
+ !binary "Q29udGVudC1UeXBl":
20
+ - !binary |-
21
+ YXBwbGljYXRpb24vanNvbg==
22
+ !binary "Q29udGVudC1MZW5ndGg=":
23
+ - !binary |-
24
+ NjU=
25
+ !binary "RGF0ZQ==":
26
+ - !binary |-
27
+ TW9uLCAwNyBPY3QgMjAxMyAwMDo0NzozMiBHTVQ=
25
28
  body:
26
- encoding: UTF-8
27
- string: '{"Id":"3cb4d7f9834f"}'
29
+ encoding: US-ASCII
30
+ string: ! '{"Id":"f68f3c9e9724","Warnings":["IPv4 forwarding is disabled."]}'
28
31
  http_version:
29
- recorded_at: Wed, 07 Aug 2013 16:51:25 GMT
32
+ recorded_at: Mon, 07 Oct 2013 00:47:32 GMT
30
33
  - request:
31
34
  method: post
32
- uri: http://localhost:4243/v1.4/containers/3cb4d7f9834f/start
35
+ uri: http://unix/v1.4/containers/f68f3c9e9724/start
33
36
  body:
34
- encoding: US-ASCII
35
- string: ''
37
+ encoding: UTF-8
38
+ string: ! '{}'
36
39
  headers:
37
- Content-Type:
38
- - text/plain
39
40
  User-Agent:
40
- - Swipely/Docker-API 1.3.1
41
+ - Swipely/Docker-API 1.5.4
42
+ Content-Type:
43
+ - application/json
41
44
  response:
42
45
  status:
43
46
  code: 204
44
47
  message: ''
45
48
  headers:
46
- Content-Type:
47
- - text/plain; charset=utf-8
48
- Content-Length:
49
- - '0'
50
- Date:
51
- - Wed, 07 Aug 2013 16:51:25 GMT
49
+ !binary "Q29udGVudC1UeXBl":
50
+ - !binary |-
51
+ dGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOA==
52
+ !binary "Q29udGVudC1MZW5ndGg=":
53
+ - !binary |-
54
+ MA==
55
+ !binary "RGF0ZQ==":
56
+ - !binary |-
57
+ TW9uLCAwNyBPY3QgMjAxMyAwMDo0NzozMiBHTVQ=
52
58
  body:
53
- encoding: UTF-8
59
+ encoding: US-ASCII
54
60
  string: ''
55
61
  http_version:
56
- recorded_at: Wed, 07 Aug 2013 16:51:25 GMT
62
+ recorded_at: Mon, 07 Oct 2013 00:47:32 GMT
57
63
  - request:
58
64
  method: post
59
- uri: http://localhost:4243/v1.4/containers/3cb4d7f9834f/wait
65
+ uri: http://unix/v1.4/containers/f68f3c9e9724/wait
60
66
  body:
61
67
  encoding: US-ASCII
62
68
  string: ''
63
69
  headers:
70
+ User-Agent:
71
+ - Swipely/Docker-API 1.5.4
64
72
  Content-Type:
65
73
  - text/plain
66
- User-Agent:
67
- - Swipely/Docker-API 1.3.1
68
74
  response:
69
75
  status:
70
76
  code: 200
71
77
  message: ''
72
78
  headers:
73
- Content-Type:
74
- - application/json
75
- Content-Length:
76
- - '17'
77
- Date:
78
- - Wed, 07 Aug 2013 16:51:25 GMT
79
+ !binary "Q29udGVudC1UeXBl":
80
+ - !binary |-
81
+ YXBwbGljYXRpb24vanNvbg==
82
+ !binary "Q29udGVudC1MZW5ndGg=":
83
+ - !binary |-
84
+ MTc=
85
+ !binary "RGF0ZQ==":
86
+ - !binary |-
87
+ TW9uLCAwNyBPY3QgMjAxMyAwMDo0NzozMyBHTVQ=
79
88
  body:
80
- encoding: UTF-8
81
- string: '{"StatusCode":64}'
89
+ encoding: US-ASCII
90
+ string: ! '{"StatusCode":64}'
82
91
  http_version:
83
- recorded_at: Wed, 07 Aug 2013 16:51:25 GMT
84
- recorded_with: VCR 2.4.0
92
+ recorded_at: Mon, 07 Oct 2013 00:47:33 GMT
93
+ recorded_with: VCR 2.6.0
@@ -2,56 +2,62 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: http://localhost:4243/v1.4/containers/create
5
+ uri: http://unix/v1.4/containers/create
6
6
  body:
7
7
  encoding: UTF-8
8
- string: '{"Cmd":["sleep","5"],"Image":"base"}'
8
+ string: ! '{"Cmd":["sleep","5"],"Image":"base"}'
9
9
  headers:
10
- Content-Type:
11
- - text/plain
12
10
  User-Agent:
13
- - Swipely/Docker-API 1.3.1
11
+ - Swipely/Docker-API 1.5.4
12
+ Content-Type:
13
+ - application/json
14
14
  response:
15
15
  status:
16
16
  code: 201
17
17
  message: ''
18
18
  headers:
19
- Content-Type:
20
- - text/plain; charset=utf-8
21
- Content-Length:
22
- - '21'
23
- Date:
24
- - Wed, 07 Aug 2013 16:51:30 GMT
19
+ !binary "Q29udGVudC1UeXBl":
20
+ - !binary |-
21
+ YXBwbGljYXRpb24vanNvbg==
22
+ !binary "Q29udGVudC1MZW5ndGg=":
23
+ - !binary |-
24
+ NjU=
25
+ !binary "RGF0ZQ==":
26
+ - !binary |-
27
+ TW9uLCAwNyBPY3QgMjAxMyAwMDo0NzozOCBHTVQ=
25
28
  body:
26
- encoding: UTF-8
27
- string: '{"Id":"a470a278f02f"}'
29
+ encoding: US-ASCII
30
+ string: ! '{"Id":"afa24d92d7f8","Warnings":["IPv4 forwarding is disabled."]}'
28
31
  http_version:
29
- recorded_at: Wed, 07 Aug 2013 16:51:30 GMT
32
+ recorded_at: Mon, 07 Oct 2013 00:47:38 GMT
30
33
  - request:
31
34
  method: post
32
- uri: http://localhost:4243/v1.4/containers/a470a278f02f/start
35
+ uri: http://unix/v1.4/containers/afa24d92d7f8/start
33
36
  body:
34
- encoding: US-ASCII
35
- string: ''
37
+ encoding: UTF-8
38
+ string: ! '{}'
36
39
  headers:
37
- Content-Type:
38
- - text/plain
39
40
  User-Agent:
40
- - Swipely/Docker-API 1.3.1
41
+ - Swipely/Docker-API 1.5.4
42
+ Content-Type:
43
+ - application/json
41
44
  response:
42
45
  status:
43
46
  code: 204
44
47
  message: ''
45
48
  headers:
46
- Content-Type:
47
- - text/plain; charset=utf-8
48
- Content-Length:
49
- - '0'
50
- Date:
51
- - Wed, 07 Aug 2013 16:51:30 GMT
49
+ !binary "Q29udGVudC1UeXBl":
50
+ - !binary |-
51
+ dGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOA==
52
+ !binary "Q29udGVudC1MZW5ndGg=":
53
+ - !binary |-
54
+ MA==
55
+ !binary "RGF0ZQ==":
56
+ - !binary |-
57
+ TW9uLCAwNyBPY3QgMjAxMyAwMDo0NzozOCBHTVQ=
52
58
  body:
53
- encoding: UTF-8
59
+ encoding: US-ASCII
54
60
  string: ''
55
61
  http_version:
56
- recorded_at: Wed, 07 Aug 2013 16:51:30 GMT
57
- recorded_with: VCR 2.4.0
62
+ recorded_at: Mon, 07 Oct 2013 00:47:38 GMT
63
+ recorded_with: VCR 2.6.0
@@ -2,83 +2,92 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: http://localhost:4243/v1.4/containers/create
5
+ uri: http://unix/v1.4/containers/create
6
6
  body:
7
7
  encoding: UTF-8
8
- string: '{"Cmd":["sleep","5"],"Image":"base"}'
8
+ string: ! '{"Cmd":["sleep","5"],"Image":"base"}'
9
9
  headers:
10
- Content-Type:
11
- - text/plain
12
10
  User-Agent:
13
- - Swipely/Docker-API 1.3.1
11
+ - Swipely/Docker-API 1.5.4
12
+ Content-Type:
13
+ - application/json
14
14
  response:
15
15
  status:
16
16
  code: 201
17
17
  message: ''
18
18
  headers:
19
- Content-Type:
20
- - text/plain; charset=utf-8
21
- Content-Length:
22
- - '21'
23
- Date:
24
- - Wed, 07 Aug 2013 16:51:25 GMT
19
+ !binary "Q29udGVudC1UeXBl":
20
+ - !binary |-
21
+ YXBwbGljYXRpb24vanNvbg==
22
+ !binary "Q29udGVudC1MZW5ndGg=":
23
+ - !binary |-
24
+ NjU=
25
+ !binary "RGF0ZQ==":
26
+ - !binary |-
27
+ TW9uLCAwNyBPY3QgMjAxMyAwMDo0NzozMyBHTVQ=
25
28
  body:
26
- encoding: UTF-8
27
- string: '{"Id":"61cf84ece38f"}'
29
+ encoding: US-ASCII
30
+ string: ! '{"Id":"d25daa9afbd8","Warnings":["IPv4 forwarding is disabled."]}'
28
31
  http_version:
29
- recorded_at: Wed, 07 Aug 2013 16:51:25 GMT
32
+ recorded_at: Mon, 07 Oct 2013 00:47:33 GMT
30
33
  - request:
31
34
  method: post
32
- uri: http://localhost:4243/v1.4/containers/61cf84ece38f/start
35
+ uri: http://unix/v1.4/containers/d25daa9afbd8/start
33
36
  body:
34
- encoding: US-ASCII
35
- string: ''
37
+ encoding: UTF-8
38
+ string: ! '{}'
36
39
  headers:
37
- Content-Type:
38
- - text/plain
39
40
  User-Agent:
40
- - Swipely/Docker-API 1.3.1
41
+ - Swipely/Docker-API 1.5.4
42
+ Content-Type:
43
+ - application/json
41
44
  response:
42
45
  status:
43
46
  code: 204
44
47
  message: ''
45
48
  headers:
46
- Content-Type:
47
- - text/plain; charset=utf-8
48
- Content-Length:
49
- - '0'
50
- Date:
51
- - Wed, 07 Aug 2013 16:51:25 GMT
49
+ !binary "Q29udGVudC1UeXBl":
50
+ - !binary |-
51
+ dGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOA==
52
+ !binary "Q29udGVudC1MZW5ndGg=":
53
+ - !binary |-
54
+ MA==
55
+ !binary "RGF0ZQ==":
56
+ - !binary |-
57
+ TW9uLCAwNyBPY3QgMjAxMyAwMDo0NzozMyBHTVQ=
52
58
  body:
53
- encoding: UTF-8
59
+ encoding: US-ASCII
54
60
  string: ''
55
61
  http_version:
56
- recorded_at: Wed, 07 Aug 2013 16:51:25 GMT
62
+ recorded_at: Mon, 07 Oct 2013 00:47:33 GMT
57
63
  - request:
58
64
  method: post
59
- uri: http://localhost:4243/v1.4/containers/61cf84ece38f/wait
65
+ uri: http://unix/v1.4/containers/d25daa9afbd8/wait
60
66
  body:
61
67
  encoding: US-ASCII
62
68
  string: ''
63
69
  headers:
70
+ User-Agent:
71
+ - Swipely/Docker-API 1.5.4
64
72
  Content-Type:
65
73
  - text/plain
66
- User-Agent:
67
- - Swipely/Docker-API 1.3.1
68
74
  response:
69
75
  status:
70
76
  code: 200
71
77
  message: ''
72
78
  headers:
73
- Content-Type:
74
- - application/json
75
- Content-Length:
76
- - '16'
77
- Date:
78
- - Wed, 07 Aug 2013 16:51:30 GMT
79
+ !binary "Q29udGVudC1UeXBl":
80
+ - !binary |-
81
+ YXBwbGljYXRpb24vanNvbg==
82
+ !binary "Q29udGVudC1MZW5ndGg=":
83
+ - !binary |-
84
+ MTY=
85
+ !binary "RGF0ZQ==":
86
+ - !binary |-
87
+ TW9uLCAwNyBPY3QgMjAxMyAwMDo0NzozOCBHTVQ=
79
88
  body:
80
- encoding: UTF-8
81
- string: '{"StatusCode":0}'
89
+ encoding: US-ASCII
90
+ string: ! '{"StatusCode":0}'
82
91
  http_version:
83
- recorded_at: Wed, 07 Aug 2013 16:51:30 GMT
84
- recorded_with: VCR 2.4.0
92
+ recorded_at: Mon, 07 Oct 2013 00:47:38 GMT
93
+ recorded_with: VCR 2.6.0