docker-client 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (74) hide show
  1. data/.gitignore +17 -0
  2. data/.rspec +2 -0
  3. data/.rvmrc +1 -0
  4. data/Gemfile +4 -0
  5. data/Guardfile +9 -0
  6. data/LICENSE.txt +22 -0
  7. data/MIT-LICENSE +21 -0
  8. data/README.md +87 -0
  9. data/Rakefile +15 -0
  10. data/docker.gemspec +40 -0
  11. data/lib/docker.rb +10 -0
  12. data/lib/docker/api.rb +32 -0
  13. data/lib/docker/connection.rb +83 -0
  14. data/lib/docker/error.rb +9 -0
  15. data/lib/docker/error/bad_parameter_error.rb +7 -0
  16. data/lib/docker/error/container_not_found.rb +7 -0
  17. data/lib/docker/error/internal_server_error.rb +7 -0
  18. data/lib/docker/error/not_found_error.rb +7 -0
  19. data/lib/docker/resource.rb +8 -0
  20. data/lib/docker/resource/base.rb +23 -0
  21. data/lib/docker/resource/container.rb +131 -0
  22. data/lib/docker/resource/image.rb +10 -0
  23. data/lib/docker/version.rb +3 -0
  24. data/spec/cassettes/Docker_Connection/returns_a_valid_response_for_a_basic_request.yml +40 -0
  25. data/spec/cassettes/Docker_Connection/returns_a_valid_response_for_get_request.yml +105 -0
  26. data/spec/cassettes/Docker_Connection/returns_a_valid_response_for_post_request.yml +30 -0
  27. data/spec/cassettes/Docker_Connection/returns_status_404_for_non_existent_path.yml +31 -0
  28. data/spec/cassettes/Docker_Connection/sets_given_query_parameters.yml +31 -0
  29. data/spec/cassettes/Docker_Connection/sets_given_request_headers.yml +33 -0
  30. data/spec/cassettes/Docker_Resource_Container/changes/inspects_the_container_s_filesystem_changes.yml +33 -0
  31. data/spec/cassettes/Docker_Resource_Container/create/raises_an_exception_when_called_with_invalid_options.yml +34 -0
  32. data/spec/cassettes/Docker_Resource_Container/create/with_many_settings.yml +36 -0
  33. data/spec/cassettes/Docker_Resource_Container/create/with_minimal_settings.yml +34 -0
  34. data/spec/cassettes/Docker_Resource_Container/kill/raises_an_exception_for_an_unknow_container.yml +31 -0
  35. data/spec/cassettes/Docker_Resource_Container/kill/the_container.yml +30 -0
  36. data/spec/cassettes/Docker_Resource_Container/lists/all_running_containers.yml +46 -0
  37. data/spec/cassettes/Docker_Resource_Container/lists/limit_last_created_containers.yml +34 -0
  38. data/spec/cassettes/Docker_Resource_Container/lists/non-running_processes_too.yml +114 -0
  39. data/spec/cassettes/Docker_Resource_Container/lists/processes_before_a_certain_created_container.yml +110 -0
  40. data/spec/cassettes/Docker_Resource_Container/lists/processes_since_a_certain_created_container.yml +34 -0
  41. data/spec/cassettes/Docker_Resource_Container/logs/returns_the_stderr_of_a_container.yml +25 -0
  42. data/spec/cassettes/Docker_Resource_Container/logs/returns_the_stdout_of_a_container.yml +25 -0
  43. data/spec/cassettes/Docker_Resource_Container/remove/deletes_the_container.yml +30 -0
  44. data/spec/cassettes/Docker_Resource_Container/remove/raises_an_exception_with_an_invalid_container.yml +31 -0
  45. data/spec/cassettes/Docker_Resource_Container/restarts/raises_an_exception_for_an_unknown_container.yml +31 -0
  46. data/spec/cassettes/Docker_Resource_Container/restarts/the_container.yml +30 -0
  47. data/spec/cassettes/Docker_Resource_Container/shows/the_low_level_details.yml +48 -0
  48. data/spec/cassettes/Docker_Resource_Container/start/brings_a_container_into_state_running.yml +30 -0
  49. data/spec/cassettes/Docker_Resource_Container/start/raises_an_exception_for_an_unknown_container.yml +31 -0
  50. data/spec/cassettes/Docker_Resource_Container/stop/halts_a_container.yml +30 -0
  51. data/spec/cassettes/Docker_Resource_Container/stop/raises_an_exception_for_an_unknown_container.yml +31 -0
  52. data/spec/cassettes/Docker_Resource_Container/wait/blocks_until_the_container_stops.yml +31 -0
  53. data/spec/cassettes/Docker_Resource_Container/wait/raises_an_exception_for_an_unknown_container.yml +31 -0
  54. data/spec/cassettes/test_setup/create_container_connection_post.yml +33 -0
  55. data/spec/cassettes/test_setup/create_container_container_changes.yml +33 -0
  56. data/spec/cassettes/test_setup/create_container_container_kill.yml +34 -0
  57. data/spec/cassettes/test_setup/create_container_container_lists1.yml +34 -0
  58. data/spec/cassettes/test_setup/create_container_container_lists2.yml +33 -0
  59. data/spec/cassettes/test_setup/create_container_container_logs.yml +33 -0
  60. data/spec/cassettes/test_setup/create_container_container_remove.yml +33 -0
  61. data/spec/cassettes/test_setup/create_container_container_restarts.yml +34 -0
  62. data/spec/cassettes/test_setup/create_container_container_shows.yml +33 -0
  63. data/spec/cassettes/test_setup/create_container_container_start.yml +33 -0
  64. data/spec/cassettes/test_setup/create_container_container_stop.yml +34 -0
  65. data/spec/cassettes/test_setup/create_container_container_wait.yml +33 -0
  66. data/spec/cassettes/test_setup/delete_container.yml +405 -0
  67. data/spec/cassettes/test_setup/start_container.yml +235 -0
  68. data/spec/cassettes/test_setup/wait_on_container.yml +63 -0
  69. data/spec/docker/api_spec.rb +37 -0
  70. data/spec/docker/connection_spec.rb +81 -0
  71. data/spec/docker/resource/container_spec.rb +288 -0
  72. data/spec/helpers.rb +48 -0
  73. data/spec/spec_helper.rb +31 -0
  74. metadata +361 -0
