docker-api 1.9.1 → 1.10.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 (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/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:32 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":"c1c377e29fa200a68bb1416ea44edd939f466e08f0ce95803ddb8b805eca7d20","Warnings":null}
30
+ {"Id":"dd173940ca2db820cab4cf1f951fc97e98786b953ce2e848a7a8b9c9a1800b6b","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:32 GMT
33
33
  - request:
34
34
  method: post
35
- uri: unix:///var/run/docker.sock/v1.9/containers/c1c377e29fa200a68bb1416ea44edd939f466e08f0ce95803ddb8b805eca7d20/kill
35
+ uri: unix:///var/run/docker.sock/v1.10/containers/dd173940ca2db820cab4cf1f951fc97e98786b953ce2e848a7a8b9c9a1800b6b/kill
36
36
  body:
37
37
  encoding: UTF-8
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
  - application/json
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:07 GMT
50
+ - Wed, 12 Mar 2014 13:31:32 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:07 GMT
61
+ recorded_at: Wed, 12 Mar 2014 13:31:32 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,25 +78,27 @@ http_interactions:
78
78
  Content-Type:
79
79
  - application/json
80
80
  Date:
81
- - Fri, 28 Feb 2014 21:42:07 GMT
81
+ - Wed, 12 Mar 2014 13:31:32 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 11 seconds"}
90
+ ]
89
91
  http_version:
90
- recorded_at: Fri, 28 Feb 2014 21:42:07 GMT
92
+ recorded_at: Wed, 12 Mar 2014 13:31:32 GMT
91
93
  - request:
92
94
  method: get
93
- uri: unix:///var/run/docker.sock/v1.9/containers/json?all=true
95
+ uri: unix:///var/run/docker.sock/v1.10/containers/json?all=true
94
96
  body:
95
97
  encoding: US-ASCII
96
98
  string: ''
97
99
  headers:
98
100
  User-Agent:
99
- - Swipely/Docker-API 1.8.4
101
+ - Swipely/Docker-API 1.9.1
100
102
  Content-Type:
101
103
  - text/plain
102
104
  response:
@@ -107,7 +109,7 @@ http_interactions:
107
109
  Content-Type:
108
110
  - application/json
109
111
  Date:
110
- - Fri, 28 Feb 2014 21:42:07 GMT
112
+ - Wed, 12 Mar 2014 13:31:32 GMT
111
113
  Connection:
112
114
  - close
113
115
  Transfer-Encoding:
@@ -115,35 +117,20 @@ http_interactions:
115
117
  body:
116
118
  encoding: UTF-8
117
119
  string: |-
118
- [{"Command":"ls ","Created":1393623726,"Id":"c1c377e29fa200a68bb1416ea44edd939f466e08f0ce95803ddb8b805eca7d20","Image":"base2:latest","Names":["/ecstatic_archimedes"],"Ports":[],"Status":"Exit 0"}
119
- ,{"Command":true,"Created":1393623725,"Id":"6b81a0b2d2b9377b34cacadc0caab3727992025133072a6dc8cfd113d0779aa1","Image":"base2:latest","Names":["/prickly_newton1"],"Ports":[],"Status":"Exit 0"}
120
- ,{"Command":"test -d /foo","Created":1393623723,"Id":"418e67b935e1e25f7b70925e29745a490e4d5b75a9c320b6ea9d9c381a764ef7","Image":"base2:latest","Names":["/berserk_lumiere"],"Ports":[],"Status":"Exit 0"}
121
- ,{"Command":"pwd ","Created":1393623722,"Id":"e1cb17367cf3237b1a4d2022048077e2632581c2bffdb72fe975d8616a7b65b8","Image":"base2:latest","Names":["/grave_galileo"],"Ports":[],"Status":"Exit 0"}
122
- ,{"Command":"pwd ","Created":1393623720,"Id":"febc9d46a787fcb7b774b578708d850960265351a9694060c8cbcf08d9103c17","Image":"base2:latest","Names":["/silly_babbage"],"Ports":[],"Status":"Exit 0"}
123
- ,{"Command":"rm -rf / --no-preserve-root","Created":1393623718,"Id":"c666534d118a485c3f340d154308857640899f10faf686f6cfbd0028d232c8ba","Image":"base2:latest","Names":["/sick_euclid"],"Ports":[],"Status":"Exit 255"}
124
- ,{"Command":"touch /test","Created":1393623716,"Id":"7c27079e7ae5aaca763c0f0ea72ef6f656409713031c8b51116de27612423912","Image":"base2:latest","Names":["/prickly_newton"],"Ports":[],"Status":"Exit 0"}
125
- ,{"Command":"touch /test","Created":1393623713,"Id":"d9ca2f0d85c136ae72d03c4053c1175b103154bba20d493812ff8d2803534b8a","Image":"base2:latest","Names":["/boring_pare"],"Ports":[],"Status":"Exit 0"}
126
- ,{"Command":"/bin/sh -c printf '#! /bin/sh\\nwhile true\\ndo\\ntrue\\ndone\\n' \u003e /while \u0026\u0026 chmod +x /while","Created":1393623705,"Id":"ec65707c842369bd6bc8ea61eee7f499e190be4a04b010370ed501d380c03317","Image":"base2:latest","Names":["/silly_pasteur"],"Ports":[],"Status":"Exit 0"}
127
- ,{"Command":"rm -rf /root","Created":1393623703,"Id":"b308381c9274c9c2e398635eeca5988c015268bf7e2a558eee0498e25629adc7","Image":"base2:latest","Names":["/thirsty_albattani"],"Ports":[],"Status":"Exit 0"}
128
- ,{"Command":true,"Created":1393623703,"Id":"1f4356ab785f38d193d074a67622f629b7f6abaa6dca0e9a415a544a91e987ce","Image":"base2:latest","Names":["/bob"],"Ports":[],"Status":"Exit 0"}
129
- ,{"Command":true,"Created":1393623703,"Id":"9c286a4bdae3f4ee5c581a26c742d80642bedc4b48a00365f5723f197c592cf2","Image":"base2:latest","Names":["/trusting_torvalds"],"Ports":[],"Status":"Exit 0"}
130
- ,{"Command":"cat /Dockerfile","Created":1393623608,"Id":"05904073890bad4e07d9d9aa50c618915abafa8f4fe69f757c4b02f18c4b1ba1","Image":"swipely/base2:latest","Names":["/pensive_davinci"],"Ports":[],"Status":"Exit 0"}
131
- ,{"Command":"cat /Dockerfile","Created":1393623607,"Id":"979c4db1554a66bd9625a5d960f16203ce645037a7f63bd5d3ac0e12a4f4aa85","Image":"swipely/base2:latest","Names":["/loving_brown"],"Ports":[],"Status":"Exit 0"}
132
- ,{"Command":"cat /Dockerfile","Created":1393623015,"Id":"14500692e1e383d1bfadcc4fac538e80a2fa38481a1e8892414034b83d25dc34","Image":"swipely/base2:latest","Names":["/trusting_thompson"],"Ports":[],"Status":"Exit 0"}
133
- ,{"Command":"cat /Dockerfile","Created":1393623014,"Id":"964080fb57a7e4694307d79acbf5e1426f39d196cd73963906f11ccb46c1170a","Image":"swipely/base2:latest","Names":["/mad_feynman"],"Ports":[],"Status":"Exit 0"}
134
- ,{"Command":"/bin/sh -c #(nop) ADD dir:1eb775e654a108ecfb3725cc351728601c0031d180071f124b1510620d5ee9b5 in /","Created":1393623012,"Id":"00d9d33e18df5c676755ebeed569a056d5fdabc9cd25acb2b9fcc44da2bd8df5","Image":"base2:latest","Names":["/agitated_curie"],"Ports":[],"Status":"Exit 0"}
135
- ,{"Command":"/bin/sh -c true","Created":1393623009,"Id":"a2640209c447eb3a54d89f0c5614ed09444fe2f1badb5c3d81cbe46f697a7974","Image":"base2:latest","Names":["/clever_pike"],"Ports":[],"Status":"Exit 0"}
136
- ,{"Command":"which pwd","Created":1393623004,"Id":"54e5d38edb25f0294cc9011e557282d71ee6c8f88f588dd4efe6ffe609287fa0","Image":"base2:latest","Names":["/jolly_morse"],"Ports":[],"Status":"Exit 0"}
137
- ,{"Command":"ls /lib64/","Created":1393623001,"Id":"93cdf928ada741f11c9535aa2de4bf7c0d69169e4309e45841efc3d54ae21fb8","Image":"base2:latest","Names":["/kickass_galileo"],"Ports":[],"Status":"Exit 0"}
138
- ,{"Command":true,"Created":1393622995,"Id":"e4e1b2526e1cf1eae7ac3b1e1c8c29e37b24130d0fcf410916e9f8b8d61ccc27","Image":"base2:latest","Names":["/kickass_newton"],"Ports":[],"Status":"Exit 0"}
139
- ,{"Command":"cat /Gemfile /Rakefile","Created":1393622987,"Id":"52d9a23cb292a4f1d7a65babf5fa94f05a3d9a79fb44e4ecdfb478f35dadcf11","Image":"7152d6b36451","Names":["/stoic_darwin"],"Ports":[],"Status":"Exit 0"}
140
- ,{"Command":"/bin/sh -c #(nop) ADD file:0da1397da130ce4eb9c66b709edc0cb80000a1d3bc890b9816b4e4da0204edb0 in /","Created":1393622985,"Id":"636b00134d64da97d41514249b527685651b1b17f396675d27f9ea3bc9dc91ef","Image":"b11e84158567","Names":["/determined_heisenberg"],"Ports":[],"Status":"Exit 0"}
141
- ,{"Command":"/bin/sh -c #(nop) ADD file:72fd941c3be8f251fffa1dc023f6335a4e8c2c7d5398b8df2f3e86d7209ab2d8 in /","Created":1393622983,"Id":"2441469640cf91420a9f7cb3f20148f1d7b4dfdda43c53500ce074d93db9e83b","Image":"base2:latest","Names":["/drunk_pasteur"],"Ports":[],"Status":"Exit 0"}
142
- ,{"Command":"cat /Gemfile","Created":1393622982,"Id":"a06f29d105bfeecd9738b51b6ba74374c191e85c1969eaa33945054ee522ce4a","Image":"3a016dd557a7","Names":["/berserk_davinci"],"Ports":[],"Status":"Exit 0"}
143
- ,{"Command":"/bin/sh -c #(nop) ADD file:39159349a16aa1373d57f522dd5a30e405346e05be85f0ef6ab65dbc8ac0b5d0 in /","Created":1393622980,"Id":"4464bf27679b679170a227944e89f98a6ba128e12879b9df199fd0765724dfe9","Image":"base2:latest","Names":["/desperate_heisenberg"],"Ports":[],"Status":"Exit 0"}
144
- ,{"Command":"ls /","Created":1393622979,"Id":"68eacec0e17645b561cecc11dcc97073f02a70a761bcb45370be154fdd210aa2","Image":"ec54e7edec81","Names":["/high_engelbart"],"Ports":[],"Status":"Exit 0"}
145
- ,{"Command":"echo insert http://stallman.org /stallman","Created":1393622977,"Id":"bad53897fd9c6e5825e33ff52e85b5989ce288441f1f6f06471273a8f445a53a","Image":"base2:latest","Names":["/dreamy_brattain"],"Ports":[],"Status":"Exit 0"}
120
+ [{"Command":"ls","Created":1394631092,"Id":"dd173940ca2db820cab4cf1f951fc97e98786b953ce2e848a7a8b9c9a1800b6b","Image":"base:latest","Names":["/trusting_galileo"],"Ports":[],"Status":"Exit 0"}
121
+ ,{"Command":"true","Created":1394631092,"Id":"0ab853c18a2a8eaa4513a6a017dc749d5d691f689c6bdd339d9a64087aee88c1","Image":"base:latest","Names":["/prickly_galileo"],"Ports":[],"Status":"Exit 2"}
122
+ ,{"Command":"test -d /foo","Created":1394631091,"Id":"6c3645ba631b4370d9199983b9a5133e49edaf019a5944148971b1c2db53bf79","Image":"base:latest","Names":["/angry_lumiere"],"Ports":[],"Status":"Exit 0"}
123
+ ,{"Command":"pwd","Created":1394631090,"Id":"345e4a1df616ce448e2d45cdb95e8a3f0560fba39ab27e816b244f003430d59f","Image":"base:latest","Names":["/desperate_darwin"],"Ports":[],"Status":"Exit 0"}
124
+ ,{"Command":"pwd","Created":1394631090,"Id":"71488237068c3873ebd7ff4cc408b7de962b2a90b7c8b8ad519483b592e282db","Image":"base:latest","Names":["/hungry_curie"],"Ports":[],"Status":"Exit 0"}
125
+ ,{"Command":"rm -rf / --no-preserve-root","Created":1394631087,"Id":"8c8e11746d819efcd1403d94058d28f20c326ad44f0f406cb86a569931f26a60","Image":"base:latest","Names":["/boring_mclean"],"Ports":[],"Status":"Exit 1"}
126
+ ,{"Command":"touch /test","Created":1394631086,"Id":"f68efa48ea8d41a0edade5d966d712133d723c910ef01b96fc3d0a9fbad368fe","Image":"base:latest","Names":["/grave_hawking"],"Ports":[],"Status":"Exit 0"}
127
+ ,{"Command":"touch /test","Created":1394631084,"Id":"2703dd3c331e8405de077d5ed9452e0fe27fe3bb9f54740dc34845e1d0ab5499","Image":"base:latest","Names":["/tender_bell"],"Ports":[],"Status":"Exit 0"}
128
+ ,{"Command":"/while","Created":1394631081,"Id":"d2def324f3daa1989173223f03d22e789c4354aa99d80e7258068de9e911cb35","Image":"2e0a9a843f66","Names":["/stoic_brown"],"Ports":[],"Status":"Up 11 seconds"}
129
+ ,{"Command":"/bin/sh -c printf '#! /bin/sh\nwhile true\ndo\ntrue\ndone\n' \u003e /while \u0026\u0026 chmod +x /while","Created":1394631079,"Id":"68f09ac82fcf7c76327180d3573d3a2b54ebe13afc528e29195642a9710d888e","Image":"base:latest","Names":["/determined_einstein"],"Ports":[],"Status":"Exit 0"}
130
+ ,{"Command":"rm -rf /root","Created":1394631078,"Id":"5584a4b00578255194eea3b885d831e6ea0da94d56529f0dab97cd972471026c","Image":"base:latest","Names":["/thirsty_bardeen"],"Ports":[],"Status":"Exit 0"}
131
+ ,{"Command":"true","Created":1394631078,"Id":"be31311878d52f79a24ae359a00d7859e80fe6bb429026a74ccbafa606b04782","Image":"base:latest","Names":["/bob"],"Ports":[],"Status":"Exit 0"}
132
+ ,{"Command":"true","Created":1394631077,"Id":"b615f325b67d6bf74b31ce94f39dea0c1a9f2707b2f610bbdbf6e5dc779b4444","Image":"base:latest","Names":["/high_pasteur"],"Ports":[],"Status":"Exit 0"}
146
133
  ]
147
134
  http_version:
148
- recorded_at: Fri, 28 Feb 2014 21:42:07 GMT
135
+ recorded_at: Wed, 12 Mar 2014 13:31:32 GMT
149
136
  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\":[\"sleep\",\"50\"],\"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:09 GMT
22
+ - Wed, 12 Mar 2014 13:31:35 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":"641bc0dca4e49773c591c5c6abbd35be1b256bb8cd79e2f28e6958891208713a","Warnings":null}
30
+ {"Id":"82f44f5c9e7c3af30763a3de5fb55523816fcee716cad97a3a37ad3573a46738","Warnings":null}
31
31
  http_version:
32
- recorded_at: Fri, 28 Feb 2014 21:42:09 GMT
32
+ recorded_at: Wed, 12 Mar 2014 13:31:35 GMT
33
33
  - request:
34
34
  method: post
35
- uri: unix:///var/run/docker.sock/v1.9/containers/641bc0dca4e49773c591c5c6abbd35be1b256bb8cd79e2f28e6958891208713a/start
35
+ uri: unix:///var/run/docker.sock/v1.10/containers/82f44f5c9e7c3af30763a3de5fb55523816fcee716cad97a3a37ad3573a46738/start
36
36
  body:
37
37
  encoding: UTF-8
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
  - application/json
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:10 GMT
50
+ - Wed, 12 Mar 2014 13:31:35 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:10 GMT
61
+ recorded_at: Wed, 12 Mar 2014 13:31:35 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,27 +78,28 @@ http_interactions:
78
78
  Content-Type:
79
79
  - application/json
80
80
  Date:
81
- - Fri, 28 Feb 2014 21:42:10 GMT
81
+ - Wed, 12 Mar 2014 13:31:35 GMT
82
82
  Content-Length:
83
- - '213'
83
+ - '405'
84
84
  Connection:
85
85
  - close
86
86
  body:
87
87
  encoding: UTF-8
88
88
  string: |-
89
- [{"Command":"sleep 50","Created":1393623728,"Id":"641bc0dca4e49773c591c5c6abbd35be1b256bb8cd79e2f28e6958891208713a","Image":"base2:latest","Names":["/romantic_nobel"],"Ports":[],"Status":"Up Less than a second"}
89
+ [{"Command":"sleep 50","Created":1394631094,"Id":"82f44f5c9e7c3af30763a3de5fb55523816fcee716cad97a3a37ad3573a46738","Image":"base:latest","Names":["/sad_pike"],"Ports":[],"Status":"Up Less than a second"}
90
+ ,{"Command":"/while","Created":1394631081,"Id":"d2def324f3daa1989173223f03d22e789c4354aa99d80e7258068de9e911cb35","Image":"2e0a9a843f66","Names":["/stoic_brown"],"Ports":[],"Status":"Up 13 seconds"}
90
91
  ]
91
92
  http_version:
92
- recorded_at: Fri, 28 Feb 2014 21:42:10 GMT
93
+ recorded_at: Wed, 12 Mar 2014 13:31:35 GMT
93
94
  - request:
94
95
  method: post
95
- uri: unix:///var/run/docker.sock/v1.9/containers/641bc0dca4e49773c591c5c6abbd35be1b256bb8cd79e2f28e6958891208713a/stop
96
+ uri: unix:///var/run/docker.sock/v1.10/containers/82f44f5c9e7c3af30763a3de5fb55523816fcee716cad97a3a37ad3573a46738/stop
96
97
  body:
97
98
  encoding: UTF-8
98
99
  string: "{}"
99
100
  headers:
100
101
  User-Agent:
101
- - Swipely/Docker-API 1.8.4
102
+ - Swipely/Docker-API 1.9.1
102
103
  Content-Type:
103
104
  - application/json
104
105
  response:
@@ -107,7 +108,7 @@ http_interactions:
107
108
  message:
108
109
  headers:
109
110
  Date:
110
- - Fri, 28 Feb 2014 21:42:10 GMT
111
+ - Wed, 12 Mar 2014 13:31:35 GMT
111
112
  Content-Length:
112
113
  - '0'
113
114
  Content-Type:
@@ -118,16 +119,16 @@ http_interactions:
118
119
  encoding: UTF-8
119
120
  string: ''
120
121
  http_version:
121
- recorded_at: Fri, 28 Feb 2014 21:42:10 GMT
122
+ recorded_at: Wed, 12 Mar 2014 13:31:35 GMT
122
123
  - request:
123
124
  method: get
124
- uri: unix:///var/run/docker.sock/v1.9/containers/json
125
+ uri: unix:///var/run/docker.sock/v1.10/containers/json
125
126
  body:
126
127
  encoding: US-ASCII
127
128
  string: ''
128
129
  headers:
129
130
  User-Agent:
130
- - Swipely/Docker-API 1.8.4
131
+ - Swipely/Docker-API 1.9.1
131
132
  Content-Type:
132
133
  - text/plain
133
134
  response:
@@ -138,25 +139,27 @@ http_interactions:
138
139
  Content-Type:
139
140
  - application/json
140
141
  Date:
141
- - Fri, 28 Feb 2014 21:42:10 GMT
142
+ - Wed, 12 Mar 2014 13:31:35 GMT
142
143
  Content-Length:
143
- - '2'
144
+ - '200'
144
145
  Connection:
145
146
  - close
146
147
  body:
147
148
  encoding: UTF-8
148
- string: "[]"
149
+ string: |-
150
+ [{"Command":"/while","Created":1394631081,"Id":"d2def324f3daa1989173223f03d22e789c4354aa99d80e7258068de9e911cb35","Image":"2e0a9a843f66","Names":["/stoic_brown"],"Ports":[],"Status":"Up 13 seconds"}
151
+ ]
149
152
  http_version:
150
- recorded_at: Fri, 28 Feb 2014 21:42:10 GMT
153
+ recorded_at: Wed, 12 Mar 2014 13:31:35 GMT
151
154
  - request:
152
155
  method: post
153
- uri: unix:///var/run/docker.sock/v1.9/containers/641bc0dca4e49773c591c5c6abbd35be1b256bb8cd79e2f28e6958891208713a/restart
156
+ uri: unix:///var/run/docker.sock/v1.10/containers/82f44f5c9e7c3af30763a3de5fb55523816fcee716cad97a3a37ad3573a46738/restart?t=10
154
157
  body:
155
158
  encoding: UTF-8
156
159
  string: "{}"
157
160
  headers:
158
161
  User-Agent:
159
- - Swipely/Docker-API 1.8.4
162
+ - Swipely/Docker-API 1.9.1
160
163
  Content-Type:
161
164
  - application/json
162
165
  response:
@@ -165,7 +168,7 @@ http_interactions:
165
168
  message:
166
169
  headers:
167
170
  Date:
168
- - Fri, 28 Feb 2014 21:42:11 GMT
171
+ - Wed, 12 Mar 2014 13:31:35 GMT
169
172
  Content-Length:
170
173
  - '0'
171
174
  Content-Type:
@@ -176,16 +179,16 @@ http_interactions:
176
179
  encoding: UTF-8
177
180
  string: ''
178
181
  http_version:
179
- recorded_at: Fri, 28 Feb 2014 21:42:11 GMT
182
+ recorded_at: Wed, 12 Mar 2014 13:31:35 GMT
180
183
  - request:
181
184
  method: get
182
- uri: unix:///var/run/docker.sock/v1.9/containers/json
185
+ uri: unix:///var/run/docker.sock/v1.10/containers/json
183
186
  body:
184
187
  encoding: US-ASCII
185
188
  string: ''
186
189
  headers:
187
190
  User-Agent:
188
- - Swipely/Docker-API 1.8.4
191
+ - Swipely/Docker-API 1.9.1
189
192
  Content-Type:
190
193
  - text/plain
191
194
  response:
@@ -196,16 +199,17 @@ http_interactions:
196
199
  Content-Type:
197
200
  - application/json
198
201
  Date:
199
- - Fri, 28 Feb 2014 21:42:11 GMT
202
+ - Wed, 12 Mar 2014 13:31:35 GMT
200
203
  Content-Length:
201
- - '213'
204
+ - '405'
202
205
  Connection:
203
206
  - close
204
207
  body:
205
208
  encoding: UTF-8
206
209
  string: |-
207
- [{"Command":"sleep 50","Created":1393623728,"Id":"641bc0dca4e49773c591c5c6abbd35be1b256bb8cd79e2f28e6958891208713a","Image":"base2:latest","Names":["/romantic_nobel"],"Ports":[],"Status":"Up Less than a second"}
210
+ [{"Command":"sleep 50","Created":1394631094,"Id":"82f44f5c9e7c3af30763a3de5fb55523816fcee716cad97a3a37ad3573a46738","Image":"base:latest","Names":["/sad_pike"],"Ports":[],"Status":"Up Less than a second"}
211
+ ,{"Command":"/while","Created":1394631081,"Id":"d2def324f3daa1989173223f03d22e789c4354aa99d80e7258068de9e911cb35","Image":"2e0a9a843f66","Names":["/stoic_brown"],"Ports":[],"Status":"Up 13 seconds"}
208
212
  ]
209
213
  http_version:
210
- recorded_at: Fri, 28 Feb 2014 21:42:11 GMT
214
+ recorded_at: Wed, 12 Mar 2014 13:31:35 GMT
211
215
  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\":[\"lol\",\"not\",\"a\",\"real\",\"command\"],\"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:21 GMT
22
+ - Wed, 12 Mar 2014 13:31:42 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":"1a437c19966fe2cbd1eb5c5a85d34042f657259a72ad5043d078c39b3e8a7d60","Warnings":null}
30
+ {"Id":"8ae2accd54d66e14604e210feb17ba35c10bea922a66e18df8abfecebe74bb35","Warnings":null}
31
31
  http_version:
32
- recorded_at: Fri, 28 Feb 2014 21:42:21 GMT
32
+ recorded_at: Wed, 12 Mar 2014 13:31:42 GMT
33
33
  - request:
34
34
  method: post
35
- uri: unix:///var/run/docker.sock/v1.9/containers/1a437c19966fe2cbd1eb5c5a85d34042f657259a72ad5043d078c39b3e8a7d60/start
35
+ uri: unix:///var/run/docker.sock/v1.10/containers/8ae2accd54d66e14604e210feb17ba35c10bea922a66e18df8abfecebe74bb35/start
36
36
  body:
37
37
  encoding: UTF-8
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
  - application/json
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:22 GMT
50
+ - Wed, 12 Mar 2014 13:31:42 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:22 GMT
61
+ recorded_at: Wed, 12 Mar 2014 13:31:42 GMT
62
62
  - request:
63
63
  method: post
64
- uri: unix:///var/run/docker.sock/v1.9/containers/1a437c19966fe2cbd1eb5c5a85d34042f657259a72ad5043d078c39b3e8a7d60/wait
64
+ uri: unix:///var/run/docker.sock/v1.10/containers/8ae2accd54d66e14604e210feb17ba35c10bea922a66e18df8abfecebe74bb35/wait
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,15 +78,15 @@ http_interactions:
78
78
  Content-Type:
79
79
  - application/json
80
80
  Date:
81
- - Fri, 28 Feb 2014 21:42:23 GMT
81
+ - Wed, 12 Mar 2014 13:31:42 GMT
82
82
  Content-Length:
83
- - '19'
83
+ - '17'
84
84
  Connection:
85
85
  - close
86
86
  body:
87
87
  encoding: UTF-8
88
88
  string: |
89
- {"StatusCode":255}
89
+ {"StatusCode":1}
90
90
  http_version:
91
- recorded_at: Fri, 28 Feb 2014 21:42:23 GMT
91
+ recorded_at: Wed, 12 Mar 2014 13:31:42 GMT
92
92
  recorded_with: VCR 2.8.0