@@ -0,0 +1,30 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: http://10.0.5.5:4243/containers/9f79b401cf57/kill
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers: {}
10
+ response:
11
+ status:
12
+ code: 204
13
+ message: !binary |-
14
+ Tm8gQ29udGVudA==
15
+ headers:
16
+ !binary "RGF0ZQ==":
17
+ - !binary |-
18
+ U2F0LCAyNSBNYXkgMjAxMyAxNjowNTozMiBHTVQ=
19
+ !binary "VHJhbnNmZXItRW5jb2Rpbmc=":
20
+ - !binary |-
21
+ Y2h1bmtlZA==
22
+ !binary "Q29udGVudC1UeXBl":
23
+ - !binary |-
24
+ dGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOA==
25
+ body:
26
+ encoding: ASCII-8BIT
27
+ string: !binary ""
28
+ http_version:
29
+ recorded_at: Sat, 25 May 2013 16:05:34 GMT
30
+ recorded_with: VCR 2.5.0
@@ -0,0 +1,46 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://10.0.5.5:4243/containers/ps
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers: {}
10
+ response:
11
+ status:
12
+ code: 200
13
+ message: !binary |-
14
+ T0s=
15
+ headers:
16
+ !binary "Q29udGVudC1UeXBl":
17
+ - !binary |-
18
+ YXBwbGljYXRpb24vanNvbg==
19
+ !binary "RGF0ZQ==":
20
+ - !binary |-
21
+ U2F0LCAyNSBNYXkgMjAxMyAxNjowNToxMyBHTVQ=
22
+ !binary "VHJhbnNmZXItRW5jb2Rpbmc=":
23
+ - !binary |-
24
+ Y2h1bmtlZA==
25
+ body:
26
+ encoding: ASCII-8BIT
27
+ string: !binary |-
28
+ W3siSWQiOiIxMjQzM2RjZDViN2EyNGZmMTdhMmFmN2U2NDdmYjM2M2ZmZmRk
29
+ MzYzMDhkYTQ4NWUyY2Y2NDNkYjdlOTc2MTExIiwiSW1hZ2UiOiJiYXNlOmxh
30
+ dGVzdCIsIkNvbW1hbmQiOiIvYmluL3NoIC1jIHdoaWxlIHRydWU7IGRvIGVj
31
+ aG8gaGVsbG8gd29ybGQ7IHNsZWVwIDE7IGRvbmUiLCJDcmVhdGVkIjoxMzY5
32
+ NDk3OTEyLCJTdGF0dXMiOiJVcCBMZXNzIHRoYW4gYSBzZWNvbmQiLCJQb3J0
33
+ cyI6IiJ9LHsiSWQiOiIwMTkzMzZlMTdkZDNjYjI3MWE5ZjA4ZDg2OTMxMWM5
34
+ MzAwMTdiOWE1ZjBiNDBlZjFkYTE1ZjU2YTFlMGE5YzRlIiwiSW1hZ2UiOiJi
35
+ YXNlOmxhdGVzdCIsIkNvbW1hbmQiOiIvYmluL3NoIC1jIHdoaWxlIHRydWU7
36
+ IGRvIGVjaG8gaGVsbG8gd29ybGQ7IHNsZWVwIDE7IGRvbmUiLCJDcmVhdGVk
37
+ IjoxMzY5NDk3MjA1LCJTdGF0dXMiOiJVcCAxMSBtaW51dGVzIiwiUG9ydHMi
38
+ OiIifSx7IklkIjoiNjhjZmU1YjJjZTYwMGQ4MGFkY2I0ZmU2NmFkOWMwYzhh
39
+ YzEyYjhkOWNhNjhjOWFjZmEyNmU3OGM2ZGZjMzgzNSIsIkltYWdlIjoiYmFz
40
+ ZTpsYXRlc3QiLCJDb21tYW5kIjoiL2Jpbi9zaCAtYyB3aGlsZSB0cnVlOyBk
41
+ byBlY2hvIGhlbGxvIHdvcmxkOyBzbGVlcCAxOyBkb25lIiwiQ3JlYXRlZCI6
42
+ MTM2OTQ5NjY4MywiU3RhdHVzIjoiVXAgMjAgbWludXRlcyIsIlBvcnRzIjoi
43
+ In1d
44
+ http_version:
45
+ recorded_at: Sat, 25 May 2013 16:05:15 GMT
46
+ recorded_with: VCR 2.5.0
@@ -0,0 +1,34 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://10.0.5.5:4243/containers/ps?limit=1
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers: {}
10
+ response:
11
+ status:
12
+ code: 200
13
+ message: !binary |-
14
+ T0s=
15
+ headers:
16
+ !binary "Q29udGVudC1UeXBl":
17
+ - !binary |-
18
+ YXBwbGljYXRpb24vanNvbg==
19
+ !binary "RGF0ZQ==":
20
+ - !binary |-
21
+ U2F0LCAyNSBNYXkgMjAxMyAxNjowNToxMyBHTVQ=
22
+ !binary "VHJhbnNmZXItRW5jb2Rpbmc=":
23
+ - !binary |-
24
+ Y2h1bmtlZA==
25
+ body:
26
+ encoding: ASCII-8BIT
27
+ string: !binary |-
28
+ W3siSWQiOiIyZTMxMWMxMjFhMjg2ZWM4MGJlMDMwMWQxMjcxMGRkOGExZGUw
29
+ ZDM1OGZjNDZlYjE2NGIwMzNiMWY3Y2M2ZGZmIiwiSW1hZ2UiOiJiYXNlOmxh
30
+ dGVzdCIsIkNvbW1hbmQiOiJlbnYgIiwiQ3JlYXRlZCI6MTM2OTQ5NzkxMywi
31
+ U3RhdHVzIjoiRXhpdCAwIiwiUG9ydHMiOiIifV0=
32
+ http_version:
33
+ recorded_at: Sat, 25 May 2013 16:05:15 GMT
34
+ recorded_with: VCR 2.5.0
@@ -0,0 +1,114 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://10.0.5.5:4243/containers/ps?all=true
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers: {}
10
+ response:
11
+ status:
12
+ code: 200
13
+ message: !binary |-
14
+ T0s=
15
+ headers:
16
+ !binary "Q29udGVudC1UeXBl":
17
+ - !binary |-
18
+ YXBwbGljYXRpb24vanNvbg==
19
+ !binary "RGF0ZQ==":
20
+ - !binary |-
21
+ U2F0LCAyNSBNYXkgMjAxMyAxNjowNToxMyBHTVQ=
22
+ !binary "VHJhbnNmZXItRW5jb2Rpbmc=":
23
+ - !binary |-
24
+ Y2h1bmtlZA==
25
+ body:
26
+ encoding: ASCII-8BIT
27
+ string: !binary |-
28
+ W3siSWQiOiIyZTMxMWMxMjFhMjg2ZWM4MGJlMDMwMWQxMjcxMGRkOGExZGUw
29
+ ZDM1OGZjNDZlYjE2NGIwMzNiMWY3Y2M2ZGZmIiwiSW1hZ2UiOiJiYXNlOmxh
30
+ dGVzdCIsIkNvbW1hbmQiOiJlbnYgIiwiQ3JlYXRlZCI6MTM2OTQ5NzkxMywi
31
+ U3RhdHVzIjoiRXhpdCAwIiwiUG9ydHMiOiIifSx7IklkIjoiMTI0MzNkY2Q1
32
+ YjdhMjRmZjE3YTJhZjdlNjQ3ZmIzNjNmZmZkZDM2MzA4ZGE0ODVlMmNmNjQz
33
+ ZGI3ZTk3NjExMSIsIkltYWdlIjoiYmFzZTpsYXRlc3QiLCJDb21tYW5kIjoi
34
+ L2Jpbi9zaCAtYyB3aGlsZSB0cnVlOyBkbyBlY2hvIGhlbGxvIHdvcmxkOyBz
35
+ bGVlcCAxOyBkb25lIiwiQ3JlYXRlZCI6MTM2OTQ5NzkxMiwiU3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2OGIwMTdhOTFkNjY4OTVkMGVj
99
+ NjhmNGZlODQiLCJJbWFnZSI6ImJhc2U6bGF0ZXN0IiwiQ29tbWFuZCI6Ii9i
100
+ aW4vc2ggLWMgd2hpbGUgdHJ1ZTsgZG8gZWNobyBoZWxsbyB3b3JsZDsgc2xl
101
+ ZXAgMTsgZG9uZSIsIkNyZWF0ZWQiOjEzNjk0OTY2ODMsIlN0YXR1cyI6IkV4
102
+ aXQgMCIsIlBvcnRzIjoiIn0seyJJZCI6IjQ2YzMwYmU0YThlY2U3ZjdmODQy
103
+ MGRlZTM5Y2M2MmQwNmJhNTU0NzM2ZjA2ZmQ5Y2YwZGRhNjgwN2ExZDVmOTgi
104
+ LCJJbWFnZSI6ImJhc2U6bGF0ZXN0IiwiQ29tbWFuZCI6Ii9iaW4vc2ggLWMg
105
+ d2hpbGUgdHJ1ZTsgZG8gZWNobyBoZWxsbyB3b3JsZDsgc2xlZXAgMTsgZG9u
106
+ ZSIsIkNyZWF0ZWQiOjEzNjk0OTU5NjgsIlN0YXR1cyI6IkV4aXQgMCIsIlBv
107
+ cnRzIjoiIn0seyJJZCI6Ijk2MjU2MjExMzliMGUzNTcwMWQxMDM4MmI2NDQ1
108
+ YWVlOTI5M2U2OGE2OTczMTE4ZDlhMzZmMzUwMDQyYjcyMDgiLCJJbWFnZSI6
109
+ ImJhc2U6bGF0ZXN0IiwiQ29tbWFuZCI6ImVjaG8gaGVsbG8gd29ybGQiLCJD
110
+ cmVhdGVkIjoxMzY5NDk1OTY4LCJTdGF0dXMiOiJFeGl0IDAiLCJQb3J0cyI6
111
+ IiJ9XQ==
112
+ http_version:
113
+ recorded_at: Sat, 25 May 2013 16:05:15 GMT
114
+ recorded_with: VCR 2.5.0
@@ -0,0 +1,110 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://10.0.5.5:4243/containers/ps?before=2e311c121a28
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers: {}
10
+ response:
11
+ status:
12
+ code: 200
13
+ message: !binary |-
14
+ T0s=
15
+ headers:
16
+ !binary "Q29udGVudC1UeXBl":
17
+ - !binary |-
18
+ YXBwbGljYXRpb24vanNvbg==
19
+ !binary "RGF0ZQ==":
20
+ - !binary |-
21
+ U2F0LCAyNSBNYXkgMjAxMyAxNjowNToxMyBHTVQ=
22
+ !binary "VHJhbnNmZXItRW5jb2Rpbmc=":
23
+ - !binary |-
24
+ Y2h1bmtlZA==
25
+ body:
26
+ encoding: ASCII-8BIT
27
+ string: !binary |-
28
+ W3siSWQiOiIxMjQzM2RjZDViN2EyNGZmMTdhMmFmN2U2NDdmYjM2M2ZmZmRk
29
+ MzYzMDhkYTQ4NWUyY2Y2NDNkYjdlOTc2MTExIiwiSW1hZ2UiOiJiYXNlOmxh
30
+ dGVzdCIsIkNvbW1hbmQiOiIvYmluL3NoIC1jIHdoaWxlIHRydWU7IGRvIGVj
31
+ aG8gaGVsbG8gd29ybGQ7IHNsZWVwIDE7IGRvbmUiLCJDcmVhdGVkIjoxMzY5
32
+ NDk3OTEyLCJTdGF0dXMiOiJVcCBMZXNzIHRoYW4gYSBzZWNvbmQiLCJQb3J0
33
+ cyI6IiJ9LHsiSWQiOiI1MjZiNWViZWEwZmJhZGZmNjlhOWQ2ZWJjZTc2YjFi
34
+ ODgzZjIyY2Y5NDI2MDdhODI1MTU5OTYwZDJiMThjYTRlIiwiSW1hZ2UiOiJi
35
+ YXNlOmxhdGVzdCIsIkNvbW1hbmQiOiJ0b3VjaCAvdG1wL2NoYW5nZXMiLCJD
36
+ cmVhdGVkIjoxMzY5NDk3MjA5LCJTdGF0dXMiOiJFeGl0IDAiLCJQb3J0cyI6
37
+ IiJ9LHsiSWQiOiI5OWVmY2E2ZjM4N2E3NmU3MDUxOGUwMWE3NWM4ZDFjNWY3
38
+ YmQ4MmI4OGJkMmRiMWZhMjU3NWMwZjMxMzI0ZDQ4IiwiSW1hZ2UiOiJiYXNl
39
+ OmxhdGVzdCIsIkN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
102
+ cmxkOyBzbGVlcCAxOyBkb25lIiwiQ3JlYXRlZCI6MTM2OTQ5NTk2OCwiU3Rh
103
+ dHVzIjoiRXhpdCAwIiwiUG9ydHMiOiIifSx7IklkIjoiOTYyNTYyMTEzOWIw
104
+ ZTM1NzAxZDEwMzgyYjY0NDVhZWU5MjkzZTY4YTY5NzMxMThkOWEzNmYzNTAw
105
+ NDJiNzIwOCIsIkltYWdlIjoiYmFzZTpsYXRlc3QiLCJDb21tYW5kIjoiZWNo
106
+ byBoZWxsbyB3b3JsZCIsIkNyZWF0ZWQiOjEzNjk0OTU5NjgsIlN0YXR1cyI6
107
+ IkV4aXQgMCIsIlBvcnRzIjoiIn1d
108
+ http_version:
109
+ recorded_at: Sat, 25 May 2013 16:05:15 GMT
110
+ recorded_with: VCR 2.5.0
@@ -0,0 +1,34 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://10.0.5.5:4243/containers/ps?since=12433dcd5b7a
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers: {}
10
+ response:
11
+ status:
12
+ code: 200
13
+ message: !binary |-
14
+ T0s=
15
+ headers:
16
+ !binary "Q29udGVudC1UeXBl":
17
+ - !binary |-
18
+ YXBwbGljYXRpb24vanNvbg==
19
+ !binary "RGF0ZQ==":
20
+ - !binary |-
21
+ U2F0LCAyNSBNYXkgMjAxMyAxNjowNToxMyBHTVQ=
22
+ !binary "VHJhbnNmZXItRW5jb2Rpbmc=":
23
+ - !binary |-
24
+ Y2h1bmtlZA==
25
+ body:
26
+ encoding: ASCII-8BIT
27
+ string: !binary |-
28
+ W3siSWQiOiIyZTMxMWMxMjFhMjg2ZWM4MGJlMDMwMWQxMjcxMGRkOGExZGUw
29
+ ZDM1OGZjNDZlYjE2NGIwMzNiMWY3Y2M2ZGZmIiwiSW1hZ2UiOiJiYXNlOmxh
30
+ dGVzdCIsIkNvbW1hbmQiOiJlbnYgIiwiQ3JlYXRlZCI6MTM2OTQ5NzkxMywi
31
+ U3RhdHVzIjoiRXhpdCAwIiwiUG9ydHMiOiIifV0=
32
+ http_version:
33
+ recorded_at: Sat, 25 May 2013 16:05:15 GMT
34
+ recorded_with: VCR 2.5.0
@@ -0,0 +1,25 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: http://10.0.5.5:4243/containers/167951f02581/attach?logs=true&stderr=true&stream=false
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers: {}
10
+ response:
11
+ status:
12
+ code: 200
13
+ message: !binary |-
14
+ T0s=
15
+ headers:
16
+ !binary "Q29udGVudC1UeXBl":
17
+ - !binary |-
18
+ YXBwbGljYXRpb24vdm5kLmRvY2tlci5yYXctc3RyZWFt
19
+ body:
20
+ encoding: ASCII-8BIT
21
+ string: !binary |-
22
+ c3RkZXJyCg==
23
+ http_version:
24
+ recorded_at: Sat, 25 May 2013 16:05:27 GMT
25
+ recorded_with: VCR 2.5.0
@@ -0,0 +1,25 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: http://10.0.5.5:4243/containers/167951f02581/attach?logs=true&stdout=true&stream=false
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers: {}
10
+ response:
11
+ status:
12
+ code: 200
13
+ message: !binary |-
14
+ T0s=
15
+ headers:
16
+ !binary "Q29udGVudC1UeXBl":
17
+ - !binary |-
18
+ YXBwbGljYXRpb24vdm5kLmRvY2tlci5yYXctc3RyZWFt
19
+ body:
20
+ encoding: ASCII-8BIT
21
+ string: !binary |-
22
+ c3Rkb3V0Cg==
23
+ http_version:
24
+ recorded_at: Sat, 25 May 2013 16:05:26 GMT
25
+ recorded_with: VCR 2.5.0
@@ -0,0 +1,30 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: delete
5
+ uri: http://10.0.5.5:4243/containers/123a45fb9f91?v=true
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers: {}
10
+ response:
11
+ status:
12
+ code: 204
13
+ message: !binary |-
14
+ Tm8gQ29udGVudA==
15
+ headers:
16
+ !binary "RGF0ZQ==":
17
+ - !binary |-
18
+ U2F0LCAyNSBNYXkgMjAxMyAxNjowNToxMiBHTVQ=
19
+ !binary "VHJhbnNmZXItRW5jb2Rpbmc=":
20
+ - !binary |-
21
+ Y2h1bmtlZA==
22
+ !binary "Q29udGVudC1UeXBl":
23
+ - !binary |-
24
+ dGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOA==
25
+ body:
26
+ encoding: ASCII-8BIT
27
+ string: !binary ""
28
+ http_version:
29
+ recorded_at: Sat, 25 May 2013 16:05:15 GMT
30
+ recorded_with: VCR 2.5.0