From fda1242be75b4538fbb11bc5f5cbc1eedf33c418 Mon Sep 17 00:00:00 2001 From: Adrien Date: Sat, 4 Apr 2015 13:36:53 +0200 Subject: [PATCH 1/2] Allow streaming when using exec --- lib/docker/exec.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/docker/exec.rb b/lib/docker/exec.rb index 685b2bef4..87c5334df 100644 --- a/lib/docker/exec.rb +++ b/lib/docker/exec.rb @@ -56,6 +56,9 @@ def start!(options = {}, &block) } excon_params = { :body => body.to_json } + opts = { + :stream => true, :stdout => true, :stderr => true + }.merge(options) msgs = Docker::Messages.new unless detached if stdin @@ -67,7 +70,7 @@ def start!(options = {}, &block) end end - connection.post(path_for(:start), nil, excon_params) + connection.post(path_for(:start), opts, excon_params) [msgs.stdout_messages, msgs.stderr_messages, self.json['ExitCode']] end From 0c3b4e91dd8409a2740ec1b49e9cd34aab78a88a Mon Sep 17 00:00:00 2001 From: Adrien Siami Date: Sat, 4 Apr 2015 14:38:51 +0200 Subject: [PATCH 2/2] Re-record cassettes --- lib/docker/exec.rb | 2 +- ...each_Container_into_a_Docker_Container.yml | 85 ++++--- .../yields_each_chunk.yml | 61 +++-- .../yields_each_chunk.yml | 61 +++-- .../returns_the_changes_as_an_array.yml | 87 ++++--- ...new_Image_from_the_Container_s_changes.yml | 87 ++++--- .../raises_an_error.yml | 75 +++--- ...lds_each_chunk_of_the_tarred_directory.yml | 89 ++++--- .../yields_each_chunk_of_the_tarred_file.yml | 89 ++++--- .../should_have_name_set_to_bob.yml | 46 ++-- .../sets_the_id.yml | 29 ++- .../_delete/deletes_the_container.yml | 48 ++-- .../returns_the_Docker_Exec_object.yml | 94 ++++---- .../streams_the_stdout/stderr_messages.yml | 94 ++++---- .../stderr_messages_and_exit_code.yml | 94 ++++---- .../returns_the_stdout/stderr_messages.yml | 51 ++-- .../returns_the_raw_stdout/stderr_output.yml | 94 ++++---- .../_export/yields_each_chunk.yml | 108 +++++---- ..._the_Container_into_a_Docker_Container.yml | 46 ++-- .../returns_the_description_as_a_Hash.yml | 46 ++-- .../_kill/kills_the_container.yml | 96 ++++---- .../kills_the_container.yml | 160 ++++++------- .../raises_a_client_error.yml | 89 ++++--- .../returns_blank_logs.yml | 39 ++-- .../_pause/pauses_the_container.yml | 88 ++++--- .../_restart/restarts_the_container.yml | 140 ++++++----- .../raises_an_error.yml | 56 +++-- ...container_to_run_the_specified_command.yml | 220 ++++++++---------- .../_start/starts_the_container.yml | 79 +++---- .../_stop/stops_the_container.yml | 98 ++++---- .../raises_a_client_error.yml | 89 ++++--- .../returns_blank_logs.yml | 39 ++-- .../returns_the_top_commands_as_an_Array.yml | 105 ++++----- .../_unpause/unpauses_the_container.yml | 88 ++++--- .../_wait/waits_for_the_command_to_finish.yml | 56 +++-- ...he_read_timeout_to_that_amount_of_time.yml | 56 +++-- .../sets_the_id.yml | 68 +++--- .../returns_the_description_as_a_Hash.yml | 106 ++++----- .../attaches_to_the_stream.yml | 94 ++++---- ...returns_the_stdout_and_stderr_messages.yml | 94 ++++---- .../stderr_messages_with_exitcode.yml | 94 ++++---- .../starts_the_exec_instance.yml | 92 ++++---- .../raises_an_error.yml | 92 ++++---- 43 files changed, 1691 insertions(+), 1833 deletions(-) diff --git a/lib/docker/exec.rb b/lib/docker/exec.rb index 87c5334df..1867d3221 100644 --- a/lib/docker/exec.rb +++ b/lib/docker/exec.rb @@ -47,7 +47,7 @@ def start!(options = {}, &block) # Parse the Options tty = !!options.delete(:tty) detached = !!options.delete(:detach) - stdin = options[:stdin] + stdin = options.delete(:stdin) # Create API Request Body body = { diff --git a/spec/vcr/Docker_Container/_all/when_the_HTTP_response_is_a_200/materializes_each_Container_into_a_Docker_Container.yml b/spec/vcr/Docker_Container/_all/when_the_HTTP_response_is_a_200/materializes_each_Container_into_a_Docker_Container.yml index 59ab7a155..0db1bfa45 100644 --- a/spec/vcr/Docker_Container/_all/when_the_HTTP_response_is_a_200/materializes_each_Container_into_a_Docker_Container.yml +++ b/spec/vcr/Docker_Container/_all/when_the_HTTP_response_is_a_200/materializes_each_Container_into_a_Docker_Container.yml @@ -2,13 +2,13 @@ http_interactions: - request: method: post - uri: /v1.16/containers/create + uri: "/v1.16/containers/create" body: encoding: UTF-8 - string: ! '{"Cmd":["ls"],"Image":"debian:wheezy"}' + string: '{"Cmd":["ls"],"Image":"debian:wheezy"}' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - application/json response: @@ -19,25 +19,24 @@ http_interactions: Content-Type: - application/json Date: - - Thu, 12 Feb 2015 00:54:31 GMT + - Sat, 04 Apr 2015 12:38:34 GMT Content-Length: - '90' body: - encoding: US-ASCII - string: ! '{"Id":"9c553f9287e5713a01c2848ccaadafebf23c32f0c18e3eabd38c5273b4c70695","Warnings":null} - -' + encoding: UTF-8 + string: | + {"Id":"d3f4e6d39897b2b1477283bd9d8b6ae24c2adad01c2d2d273df1337c5fb05aff","Warnings":null} http_version: - recorded_at: Thu, 12 Feb 2015 00:54:31 GMT + recorded_at: Sat, 04 Apr 2015 12:38:34 GMT - request: method: get - uri: /v1.16/containers/json?all=true + uri: "/v1.16/containers/json?all=true" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -48,31 +47,29 @@ http_interactions: Content-Type: - application/json Date: - - Thu, 12 Feb 2015 00:54:31 GMT + - Sat, 04 Apr 2015 12:38:34 GMT Content-Length: - - '682' + - '1031' body: - encoding: US-ASCII - string: ! '[{"Command":"ls","Created":1423702471,"Id":"9c553f9287e5713a01c2848ccaadafebf23c32f0c18e3eabd38c5273b4c70695","Image":"debian:wheezy","Names":["/compassionate_colden"],"Ports":[],"Status":""} - - ,{"Command":"true","Created":1423702467,"Id":"ddcdf1352c0e624bba454a8957174d5f8410edce613b6ba100984fc722d8c21d","Image":"debian:wheezy","Names":["/cocky_goodall"],"Ports":[],"Status":"Exited - (0) 2 seconds ago"} - - ,{"Command":"docker-registry","Created":1423702401,"Id":"7495fa1e6c231934f42eb34525f24a052af2a7a43ae9c85051636428a62a40ba","Image":"registry:latest","Names":["/registry"],"Ports":[{"IP":"0.0.0.0","PrivatePort":5000,"PublicPort":5000,"Type":"tcp"}],"Status":"Up - About a minute"} - - ]' + encoding: UTF-8 + string: |- + [{"Command":"ls","Created":1428151114,"Id":"d3f4e6d39897b2b1477283bd9d8b6ae24c2adad01c2d2d273df1337c5fb05aff","Image":"debian:wheezy","Names":["/fervent_poitras"],"Ports":[],"Status":""} + ,{"Command":"sleep 300","Created":1428150873,"Id":"dcb77ec84ac63a46773b12fc915f991b8098197b20aed74d4af63194fae39620","Image":"debian:wheezy","Names":["/berserk_lovelace"],"Ports":[],"Status":"Up 4 minutes"} + ,{"Command":"docker-registry","Created":1428150824,"Id":"02d89987fd1eeb5d632b548e58a29fb7c566b62d91a1e572365d7acfd5b1dcaa","Image":"registry:latest","Names":["/registry"],"Ports":[],"Status":"Exited (137) 4 minutes ago"} + ,{"Command":"sleep 5","Created":1428149940,"Id":"096cd688e7789a795d4c7fe13e160e02404f5cb130c3aafb3af35882c94a8ea3","Image":"debian:wheezy","Names":["/sad_babbage"],"Ports":[],"Status":"Exited (0) 19 minutes ago"} + ,{"Command":"true","Created":1428149902,"Id":"67f86b307bcd1d238adb201633253b4de5ccea3aa1f61aa94a3315f6e1a7fc44","Image":"debian:wheezy","Names":["/bar"],"Ports":[],"Status":"Exited (0) 20 minutes ago"} + ] http_version: - recorded_at: Thu, 12 Feb 2015 00:54:31 GMT + recorded_at: Sat, 04 Apr 2015 12:38:34 GMT - request: method: get - uri: /v1.16/containers/json?all=true + uri: "/v1.16/containers/json?all=true" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -83,31 +80,29 @@ http_interactions: Content-Type: - application/json Date: - - Thu, 12 Feb 2015 00:54:31 GMT + - Sat, 04 Apr 2015 12:38:34 GMT Content-Length: - - '682' + - '1031' body: - encoding: US-ASCII - string: ! '[{"Command":"ls","Created":1423702471,"Id":"9c553f9287e5713a01c2848ccaadafebf23c32f0c18e3eabd38c5273b4c70695","Image":"debian:wheezy","Names":["/compassionate_colden"],"Ports":[],"Status":""} - - ,{"Command":"true","Created":1423702467,"Id":"ddcdf1352c0e624bba454a8957174d5f8410edce613b6ba100984fc722d8c21d","Image":"debian:wheezy","Names":["/cocky_goodall"],"Ports":[],"Status":"Exited - (0) 2 seconds ago"} - - ,{"Command":"docker-registry","Created":1423702401,"Id":"7495fa1e6c231934f42eb34525f24a052af2a7a43ae9c85051636428a62a40ba","Image":"registry:latest","Names":["/registry"],"Ports":[{"IP":"0.0.0.0","PrivatePort":5000,"PublicPort":5000,"Type":"tcp"}],"Status":"Up - About a minute"} - - ]' + encoding: UTF-8 + string: |- + [{"Command":"ls","Created":1428151114,"Id":"d3f4e6d39897b2b1477283bd9d8b6ae24c2adad01c2d2d273df1337c5fb05aff","Image":"debian:wheezy","Names":["/fervent_poitras"],"Ports":[],"Status":""} + ,{"Command":"sleep 300","Created":1428150873,"Id":"dcb77ec84ac63a46773b12fc915f991b8098197b20aed74d4af63194fae39620","Image":"debian:wheezy","Names":["/berserk_lovelace"],"Ports":[],"Status":"Up 4 minutes"} + ,{"Command":"docker-registry","Created":1428150824,"Id":"02d89987fd1eeb5d632b548e58a29fb7c566b62d91a1e572365d7acfd5b1dcaa","Image":"registry:latest","Names":["/registry"],"Ports":[],"Status":"Exited (137) 4 minutes ago"} + ,{"Command":"sleep 5","Created":1428149940,"Id":"096cd688e7789a795d4c7fe13e160e02404f5cb130c3aafb3af35882c94a8ea3","Image":"debian:wheezy","Names":["/sad_babbage"],"Ports":[],"Status":"Exited (0) 19 minutes ago"} + ,{"Command":"true","Created":1428149902,"Id":"67f86b307bcd1d238adb201633253b4de5ccea3aa1f61aa94a3315f6e1a7fc44","Image":"debian:wheezy","Names":["/bar"],"Ports":[],"Status":"Exited (0) 20 minutes ago"} + ] http_version: - recorded_at: Thu, 12 Feb 2015 00:54:31 GMT + recorded_at: Sat, 04 Apr 2015 12:38:34 GMT - request: method: delete - uri: /v1.16/containers/9c553f9287e5713a01c2848ccaadafebf23c32f0c18e3eabd38c5273b4c70695 + uri: "/v1.16/containers/d3f4e6d39897b2b1477283bd9d8b6ae24c2adad01c2d2d273df1337c5fb05aff" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -116,10 +111,10 @@ http_interactions: message: headers: Date: - - Thu, 12 Feb 2015 00:54:32 GMT + - Sat, 04 Apr 2015 12:38:34 GMT body: - encoding: US-ASCII + encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 12 Feb 2015 00:54:32 GMT -recorded_with: VCR 2.9.2 + recorded_at: Sat, 04 Apr 2015 12:38:34 GMT +recorded_with: VCR 2.9.3 diff --git a/spec/vcr/Docker_Container/_attach/with_normal_sized_chunks/yields_each_chunk.yml b/spec/vcr/Docker_Container/_attach/with_normal_sized_chunks/yields_each_chunk.yml index 3c6c18ce4..3af95107d 100644 --- a/spec/vcr/Docker_Container/_attach/with_normal_sized_chunks/yields_each_chunk.yml +++ b/spec/vcr/Docker_Container/_attach/with_normal_sized_chunks/yields_each_chunk.yml @@ -2,13 +2,13 @@ http_interactions: - request: method: post - uri: /v1.16/containers/create + uri: "/v1.16/containers/create" body: encoding: UTF-8 - string: ! '{"Cmd":["bash","-c","sleep 2; echo hello"],"Image":"debian:wheezy"}' + string: '{"Cmd":["bash","-c","sleep 2; echo hello"],"Image":"debian:wheezy"}' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - application/json response: @@ -19,25 +19,24 @@ http_interactions: Content-Type: - application/json Date: - - Thu, 12 Feb 2015 00:53:44 GMT + - Sat, 04 Apr 2015 12:38:01 GMT Content-Length: - '90' body: - encoding: US-ASCII - string: ! '{"Id":"267d5bd3236c75b953439a95635856ee2c8c44dd87620ace7bed2063a2192ddb","Warnings":null} - -' + encoding: UTF-8 + string: | + {"Id":"8ebcf08baea3e6fb7baf87a020d80c41f1c03a9956064cff4f2d8eb3cab19969","Warnings":null} http_version: - recorded_at: Thu, 12 Feb 2015 00:53:44 GMT + recorded_at: Sat, 04 Apr 2015 12:38:01 GMT - request: method: post - uri: /v1.16/containers/267d5bd3236c75b953439a95635856ee2c8c44dd87620ace7bed2063a2192ddb/start + uri: "/v1.16/containers/8ebcf08baea3e6fb7baf87a020d80c41f1c03a9956064cff4f2d8eb3cab19969/start" body: encoding: UTF-8 - string: ! '{}' + string: "{}" headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - application/json response: @@ -46,21 +45,21 @@ http_interactions: message: headers: Date: - - Thu, 12 Feb 2015 00:53:44 GMT + - Sat, 04 Apr 2015 12:38:02 GMT body: - encoding: US-ASCII + encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 12 Feb 2015 00:53:44 GMT + recorded_at: Sat, 04 Apr 2015 12:38:02 GMT - request: method: post - uri: /v1.16/containers/267d5bd3236c75b953439a95635856ee2c8c44dd87620ace7bed2063a2192ddb/attach?stderr=true&stdout=true&stream=true + uri: "/v1.16/containers/8ebcf08baea3e6fb7baf87a020d80c41f1c03a9956064cff4f2d8eb3cab19969/attach?stderr=true&stdout=true&stream=true" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -71,20 +70,20 @@ http_interactions: Content-Type: - application/vnd.docker.raw-stream body: - encoding: US-ASCII + encoding: UTF-8 string: !binary |- AQAAAAAAAAZoZWxsbwo= http_version: - recorded_at: Thu, 12 Feb 2015 00:53:46 GMT + recorded_at: Sat, 04 Apr 2015 12:38:04 GMT - request: method: post - uri: /v1.16/containers/267d5bd3236c75b953439a95635856ee2c8c44dd87620ace7bed2063a2192ddb/stop + uri: "/v1.16/containers/8ebcf08baea3e6fb7baf87a020d80c41f1c03a9956064cff4f2d8eb3cab19969/stop" body: encoding: UTF-8 - string: ! '{}' + string: "{}" headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - application/json response: @@ -93,21 +92,21 @@ http_interactions: message: headers: Date: - - Thu, 12 Feb 2015 00:53:46 GMT + - Sat, 04 Apr 2015 12:38:04 GMT body: - encoding: US-ASCII + encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 12 Feb 2015 00:53:46 GMT + recorded_at: Sat, 04 Apr 2015 12:38:04 GMT - request: method: delete - uri: /v1.16/containers/267d5bd3236c75b953439a95635856ee2c8c44dd87620ace7bed2063a2192ddb + uri: "/v1.16/containers/8ebcf08baea3e6fb7baf87a020d80c41f1c03a9956064cff4f2d8eb3cab19969" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -116,10 +115,10 @@ http_interactions: message: headers: Date: - - Thu, 12 Feb 2015 00:53:47 GMT + - Sat, 04 Apr 2015 12:38:04 GMT body: - encoding: US-ASCII + encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 12 Feb 2015 00:53:47 GMT -recorded_with: VCR 2.9.2 + recorded_at: Sat, 04 Apr 2015 12:38:04 GMT +recorded_with: VCR 2.9.3 diff --git a/spec/vcr/Docker_Container/_attach/with_very_small_chunks/yields_each_chunk.yml b/spec/vcr/Docker_Container/_attach/with_very_small_chunks/yields_each_chunk.yml index b81c48f5e..5800f3920 100644 --- a/spec/vcr/Docker_Container/_attach/with_very_small_chunks/yields_each_chunk.yml +++ b/spec/vcr/Docker_Container/_attach/with_very_small_chunks/yields_each_chunk.yml @@ -2,13 +2,13 @@ http_interactions: - request: method: post - uri: /v1.16/containers/create + uri: "/v1.16/containers/create" body: encoding: UTF-8 - string: ! '{"Cmd":["bash","-c","sleep 2; echo hello"],"Image":"debian:wheezy"}' + string: '{"Cmd":["bash","-c","sleep 2; echo hello"],"Image":"debian:wheezy"}' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - application/json response: @@ -19,25 +19,24 @@ http_interactions: Content-Type: - application/json Date: - - Thu, 12 Feb 2015 00:53:47 GMT + - Sat, 04 Apr 2015 12:38:04 GMT Content-Length: - '90' body: - encoding: US-ASCII - string: ! '{"Id":"9e4dea2df4cca1231a5eb4522ffaf55de286c768a23f88da009336e7eb87eaf1","Warnings":null} - -' + encoding: UTF-8 + string: | + {"Id":"4c74a9a72543d37dd85e4523366f2ffd91a4ee038104cc8374c5369e6b16cc22","Warnings":null} http_version: - recorded_at: Thu, 12 Feb 2015 00:53:47 GMT + recorded_at: Sat, 04 Apr 2015 12:38:04 GMT - request: method: post - uri: /v1.16/containers/9e4dea2df4cca1231a5eb4522ffaf55de286c768a23f88da009336e7eb87eaf1/start + uri: "/v1.16/containers/4c74a9a72543d37dd85e4523366f2ffd91a4ee038104cc8374c5369e6b16cc22/start" body: encoding: UTF-8 - string: ! '{}' + string: "{}" headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - application/json response: @@ -46,21 +45,21 @@ http_interactions: message: headers: Date: - - Thu, 12 Feb 2015 00:53:47 GMT + - Sat, 04 Apr 2015 12:38:05 GMT body: - encoding: US-ASCII + encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 12 Feb 2015 00:53:47 GMT + recorded_at: Sat, 04 Apr 2015 12:38:05 GMT - request: method: post - uri: /v1.16/containers/9e4dea2df4cca1231a5eb4522ffaf55de286c768a23f88da009336e7eb87eaf1/attach?stderr=true&stdout=true&stream=true + uri: "/v1.16/containers/4c74a9a72543d37dd85e4523366f2ffd91a4ee038104cc8374c5369e6b16cc22/attach?stderr=true&stdout=true&stream=true" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -71,20 +70,20 @@ http_interactions: Content-Type: - application/vnd.docker.raw-stream body: - encoding: US-ASCII + encoding: UTF-8 string: !binary |- AQAAAAAAAAZoZWxsbwo= http_version: - recorded_at: Thu, 12 Feb 2015 00:53:50 GMT + recorded_at: Sat, 04 Apr 2015 12:38:07 GMT - request: method: post - uri: /v1.16/containers/9e4dea2df4cca1231a5eb4522ffaf55de286c768a23f88da009336e7eb87eaf1/stop + uri: "/v1.16/containers/4c74a9a72543d37dd85e4523366f2ffd91a4ee038104cc8374c5369e6b16cc22/stop" body: encoding: UTF-8 - string: ! '{}' + string: "{}" headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - application/json response: @@ -93,21 +92,21 @@ http_interactions: message: headers: Date: - - Thu, 12 Feb 2015 00:53:50 GMT + - Sat, 04 Apr 2015 12:38:07 GMT body: - encoding: US-ASCII + encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 12 Feb 2015 00:53:50 GMT + recorded_at: Sat, 04 Apr 2015 12:38:07 GMT - request: method: delete - uri: /v1.16/containers/9e4dea2df4cca1231a5eb4522ffaf55de286c768a23f88da009336e7eb87eaf1 + uri: "/v1.16/containers/4c74a9a72543d37dd85e4523366f2ffd91a4ee038104cc8374c5369e6b16cc22" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -116,10 +115,10 @@ http_interactions: message: headers: Date: - - Thu, 12 Feb 2015 00:53:50 GMT + - Sat, 04 Apr 2015 12:38:07 GMT body: - encoding: US-ASCII + encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 12 Feb 2015 00:53:50 GMT -recorded_with: VCR 2.9.2 + recorded_at: Sat, 04 Apr 2015 12:38:07 GMT +recorded_with: VCR 2.9.3 diff --git a/spec/vcr/Docker_Container/_changes/returns_the_changes_as_an_array.yml b/spec/vcr/Docker_Container/_changes/returns_the_changes_as_an_array.yml index 47d3e5635..9b92ac0c2 100644 --- a/spec/vcr/Docker_Container/_changes/returns_the_changes_as_an_array.yml +++ b/spec/vcr/Docker_Container/_changes/returns_the_changes_as_an_array.yml @@ -2,13 +2,13 @@ http_interactions: - request: method: post - uri: /v1.16/containers/create + uri: "/v1.16/containers/create" body: encoding: UTF-8 - string: ! '{"Cmd":["rm","-rf","/root"],"Image":"debian:wheezy"}' + string: '{"Cmd":["rm","-rf","/root"],"Image":"debian:wheezy"}' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - application/json response: @@ -19,25 +19,24 @@ http_interactions: Content-Type: - application/json Date: - - Thu, 12 Feb 2015 00:53:30 GMT + - Sat, 04 Apr 2015 12:37:51 GMT Content-Length: - '90' body: - encoding: US-ASCII - string: ! '{"Id":"4c66f54f617e6d3764154c5af5ec25643b539f0a34f9384f99820fd950e1d2b9","Warnings":null} - -' + encoding: UTF-8 + string: | + {"Id":"2d5104e4003736db5ea01fef6964c2299cda711c2eb0626a09b31cfc1d6c8f2e","Warnings":null} http_version: - recorded_at: Thu, 12 Feb 2015 00:53:30 GMT + recorded_at: Sat, 04 Apr 2015 12:37:51 GMT - request: method: post - uri: /v1.16/containers/4c66f54f617e6d3764154c5af5ec25643b539f0a34f9384f99820fd950e1d2b9/start + uri: "/v1.16/containers/2d5104e4003736db5ea01fef6964c2299cda711c2eb0626a09b31cfc1d6c8f2e/start" body: encoding: UTF-8 - string: ! '{}' + string: "{}" headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - application/json response: @@ -46,21 +45,21 @@ http_interactions: message: headers: Date: - - Thu, 12 Feb 2015 00:53:30 GMT + - Sat, 04 Apr 2015 12:37:52 GMT body: - encoding: US-ASCII + encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 12 Feb 2015 00:53:30 GMT + recorded_at: Sat, 04 Apr 2015 12:37:52 GMT - request: method: post - uri: /v1.16/containers/4c66f54f617e6d3764154c5af5ec25643b539f0a34f9384f99820fd950e1d2b9/wait + uri: "/v1.16/containers/2d5104e4003736db5ea01fef6964c2299cda711c2eb0626a09b31cfc1d6c8f2e/wait" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -71,25 +70,24 @@ http_interactions: Content-Type: - application/json Date: - - Thu, 12 Feb 2015 00:53:30 GMT + - Sat, 04 Apr 2015 12:37:52 GMT Content-Length: - '17' body: - encoding: US-ASCII - string: ! '{"StatusCode":0} - -' + encoding: UTF-8 + string: | + {"StatusCode":0} http_version: - recorded_at: Thu, 12 Feb 2015 00:53:30 GMT + recorded_at: Sat, 04 Apr 2015 12:37:52 GMT - request: method: get - uri: /v1.16/containers/4c66f54f617e6d3764154c5af5ec25643b539f0a34f9384f99820fd950e1d2b9/changes + uri: "/v1.16/containers/2d5104e4003736db5ea01fef6964c2299cda711c2eb0626a09b31cfc1d6c8f2e/changes" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -100,25 +98,25 @@ http_interactions: Content-Type: - application/json Date: - - Thu, 12 Feb 2015 00:53:31 GMT + - Sat, 04 Apr 2015 12:37:52 GMT Content-Length: - '28' body: - encoding: US-ASCII - string: ! '[{"Kind":2,"Path":"/root"} - - ]' + encoding: UTF-8 + string: |- + [{"Kind":2,"Path":"/root"} + ] http_version: - recorded_at: Thu, 12 Feb 2015 00:53:31 GMT + recorded_at: Sat, 04 Apr 2015 12:37:52 GMT - request: method: post - uri: /v1.16/containers/4c66f54f617e6d3764154c5af5ec25643b539f0a34f9384f99820fd950e1d2b9/wait + uri: "/v1.16/containers/2d5104e4003736db5ea01fef6964c2299cda711c2eb0626a09b31cfc1d6c8f2e/wait" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -129,25 +127,24 @@ http_interactions: Content-Type: - application/json Date: - - Thu, 12 Feb 2015 00:53:31 GMT + - Sat, 04 Apr 2015 12:37:52 GMT Content-Length: - '17' body: - encoding: US-ASCII - string: ! '{"StatusCode":0} - -' + encoding: UTF-8 + string: | + {"StatusCode":0} http_version: - recorded_at: Thu, 12 Feb 2015 00:53:31 GMT + recorded_at: Sat, 04 Apr 2015 12:37:52 GMT - request: method: delete - uri: /v1.16/containers/4c66f54f617e6d3764154c5af5ec25643b539f0a34f9384f99820fd950e1d2b9 + uri: "/v1.16/containers/2d5104e4003736db5ea01fef6964c2299cda711c2eb0626a09b31cfc1d6c8f2e" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -156,10 +153,10 @@ http_interactions: message: headers: Date: - - Thu, 12 Feb 2015 00:53:32 GMT + - Sat, 04 Apr 2015 12:37:52 GMT body: - encoding: US-ASCII + encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 12 Feb 2015 00:53:32 GMT -recorded_with: VCR 2.9.2 + recorded_at: Sat, 04 Apr 2015 12:37:52 GMT +recorded_with: VCR 2.9.3 diff --git a/spec/vcr/Docker_Container/_commit/creates_a_new_Image_from_the_Container_s_changes.yml b/spec/vcr/Docker_Container/_commit/creates_a_new_Image_from_the_Container_s_changes.yml index 1e966ffa8..e1581397d 100644 --- a/spec/vcr/Docker_Container/_commit/creates_a_new_Image_from_the_Container_s_changes.yml +++ b/spec/vcr/Docker_Container/_commit/creates_a_new_Image_from_the_Container_s_changes.yml @@ -2,13 +2,13 @@ http_interactions: - request: method: post - uri: /v1.16/containers/create + uri: "/v1.16/containers/create" body: encoding: UTF-8 - string: ! '{"Cmd":["true"],"Image":"debian:wheezy"}' + string: '{"Cmd":["true"],"Image":"debian:wheezy"}' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - application/json response: @@ -19,25 +19,24 @@ http_interactions: Content-Type: - application/json Date: - - Thu, 12 Feb 2015 01:02:55 GMT + - Sat, 04 Apr 2015 12:38:33 GMT Content-Length: - '90' body: - encoding: US-ASCII - string: ! '{"Id":"47dd032599c479284b47d87a5960c0a84bc77e7e04a46838cad0690320b35f37","Warnings":null} - -' + encoding: UTF-8 + string: | + {"Id":"a6d8b33ec6c9903714112609e39a3bb2313edcde93e59a8453399c2f4747deeb","Warnings":null} http_version: - recorded_at: Thu, 12 Feb 2015 01:02:55 GMT + recorded_at: Sat, 04 Apr 2015 12:38:33 GMT - request: method: post - uri: /v1.16/containers/47dd032599c479284b47d87a5960c0a84bc77e7e04a46838cad0690320b35f37/start + uri: "/v1.16/containers/a6d8b33ec6c9903714112609e39a3bb2313edcde93e59a8453399c2f4747deeb/start" body: encoding: UTF-8 - string: ! '{}' + string: "{}" headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - application/json response: @@ -46,21 +45,21 @@ http_interactions: message: headers: Date: - - Thu, 12 Feb 2015 01:02:55 GMT + - Sat, 04 Apr 2015 12:38:33 GMT body: - encoding: US-ASCII + encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 12 Feb 2015 01:02:56 GMT + recorded_at: Sat, 04 Apr 2015 12:38:33 GMT - request: method: post - uri: /v1.16/containers/47dd032599c479284b47d87a5960c0a84bc77e7e04a46838cad0690320b35f37/wait + uri: "/v1.16/containers/a6d8b33ec6c9903714112609e39a3bb2313edcde93e59a8453399c2f4747deeb/wait" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -71,25 +70,24 @@ http_interactions: Content-Type: - application/json Date: - - Thu, 12 Feb 2015 01:02:56 GMT + - Sat, 04 Apr 2015 12:38:33 GMT Content-Length: - '17' body: - encoding: US-ASCII - string: ! '{"StatusCode":0} - -' + encoding: UTF-8 + string: | + {"StatusCode":0} http_version: - recorded_at: Thu, 12 Feb 2015 01:02:56 GMT + recorded_at: Sat, 04 Apr 2015 12:38:33 GMT - request: method: post - uri: /v1.16/commit?container=47dd0325 + uri: "/v1.16/commit?container=a6d8b33e" body: encoding: UTF-8 string: 'null' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - application/json response: @@ -100,25 +98,24 @@ http_interactions: Content-Type: - application/json Date: - - Thu, 12 Feb 2015 01:02:57 GMT + - Sat, 04 Apr 2015 12:38:33 GMT Content-Length: - '74' body: - encoding: US-ASCII - string: ! '{"Id":"acc27058c70fce89605592bf1849a82ebea4e5dab0cc69c21a48e38fdfe26fc1"} - -' + encoding: UTF-8 + string: | + {"Id":"0735501f0a79debaf7a95c930d141b7dc279d8b8f776fd0536edb466b27769dc"} http_version: - recorded_at: Thu, 12 Feb 2015 01:02:57 GMT + recorded_at: Sat, 04 Apr 2015 12:38:33 GMT - request: method: delete - uri: /v1.16/containers/47dd032599c479284b47d87a5960c0a84bc77e7e04a46838cad0690320b35f37 + uri: "/v1.16/containers/a6d8b33ec6c9903714112609e39a3bb2313edcde93e59a8453399c2f4747deeb" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -127,21 +124,21 @@ http_interactions: message: headers: Date: - - Thu, 12 Feb 2015 01:02:58 GMT + - Sat, 04 Apr 2015 12:38:33 GMT body: - encoding: US-ASCII + encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 12 Feb 2015 01:02:58 GMT + recorded_at: Sat, 04 Apr 2015 12:38:33 GMT - request: method: delete - uri: /v1.16/images/acc27058c70fce89605592bf1849a82ebea4e5dab0cc69c21a48e38fdfe26fc1 + uri: "/v1.16/images/0735501f0a79debaf7a95c930d141b7dc279d8b8f776fd0536edb466b27769dc" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -152,14 +149,14 @@ http_interactions: Content-Type: - application/json Date: - - Thu, 12 Feb 2015 01:02:58 GMT + - Sat, 04 Apr 2015 12:38:33 GMT Content-Length: - '81' body: - encoding: US-ASCII - string: ! '[{"Deleted":"acc27058c70fce89605592bf1849a82ebea4e5dab0cc69c21a48e38fdfe26fc1"} - - ]' + encoding: UTF-8 + string: |- + [{"Deleted":"0735501f0a79debaf7a95c930d141b7dc279d8b8f776fd0536edb466b27769dc"} + ] http_version: - recorded_at: Thu, 12 Feb 2015 01:02:58 GMT -recorded_with: VCR 2.9.2 + recorded_at: Sat, 04 Apr 2015 12:38:34 GMT +recorded_with: VCR 2.9.3 diff --git a/spec/vcr/Docker_Container/_copy/when_the_file_does_not_exist/raises_an_error.yml b/spec/vcr/Docker_Container/_copy/when_the_file_does_not_exist/raises_an_error.yml index 864e9d9b5..2cde63c9a 100644 --- a/spec/vcr/Docker_Container/_copy/when_the_file_does_not_exist/raises_an_error.yml +++ b/spec/vcr/Docker_Container/_copy/when_the_file_does_not_exist/raises_an_error.yml @@ -2,13 +2,13 @@ http_interactions: - request: method: post - uri: /v1.16/images/create?fromImage=debian%3Awheezy + uri: "/v1.16/images/create?fromImage=debian%3Awheezy" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -19,25 +19,26 @@ http_interactions: Content-Type: - application/json Date: - - Thu, 12 Feb 2015 00:53:37 GMT + - Sat, 04 Apr 2015 12:37:56 GMT body: - encoding: US-ASCII - string: ! "{\"status\":\"The image you are pulling has been verified\",\"id\":\"debian:wheezy\"}\r\n{\"status\":\"Already - exists\",\"progressDetail\":{},\"id\":\"511136ea3c5a\"}{\"status\":\"Already - exists\",\"progressDetail\":{},\"id\":\"30d39e59ffe2\"}{\"status\":\"Already - exists\",\"progressDetail\":{},\"id\":\"c90d655b99b2\"}{\"status\":\"Status: + encoding: UTF-8 + string: "{\"status\":\"Already exists\",\"progressDetail\":{},\"id\":\"511136ea3c5a\"}{\"status\":\"Already + exists\",\"progressDetail\":{},\"id\":\"4f903438061c\"}{\"status\":\"Already + exists\",\"progressDetail\":{},\"id\":\"1265e16d0c28\"}{\"status\":\"The image + you are pulling has been verified. Important: image verification is a tech + preview feature and should not be relied on to provide security.\",\"id\":\"debian:wheezy\"}\r\n{\"status\":\"Status: Image is up to date for debian:wheezy\"}\r\n" http_version: - recorded_at: Thu, 12 Feb 2015 00:53:37 GMT + recorded_at: Sat, 04 Apr 2015 12:37:56 GMT - request: method: post - uri: /v1.16/containers/create + uri: "/v1.16/containers/create" body: encoding: UTF-8 - string: ! '{"Image":"c90d655b99b2","Cmd":["touch","/test"]}' + string: '{"Image":"debian:wheezy","Cmd":["touch","/test"]}' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - application/json response: @@ -48,25 +49,24 @@ http_interactions: Content-Type: - application/json Date: - - Thu, 12 Feb 2015 00:53:38 GMT + - Sat, 04 Apr 2015 12:37:56 GMT Content-Length: - '90' body: - encoding: US-ASCII - string: ! '{"Id":"ed3183772e08bd79efe598b80aaacbe23b1533234b2587b35581c4517558d8e5","Warnings":null} - -' + encoding: UTF-8 + string: | + {"Id":"475392105ddf185f18480936f35b6cc7f11fa0568e5e2492a760181a25612cdc","Warnings":null} http_version: - recorded_at: Thu, 12 Feb 2015 00:53:38 GMT + recorded_at: Sat, 04 Apr 2015 12:37:56 GMT - request: method: post - uri: /v1.16/containers/ed3183772e08bd79efe598b80aaacbe23b1533234b2587b35581c4517558d8e5/start + uri: "/v1.16/containers/475392105ddf185f18480936f35b6cc7f11fa0568e5e2492a760181a25612cdc/start" body: encoding: UTF-8 - string: ! '{}' + string: "{}" headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - application/json response: @@ -75,21 +75,21 @@ http_interactions: message: headers: Date: - - Thu, 12 Feb 2015 00:53:38 GMT + - Sat, 04 Apr 2015 12:37:56 GMT body: - encoding: US-ASCII + encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 12 Feb 2015 00:53:38 GMT + recorded_at: Sat, 04 Apr 2015 12:37:56 GMT - request: method: post - uri: /v1.16/containers/ed3183772e08bd79efe598b80aaacbe23b1533234b2587b35581c4517558d8e5/wait + uri: "/v1.16/containers/475392105ddf185f18480936f35b6cc7f11fa0568e5e2492a760181a25612cdc/wait" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -100,25 +100,24 @@ http_interactions: Content-Type: - application/json Date: - - Thu, 12 Feb 2015 00:53:38 GMT + - Sat, 04 Apr 2015 12:37:56 GMT Content-Length: - '17' body: - encoding: US-ASCII - string: ! '{"StatusCode":0} - -' + encoding: UTF-8 + string: | + {"StatusCode":0} http_version: - recorded_at: Thu, 12 Feb 2015 00:53:38 GMT + recorded_at: Sat, 04 Apr 2015 12:37:56 GMT - request: method: delete - uri: /v1.16/containers/ed3183772e08bd79efe598b80aaacbe23b1533234b2587b35581c4517558d8e5 + uri: "/v1.16/containers/475392105ddf185f18480936f35b6cc7f11fa0568e5e2492a760181a25612cdc" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -127,10 +126,10 @@ http_interactions: message: headers: Date: - - Thu, 12 Feb 2015 00:53:39 GMT + - Sat, 04 Apr 2015 12:37:56 GMT body: - encoding: US-ASCII + encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 12 Feb 2015 00:53:39 GMT -recorded_with: VCR 2.9.2 + recorded_at: Sat, 04 Apr 2015 12:37:56 GMT +recorded_with: VCR 2.9.3 diff --git a/spec/vcr/Docker_Container/_copy/when_the_input_is_a_directory/yields_each_chunk_of_the_tarred_directory.yml b/spec/vcr/Docker_Container/_copy/when_the_input_is_a_directory/yields_each_chunk_of_the_tarred_directory.yml index 1f83733d7..182095291 100644 --- a/spec/vcr/Docker_Container/_copy/when_the_input_is_a_directory/yields_each_chunk_of_the_tarred_directory.yml +++ b/spec/vcr/Docker_Container/_copy/when_the_input_is_a_directory/yields_each_chunk_of_the_tarred_directory.yml @@ -2,13 +2,13 @@ http_interactions: - request: method: post - uri: /v1.16/images/create?fromImage=debian%3Awheezy + uri: "/v1.16/images/create?fromImage=debian%3Awheezy" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -19,25 +19,26 @@ http_interactions: Content-Type: - application/json Date: - - Thu, 12 Feb 2015 00:53:41 GMT + - Sat, 04 Apr 2015 12:38:00 GMT body: - encoding: US-ASCII - string: ! "{\"status\":\"The image you are pulling has been verified\",\"id\":\"debian:wheezy\"}\r\n{\"status\":\"Already - exists\",\"progressDetail\":{},\"id\":\"511136ea3c5a\"}{\"status\":\"Already - exists\",\"progressDetail\":{},\"id\":\"30d39e59ffe2\"}{\"status\":\"Already - exists\",\"progressDetail\":{},\"id\":\"c90d655b99b2\"}{\"status\":\"Status: + encoding: UTF-8 + string: "{\"status\":\"Already exists\",\"progressDetail\":{},\"id\":\"511136ea3c5a\"}{\"status\":\"Already + exists\",\"progressDetail\":{},\"id\":\"4f903438061c\"}{\"status\":\"Already + exists\",\"progressDetail\":{},\"id\":\"1265e16d0c28\"}{\"status\":\"The image + you are pulling has been verified. Important: image verification is a tech + preview feature and should not be relied on to provide security.\",\"id\":\"debian:wheezy\"}\r\n{\"status\":\"Status: Image is up to date for debian:wheezy\"}\r\n" http_version: - recorded_at: Thu, 12 Feb 2015 00:53:41 GMT + recorded_at: Sat, 04 Apr 2015 12:38:00 GMT - request: method: post - uri: /v1.16/containers/create + uri: "/v1.16/containers/create" body: encoding: UTF-8 - string: ! '{"Image":"c90d655b99b2","Cmd":["touch","/test"]}' + string: '{"Image":"debian:wheezy","Cmd":["touch","/test"]}' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - application/json response: @@ -48,25 +49,24 @@ http_interactions: Content-Type: - application/json Date: - - Thu, 12 Feb 2015 00:53:41 GMT + - Sat, 04 Apr 2015 12:38:00 GMT Content-Length: - '90' body: - encoding: US-ASCII - string: ! '{"Id":"a87fe6a335d5088585c35e3e2fa35547b1fffa3c878eb092dc9cc8d926222825","Warnings":null} - -' + encoding: UTF-8 + string: | + {"Id":"6ef5c81679539586998cfdbc0432734e813ad1bc9911c71d08eb1e4b842e2931","Warnings":null} http_version: - recorded_at: Thu, 12 Feb 2015 00:53:41 GMT + recorded_at: Sat, 04 Apr 2015 12:38:00 GMT - request: method: post - uri: /v1.16/containers/a87fe6a335d5088585c35e3e2fa35547b1fffa3c878eb092dc9cc8d926222825/start + uri: "/v1.16/containers/6ef5c81679539586998cfdbc0432734e813ad1bc9911c71d08eb1e4b842e2931/start" body: encoding: UTF-8 - string: ! '{}' + string: "{}" headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - application/json response: @@ -75,21 +75,21 @@ http_interactions: message: headers: Date: - - Thu, 12 Feb 2015 00:53:41 GMT + - Sat, 04 Apr 2015 12:38:00 GMT body: - encoding: US-ASCII + encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 12 Feb 2015 00:53:41 GMT + recorded_at: Sat, 04 Apr 2015 12:38:00 GMT - request: method: post - uri: /v1.16/containers/a87fe6a335d5088585c35e3e2fa35547b1fffa3c878eb092dc9cc8d926222825/wait + uri: "/v1.16/containers/6ef5c81679539586998cfdbc0432734e813ad1bc9911c71d08eb1e4b842e2931/wait" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -100,25 +100,24 @@ http_interactions: Content-Type: - application/json Date: - - Thu, 12 Feb 2015 00:53:41 GMT + - Sat, 04 Apr 2015 12:38:00 GMT Content-Length: - '17' body: - encoding: US-ASCII - string: ! '{"StatusCode":0} - -' + encoding: UTF-8 + string: | + {"StatusCode":0} http_version: - recorded_at: Thu, 12 Feb 2015 00:53:41 GMT + recorded_at: Sat, 04 Apr 2015 12:38:00 GMT - request: method: post - uri: /v1.16/containers/a87fe6a335d5088585c35e3e2fa35547b1fffa3c878eb092dc9cc8d926222825/copy + uri: "/v1.16/containers/6ef5c81679539586998cfdbc0432734e813ad1bc9911c71d08eb1e4b842e2931/copy" body: encoding: UTF-8 - string: ! '{"Resource":"/etc/logrotate.d"}' + string: '{"Resource":"/etc/logrotate.d"}' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - application/json response: @@ -129,14 +128,14 @@ http_interactions: Content-Type: - application/x-tar Date: - - Thu, 12 Feb 2015 00:53:41 GMT + - Sat, 04 Apr 2015 12:38:00 GMT body: - encoding: US-ASCII + encoding: UTF-8 string: !binary |- bG9ncm90YXRlLmQvAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAADAwNDA3NTUAMDAwMDAwMAAwMDAwMDAwADAwMDAwMDAwMDAw - ADEyNDYxNzQwNTUzADAxMTUwMQAgNQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA + ADEyNTA2MzA2NTMxADAxMTQ3MwAgNQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAB1c3RhcgAwMAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA @@ -214,16 +213,16 @@ http_interactions: AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA= http_version: - recorded_at: Thu, 12 Feb 2015 00:53:41 GMT + recorded_at: Sat, 04 Apr 2015 12:38:00 GMT - request: method: delete - uri: /v1.16/containers/a87fe6a335d5088585c35e3e2fa35547b1fffa3c878eb092dc9cc8d926222825 + uri: "/v1.16/containers/6ef5c81679539586998cfdbc0432734e813ad1bc9911c71d08eb1e4b842e2931" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -232,10 +231,10 @@ http_interactions: message: headers: Date: - - Thu, 12 Feb 2015 00:53:42 GMT + - Sat, 04 Apr 2015 12:38:00 GMT body: - encoding: US-ASCII + encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 12 Feb 2015 00:53:42 GMT -recorded_with: VCR 2.9.2 + recorded_at: Sat, 04 Apr 2015 12:38:00 GMT +recorded_with: VCR 2.9.3 diff --git a/spec/vcr/Docker_Container/_copy/when_the_input_is_a_file/yields_each_chunk_of_the_tarred_file.yml b/spec/vcr/Docker_Container/_copy/when_the_input_is_a_file/yields_each_chunk_of_the_tarred_file.yml index 160fb09d5..fcaf5fde0 100644 --- a/spec/vcr/Docker_Container/_copy/when_the_input_is_a_file/yields_each_chunk_of_the_tarred_file.yml +++ b/spec/vcr/Docker_Container/_copy/when_the_input_is_a_file/yields_each_chunk_of_the_tarred_file.yml @@ -2,13 +2,13 @@ http_interactions: - request: method: post - uri: /v1.16/images/create?fromImage=debian%3Awheezy + uri: "/v1.16/images/create?fromImage=debian%3Awheezy" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -19,25 +19,26 @@ http_interactions: Content-Type: - application/json Date: - - Thu, 12 Feb 2015 00:53:39 GMT + - Sat, 04 Apr 2015 12:37:58 GMT body: - encoding: US-ASCII - string: ! "{\"status\":\"The image you are pulling has been verified\",\"id\":\"debian:wheezy\"}\r\n{\"status\":\"Already - exists\",\"progressDetail\":{},\"id\":\"511136ea3c5a\"}{\"status\":\"Already - exists\",\"progressDetail\":{},\"id\":\"30d39e59ffe2\"}{\"status\":\"Already - exists\",\"progressDetail\":{},\"id\":\"c90d655b99b2\"}{\"status\":\"Status: + encoding: UTF-8 + string: "{\"status\":\"Already exists\",\"progressDetail\":{},\"id\":\"511136ea3c5a\"}{\"status\":\"Already + exists\",\"progressDetail\":{},\"id\":\"4f903438061c\"}{\"status\":\"Already + exists\",\"progressDetail\":{},\"id\":\"1265e16d0c28\"}{\"status\":\"The image + you are pulling has been verified. Important: image verification is a tech + preview feature and should not be relied on to provide security.\",\"id\":\"debian:wheezy\"}\r\n{\"status\":\"Status: Image is up to date for debian:wheezy\"}\r\n" http_version: - recorded_at: Thu, 12 Feb 2015 00:53:39 GMT + recorded_at: Sat, 04 Apr 2015 12:37:58 GMT - request: method: post - uri: /v1.16/containers/create + uri: "/v1.16/containers/create" body: encoding: UTF-8 - string: ! '{"Image":"c90d655b99b2","Cmd":["touch","/test"]}' + string: '{"Image":"debian:wheezy","Cmd":["touch","/test"]}' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - application/json response: @@ -48,25 +49,24 @@ http_interactions: Content-Type: - application/json Date: - - Thu, 12 Feb 2015 00:53:39 GMT + - Sat, 04 Apr 2015 12:37:58 GMT Content-Length: - '90' body: - encoding: US-ASCII - string: ! '{"Id":"f6e262489f6c3f5a004ca98b8db505c5f012635c59080f0a56b03055c19d6f35","Warnings":null} - -' + encoding: UTF-8 + string: | + {"Id":"dcbf97e25a846180f98a987fa0cf29eba8a9745961bcc4641b997589810f4ec8","Warnings":null} http_version: - recorded_at: Thu, 12 Feb 2015 00:53:39 GMT + recorded_at: Sat, 04 Apr 2015 12:37:58 GMT - request: method: post - uri: /v1.16/containers/f6e262489f6c3f5a004ca98b8db505c5f012635c59080f0a56b03055c19d6f35/start + uri: "/v1.16/containers/dcbf97e25a846180f98a987fa0cf29eba8a9745961bcc4641b997589810f4ec8/start" body: encoding: UTF-8 - string: ! '{}' + string: "{}" headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - application/json response: @@ -75,21 +75,21 @@ http_interactions: message: headers: Date: - - Thu, 12 Feb 2015 00:53:39 GMT + - Sat, 04 Apr 2015 12:37:58 GMT body: - encoding: US-ASCII + encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 12 Feb 2015 00:53:39 GMT + recorded_at: Sat, 04 Apr 2015 12:37:58 GMT - request: method: post - uri: /v1.16/containers/f6e262489f6c3f5a004ca98b8db505c5f012635c59080f0a56b03055c19d6f35/wait + uri: "/v1.16/containers/dcbf97e25a846180f98a987fa0cf29eba8a9745961bcc4641b997589810f4ec8/wait" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -100,25 +100,24 @@ http_interactions: Content-Type: - application/json Date: - - Thu, 12 Feb 2015 00:53:40 GMT + - Sat, 04 Apr 2015 12:37:58 GMT Content-Length: - '17' body: - encoding: US-ASCII - string: ! '{"StatusCode":0} - -' + encoding: UTF-8 + string: | + {"StatusCode":0} http_version: - recorded_at: Thu, 12 Feb 2015 00:53:40 GMT + recorded_at: Sat, 04 Apr 2015 12:37:58 GMT - request: method: post - uri: /v1.16/containers/f6e262489f6c3f5a004ca98b8db505c5f012635c59080f0a56b03055c19d6f35/copy + uri: "/v1.16/containers/dcbf97e25a846180f98a987fa0cf29eba8a9745961bcc4641b997589810f4ec8/copy" body: encoding: UTF-8 - string: ! '{"Resource":"/test"}' + string: '{"Resource":"/test"}' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - application/json response: @@ -129,16 +128,16 @@ http_interactions: Content-Type: - application/x-tar Date: - - Thu, 12 Feb 2015 00:53:40 GMT + - Sat, 04 Apr 2015 12:37:58 GMT Content-Length: - '1536' body: - encoding: US-ASCII + encoding: UTF-8 string: !binary |- dGVzdAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAADAxMDA2NDQAMDAwMDAwMAAwMDAwMDAwADAwMDAwMDAwMDAw - ADEyNDY2Nzc0NjIzADAxMDE1NgAgMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA + ADEyNTA3NzU1NDQ2ADAxMDE1NAAgMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAB1c3RhcgAwMAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA @@ -171,16 +170,16 @@ http_interactions: AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAA http_version: - recorded_at: Thu, 12 Feb 2015 00:53:40 GMT + recorded_at: Sat, 04 Apr 2015 12:37:58 GMT - request: method: delete - uri: /v1.16/containers/f6e262489f6c3f5a004ca98b8db505c5f012635c59080f0a56b03055c19d6f35 + uri: "/v1.16/containers/dcbf97e25a846180f98a987fa0cf29eba8a9745961bcc4641b997589810f4ec8" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -189,10 +188,10 @@ http_interactions: message: headers: Date: - - Thu, 12 Feb 2015 00:53:41 GMT + - Sat, 04 Apr 2015 12:37:58 GMT body: - encoding: US-ASCII + encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 12 Feb 2015 00:53:41 GMT -recorded_with: VCR 2.9.2 + recorded_at: Sat, 04 Apr 2015 12:37:58 GMT +recorded_with: VCR 2.9.3 diff --git a/spec/vcr/Docker_Container/_create/when_creating_a_container_named_bob/should_have_name_set_to_bob.yml b/spec/vcr/Docker_Container/_create/when_creating_a_container_named_bob/should_have_name_set_to_bob.yml index b96511192..27fd80a67 100644 --- a/spec/vcr/Docker_Container/_create/when_creating_a_container_named_bob/should_have_name_set_to_bob.yml +++ b/spec/vcr/Docker_Container/_create/when_creating_a_container_named_bob/should_have_name_set_to_bob.yml @@ -2,13 +2,13 @@ http_interactions: - request: method: post - uri: /v1.16/containers/create?name=bob + uri: "/v1.16/containers/create?name=bob" body: encoding: UTF-8 - string: ! '{"Cmd":["true"],"Image":"debian:wheezy"}' + string: '{"Cmd":["true"],"Image":"debian:wheezy"}' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - application/json response: @@ -19,25 +19,24 @@ http_interactions: Content-Type: - application/json Date: - - Thu, 12 Feb 2015 00:53:29 GMT + - Sat, 04 Apr 2015 12:37:51 GMT Content-Length: - '90' body: - encoding: US-ASCII - string: ! '{"Id":"ec50f5dab87c71f7803d03d7b3d8802e417e30c4b6198b8c3ef12372ab6d109b","Warnings":null} - -' + encoding: UTF-8 + string: | + {"Id":"71f3bf3c82ea129b08a0c5897e6325c5803bc27f521a538b294c17f11685e59b","Warnings":null} http_version: - recorded_at: Thu, 12 Feb 2015 00:53:29 GMT + recorded_at: Sat, 04 Apr 2015 12:37:51 GMT - request: method: get - uri: /v1.16/containers/ec50f5dab87c71f7803d03d7b3d8802e417e30c4b6198b8c3ef12372ab6d109b/json + uri: "/v1.16/containers/71f3bf3c82ea129b08a0c5897e6325c5803bc27f521a538b294c17f11685e59b/json" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -48,25 +47,24 @@ http_interactions: Content-Type: - application/json Date: - - Thu, 12 Feb 2015 00:53:29 GMT + - Sat, 04 Apr 2015 12:37:51 GMT Content-Length: - - '1550' + - '1725' body: - encoding: US-ASCII - string: ! '{"AppArmorProfile":"","Args":[],"Config":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":["true"],"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":null,"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"ExposedPorts":null,"Hostname":"ec50f5dab87c","Image":"debian:wheezy","MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":null,"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Created":"2015-02-12T00:53:29.187392718Z","Driver":"devicemapper","ExecDriver":"native-0.2","HostConfig":{"Binds":null,"CapAdd":null,"CapDrop":null,"ContainerIDFile":"","Devices":null,"Dns":null,"DnsSearch":null,"ExtraHosts":null,"IpcMode":"","Links":null,"LxcConf":null,"NetworkMode":"","PortBindings":null,"Privileged":false,"PublishAllPorts":false,"RestartPolicy":{"MaximumRetryCount":0,"Name":""},"SecurityOpt":null,"VolumesFrom":null},"HostnamePath":"","HostsPath":"","Id":"ec50f5dab87c71f7803d03d7b3d8802e417e30c4b6198b8c3ef12372ab6d109b","Image":"c90d655b99b2ec5b7e94d38c87f92dce015c17a313caeaae0e980d9b9bed8444","MountLabel":"","Name":"/bob","NetworkSettings":{"Bridge":"","Gateway":"","IPAddress":"","IPPrefixLen":0,"MacAddress":"","PortMapping":null,"Ports":null},"Path":"true","ProcessLabel":"","ResolvConfPath":"","State":{"Error":"","ExitCode":0,"FinishedAt":"0001-01-01T00:00:00Z","OOMKilled":false,"Paused":false,"Pid":0,"Restarting":false,"Running":false,"StartedAt":"0001-01-01T00:00:00Z"},"Volumes":{},"VolumesRW":{}} - -' + encoding: UTF-8 + string: | + {"AppArmorProfile":"","Args":[],"Config":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":["true"],"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":null,"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"ExposedPorts":null,"Hostname":"71f3bf3c82ea","Image":"debian:wheezy","MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":null,"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Created":"2015-04-04T12:37:51.4905915Z","Driver":"aufs","ExecDriver":"native-0.2","ExecIDs":null,"HostConfig":{"Binds":null,"CapAdd":null,"CapDrop":null,"ContainerIDFile":"","Devices":null,"Dns":null,"DnsSearch":null,"ExtraHosts":null,"IpcMode":"","Links":null,"LxcConf":null,"NetworkMode":"","PidMode":"","PortBindings":null,"Privileged":false,"PublishAllPorts":false,"ReadonlyRootfs":false,"RestartPolicy":{"MaximumRetryCount":0,"Name":""},"SecurityOpt":null,"VolumesFrom":null},"HostnamePath":"","HostsPath":"","Id":"71f3bf3c82ea129b08a0c5897e6325c5803bc27f521a538b294c17f11685e59b","Image":"1265e16d0c286a4252c1dc5e775ba476d9560e2dd96d2032605ee75b30912f6b","MountLabel":"","Name":"/bob","NetworkSettings":{"Bridge":"","Gateway":"","GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"IPAddress":"","IPPrefixLen":0,"IPv6Gateway":"","LinkLocalIPv6Address":"","LinkLocalIPv6PrefixLen":0,"MacAddress":"","PortMapping":null,"Ports":null},"Path":"true","ProcessLabel":"","ResolvConfPath":"","RestartCount":0,"State":{"Error":"","ExitCode":0,"FinishedAt":"0001-01-01T00:00:00Z","OOMKilled":false,"Paused":false,"Pid":0,"Restarting":false,"Running":false,"StartedAt":"0001-01-01T00:00:00Z"},"Volumes":{},"VolumesRW":{}} http_version: - recorded_at: Thu, 12 Feb 2015 00:53:29 GMT + recorded_at: Sat, 04 Apr 2015 12:37:51 GMT - request: method: delete - uri: /v1.16/containers/ec50f5dab87c71f7803d03d7b3d8802e417e30c4b6198b8c3ef12372ab6d109b + uri: "/v1.16/containers/71f3bf3c82ea129b08a0c5897e6325c5803bc27f521a538b294c17f11685e59b" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -75,10 +73,10 @@ http_interactions: message: headers: Date: - - Thu, 12 Feb 2015 00:53:30 GMT + - Sat, 04 Apr 2015 12:37:51 GMT body: - encoding: US-ASCII + encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 12 Feb 2015 00:53:30 GMT -recorded_with: VCR 2.9.2 + recorded_at: Sat, 04 Apr 2015 12:37:51 GMT +recorded_with: VCR 2.9.3 diff --git a/spec/vcr/Docker_Container/_create/when_the_Container_does_not_yet_exist/when_the_HTTP_request_returns_a_200/sets_the_id.yml b/spec/vcr/Docker_Container/_create/when_the_Container_does_not_yet_exist/when_the_HTTP_request_returns_a_200/sets_the_id.yml index dc1b26731..a3daa9f41 100644 --- a/spec/vcr/Docker_Container/_create/when_the_Container_does_not_yet_exist/when_the_HTTP_request_returns_a_200/sets_the_id.yml +++ b/spec/vcr/Docker_Container/_create/when_the_Container_does_not_yet_exist/when_the_HTTP_request_returns_a_200/sets_the_id.yml @@ -2,13 +2,13 @@ http_interactions: - request: method: post - uri: /v1.16/containers/create + uri: "/v1.16/containers/create" body: encoding: UTF-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":"debian:wheezy","Volumes":{},"VolumesFrom":""}' + 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":"debian:wheezy","Volumes":{},"VolumesFrom":""}' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - application/json response: @@ -19,25 +19,24 @@ http_interactions: Content-Type: - application/json Date: - - Thu, 12 Feb 2015 00:54:28 GMT + - Sat, 04 Apr 2015 12:38:34 GMT Content-Length: - '90' body: - encoding: US-ASCII - string: ! '{"Id":"f39b0ff6aeed1f8d046d463c878808b581c19d80620d2d5b8971df221275cf9b","Warnings":null} - -' + encoding: UTF-8 + string: | + {"Id":"eb983444126e3d40e8d78ef40ee8ab0ea654f025d3a3535b6885e3aa2d7f204c","Warnings":null} http_version: - recorded_at: Thu, 12 Feb 2015 00:54:28 GMT + recorded_at: Sat, 04 Apr 2015 12:38:34 GMT - request: method: delete - uri: /v1.16/containers/f39b0ff6aeed1f8d046d463c878808b581c19d80620d2d5b8971df221275cf9b + uri: "/v1.16/containers/eb983444126e3d40e8d78ef40ee8ab0ea654f025d3a3535b6885e3aa2d7f204c" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -46,10 +45,10 @@ http_interactions: message: headers: Date: - - Thu, 12 Feb 2015 00:54:29 GMT + - Sat, 04 Apr 2015 12:38:34 GMT body: - encoding: US-ASCII + encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 12 Feb 2015 00:54:29 GMT -recorded_with: VCR 2.9.2 + recorded_at: Sat, 04 Apr 2015 12:38:34 GMT +recorded_with: VCR 2.9.3 diff --git a/spec/vcr/Docker_Container/_delete/deletes_the_container.yml b/spec/vcr/Docker_Container/_delete/deletes_the_container.yml index 43e39bf50..03c2876cf 100644 --- a/spec/vcr/Docker_Container/_delete/deletes_the_container.yml +++ b/spec/vcr/Docker_Container/_delete/deletes_the_container.yml @@ -2,13 +2,13 @@ http_interactions: - request: method: post - uri: /v1.16/containers/create + uri: "/v1.16/containers/create" body: encoding: UTF-8 - string: ! '{"Cmd":["ls"],"Image":"debian:wheezy"}' + string: '{"Cmd":["ls"],"Image":"debian:wheezy"}' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - application/json response: @@ -19,25 +19,24 @@ http_interactions: Content-Type: - application/json Date: - - Thu, 12 Feb 2015 00:54:07 GMT + - Sat, 04 Apr 2015 12:38:20 GMT Content-Length: - '90' body: - encoding: US-ASCII - string: ! '{"Id":"0b3fa3757c84d48a63630bc49f66e05d831c57c8bfaa1d4cc86a9cd9f7abbb2a","Warnings":null} - -' + encoding: UTF-8 + string: | + {"Id":"846ebcfa31d6f49a4d5c31619f46c9bb3cc911249c554aa0a9d0c3531b669767","Warnings":null} http_version: - recorded_at: Thu, 12 Feb 2015 00:54:07 GMT + recorded_at: Sat, 04 Apr 2015 12:38:20 GMT - request: method: delete - uri: /v1.16/containers/0b3fa3757c84d48a63630bc49f66e05d831c57c8bfaa1d4cc86a9cd9f7abbb2a?force=true + uri: "/v1.16/containers/846ebcfa31d6f49a4d5c31619f46c9bb3cc911249c554aa0a9d0c3531b669767?force=true" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -46,21 +45,21 @@ http_interactions: message: headers: Date: - - Thu, 12 Feb 2015 00:54:08 GMT + - Sat, 04 Apr 2015 12:38:20 GMT body: - encoding: US-ASCII + encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 12 Feb 2015 00:54:08 GMT + recorded_at: Sat, 04 Apr 2015 12:38:20 GMT - request: method: get - uri: /v1.16/containers/json + uri: "/v1.16/containers/json" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -71,15 +70,14 @@ http_interactions: Content-Type: - application/json Date: - - Thu, 12 Feb 2015 00:54:08 GMT + - Sat, 04 Apr 2015 12:38:20 GMT Content-Length: - - '275' + - '208' body: - encoding: US-ASCII - string: ! '[{"Command":"docker-registry","Created":1423702401,"Id":"7495fa1e6c231934f42eb34525f24a052af2a7a43ae9c85051636428a62a40ba","Image":"registry:latest","Names":["/registry"],"Ports":[{"IP":"0.0.0.0","PrivatePort":5000,"PublicPort":5000,"Type":"tcp"}],"Status":"Up - 46 seconds"} - - ]' + encoding: UTF-8 + string: |- + [{"Command":"sleep 300","Created":1428150873,"Id":"dcb77ec84ac63a46773b12fc915f991b8098197b20aed74d4af63194fae39620","Image":"debian:wheezy","Names":["/berserk_lovelace"],"Ports":[],"Status":"Up 3 minutes"} + ] http_version: - recorded_at: Thu, 12 Feb 2015 00:54:08 GMT -recorded_with: VCR 2.9.2 + recorded_at: Sat, 04 Apr 2015 12:38:20 GMT +recorded_with: VCR 2.9.3 diff --git a/spec/vcr/Docker_Container/_exec/when_detach_is_true/returns_the_Docker_Exec_object.yml b/spec/vcr/Docker_Container/_exec/when_detach_is_true/returns_the_Docker_Exec_object.yml index 2d45a8b82..49035e467 100644 --- a/spec/vcr/Docker_Container/_exec/when_detach_is_true/returns_the_Docker_Exec_object.yml +++ b/spec/vcr/Docker_Container/_exec/when_detach_is_true/returns_the_Docker_Exec_object.yml @@ -2,13 +2,13 @@ http_interactions: - request: method: post - uri: /v1.16/containers/create + uri: "/v1.16/containers/create" body: encoding: UTF-8 - string: ! '{"Cmd":["sleep","20"],"Image":"debian:wheezy"}' + string: '{"Cmd":["sleep","20"],"Image":"debian:wheezy"}' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - application/json response: @@ -19,25 +19,24 @@ http_interactions: Content-Type: - application/json Date: - - Thu, 12 Feb 2015 00:53:57 GMT + - Sat, 04 Apr 2015 12:38:12 GMT Content-Length: - '90' body: - encoding: US-ASCII - string: ! '{"Id":"5e60e58a03d356d5ca53e08b9a980d46c420c583226c573981da90e9a7823028","Warnings":null} - -' + encoding: UTF-8 + string: | + {"Id":"4dedf0f5613742841ffc79c116f7b32c7433d49a5ea2fd08ba21bb7328b60338","Warnings":null} http_version: - recorded_at: Thu, 12 Feb 2015 00:53:57 GMT + recorded_at: Sat, 04 Apr 2015 12:38:12 GMT - request: method: post - uri: /v1.16/containers/5e60e58a03d356d5ca53e08b9a980d46c420c583226c573981da90e9a7823028/start + uri: "/v1.16/containers/4dedf0f5613742841ffc79c116f7b32c7433d49a5ea2fd08ba21bb7328b60338/start" body: encoding: UTF-8 - string: ! '{}' + string: "{}" headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - application/json response: @@ -46,21 +45,21 @@ http_interactions: message: headers: Date: - - Thu, 12 Feb 2015 00:53:57 GMT + - Sat, 04 Apr 2015 12:38:12 GMT body: - encoding: US-ASCII + encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 12 Feb 2015 00:53:57 GMT + recorded_at: Sat, 04 Apr 2015 12:38:12 GMT - request: method: post - uri: /v1.16/containers/5e60e58a03d356d5ca53e08b9a980d46c420c583226c573981da90e9a7823028/exec + uri: "/v1.16/containers/4dedf0f5613742841ffc79c116f7b32c7433d49a5ea2fd08ba21bb7328b60338/exec" body: encoding: UTF-8 - string: ! '{"AttachStdin":false,"AttachStdout":false,"AttachStderr":false,"Tty":false,"Cmd":"date"}' + string: '{"AttachStdin":false,"AttachStdout":false,"AttachStderr":false,"Tty":false,"Cmd":"date"}' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - application/json response: @@ -71,25 +70,24 @@ http_interactions: Content-Type: - application/json Date: - - Thu, 12 Feb 2015 00:53:57 GMT + - Sat, 04 Apr 2015 12:38:12 GMT Content-Length: - '74' body: - encoding: US-ASCII - string: ! '{"Id":"431874b615c077f95a93a28edb1d5b505d16196e251747b2634e457feecce274"} - -' + encoding: UTF-8 + string: | + {"Id":"0a2e918522eb8a45dd1ff33806e6fb3336ef6fa69d327e285e151d58bcaa057f"} http_version: - recorded_at: Thu, 12 Feb 2015 00:53:57 GMT + recorded_at: Sat, 04 Apr 2015 12:38:12 GMT - request: method: post - uri: /v1.16/exec/431874b615c077f95a93a28edb1d5b505d16196e251747b2634e457feecce274/start + uri: "/v1.16/exec/0a2e918522eb8a45dd1ff33806e6fb3336ef6fa69d327e285e151d58bcaa057f/start?stderr=true&stdout=true&stream=true" body: encoding: UTF-8 - string: ! '{"Tty":false,"Detach":true}' + string: '{"Tty":false,"Detach":true}' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - application/json response: @@ -98,21 +96,21 @@ http_interactions: message: headers: Date: - - Thu, 12 Feb 2015 00:53:57 GMT + - Sat, 04 Apr 2015 12:38:12 GMT body: - encoding: US-ASCII + encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 12 Feb 2015 00:53:57 GMT + recorded_at: Sat, 04 Apr 2015 12:38:12 GMT - request: method: get - uri: /v1.16/exec/431874b615c077f95a93a28edb1d5b505d16196e251747b2634e457feecce274/json + uri: "/v1.16/exec/0a2e918522eb8a45dd1ff33806e6fb3336ef6fa69d327e285e151d58bcaa057f/json" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -123,23 +121,21 @@ http_interactions: Content-Type: - application/json Date: - - Thu, 12 Feb 2015 00:53:57 GMT - Content-Length: - - '1857' + - Sat, 04 Apr 2015 12:38:12 GMT body: - encoding: US-ASCII - string: ! '{"ID":"431874b615c077f95a93a28edb1d5b505d16196e251747b2634e457feecce274","Running":true,"ExitCode":0,"ProcessConfig":{"privileged":false,"user":"","tty":false,"entrypoint":"date","arguments":[]},"OpenStdin":false,"OpenStderr":false,"OpenStdout":false,"Container":{"State":{"Running":true,"Paused":false,"Restarting":false,"OOMKilled":false,"Pid":9978,"ExitCode":0,"Error":"","StartedAt":"2015-02-12T00:53:57.576157852Z","FinishedAt":"0001-01-01T00:00:00Z"},"ID":"5e60e58a03d356d5ca53e08b9a980d46c420c583226c573981da90e9a7823028","Created":"2015-02-12T00:53:57.205086212Z","Path":"sleep","Args":["20"],"Config":{"Hostname":"5e60e58a03d3","Domainname":"","User":"","Memory":0,"MemorySwap":0,"CpuShares":0,"Cpuset":"","AttachStdin":false,"AttachStdout":false,"AttachStderr":false,"PortSpecs":null,"ExposedPorts":null,"Tty":false,"OpenStdin":false,"StdinOnce":false,"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"Cmd":["sleep","20"],"Image":"debian:wheezy","Volumes":null,"WorkingDir":"","Entrypoint":null,"NetworkDisabled":false,"MacAddress":"","OnBuild":null},"Image":"c90d655b99b2ec5b7e94d38c87f92dce015c17a313caeaae0e980d9b9bed8444","NetworkSettings":{"IPAddress":"172.17.0.65","IPPrefixLen":16,"MacAddress":"02:42:ac:11:00:41","Gateway":"172.17.42.1","Bridge":"docker0","PortMapping":null,"Ports":{}},"ResolvConfPath":"/var/lib/docker/containers/5e60e58a03d356d5ca53e08b9a980d46c420c583226c573981da90e9a7823028/resolv.conf","HostnamePath":"/var/lib/docker/containers/5e60e58a03d356d5ca53e08b9a980d46c420c583226c573981da90e9a7823028/hostname","HostsPath":"/var/lib/docker/containers/5e60e58a03d356d5ca53e08b9a980d46c420c583226c573981da90e9a7823028/hosts","Name":"/sharp_cori","Driver":"devicemapper","ExecDriver":"native-0.2","MountLabel":"","ProcessLabel":"","AppArmorProfile":"","RestartCount":0,"Volumes":{},"VolumesRW":{}}}' + encoding: UTF-8 + string: '{"ID":"0a2e918522eb8a45dd1ff33806e6fb3336ef6fa69d327e285e151d58bcaa057f","Running":true,"ExitCode":0,"ProcessConfig":{"privileged":false,"user":"","tty":false,"entrypoint":"date","arguments":[]},"OpenStdin":false,"OpenStderr":false,"OpenStdout":false,"Container":{"State":{"Running":true,"Paused":false,"Restarting":false,"OOMKilled":false,"Pid":18835,"ExitCode":0,"Error":"","StartedAt":"2015-04-04T12:38:12.574409978Z","FinishedAt":"0001-01-01T00:00:00Z"},"ID":"4dedf0f5613742841ffc79c116f7b32c7433d49a5ea2fd08ba21bb7328b60338","Created":"2015-04-04T12:38:12.039812477Z","Path":"sleep","Args":["20"],"Config":{"Hostname":"4dedf0f56137","Domainname":"","User":"","Memory":0,"MemorySwap":0,"CpuShares":0,"Cpuset":"","AttachStdin":false,"AttachStdout":false,"AttachStderr":false,"PortSpecs":null,"ExposedPorts":null,"Tty":false,"OpenStdin":false,"StdinOnce":false,"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"Cmd":["sleep","20"],"Image":"debian:wheezy","Volumes":null,"WorkingDir":"","Entrypoint":null,"NetworkDisabled":false,"MacAddress":"","OnBuild":null},"Image":"1265e16d0c286a4252c1dc5e775ba476d9560e2dd96d2032605ee75b30912f6b","NetworkSettings":{"IPAddress":"172.17.1.207","IPPrefixLen":16,"MacAddress":"02:42:ac:11:01:cf","LinkLocalIPv6Address":"fe80::42:acff:fe11:1cf","LinkLocalIPv6PrefixLen":64,"GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"Gateway":"172.17.42.1","IPv6Gateway":"","Bridge":"docker0","PortMapping":null,"Ports":{}},"ResolvConfPath":"/mnt/sda1/var/lib/docker/containers/4dedf0f5613742841ffc79c116f7b32c7433d49a5ea2fd08ba21bb7328b60338/resolv.conf","HostnamePath":"/mnt/sda1/var/lib/docker/containers/4dedf0f5613742841ffc79c116f7b32c7433d49a5ea2fd08ba21bb7328b60338/hostname","HostsPath":"/mnt/sda1/var/lib/docker/containers/4dedf0f5613742841ffc79c116f7b32c7433d49a5ea2fd08ba21bb7328b60338/hosts","Name":"/fervent_heisenberg","Driver":"aufs","ExecDriver":"native-0.2","MountLabel":"","ProcessLabel":"","AppArmorProfile":"","RestartCount":0,"UpdateDns":false,"Volumes":{},"VolumesRW":{},"AppliedVolumesFrom":null}}' http_version: - recorded_at: Thu, 12 Feb 2015 00:53:57 GMT + recorded_at: Sat, 04 Apr 2015 12:38:12 GMT - request: method: post - uri: /v1.16/containers/5e60e58a03d356d5ca53e08b9a980d46c420c583226c573981da90e9a7823028/kill + uri: "/v1.16/containers/4dedf0f5613742841ffc79c116f7b32c7433d49a5ea2fd08ba21bb7328b60338/kill" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -148,21 +144,21 @@ http_interactions: message: headers: Date: - - Thu, 12 Feb 2015 00:53:57 GMT + - Sat, 04 Apr 2015 12:38:12 GMT body: - encoding: US-ASCII + encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 12 Feb 2015 00:53:57 GMT + recorded_at: Sat, 04 Apr 2015 12:38:13 GMT - request: method: delete - uri: /v1.16/containers/5e60e58a03d356d5ca53e08b9a980d46c420c583226c573981da90e9a7823028 + uri: "/v1.16/containers/4dedf0f5613742841ffc79c116f7b32c7433d49a5ea2fd08ba21bb7328b60338" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -171,10 +167,10 @@ http_interactions: message: headers: Date: - - Thu, 12 Feb 2015 00:53:58 GMT + - Sat, 04 Apr 2015 12:38:13 GMT body: - encoding: US-ASCII + encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 12 Feb 2015 00:53:58 GMT -recorded_with: VCR 2.9.2 + recorded_at: Sat, 04 Apr 2015 12:38:13 GMT +recorded_with: VCR 2.9.3 diff --git a/spec/vcr/Docker_Container/_exec/when_passed_a_block/streams_the_stdout/stderr_messages.yml b/spec/vcr/Docker_Container/_exec/when_passed_a_block/streams_the_stdout/stderr_messages.yml index 8b71d133b..07d45d5fa 100644 --- a/spec/vcr/Docker_Container/_exec/when_passed_a_block/streams_the_stdout/stderr_messages.yml +++ b/spec/vcr/Docker_Container/_exec/when_passed_a_block/streams_the_stdout/stderr_messages.yml @@ -2,13 +2,13 @@ http_interactions: - request: method: post - uri: /v1.16/containers/create + uri: "/v1.16/containers/create" body: encoding: UTF-8 - string: ! '{"Cmd":["sleep","20"],"Image":"debian:wheezy"}' + string: '{"Cmd":["sleep","20"],"Image":"debian:wheezy"}' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - application/json response: @@ -19,25 +19,24 @@ http_interactions: Content-Type: - application/json Date: - - Thu, 12 Feb 2015 00:53:58 GMT + - Sat, 04 Apr 2015 12:38:13 GMT Content-Length: - '90' body: - encoding: US-ASCII - string: ! '{"Id":"b4fb8b439cf2762aedb1241a518c4bc4bb9ea2ea75e59c1ef0e08b2383bdab2b","Warnings":null} - -' + encoding: UTF-8 + string: | + {"Id":"e5b7983e47c87e9dcca056667b408b2847be3f4ae0d12aab975f997e5d17446f","Warnings":null} http_version: - recorded_at: Thu, 12 Feb 2015 00:53:58 GMT + recorded_at: Sat, 04 Apr 2015 12:38:13 GMT - request: method: post - uri: /v1.16/containers/b4fb8b439cf2762aedb1241a518c4bc4bb9ea2ea75e59c1ef0e08b2383bdab2b/start + uri: "/v1.16/containers/e5b7983e47c87e9dcca056667b408b2847be3f4ae0d12aab975f997e5d17446f/start" body: encoding: UTF-8 - string: ! '{}' + string: "{}" headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - application/json response: @@ -46,22 +45,22 @@ http_interactions: message: headers: Date: - - Thu, 12 Feb 2015 00:53:58 GMT + - Sat, 04 Apr 2015 12:38:13 GMT body: - encoding: US-ASCII + encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 12 Feb 2015 00:53:58 GMT + recorded_at: Sat, 04 Apr 2015 12:38:13 GMT - request: method: post - uri: /v1.16/containers/b4fb8b439cf2762aedb1241a518c4bc4bb9ea2ea75e59c1ef0e08b2383bdab2b/exec + uri: "/v1.16/containers/e5b7983e47c87e9dcca056667b408b2847be3f4ae0d12aab975f997e5d17446f/exec" body: encoding: UTF-8 - string: ! '{"AttachStdin":false,"AttachStdout":true,"AttachStderr":true,"Tty":false,"Cmd":["bash","-c","sleep + string: '{"AttachStdin":false,"AttachStdout":true,"AttachStderr":true,"Tty":false,"Cmd":["bash","-c","sleep 2; echo hello"]}' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - application/json response: @@ -72,25 +71,24 @@ http_interactions: Content-Type: - application/json Date: - - Thu, 12 Feb 2015 00:53:58 GMT + - Sat, 04 Apr 2015 12:38:13 GMT Content-Length: - '74' body: - encoding: US-ASCII - string: ! '{"Id":"f64ea9906bbf5d9855359de06be8c33a5ff753b14efec2d846946419b9c78572"} - -' + encoding: UTF-8 + string: | + {"Id":"d8a39482e25f43ad81e4dea0f057490966302e3e17b9253ee044a06a79ed1ab2"} http_version: - recorded_at: Thu, 12 Feb 2015 00:53:58 GMT + recorded_at: Sat, 04 Apr 2015 12:38:13 GMT - request: method: post - uri: /v1.16/exec/f64ea9906bbf5d9855359de06be8c33a5ff753b14efec2d846946419b9c78572/start + uri: "/v1.16/exec/d8a39482e25f43ad81e4dea0f057490966302e3e17b9253ee044a06a79ed1ab2/start?stderr=true&stdout=true&stream=true" body: encoding: UTF-8 - string: ! '{"Tty":false,"Detach":false}' + string: '{"Tty":false,"Detach":false}' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - application/json response: @@ -101,20 +99,20 @@ http_interactions: Content-Type: - application/vnd.docker.raw-stream body: - encoding: US-ASCII + encoding: UTF-8 string: !binary |- AQAAAAAAAAZoZWxsbwo= http_version: - recorded_at: Thu, 12 Feb 2015 00:54:00 GMT + recorded_at: Sat, 04 Apr 2015 12:38:15 GMT - request: method: get - uri: /v1.16/exec/f64ea9906bbf5d9855359de06be8c33a5ff753b14efec2d846946419b9c78572/json + uri: "/v1.16/exec/d8a39482e25f43ad81e4dea0f057490966302e3e17b9253ee044a06a79ed1ab2/json" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -125,24 +123,22 @@ http_interactions: Content-Type: - application/json Date: - - Thu, 12 Feb 2015 00:54:00 GMT - Content-Length: - - '1894' + - Sat, 04 Apr 2015 12:38:15 GMT body: - encoding: US-ASCII - string: ! '{"ID":"f64ea9906bbf5d9855359de06be8c33a5ff753b14efec2d846946419b9c78572","Running":false,"ExitCode":0,"ProcessConfig":{"privileged":false,"user":"","tty":false,"entrypoint":"bash","arguments":["-c","sleep - 2; echo hello"]},"OpenStdin":false,"OpenStderr":true,"OpenStdout":true,"Container":{"State":{"Running":true,"Paused":false,"Restarting":false,"OOMKilled":false,"Pid":10033,"ExitCode":0,"Error":"","StartedAt":"2015-02-12T00:53:58.933303983Z","FinishedAt":"0001-01-01T00:00:00Z"},"ID":"b4fb8b439cf2762aedb1241a518c4bc4bb9ea2ea75e59c1ef0e08b2383bdab2b","Created":"2015-02-12T00:53:58.561995441Z","Path":"sleep","Args":["20"],"Config":{"Hostname":"b4fb8b439cf2","Domainname":"","User":"","Memory":0,"MemorySwap":0,"CpuShares":0,"Cpuset":"","AttachStdin":false,"AttachStdout":false,"AttachStderr":false,"PortSpecs":null,"ExposedPorts":null,"Tty":false,"OpenStdin":false,"StdinOnce":false,"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"Cmd":["sleep","20"],"Image":"debian:wheezy","Volumes":null,"WorkingDir":"","Entrypoint":null,"NetworkDisabled":false,"MacAddress":"","OnBuild":null},"Image":"c90d655b99b2ec5b7e94d38c87f92dce015c17a313caeaae0e980d9b9bed8444","NetworkSettings":{"IPAddress":"172.17.0.66","IPPrefixLen":16,"MacAddress":"02:42:ac:11:00:42","Gateway":"172.17.42.1","Bridge":"docker0","PortMapping":null,"Ports":{}},"ResolvConfPath":"/var/lib/docker/containers/b4fb8b439cf2762aedb1241a518c4bc4bb9ea2ea75e59c1ef0e08b2383bdab2b/resolv.conf","HostnamePath":"/var/lib/docker/containers/b4fb8b439cf2762aedb1241a518c4bc4bb9ea2ea75e59c1ef0e08b2383bdab2b/hostname","HostsPath":"/var/lib/docker/containers/b4fb8b439cf2762aedb1241a518c4bc4bb9ea2ea75e59c1ef0e08b2383bdab2b/hosts","Name":"/compassionate_lalande","Driver":"devicemapper","ExecDriver":"native-0.2","MountLabel":"","ProcessLabel":"","AppArmorProfile":"","RestartCount":0,"Volumes":{},"VolumesRW":{}}}' + encoding: UTF-8 + string: '{"ID":"d8a39482e25f43ad81e4dea0f057490966302e3e17b9253ee044a06a79ed1ab2","Running":false,"ExitCode":0,"ProcessConfig":{"privileged":false,"user":"","tty":false,"entrypoint":"bash","arguments":["-c","sleep + 2; echo hello"]},"OpenStdin":false,"OpenStderr":true,"OpenStdout":true,"Container":{"State":{"Running":true,"Paused":false,"Restarting":false,"OOMKilled":false,"Pid":18848,"ExitCode":0,"Error":"","StartedAt":"2015-04-04T12:38:13.574450679Z","FinishedAt":"0001-01-01T00:00:00Z"},"ID":"e5b7983e47c87e9dcca056667b408b2847be3f4ae0d12aab975f997e5d17446f","Created":"2015-04-04T12:38:13.118218564Z","Path":"sleep","Args":["20"],"Config":{"Hostname":"e5b7983e47c8","Domainname":"","User":"","Memory":0,"MemorySwap":0,"CpuShares":0,"Cpuset":"","AttachStdin":false,"AttachStdout":false,"AttachStderr":false,"PortSpecs":null,"ExposedPorts":null,"Tty":false,"OpenStdin":false,"StdinOnce":false,"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"Cmd":["sleep","20"],"Image":"debian:wheezy","Volumes":null,"WorkingDir":"","Entrypoint":null,"NetworkDisabled":false,"MacAddress":"","OnBuild":null},"Image":"1265e16d0c286a4252c1dc5e775ba476d9560e2dd96d2032605ee75b30912f6b","NetworkSettings":{"IPAddress":"172.17.1.208","IPPrefixLen":16,"MacAddress":"02:42:ac:11:01:d0","LinkLocalIPv6Address":"fe80::42:acff:fe11:1d0","LinkLocalIPv6PrefixLen":64,"GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"Gateway":"172.17.42.1","IPv6Gateway":"","Bridge":"docker0","PortMapping":null,"Ports":{}},"ResolvConfPath":"/mnt/sda1/var/lib/docker/containers/e5b7983e47c87e9dcca056667b408b2847be3f4ae0d12aab975f997e5d17446f/resolv.conf","HostnamePath":"/mnt/sda1/var/lib/docker/containers/e5b7983e47c87e9dcca056667b408b2847be3f4ae0d12aab975f997e5d17446f/hostname","HostsPath":"/mnt/sda1/var/lib/docker/containers/e5b7983e47c87e9dcca056667b408b2847be3f4ae0d12aab975f997e5d17446f/hosts","Name":"/focused_euclid","Driver":"aufs","ExecDriver":"native-0.2","MountLabel":"","ProcessLabel":"","AppArmorProfile":"","RestartCount":0,"UpdateDns":false,"Volumes":{},"VolumesRW":{},"AppliedVolumesFrom":null}}' http_version: - recorded_at: Thu, 12 Feb 2015 00:54:00 GMT + recorded_at: Sat, 04 Apr 2015 12:38:15 GMT - request: method: post - uri: /v1.16/containers/b4fb8b439cf2762aedb1241a518c4bc4bb9ea2ea75e59c1ef0e08b2383bdab2b/kill + uri: "/v1.16/containers/e5b7983e47c87e9dcca056667b408b2847be3f4ae0d12aab975f997e5d17446f/kill" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -151,21 +147,21 @@ http_interactions: message: headers: Date: - - Thu, 12 Feb 2015 00:54:01 GMT + - Sat, 04 Apr 2015 12:38:16 GMT body: - encoding: US-ASCII + encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 12 Feb 2015 00:54:01 GMT + recorded_at: Sat, 04 Apr 2015 12:38:16 GMT - request: method: delete - uri: /v1.16/containers/b4fb8b439cf2762aedb1241a518c4bc4bb9ea2ea75e59c1ef0e08b2383bdab2b + uri: "/v1.16/containers/e5b7983e47c87e9dcca056667b408b2847be3f4ae0d12aab975f997e5d17446f" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -174,10 +170,10 @@ http_interactions: message: headers: Date: - - Thu, 12 Feb 2015 00:54:01 GMT + - Sat, 04 Apr 2015 12:38:16 GMT body: - encoding: US-ASCII + encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 12 Feb 2015 00:54:01 GMT -recorded_with: VCR 2.9.2 + recorded_at: Sat, 04 Apr 2015 12:38:16 GMT +recorded_with: VCR 2.9.3 diff --git a/spec/vcr/Docker_Container/_exec/when_passed_only_a_command/returns_the_stdout/stderr_messages_and_exit_code.yml b/spec/vcr/Docker_Container/_exec/when_passed_only_a_command/returns_the_stdout/stderr_messages_and_exit_code.yml index 5c6f198dc..c3e3276ef 100644 --- a/spec/vcr/Docker_Container/_exec/when_passed_only_a_command/returns_the_stdout/stderr_messages_and_exit_code.yml +++ b/spec/vcr/Docker_Container/_exec/when_passed_only_a_command/returns_the_stdout/stderr_messages_and_exit_code.yml @@ -2,13 +2,13 @@ http_interactions: - request: method: post - uri: /v1.16/containers/create + uri: "/v1.16/containers/create" body: encoding: UTF-8 - string: ! '{"Cmd":["sleep","20"],"Image":"debian:wheezy"}' + string: '{"Cmd":["sleep","20"],"Image":"debian:wheezy"}' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - application/json response: @@ -19,25 +19,24 @@ http_interactions: Content-Type: - application/json Date: - - Thu, 12 Feb 2015 00:53:54 GMT + - Sat, 04 Apr 2015 12:38:09 GMT Content-Length: - '90' body: - encoding: US-ASCII - string: ! '{"Id":"8d22ae8d6602ea1f072d3a8f7da7a58706ffb463a931c119f7c0596b3cd524c2","Warnings":null} - -' + encoding: UTF-8 + string: | + {"Id":"2a2f052f35033f1863b7d57f2ffc60dcb558ac0bb3e6a45b57856b043c6879ce","Warnings":null} http_version: - recorded_at: Thu, 12 Feb 2015 00:53:54 GMT + recorded_at: Sat, 04 Apr 2015 12:38:09 GMT - request: method: post - uri: /v1.16/containers/8d22ae8d6602ea1f072d3a8f7da7a58706ffb463a931c119f7c0596b3cd524c2/start + uri: "/v1.16/containers/2a2f052f35033f1863b7d57f2ffc60dcb558ac0bb3e6a45b57856b043c6879ce/start" body: encoding: UTF-8 - string: ! '{}' + string: "{}" headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - application/json response: @@ -46,22 +45,22 @@ http_interactions: message: headers: Date: - - Thu, 12 Feb 2015 00:53:54 GMT + - Sat, 04 Apr 2015 12:38:09 GMT body: - encoding: US-ASCII + encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 12 Feb 2015 00:53:54 GMT + recorded_at: Sat, 04 Apr 2015 12:38:09 GMT - request: method: post - uri: /v1.16/containers/8d22ae8d6602ea1f072d3a8f7da7a58706ffb463a931c119f7c0596b3cd524c2/exec + uri: "/v1.16/containers/2a2f052f35033f1863b7d57f2ffc60dcb558ac0bb3e6a45b57856b043c6879ce/exec" body: encoding: UTF-8 - string: ! '{"AttachStdin":false,"AttachStdout":true,"AttachStderr":true,"Tty":false,"Cmd":["bash","-c","sleep + string: '{"AttachStdin":false,"AttachStdout":true,"AttachStderr":true,"Tty":false,"Cmd":["bash","-c","sleep 2; echo hello"]}' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - application/json response: @@ -72,25 +71,24 @@ http_interactions: Content-Type: - application/json Date: - - Thu, 12 Feb 2015 00:53:54 GMT + - Sat, 04 Apr 2015 12:38:09 GMT Content-Length: - '74' body: - encoding: US-ASCII - string: ! '{"Id":"88ddf689d93dae667f68c801bc3192cce86ad2f0e868656d62a089fdc46d8737"} - -' + encoding: UTF-8 + string: | + {"Id":"316a922470146b6f870faa61c30b602efa485c0c71d3e8e8de82fbe64fd74ff6"} http_version: - recorded_at: Thu, 12 Feb 2015 00:53:54 GMT + recorded_at: Sat, 04 Apr 2015 12:38:09 GMT - request: method: post - uri: /v1.16/exec/88ddf689d93dae667f68c801bc3192cce86ad2f0e868656d62a089fdc46d8737/start + uri: "/v1.16/exec/316a922470146b6f870faa61c30b602efa485c0c71d3e8e8de82fbe64fd74ff6/start?stderr=true&stdout=true&stream=true" body: encoding: UTF-8 - string: ! '{"Tty":false,"Detach":false}' + string: '{"Tty":false,"Detach":false}' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - application/json response: @@ -101,20 +99,20 @@ http_interactions: Content-Type: - application/vnd.docker.raw-stream body: - encoding: US-ASCII + encoding: UTF-8 string: !binary |- AQAAAAAAAAZoZWxsbwo= http_version: - recorded_at: Thu, 12 Feb 2015 00:53:56 GMT + recorded_at: Sat, 04 Apr 2015 12:38:11 GMT - request: method: get - uri: /v1.16/exec/88ddf689d93dae667f68c801bc3192cce86ad2f0e868656d62a089fdc46d8737/json + uri: "/v1.16/exec/316a922470146b6f870faa61c30b602efa485c0c71d3e8e8de82fbe64fd74ff6/json" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -125,24 +123,22 @@ http_interactions: Content-Type: - application/json Date: - - Thu, 12 Feb 2015 00:53:56 GMT - Content-Length: - - '1888' + - Sat, 04 Apr 2015 12:38:11 GMT body: - encoding: US-ASCII - string: ! '{"ID":"88ddf689d93dae667f68c801bc3192cce86ad2f0e868656d62a089fdc46d8737","Running":false,"ExitCode":0,"ProcessConfig":{"privileged":false,"user":"","tty":false,"entrypoint":"bash","arguments":["-c","sleep - 2; echo hello"]},"OpenStdin":false,"OpenStderr":true,"OpenStdout":true,"Container":{"State":{"Running":true,"Paused":false,"Restarting":false,"OOMKilled":false,"Pid":9917,"ExitCode":0,"Error":"","StartedAt":"2015-02-12T00:53:54.125923135Z","FinishedAt":"0001-01-01T00:00:00Z"},"ID":"8d22ae8d6602ea1f072d3a8f7da7a58706ffb463a931c119f7c0596b3cd524c2","Created":"2015-02-12T00:53:53.75726204Z","Path":"sleep","Args":["20"],"Config":{"Hostname":"8d22ae8d6602","Domainname":"","User":"","Memory":0,"MemorySwap":0,"CpuShares":0,"Cpuset":"","AttachStdin":false,"AttachStdout":false,"AttachStderr":false,"PortSpecs":null,"ExposedPorts":null,"Tty":false,"OpenStdin":false,"StdinOnce":false,"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"Cmd":["sleep","20"],"Image":"debian:wheezy","Volumes":null,"WorkingDir":"","Entrypoint":null,"NetworkDisabled":false,"MacAddress":"","OnBuild":null},"Image":"c90d655b99b2ec5b7e94d38c87f92dce015c17a313caeaae0e980d9b9bed8444","NetworkSettings":{"IPAddress":"172.17.0.64","IPPrefixLen":16,"MacAddress":"02:42:ac:11:00:40","Gateway":"172.17.42.1","Bridge":"docker0","PortMapping":null,"Ports":{}},"ResolvConfPath":"/var/lib/docker/containers/8d22ae8d6602ea1f072d3a8f7da7a58706ffb463a931c119f7c0596b3cd524c2/resolv.conf","HostnamePath":"/var/lib/docker/containers/8d22ae8d6602ea1f072d3a8f7da7a58706ffb463a931c119f7c0596b3cd524c2/hostname","HostsPath":"/var/lib/docker/containers/8d22ae8d6602ea1f072d3a8f7da7a58706ffb463a931c119f7c0596b3cd524c2/hosts","Name":"/backstabbing_pike","Driver":"devicemapper","ExecDriver":"native-0.2","MountLabel":"","ProcessLabel":"","AppArmorProfile":"","RestartCount":0,"Volumes":{},"VolumesRW":{}}}' + encoding: UTF-8 + string: '{"ID":"316a922470146b6f870faa61c30b602efa485c0c71d3e8e8de82fbe64fd74ff6","Running":false,"ExitCode":0,"ProcessConfig":{"privileged":false,"user":"","tty":false,"entrypoint":"bash","arguments":["-c","sleep + 2; echo hello"]},"OpenStdin":false,"OpenStderr":true,"OpenStdout":true,"Container":{"State":{"Running":true,"Paused":false,"Restarting":false,"OOMKilled":false,"Pid":18821,"ExitCode":0,"Error":"","StartedAt":"2015-04-04T12:38:09.54432116Z","FinishedAt":"0001-01-01T00:00:00Z"},"ID":"2a2f052f35033f1863b7d57f2ffc60dcb558ac0bb3e6a45b57856b043c6879ce","Created":"2015-04-04T12:38:09.031607079Z","Path":"sleep","Args":["20"],"Config":{"Hostname":"2a2f052f3503","Domainname":"","User":"","Memory":0,"MemorySwap":0,"CpuShares":0,"Cpuset":"","AttachStdin":false,"AttachStdout":false,"AttachStderr":false,"PortSpecs":null,"ExposedPorts":null,"Tty":false,"OpenStdin":false,"StdinOnce":false,"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"Cmd":["sleep","20"],"Image":"debian:wheezy","Volumes":null,"WorkingDir":"","Entrypoint":null,"NetworkDisabled":false,"MacAddress":"","OnBuild":null},"Image":"1265e16d0c286a4252c1dc5e775ba476d9560e2dd96d2032605ee75b30912f6b","NetworkSettings":{"IPAddress":"172.17.1.206","IPPrefixLen":16,"MacAddress":"02:42:ac:11:01:ce","LinkLocalIPv6Address":"fe80::42:acff:fe11:1ce","LinkLocalIPv6PrefixLen":64,"GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"Gateway":"172.17.42.1","IPv6Gateway":"","Bridge":"docker0","PortMapping":null,"Ports":{}},"ResolvConfPath":"/mnt/sda1/var/lib/docker/containers/2a2f052f35033f1863b7d57f2ffc60dcb558ac0bb3e6a45b57856b043c6879ce/resolv.conf","HostnamePath":"/mnt/sda1/var/lib/docker/containers/2a2f052f35033f1863b7d57f2ffc60dcb558ac0bb3e6a45b57856b043c6879ce/hostname","HostsPath":"/mnt/sda1/var/lib/docker/containers/2a2f052f35033f1863b7d57f2ffc60dcb558ac0bb3e6a45b57856b043c6879ce/hosts","Name":"/fervent_bardeen","Driver":"aufs","ExecDriver":"native-0.2","MountLabel":"","ProcessLabel":"","AppArmorProfile":"","RestartCount":0,"UpdateDns":false,"Volumes":{},"VolumesRW":{},"AppliedVolumesFrom":null}}' http_version: - recorded_at: Thu, 12 Feb 2015 00:53:56 GMT + recorded_at: Sat, 04 Apr 2015 12:38:11 GMT - request: method: post - uri: /v1.16/containers/8d22ae8d6602ea1f072d3a8f7da7a58706ffb463a931c119f7c0596b3cd524c2/kill + uri: "/v1.16/containers/2a2f052f35033f1863b7d57f2ffc60dcb558ac0bb3e6a45b57856b043c6879ce/kill" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -151,21 +147,21 @@ http_interactions: message: headers: Date: - - Thu, 12 Feb 2015 00:53:56 GMT + - Sat, 04 Apr 2015 12:38:11 GMT body: - encoding: US-ASCII + encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 12 Feb 2015 00:53:56 GMT + recorded_at: Sat, 04 Apr 2015 12:38:12 GMT - request: method: delete - uri: /v1.16/containers/8d22ae8d6602ea1f072d3a8f7da7a58706ffb463a931c119f7c0596b3cd524c2 + uri: "/v1.16/containers/2a2f052f35033f1863b7d57f2ffc60dcb558ac0bb3e6a45b57856b043c6879ce" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -174,10 +170,10 @@ http_interactions: message: headers: Date: - - Thu, 12 Feb 2015 00:53:57 GMT + - Sat, 04 Apr 2015 12:38:11 GMT body: - encoding: US-ASCII + encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 12 Feb 2015 00:53:57 GMT -recorded_with: VCR 2.9.2 + recorded_at: Sat, 04 Apr 2015 12:38:12 GMT +recorded_with: VCR 2.9.3 diff --git a/spec/vcr/Docker_Container/_exec/when_stdin_object_is_passed/returns_the_stdout/stderr_messages.yml b/spec/vcr/Docker_Container/_exec/when_stdin_object_is_passed/returns_the_stdout/stderr_messages.yml index 39dd61844..acc60710e 100644 --- a/spec/vcr/Docker_Container/_exec/when_stdin_object_is_passed/returns_the_stdout/stderr_messages.yml +++ b/spec/vcr/Docker_Container/_exec/when_stdin_object_is_passed/returns_the_stdout/stderr_messages.yml @@ -2,13 +2,13 @@ http_interactions: - request: method: post - uri: /v1.16/containers/create + uri: "/v1.16/containers/create" body: encoding: UTF-8 - string: ! '{"Cmd":["sleep","20"],"Image":"debian:wheezy"}' + string: '{"Cmd":["sleep","20"],"Image":"debian:wheezy"}' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - application/json response: @@ -19,25 +19,24 @@ http_interactions: Content-Type: - application/json Date: - - Thu, 12 Feb 2015 00:54:02 GMT + - Sat, 04 Apr 2015 12:38:16 GMT Content-Length: - '90' body: - encoding: US-ASCII - string: ! '{"Id":"826241852c9dce92996cc154c58f0528f70091aec4a6722644cbe8bc9653111e","Warnings":null} - -' + encoding: UTF-8 + string: | + {"Id":"8b6fa5c8eb0bdd76188e3c9923312d7888ecfe3fc0c9daa76a05d27a75deed28","Warnings":null} http_version: - recorded_at: Thu, 12 Feb 2015 00:54:02 GMT + recorded_at: Sat, 04 Apr 2015 12:38:16 GMT - request: method: post - uri: /v1.16/containers/826241852c9dce92996cc154c58f0528f70091aec4a6722644cbe8bc9653111e/start + uri: "/v1.16/containers/8b6fa5c8eb0bdd76188e3c9923312d7888ecfe3fc0c9daa76a05d27a75deed28/start" body: encoding: UTF-8 - string: ! '{}' + string: "{}" headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - application/json response: @@ -46,21 +45,21 @@ http_interactions: message: headers: Date: - - Thu, 12 Feb 2015 00:54:02 GMT + - Sat, 04 Apr 2015 12:38:16 GMT body: - encoding: US-ASCII + encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 12 Feb 2015 00:54:02 GMT + recorded_at: Sat, 04 Apr 2015 12:38:16 GMT - request: method: post - uri: /v1.16/containers/826241852c9dce92996cc154c58f0528f70091aec4a6722644cbe8bc9653111e/kill + uri: "/v1.16/containers/8b6fa5c8eb0bdd76188e3c9923312d7888ecfe3fc0c9daa76a05d27a75deed28/kill" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -69,21 +68,21 @@ http_interactions: message: headers: Date: - - Thu, 12 Feb 2015 00:54:02 GMT + - Sat, 04 Apr 2015 12:38:16 GMT body: - encoding: US-ASCII + encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 12 Feb 2015 00:54:02 GMT + recorded_at: Sat, 04 Apr 2015 12:38:16 GMT - request: method: delete - uri: /v1.16/containers/826241852c9dce92996cc154c58f0528f70091aec4a6722644cbe8bc9653111e + uri: "/v1.16/containers/8b6fa5c8eb0bdd76188e3c9923312d7888ecfe3fc0c9daa76a05d27a75deed28" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -92,10 +91,10 @@ http_interactions: message: headers: Date: - - Thu, 12 Feb 2015 00:54:03 GMT + - Sat, 04 Apr 2015 12:38:16 GMT body: - encoding: US-ASCII + encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 12 Feb 2015 00:54:03 GMT -recorded_with: VCR 2.9.2 + recorded_at: Sat, 04 Apr 2015 12:38:17 GMT +recorded_with: VCR 2.9.3 diff --git a/spec/vcr/Docker_Container/_exec/when_tty_is_true/returns_the_raw_stdout/stderr_output.yml b/spec/vcr/Docker_Container/_exec/when_tty_is_true/returns_the_raw_stdout/stderr_output.yml index ec1a24d07..97ed009a8 100644 --- a/spec/vcr/Docker_Container/_exec/when_tty_is_true/returns_the_raw_stdout/stderr_output.yml +++ b/spec/vcr/Docker_Container/_exec/when_tty_is_true/returns_the_raw_stdout/stderr_output.yml @@ -2,13 +2,13 @@ http_interactions: - request: method: post - uri: /v1.16/containers/create + uri: "/v1.16/containers/create" body: encoding: UTF-8 - string: ! '{"Cmd":["sleep","20"],"Image":"debian:wheezy"}' + string: '{"Cmd":["sleep","20"],"Image":"debian:wheezy"}' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - application/json response: @@ -19,25 +19,24 @@ http_interactions: Content-Type: - application/json Date: - - Thu, 12 Feb 2015 00:54:03 GMT + - Sat, 04 Apr 2015 12:38:17 GMT Content-Length: - '90' body: - encoding: US-ASCII - string: ! '{"Id":"7549e49c7fdf696b4eaa3d01567237cef6f423c8b8259fd3a5015a2f1c2618f7","Warnings":null} - -' + encoding: UTF-8 + string: | + {"Id":"e41b3762bb3749225c771665f43e1725a20ec4b97ab1a322c9db368921eb4931","Warnings":null} http_version: - recorded_at: Thu, 12 Feb 2015 00:54:03 GMT + recorded_at: Sat, 04 Apr 2015 12:38:17 GMT - request: method: post - uri: /v1.16/containers/7549e49c7fdf696b4eaa3d01567237cef6f423c8b8259fd3a5015a2f1c2618f7/start + uri: "/v1.16/containers/e41b3762bb3749225c771665f43e1725a20ec4b97ab1a322c9db368921eb4931/start" body: encoding: UTF-8 - string: ! '{}' + string: "{}" headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - application/json response: @@ -46,22 +45,22 @@ http_interactions: message: headers: Date: - - Thu, 12 Feb 2015 00:54:03 GMT + - Sat, 04 Apr 2015 12:38:17 GMT body: - encoding: US-ASCII + encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 12 Feb 2015 00:54:03 GMT + recorded_at: Sat, 04 Apr 2015 12:38:17 GMT - request: method: post - uri: /v1.16/containers/7549e49c7fdf696b4eaa3d01567237cef6f423c8b8259fd3a5015a2f1c2618f7/exec + uri: "/v1.16/containers/e41b3762bb3749225c771665f43e1725a20ec4b97ab1a322c9db368921eb4931/exec" body: encoding: UTF-8 - string: ! '{"AttachStdin":false,"AttachStdout":true,"AttachStderr":true,"Tty":true,"Cmd":["bash","-c","if + string: '{"AttachStdin":false,"AttachStdout":true,"AttachStderr":true,"Tty":true,"Cmd":["bash","-c","if [ -t 1 ]; then echo -n \"I''m a TTY!\"; fi"]}' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - application/json response: @@ -72,25 +71,24 @@ http_interactions: Content-Type: - application/json Date: - - Thu, 12 Feb 2015 00:54:03 GMT + - Sat, 04 Apr 2015 12:38:17 GMT Content-Length: - '74' body: - encoding: US-ASCII - string: ! '{"Id":"d05261bace59bbaeab929d1032b6a5d698fffead9563e1f25631e45afed137ee"} - -' + encoding: UTF-8 + string: | + {"Id":"8beac8f6441e9c985f4bebee323b9131c48ca94537c4cd8d5d98fe83ec1102f2"} http_version: - recorded_at: Thu, 12 Feb 2015 00:54:03 GMT + recorded_at: Sat, 04 Apr 2015 12:38:17 GMT - request: method: post - uri: /v1.16/exec/d05261bace59bbaeab929d1032b6a5d698fffead9563e1f25631e45afed137ee/start + uri: "/v1.16/exec/8beac8f6441e9c985f4bebee323b9131c48ca94537c4cd8d5d98fe83ec1102f2/start?stderr=true&stdout=true&stream=true" body: encoding: UTF-8 - string: ! '{"Tty":true,"Detach":false}' + string: '{"Tty":true,"Detach":false}' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - application/json response: @@ -101,19 +99,19 @@ http_interactions: Content-Type: - application/vnd.docker.raw-stream body: - encoding: US-ASCII + encoding: UTF-8 string: I'm a TTY! http_version: - recorded_at: Thu, 12 Feb 2015 00:54:03 GMT + recorded_at: Sat, 04 Apr 2015 12:38:17 GMT - request: method: get - uri: /v1.16/exec/d05261bace59bbaeab929d1032b6a5d698fffead9563e1f25631e45afed137ee/json + uri: "/v1.16/exec/8beac8f6441e9c985f4bebee323b9131c48ca94537c4cd8d5d98fe83ec1102f2/json" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -124,24 +122,22 @@ http_interactions: Content-Type: - application/json Date: - - Thu, 12 Feb 2015 00:54:03 GMT - Content-Length: - - '1914' + - Sat, 04 Apr 2015 12:38:17 GMT body: - encoding: US-ASCII - string: ! '{"ID":"d05261bace59bbaeab929d1032b6a5d698fffead9563e1f25631e45afed137ee","Running":false,"ExitCode":0,"ProcessConfig":{"privileged":false,"user":"","tty":true,"entrypoint":"bash","arguments":["-c","if - [ -t 1 ]; then echo -n \"I''m a TTY!\"; fi"]},"OpenStdin":false,"OpenStderr":true,"OpenStdout":true,"Container":{"State":{"Running":true,"Paused":false,"Restarting":false,"OOMKilled":false,"Pid":10150,"ExitCode":0,"Error":"","StartedAt":"2015-02-12T00:54:03.765860638Z","FinishedAt":"0001-01-01T00:00:00Z"},"ID":"7549e49c7fdf696b4eaa3d01567237cef6f423c8b8259fd3a5015a2f1c2618f7","Created":"2015-02-12T00:54:03.427361709Z","Path":"sleep","Args":["20"],"Config":{"Hostname":"7549e49c7fdf","Domainname":"","User":"","Memory":0,"MemorySwap":0,"CpuShares":0,"Cpuset":"","AttachStdin":false,"AttachStdout":false,"AttachStderr":false,"PortSpecs":null,"ExposedPorts":null,"Tty":false,"OpenStdin":false,"StdinOnce":false,"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"Cmd":["sleep","20"],"Image":"debian:wheezy","Volumes":null,"WorkingDir":"","Entrypoint":null,"NetworkDisabled":false,"MacAddress":"","OnBuild":null},"Image":"c90d655b99b2ec5b7e94d38c87f92dce015c17a313caeaae0e980d9b9bed8444","NetworkSettings":{"IPAddress":"172.17.0.68","IPPrefixLen":16,"MacAddress":"02:42:ac:11:00:44","Gateway":"172.17.42.1","Bridge":"docker0","PortMapping":null,"Ports":{}},"ResolvConfPath":"/var/lib/docker/containers/7549e49c7fdf696b4eaa3d01567237cef6f423c8b8259fd3a5015a2f1c2618f7/resolv.conf","HostnamePath":"/var/lib/docker/containers/7549e49c7fdf696b4eaa3d01567237cef6f423c8b8259fd3a5015a2f1c2618f7/hostname","HostsPath":"/var/lib/docker/containers/7549e49c7fdf696b4eaa3d01567237cef6f423c8b8259fd3a5015a2f1c2618f7/hosts","Name":"/kickass_albattani","Driver":"devicemapper","ExecDriver":"native-0.2","MountLabel":"","ProcessLabel":"","AppArmorProfile":"","RestartCount":0,"Volumes":{},"VolumesRW":{}}}' + encoding: UTF-8 + string: '{"ID":"8beac8f6441e9c985f4bebee323b9131c48ca94537c4cd8d5d98fe83ec1102f2","Running":false,"ExitCode":0,"ProcessConfig":{"privileged":false,"user":"","tty":true,"entrypoint":"bash","arguments":["-c","if + [ -t 1 ]; then echo -n \"I''m a TTY!\"; fi"]},"OpenStdin":false,"OpenStderr":true,"OpenStdout":true,"Container":{"State":{"Running":true,"Paused":false,"Restarting":false,"OOMKilled":false,"Pid":18868,"ExitCode":0,"Error":"","StartedAt":"2015-04-04T12:38:17.566755015Z","FinishedAt":"0001-01-01T00:00:00Z"},"ID":"e41b3762bb3749225c771665f43e1725a20ec4b97ab1a322c9db368921eb4931","Created":"2015-04-04T12:38:17.010906399Z","Path":"sleep","Args":["20"],"Config":{"Hostname":"e41b3762bb37","Domainname":"","User":"","Memory":0,"MemorySwap":0,"CpuShares":0,"Cpuset":"","AttachStdin":false,"AttachStdout":false,"AttachStderr":false,"PortSpecs":null,"ExposedPorts":null,"Tty":false,"OpenStdin":false,"StdinOnce":false,"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"Cmd":["sleep","20"],"Image":"debian:wheezy","Volumes":null,"WorkingDir":"","Entrypoint":null,"NetworkDisabled":false,"MacAddress":"","OnBuild":null},"Image":"1265e16d0c286a4252c1dc5e775ba476d9560e2dd96d2032605ee75b30912f6b","NetworkSettings":{"IPAddress":"172.17.1.210","IPPrefixLen":16,"MacAddress":"02:42:ac:11:01:d2","LinkLocalIPv6Address":"fe80::42:acff:fe11:1d2","LinkLocalIPv6PrefixLen":64,"GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"Gateway":"172.17.42.1","IPv6Gateway":"","Bridge":"docker0","PortMapping":null,"Ports":{}},"ResolvConfPath":"/mnt/sda1/var/lib/docker/containers/e41b3762bb3749225c771665f43e1725a20ec4b97ab1a322c9db368921eb4931/resolv.conf","HostnamePath":"/mnt/sda1/var/lib/docker/containers/e41b3762bb3749225c771665f43e1725a20ec4b97ab1a322c9db368921eb4931/hostname","HostsPath":"/mnt/sda1/var/lib/docker/containers/e41b3762bb3749225c771665f43e1725a20ec4b97ab1a322c9db368921eb4931/hosts","Name":"/condescending_hypatia","Driver":"aufs","ExecDriver":"native-0.2","MountLabel":"","ProcessLabel":"","AppArmorProfile":"","RestartCount":0,"UpdateDns":false,"Volumes":{},"VolumesRW":{},"AppliedVolumesFrom":null}}' http_version: - recorded_at: Thu, 12 Feb 2015 00:54:03 GMT + recorded_at: Sat, 04 Apr 2015 12:38:17 GMT - request: method: post - uri: /v1.16/containers/7549e49c7fdf696b4eaa3d01567237cef6f423c8b8259fd3a5015a2f1c2618f7/kill + uri: "/v1.16/containers/e41b3762bb3749225c771665f43e1725a20ec4b97ab1a322c9db368921eb4931/kill" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -150,21 +146,21 @@ http_interactions: message: headers: Date: - - Thu, 12 Feb 2015 00:54:03 GMT + - Sat, 04 Apr 2015 12:38:17 GMT body: - encoding: US-ASCII + encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 12 Feb 2015 00:54:03 GMT + recorded_at: Sat, 04 Apr 2015 12:38:18 GMT - request: method: delete - uri: /v1.16/containers/7549e49c7fdf696b4eaa3d01567237cef6f423c8b8259fd3a5015a2f1c2618f7 + uri: "/v1.16/containers/e41b3762bb3749225c771665f43e1725a20ec4b97ab1a322c9db368921eb4931" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -173,10 +169,10 @@ http_interactions: message: headers: Date: - - Thu, 12 Feb 2015 00:54:04 GMT + - Sat, 04 Apr 2015 12:38:18 GMT body: - encoding: US-ASCII + encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 12 Feb 2015 00:54:04 GMT -recorded_with: VCR 2.9.2 + recorded_at: Sat, 04 Apr 2015 12:38:18 GMT +recorded_with: VCR 2.9.3 diff --git a/spec/vcr/Docker_Container/_export/yields_each_chunk.yml b/spec/vcr/Docker_Container/_export/yields_each_chunk.yml index 9a1602d08..eb0ca185b 100644 --- a/spec/vcr/Docker_Container/_export/yields_each_chunk.yml +++ b/spec/vcr/Docker_Container/_export/yields_each_chunk.yml @@ -2,13 +2,13 @@ http_interactions: - request: method: post - uri: /v1.16/containers/create + uri: "/v1.16/containers/create" body: encoding: UTF-8 - string: ! '{"Cmd":["rm","-rf","/","--no-preserve-root"],"Image":"tianon/true"}' + string: '{"Cmd":["rm","-rf","/","--no-preserve-root"],"Image":"tianon/true"}' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - application/json response: @@ -19,25 +19,24 @@ http_interactions: Content-Type: - application/json Date: - - Thu, 12 Feb 2015 00:53:43 GMT + - Sat, 04 Apr 2015 12:38:01 GMT Content-Length: - '90' body: - encoding: US-ASCII - string: ! '{"Id":"a5dadd77fd0c3d31b13f2d7bf60e02174a4b83661d6ff1e15c3c7a5080260e9d","Warnings":null} - -' + encoding: UTF-8 + string: | + {"Id":"37ab077c2b6b24a3b862652708ad1dc378e18f374ccf24bd5ce19fd78c087ff1","Warnings":null} http_version: - recorded_at: Thu, 12 Feb 2015 00:53:43 GMT + recorded_at: Sat, 04 Apr 2015 12:38:01 GMT - request: method: post - uri: /v1.16/containers/a5dadd77fd0c3d31b13f2d7bf60e02174a4b83661d6ff1e15c3c7a5080260e9d/start + uri: "/v1.16/containers/37ab077c2b6b24a3b862652708ad1dc378e18f374ccf24bd5ce19fd78c087ff1/start" body: encoding: UTF-8 - string: ! '{}' + string: "{}" headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - application/json response: @@ -48,26 +47,24 @@ http_interactions: Content-Type: - text/plain; charset=utf-8 Date: - - Thu, 12 Feb 2015 00:53:43 GMT + - Sat, 04 Apr 2015 12:38:01 GMT Content-Length: - '136' body: - encoding: US-ASCII - string: ! 'Cannot start container a5dadd77fd0c3d31b13f2d7bf60e02174a4b83661d6ff1e15c3c7a5080260e9d: - exec: "rm": executable file not found in $PATH - -' + encoding: UTF-8 + string: | + Cannot start container 37ab077c2b6b24a3b862652708ad1dc378e18f374ccf24bd5ce19fd78c087ff1: exec: "rm": executable file not found in $PATH http_version: - recorded_at: Thu, 12 Feb 2015 00:53:43 GMT + recorded_at: Sat, 04 Apr 2015 12:38:01 GMT - request: method: get - uri: /v1.16/containers/a5dadd77fd0c3d31b13f2d7bf60e02174a4b83661d6ff1e15c3c7a5080260e9d/export + uri: "/v1.16/containers/37ab077c2b6b24a3b862652708ad1dc378e18f374ccf24bd5ce19fd78c087ff1/export" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -76,7 +73,7 @@ http_interactions: message: headers: Date: - - Thu, 12 Feb 2015 00:53:43 GMT + - Sat, 04 Apr 2015 12:38:01 GMT Content-Type: - application/octet-stream body: @@ -85,7 +82,7 @@ http_interactions: LmRvY2tlcmVudgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAADAxMDA3NTUAMDAwMDAwMAAwMDAwMDAwADAwMDAwMDAwMDAw - ADEyNDY2Nzc0NjI2ADAxMTI0MwAgMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA + ADEyNTA3NzU1NDUwADAxMTIzMQAgMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAB1c3RhcgAwMAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA @@ -96,7 +93,7 @@ http_interactions: AAAAAAAAAAAAAAAAAAAAAAAuZG9ja2VyaW5pdAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMDEwMDc1NQAwMDAwMDAwADAw - MDAwMDAAMDAwMDAwMDAwMDAAMTI0NjY3NzQ2MjYAMDExNDE2ACAwAAAAAAAA + MDAwMDAAMDAwMDAwMDAwMDAAMTI1MDc3NTU0NTAAMDExNDA0ACAwAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAHVzdGFyADAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA @@ -107,8 +104,8 @@ http_interactions: AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGRldi8AAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAw - MDQwNzU1ADAwMDAwMDAAMDAwMDAwMAAwMDAwMDAwMDAwMAAxMjQ2Njc3NDYy - NgAwMTAwNTIAIDUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA + MDQwNzU1ADAwMDAwMDAAMDAwMDAwMAAwMDAwMDAwMDAwMAAxMjUwNzc1NTQ1 + MAAwMTAwNDAAIDUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAdXN0YXIAMDAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA @@ -119,7 +116,7 @@ http_interactions: AAAAAAAAZGV2L2NvbnNvbGUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAADAxMDA3NTUAMDAwMDAwMAAwMDAwMDAwADAwMDAw - MDAwMDAwADEyNDY2Nzc0NjI2ADAxMTQyNQAgMAAAAAAAAAAAAAAAAAAAAAAA + MDAwMDAwADEyNTA3NzU1NDUwADAxMTQxMwAgMAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAB1c3RhcgAw MAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA @@ -130,7 +127,7 @@ http_interactions: AAAAAAAAAAAAAAAAAAAAAAAAAAAAAABkZXYvcHRzLwAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMDA0MDc1NQAwMDAw - MDAwADAwMDAwMDAAMDAwMDAwMDAwMDAAMTI0NjY3NzQ2MjYAMDEwNjYwACA1 + MDAwADAwMDAwMDAAMDAwMDAwMDAwMDAAMTI1MDc3NTU0NTAAMDEwNjQ2ACA1 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAHVzdGFyADAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA @@ -141,8 +138,8 @@ http_interactions: AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGRldi9z aG0vAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA - AAAAAAAwMDQwNzU1ADAwMDAwMDAAMDAwMDAwMAAwMDAwMDAwMDAwMAAxMjQ2 - Njc3NDYyNgAwMTA2NDEAIDUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA + AAAAAAAwMDQwNzU1ADAwMDAwMDAAMDAwMDAwMAAwMDAwMDAwMDAwMAAxMjUw + Nzc1NTQ1MAAwMTA2MjcAIDUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAdXN0YXIAMDAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA @@ -153,7 +150,7 @@ http_interactions: AAAAAAAAAAAAAAAAZXRjLwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAADAwNDA3NTUAMDAwMDAwMAAwMDAwMDAw - ADAwMDAwMDAwMDAwADEyNDY2Nzc0NjI2ADAxMDA0NwAgNQAAAAAAAAAAAAAA + ADAwMDAwMDAwMDAwADEyNTA3NzU1NDUwADAxMDAzNQAgNQAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAB1 c3RhcgAwMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA @@ -164,8 +161,8 @@ http_interactions: AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABldGMvaG9zdG5hbWUAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMDEwMDc1 - NQAwMDAwMDAwADAwMDAwMDAAMDAwMDAwMDAwMDAAMTI0NjY3NzQ2MjYAMDEx - NTc2ACAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA + NQAwMDAwMDAwADAwMDAwMDAAMDAwMDAwMDAwMDAAMTI1MDc3NTU0NTAAMDEx + NTY0ACAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAHVzdGFyADAwAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADAw @@ -176,7 +173,7 @@ http_interactions: AGV0Yy9ob3N0cwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAwMTAwNzU1ADAwMDAwMDAAMDAwMDAwMAAwMDAwMDAwMDAw - MAAxMjQ2Njc3NDYyNgAwMTExMjAAIDAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA + MAAxMjUwNzc1NTQ1MAAwMTExMDYAIDAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAdXN0YXIAMDAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA @@ -187,7 +184,7 @@ http_interactions: AAAAAAAAAAAAAAAAAAAAAAAAZXRjL210YWIAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADAxMjA3NzcAMDAwMDAwMAAw - MDAwMDAwADAwMDAwMDAwMDAwADEyNDY2Nzc0NjI2ADAxMzIwMwAgMi9wcm9j + MDAwMDAwADAwMDAwMDAwMDAwADEyNTA3NzU1NDUwADAxMzE3MQAgMi9wcm9j L21vdW50cwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAB1c3RhcgAwMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA @@ -198,8 +195,8 @@ http_interactions: AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABldGMvcmVzb2x2 LmNvbmYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA - MDEwMDc1NQAwMDAwMDAwADAwMDAwMDAAMDAwMDAwMDAwMDAAMTI0NjY3NzQ2 - MjYAMDEyMjE2ACAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA + MDEwMDc1NQAwMDAwMDAwADAwMDAwMDAAMDAwMDAwMDAwMDAAMTI1MDc3NTU0 + NTAAMDEyMjA0ACAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAHVzdGFyADAwAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA @@ -210,7 +207,7 @@ http_interactions: AAAAAAAAAHByb2MvAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAwMDQwNzU1ADAwMDAwMDAAMDAwMDAwMAAwMDAw - MDAwMDAwMAAxMjQ2Njc3NDYyNgAwMTAyMzcAIDUAAAAAAAAAAAAAAAAAAAAA + MDAwMDAwMAAxMjUwNzc1NTQ1MAAwMTAyMjUAIDUAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAdXN0YXIA MDAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA @@ -221,7 +218,7 @@ http_interactions: AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAc3lzLwAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADAwNDA3NTUAMDAw - MDAwMAAwMDAwMDAwADAwMDAwMDAwMDAwADEyNDY2Nzc0NjI2ADAxMDExMgAg + MDAwMAAwMDAwMDAwADAwMDAwMDAwMDAwADEyNTA3NzU1NDUwADAxMDEwMAAg NQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAB1c3RhcgAwMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA @@ -232,8 +229,8 @@ http_interactions: AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAB0cnVl AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA - AAAAAAAAMDEwMDc1NQAwMDAwMDAwADAwMDAwMDAAMDAwMDAwMDAxNzUAMTI0 - NjYyMzM1MTcAMDEwMTY2ACAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA + AAAAAAAAMDEwMDc1NQAwMDAwMDAwADAwMDAwMDAAMDAwMDAwMDAxNzUAMTI1 + MDYwMTI0NDQAMDEwMTUzACAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHVzdGFyADAwAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA @@ -277,16 +274,16 @@ http_interactions: AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAA== http_version: - recorded_at: Thu, 12 Feb 2015 00:53:43 GMT + recorded_at: Sat, 04 Apr 2015 12:38:01 GMT - request: method: post - uri: /v1.16/containers/a5dadd77fd0c3d31b13f2d7bf60e02174a4b83661d6ff1e15c3c7a5080260e9d/wait + uri: "/v1.16/containers/37ab077c2b6b24a3b862652708ad1dc378e18f374ccf24bd5ce19fd78c087ff1/wait" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -297,25 +294,24 @@ http_interactions: Content-Type: - application/json Date: - - Thu, 12 Feb 2015 00:53:43 GMT + - Sat, 04 Apr 2015 12:38:01 GMT Content-Length: - '18' body: - encoding: US-ASCII - string: ! '{"StatusCode":-1} - -' + encoding: UTF-8 + string: | + {"StatusCode":-1} http_version: - recorded_at: Thu, 12 Feb 2015 00:53:43 GMT + recorded_at: Sat, 04 Apr 2015 12:38:01 GMT - request: method: delete - uri: /v1.16/containers/a5dadd77fd0c3d31b13f2d7bf60e02174a4b83661d6ff1e15c3c7a5080260e9d + uri: "/v1.16/containers/37ab077c2b6b24a3b862652708ad1dc378e18f374ccf24bd5ce19fd78c087ff1" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -324,10 +320,10 @@ http_interactions: message: headers: Date: - - Thu, 12 Feb 2015 00:53:44 GMT + - Sat, 04 Apr 2015 12:38:01 GMT body: - encoding: US-ASCII + encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 12 Feb 2015 00:53:44 GMT -recorded_with: VCR 2.9.2 + recorded_at: Sat, 04 Apr 2015 12:38:01 GMT +recorded_with: VCR 2.9.3 diff --git a/spec/vcr/Docker_Container/_get/when_the_HTTP_response_is_a_200/materializes_the_Container_into_a_Docker_Container.yml b/spec/vcr/Docker_Container/_get/when_the_HTTP_response_is_a_200/materializes_the_Container_into_a_Docker_Container.yml index 174bf52a0..1f89a111e 100644 --- a/spec/vcr/Docker_Container/_get/when_the_HTTP_response_is_a_200/materializes_the_Container_into_a_Docker_Container.yml +++ b/spec/vcr/Docker_Container/_get/when_the_HTTP_response_is_a_200/materializes_the_Container_into_a_Docker_Container.yml @@ -2,13 +2,13 @@ http_interactions: - request: method: post - uri: /v1.16/containers/create + uri: "/v1.16/containers/create" body: encoding: UTF-8 - string: ! '{"Cmd":["ls"],"Image":"debian:wheezy"}' + string: '{"Cmd":["ls"],"Image":"debian:wheezy"}' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - application/json response: @@ -19,25 +19,24 @@ http_interactions: Content-Type: - application/json Date: - - Thu, 12 Feb 2015 00:54:30 GMT + - Sat, 04 Apr 2015 12:38:34 GMT Content-Length: - '90' body: - encoding: US-ASCII - string: ! '{"Id":"f0a23d5b530dabb3b45577af6e01b8765793366a899c3ba9ab5f56ce7d2cdf7a","Warnings":null} - -' + encoding: UTF-8 + string: | + {"Id":"f41e5a659f41b51310aff7196f39d24344a8d1c432b4aa1fd7d17b7537e21268","Warnings":null} http_version: - recorded_at: Thu, 12 Feb 2015 00:54:30 GMT + recorded_at: Sat, 04 Apr 2015 12:38:34 GMT - request: method: get - uri: /v1.16/containers/f0a23d5b530dabb3b45577af6e01b8765793366a899c3ba9ab5f56ce7d2cdf7a/json + uri: "/v1.16/containers/f41e5a659f41b51310aff7196f39d24344a8d1c432b4aa1fd7d17b7537e21268/json" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -48,25 +47,24 @@ http_interactions: Content-Type: - application/json Date: - - Thu, 12 Feb 2015 00:54:30 GMT + - Sat, 04 Apr 2015 12:38:34 GMT Content-Length: - - '1559' + - '1736' body: - encoding: US-ASCII - string: ! '{"AppArmorProfile":"","Args":[],"Config":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":["ls"],"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":null,"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"ExposedPorts":null,"Hostname":"f0a23d5b530d","Image":"debian:wheezy","MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":null,"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Created":"2015-02-12T00:54:29.834360398Z","Driver":"devicemapper","ExecDriver":"native-0.2","HostConfig":{"Binds":null,"CapAdd":null,"CapDrop":null,"ContainerIDFile":"","Devices":null,"Dns":null,"DnsSearch":null,"ExtraHosts":null,"IpcMode":"","Links":null,"LxcConf":null,"NetworkMode":"","PortBindings":null,"Privileged":false,"PublishAllPorts":false,"RestartPolicy":{"MaximumRetryCount":0,"Name":""},"SecurityOpt":null,"VolumesFrom":null},"HostnamePath":"","HostsPath":"","Id":"f0a23d5b530dabb3b45577af6e01b8765793366a899c3ba9ab5f56ce7d2cdf7a","Image":"c90d655b99b2ec5b7e94d38c87f92dce015c17a313caeaae0e980d9b9bed8444","MountLabel":"","Name":"/adoring_thompson","NetworkSettings":{"Bridge":"","Gateway":"","IPAddress":"","IPPrefixLen":0,"MacAddress":"","PortMapping":null,"Ports":null},"Path":"ls","ProcessLabel":"","ResolvConfPath":"","State":{"Error":"","ExitCode":0,"FinishedAt":"0001-01-01T00:00:00Z","OOMKilled":false,"Paused":false,"Pid":0,"Restarting":false,"Running":false,"StartedAt":"0001-01-01T00:00:00Z"},"Volumes":{},"VolumesRW":{}} - -' + encoding: UTF-8 + string: | + {"AppArmorProfile":"","Args":[],"Config":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":["ls"],"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":null,"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"ExposedPorts":null,"Hostname":"f41e5a659f41","Image":"debian:wheezy","MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":null,"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Created":"2015-04-04T12:38:34.321969697Z","Driver":"aufs","ExecDriver":"native-0.2","ExecIDs":null,"HostConfig":{"Binds":null,"CapAdd":null,"CapDrop":null,"ContainerIDFile":"","Devices":null,"Dns":null,"DnsSearch":null,"ExtraHosts":null,"IpcMode":"","Links":null,"LxcConf":null,"NetworkMode":"","PidMode":"","PortBindings":null,"Privileged":false,"PublishAllPorts":false,"ReadonlyRootfs":false,"RestartPolicy":{"MaximumRetryCount":0,"Name":""},"SecurityOpt":null,"VolumesFrom":null},"HostnamePath":"","HostsPath":"","Id":"f41e5a659f41b51310aff7196f39d24344a8d1c432b4aa1fd7d17b7537e21268","Image":"1265e16d0c286a4252c1dc5e775ba476d9560e2dd96d2032605ee75b30912f6b","MountLabel":"","Name":"/romantic_babbage","NetworkSettings":{"Bridge":"","Gateway":"","GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"IPAddress":"","IPPrefixLen":0,"IPv6Gateway":"","LinkLocalIPv6Address":"","LinkLocalIPv6PrefixLen":0,"MacAddress":"","PortMapping":null,"Ports":null},"Path":"ls","ProcessLabel":"","ResolvConfPath":"","RestartCount":0,"State":{"Error":"","ExitCode":0,"FinishedAt":"0001-01-01T00:00:00Z","OOMKilled":false,"Paused":false,"Pid":0,"Restarting":false,"Running":false,"StartedAt":"0001-01-01T00:00:00Z"},"Volumes":{},"VolumesRW":{}} http_version: - recorded_at: Thu, 12 Feb 2015 00:54:30 GMT + recorded_at: Sat, 04 Apr 2015 12:38:34 GMT - request: method: delete - uri: /v1.16/containers/f0a23d5b530dabb3b45577af6e01b8765793366a899c3ba9ab5f56ce7d2cdf7a + uri: "/v1.16/containers/f41e5a659f41b51310aff7196f39d24344a8d1c432b4aa1fd7d17b7537e21268" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -75,10 +73,10 @@ http_interactions: message: headers: Date: - - Thu, 12 Feb 2015 00:54:31 GMT + - Sat, 04 Apr 2015 12:38:34 GMT body: - encoding: US-ASCII + encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 12 Feb 2015 00:54:31 GMT -recorded_with: VCR 2.9.2 + recorded_at: Sat, 04 Apr 2015 12:38:34 GMT +recorded_with: VCR 2.9.3 diff --git a/spec/vcr/Docker_Container/_json/returns_the_description_as_a_Hash.yml b/spec/vcr/Docker_Container/_json/returns_the_description_as_a_Hash.yml index c02a928e9..b08cecf33 100644 --- a/spec/vcr/Docker_Container/_json/returns_the_description_as_a_Hash.yml +++ b/spec/vcr/Docker_Container/_json/returns_the_description_as_a_Hash.yml @@ -2,13 +2,13 @@ http_interactions: - request: method: post - uri: /v1.16/containers/create + uri: "/v1.16/containers/create" body: encoding: UTF-8 - string: ! '{"Cmd":["true"],"Image":"debian:wheezy"}' + string: '{"Cmd":["true"],"Image":"debian:wheezy"}' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - application/json response: @@ -19,25 +19,24 @@ http_interactions: Content-Type: - application/json Date: - - Thu, 12 Feb 2015 00:53:23 GMT + - Sat, 04 Apr 2015 12:37:50 GMT Content-Length: - '90' body: - encoding: US-ASCII - string: ! '{"Id":"0331d7c8f9e7f04b543cd66eff3345c971ec046a9572a360d1677886f1d39df0","Warnings":null} - -' + encoding: UTF-8 + string: | + {"Id":"01e88a1417e6732a7f7efbfa3d361c1bf453cb26c12a81d417d42a38835163f1","Warnings":null} http_version: - recorded_at: Thu, 12 Feb 2015 00:53:23 GMT + recorded_at: Sat, 04 Apr 2015 12:37:50 GMT - request: method: get - uri: /v1.16/containers/0331d7c8f9e7f04b543cd66eff3345c971ec046a9572a360d1677886f1d39df0/json + uri: "/v1.16/containers/01e88a1417e6732a7f7efbfa3d361c1bf453cb26c12a81d417d42a38835163f1/json" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -48,25 +47,24 @@ http_interactions: Content-Type: - application/json Date: - - Thu, 12 Feb 2015 00:53:23 GMT + - Sat, 04 Apr 2015 12:37:50 GMT Content-Length: - - '1559' + - '1744' body: - encoding: US-ASCII - string: ! '{"AppArmorProfile":"","Args":[],"Config":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":["true"],"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":null,"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"ExposedPorts":null,"Hostname":"0331d7c8f9e7","Image":"debian:wheezy","MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":null,"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Created":"2015-02-12T00:53:23.350436105Z","Driver":"devicemapper","ExecDriver":"native-0.2","HostConfig":{"Binds":null,"CapAdd":null,"CapDrop":null,"ContainerIDFile":"","Devices":null,"Dns":null,"DnsSearch":null,"ExtraHosts":null,"IpcMode":"","Links":null,"LxcConf":null,"NetworkMode":"","PortBindings":null,"Privileged":false,"PublishAllPorts":false,"RestartPolicy":{"MaximumRetryCount":0,"Name":""},"SecurityOpt":null,"VolumesFrom":null},"HostnamePath":"","HostsPath":"","Id":"0331d7c8f9e7f04b543cd66eff3345c971ec046a9572a360d1677886f1d39df0","Image":"c90d655b99b2ec5b7e94d38c87f92dce015c17a313caeaae0e980d9b9bed8444","MountLabel":"","Name":"/jovial_fermi","NetworkSettings":{"Bridge":"","Gateway":"","IPAddress":"","IPPrefixLen":0,"MacAddress":"","PortMapping":null,"Ports":null},"Path":"true","ProcessLabel":"","ResolvConfPath":"","State":{"Error":"","ExitCode":0,"FinishedAt":"0001-01-01T00:00:00Z","OOMKilled":false,"Paused":false,"Pid":0,"Restarting":false,"Running":false,"StartedAt":"0001-01-01T00:00:00Z"},"Volumes":{},"VolumesRW":{}} - -' + encoding: UTF-8 + string: | + {"AppArmorProfile":"","Args":[],"Config":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":["true"],"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":null,"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"ExposedPorts":null,"Hostname":"01e88a1417e6","Image":"debian:wheezy","MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":null,"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Created":"2015-04-04T12:37:50.211551333Z","Driver":"aufs","ExecDriver":"native-0.2","ExecIDs":null,"HostConfig":{"Binds":null,"CapAdd":null,"CapDrop":null,"ContainerIDFile":"","Devices":null,"Dns":null,"DnsSearch":null,"ExtraHosts":null,"IpcMode":"","Links":null,"LxcConf":null,"NetworkMode":"","PidMode":"","PortBindings":null,"Privileged":false,"PublishAllPorts":false,"ReadonlyRootfs":false,"RestartPolicy":{"MaximumRetryCount":0,"Name":""},"SecurityOpt":null,"VolumesFrom":null},"HostnamePath":"","HostsPath":"","Id":"01e88a1417e6732a7f7efbfa3d361c1bf453cb26c12a81d417d42a38835163f1","Image":"1265e16d0c286a4252c1dc5e775ba476d9560e2dd96d2032605ee75b30912f6b","MountLabel":"","Name":"/agitated_ardinghelli","NetworkSettings":{"Bridge":"","Gateway":"","GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"IPAddress":"","IPPrefixLen":0,"IPv6Gateway":"","LinkLocalIPv6Address":"","LinkLocalIPv6PrefixLen":0,"MacAddress":"","PortMapping":null,"Ports":null},"Path":"true","ProcessLabel":"","ResolvConfPath":"","RestartCount":0,"State":{"Error":"","ExitCode":0,"FinishedAt":"0001-01-01T00:00:00Z","OOMKilled":false,"Paused":false,"Pid":0,"Restarting":false,"Running":false,"StartedAt":"0001-01-01T00:00:00Z"},"Volumes":{},"VolumesRW":{}} http_version: - recorded_at: Thu, 12 Feb 2015 00:53:23 GMT + recorded_at: Sat, 04 Apr 2015 12:37:50 GMT - request: method: delete - uri: /v1.16/containers/0331d7c8f9e7f04b543cd66eff3345c971ec046a9572a360d1677886f1d39df0 + uri: "/v1.16/containers/01e88a1417e6732a7f7efbfa3d361c1bf453cb26c12a81d417d42a38835163f1" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -75,10 +73,10 @@ http_interactions: message: headers: Date: - - Thu, 12 Feb 2015 00:53:24 GMT + - Sat, 04 Apr 2015 12:37:50 GMT body: - encoding: US-ASCII + encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 12 Feb 2015 00:53:24 GMT -recorded_with: VCR 2.9.2 + recorded_at: Sat, 04 Apr 2015 12:37:50 GMT +recorded_with: VCR 2.9.3 diff --git a/spec/vcr/Docker_Container/_kill/kills_the_container.yml b/spec/vcr/Docker_Container/_kill/kills_the_container.yml index 7df7310c2..201d70708 100644 --- a/spec/vcr/Docker_Container/_kill/kills_the_container.yml +++ b/spec/vcr/Docker_Container/_kill/kills_the_container.yml @@ -2,13 +2,13 @@ http_interactions: - request: method: post - uri: /v1.16/containers/create + uri: "/v1.16/containers/create" body: encoding: UTF-8 - string: ! '{"Cmd":["/bin/bash","-c","while [ 1 ]; do echo hello; done"],"Image":"debian:wheezy"}' + string: '{"Cmd":["/bin/bash","-c","while [ 1 ]; do echo hello; done"],"Image":"debian:wheezy"}' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - application/json response: @@ -19,25 +19,24 @@ http_interactions: Content-Type: - application/json Date: - - Thu, 12 Feb 2015 00:54:05 GMT + - Sat, 04 Apr 2015 12:38:18 GMT Content-Length: - '90' body: - encoding: US-ASCII - string: ! '{"Id":"41e184c570d0064e399a6da040a32c83ac80d8e7aa69d4d854386ed44c7f1af2","Warnings":null} - -' + encoding: UTF-8 + string: | + {"Id":"6e5a9eb9744cf6be13197568c8177ac61fa75c2232fc42693192cabd95a5aedd","Warnings":null} http_version: - recorded_at: Thu, 12 Feb 2015 00:54:05 GMT + recorded_at: Sat, 04 Apr 2015 12:38:18 GMT - request: method: post - uri: /v1.16/containers/41e184c570d0064e399a6da040a32c83ac80d8e7aa69d4d854386ed44c7f1af2/start + uri: "/v1.16/containers/6e5a9eb9744cf6be13197568c8177ac61fa75c2232fc42693192cabd95a5aedd/start" body: encoding: UTF-8 - string: ! '{}' + string: "{}" headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - application/json response: @@ -46,21 +45,21 @@ http_interactions: message: headers: Date: - - Thu, 12 Feb 2015 00:54:05 GMT + - Sat, 04 Apr 2015 12:38:18 GMT body: - encoding: US-ASCII + encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 12 Feb 2015 00:54:05 GMT + recorded_at: Sat, 04 Apr 2015 12:38:18 GMT - request: method: post - uri: /v1.16/containers/41e184c570d0064e399a6da040a32c83ac80d8e7aa69d4d854386ed44c7f1af2/kill + uri: "/v1.16/containers/6e5a9eb9744cf6be13197568c8177ac61fa75c2232fc42693192cabd95a5aedd/kill" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -69,21 +68,21 @@ http_interactions: message: headers: Date: - - Thu, 12 Feb 2015 00:54:05 GMT + - Sat, 04 Apr 2015 12:38:18 GMT body: - encoding: US-ASCII + encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 12 Feb 2015 00:54:05 GMT + recorded_at: Sat, 04 Apr 2015 12:38:19 GMT - request: method: get - uri: /v1.16/containers/json + uri: "/v1.16/containers/json" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -94,26 +93,25 @@ http_interactions: Content-Type: - application/json Date: - - Thu, 12 Feb 2015 00:54:05 GMT + - Sat, 04 Apr 2015 12:38:18 GMT Content-Length: - - '275' + - '208' body: - encoding: US-ASCII - string: ! '[{"Command":"docker-registry","Created":1423702401,"Id":"7495fa1e6c231934f42eb34525f24a052af2a7a43ae9c85051636428a62a40ba","Image":"registry:latest","Names":["/registry"],"Ports":[{"IP":"0.0.0.0","PrivatePort":5000,"PublicPort":5000,"Type":"tcp"}],"Status":"Up - 43 seconds"} - - ]' + encoding: UTF-8 + string: |- + [{"Command":"sleep 300","Created":1428150873,"Id":"dcb77ec84ac63a46773b12fc915f991b8098197b20aed74d4af63194fae39620","Image":"debian:wheezy","Names":["/berserk_lovelace"],"Ports":[],"Status":"Up 3 minutes"} + ] http_version: - recorded_at: Thu, 12 Feb 2015 00:54:05 GMT + recorded_at: Sat, 04 Apr 2015 12:38:19 GMT - request: method: get - uri: /v1.16/containers/json?all=true + uri: "/v1.16/containers/json?all=true" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -124,29 +122,29 @@ http_interactions: Content-Type: - application/json Date: - - Thu, 12 Feb 2015 00:54:05 GMT + - Sat, 04 Apr 2015 12:38:18 GMT Content-Length: - - '541' + - '1112' body: - encoding: US-ASCII - string: ! '[{"Command":"/bin/bash -c ''while [ 1 ]; do echo hello; done''","Created":1423702444,"Id":"41e184c570d0064e399a6da040a32c83ac80d8e7aa69d4d854386ed44c7f1af2","Image":"debian:wheezy","Names":["/naughty_hawking"],"Ports":[],"Status":"Exited - (-1) Less than a second ago"} - - ,{"Command":"docker-registry","Created":1423702401,"Id":"7495fa1e6c231934f42eb34525f24a052af2a7a43ae9c85051636428a62a40ba","Image":"registry:latest","Names":["/registry"],"Ports":[{"IP":"0.0.0.0","PrivatePort":5000,"PublicPort":5000,"Type":"tcp"}],"Status":"Up - 43 seconds"} - - ]' + encoding: UTF-8 + string: |- + [{"Command":"/bin/bash -c 'while [ 1 ]; do echo hello; done'","Created":1428151098,"Id":"6e5a9eb9744cf6be13197568c8177ac61fa75c2232fc42693192cabd95a5aedd","Image":"debian:wheezy","Names":["/naughty_sinoussi"],"Ports":[],"Status":"Exited (137) Less than a second ago"} + ,{"Command":"sleep 300","Created":1428150873,"Id":"dcb77ec84ac63a46773b12fc915f991b8098197b20aed74d4af63194fae39620","Image":"debian:wheezy","Names":["/berserk_lovelace"],"Ports":[],"Status":"Up 3 minutes"} + ,{"Command":"docker-registry","Created":1428150824,"Id":"02d89987fd1eeb5d632b548e58a29fb7c566b62d91a1e572365d7acfd5b1dcaa","Image":"registry:latest","Names":["/registry"],"Ports":[],"Status":"Exited (137) 3 minutes ago"} + ,{"Command":"sleep 5","Created":1428149940,"Id":"096cd688e7789a795d4c7fe13e160e02404f5cb130c3aafb3af35882c94a8ea3","Image":"debian:wheezy","Names":["/sad_babbage"],"Ports":[],"Status":"Exited (0) 19 minutes ago"} + ,{"Command":"true","Created":1428149902,"Id":"67f86b307bcd1d238adb201633253b4de5ccea3aa1f61aa94a3315f6e1a7fc44","Image":"debian:wheezy","Names":["/bar"],"Ports":[],"Status":"Exited (0) 19 minutes ago"} + ] http_version: - recorded_at: Thu, 12 Feb 2015 00:54:05 GMT + recorded_at: Sat, 04 Apr 2015 12:38:19 GMT - request: method: delete - uri: /v1.16/containers/41e184c570d0064e399a6da040a32c83ac80d8e7aa69d4d854386ed44c7f1af2 + uri: "/v1.16/containers/6e5a9eb9744cf6be13197568c8177ac61fa75c2232fc42693192cabd95a5aedd" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -155,10 +153,10 @@ http_interactions: message: headers: Date: - - Thu, 12 Feb 2015 00:54:06 GMT + - Sat, 04 Apr 2015 12:38:19 GMT body: - encoding: US-ASCII + encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 12 Feb 2015 00:54:06 GMT -recorded_with: VCR 2.9.2 + recorded_at: Sat, 04 Apr 2015 12:38:19 GMT +recorded_with: VCR 2.9.3 diff --git a/spec/vcr/Docker_Container/_kill/with_a_kill_signal/kills_the_container.yml b/spec/vcr/Docker_Container/_kill/with_a_kill_signal/kills_the_container.yml index 4ae0b459a..a9ae09cd8 100644 --- a/spec/vcr/Docker_Container/_kill/with_a_kill_signal/kills_the_container.yml +++ b/spec/vcr/Docker_Container/_kill/with_a_kill_signal/kills_the_container.yml @@ -2,14 +2,14 @@ http_interactions: - request: method: post - uri: /v1.16/containers/create + uri: "/v1.16/containers/create" body: encoding: UTF-8 - string: ! '{"Cmd":["/bin/bash","-c","trap echo SIGTERM; while [ 1 ]; do echo - hello; done"],"Image":"debian:wheezy"}' + string: '{"Cmd":["/bin/bash","-c","trap echo SIGTERM; while [ 1 ]; do echo hello; + done"],"Image":"debian:wheezy"}' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - application/json response: @@ -20,25 +20,24 @@ http_interactions: Content-Type: - application/json Date: - - Thu, 12 Feb 2015 00:54:06 GMT + - Sat, 04 Apr 2015 12:38:19 GMT Content-Length: - '90' body: - encoding: US-ASCII - string: ! '{"Id":"8a5545b47ac45c07736c2a843ed0bad1815e45afa19111f70926ed5f8aa1b972","Warnings":null} - -' + encoding: UTF-8 + string: | + {"Id":"be09b49d55191247ddca66e421f64a4b9481b9eeb5d079842a9ee6027d94f418","Warnings":null} http_version: - recorded_at: Thu, 12 Feb 2015 00:54:06 GMT + recorded_at: Sat, 04 Apr 2015 12:38:19 GMT - request: method: post - uri: /v1.16/containers/8a5545b47ac45c07736c2a843ed0bad1815e45afa19111f70926ed5f8aa1b972/start + uri: "/v1.16/containers/be09b49d55191247ddca66e421f64a4b9481b9eeb5d079842a9ee6027d94f418/start" body: encoding: UTF-8 - string: ! '{}' + string: "{}" headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - application/json response: @@ -47,21 +46,21 @@ http_interactions: message: headers: Date: - - Thu, 12 Feb 2015 00:54:06 GMT + - Sat, 04 Apr 2015 12:38:19 GMT body: - encoding: US-ASCII + encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 12 Feb 2015 00:54:06 GMT + recorded_at: Sat, 04 Apr 2015 12:38:19 GMT - request: method: post - uri: /v1.16/containers/8a5545b47ac45c07736c2a843ed0bad1815e45afa19111f70926ed5f8aa1b972/kill?signal=SIGTERM + uri: "/v1.16/containers/be09b49d55191247ddca66e421f64a4b9481b9eeb5d079842a9ee6027d94f418/kill?signal=SIGTERM" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -70,21 +69,21 @@ http_interactions: message: headers: Date: - - Thu, 12 Feb 2015 00:54:06 GMT + - Sat, 04 Apr 2015 12:38:19 GMT body: - encoding: US-ASCII + encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 12 Feb 2015 00:54:06 GMT + recorded_at: Sat, 04 Apr 2015 12:38:19 GMT - request: method: get - uri: /v1.16/containers/json + uri: "/v1.16/containers/json" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -95,30 +94,26 @@ http_interactions: Content-Type: - application/json Date: - - Thu, 12 Feb 2015 00:54:06 GMT + - Sat, 04 Apr 2015 12:38:19 GMT Content-Length: - - '548' + - '479' body: - encoding: US-ASCII - string: ! '[{"Command":"/bin/bash -c ''trap echo SIGTERM; while [ 1 ]; do echo - hello; done''","Created":1423702446,"Id":"8a5545b47ac45c07736c2a843ed0bad1815e45afa19111f70926ed5f8aa1b972","Image":"debian:wheezy","Names":["/distracted_jones"],"Ports":[],"Status":"Up - Less than a second"} - - ,{"Command":"docker-registry","Created":1423702401,"Id":"7495fa1e6c231934f42eb34525f24a052af2a7a43ae9c85051636428a62a40ba","Image":"registry:latest","Names":["/registry"],"Ports":[{"IP":"0.0.0.0","PrivatePort":5000,"PublicPort":5000,"Type":"tcp"}],"Status":"Up - 44 seconds"} - - ]' + encoding: UTF-8 + string: |- + [{"Command":"/bin/bash -c 'trap echo SIGTERM; while [ 1 ]; do echo hello; done'","Created":1428151099,"Id":"be09b49d55191247ddca66e421f64a4b9481b9eeb5d079842a9ee6027d94f418","Image":"debian:wheezy","Names":["/serene_almeida"],"Ports":[],"Status":"Up Less than a second"} + ,{"Command":"sleep 300","Created":1428150873,"Id":"dcb77ec84ac63a46773b12fc915f991b8098197b20aed74d4af63194fae39620","Image":"debian:wheezy","Names":["/berserk_lovelace"],"Ports":[],"Status":"Up 3 minutes"} + ] http_version: - recorded_at: Thu, 12 Feb 2015 00:54:06 GMT + recorded_at: Sat, 04 Apr 2015 12:38:20 GMT - request: method: get - uri: /v1.16/containers/json?all=true + uri: "/v1.16/containers/json?all=true" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -129,30 +124,29 @@ http_interactions: Content-Type: - application/json Date: - - Thu, 12 Feb 2015 00:54:06 GMT + - Sat, 04 Apr 2015 12:38:20 GMT Content-Length: - - '548' + - '1115' body: - encoding: US-ASCII - string: ! '[{"Command":"/bin/bash -c ''trap echo SIGTERM; while [ 1 ]; do echo - hello; done''","Created":1423702446,"Id":"8a5545b47ac45c07736c2a843ed0bad1815e45afa19111f70926ed5f8aa1b972","Image":"debian:wheezy","Names":["/distracted_jones"],"Ports":[],"Status":"Up - Less than a second"} - - ,{"Command":"docker-registry","Created":1423702401,"Id":"7495fa1e6c231934f42eb34525f24a052af2a7a43ae9c85051636428a62a40ba","Image":"registry:latest","Names":["/registry"],"Ports":[{"IP":"0.0.0.0","PrivatePort":5000,"PublicPort":5000,"Type":"tcp"}],"Status":"Up - 44 seconds"} - - ]' + encoding: UTF-8 + string: |- + [{"Command":"/bin/bash -c 'trap echo SIGTERM; while [ 1 ]; do echo hello; done'","Created":1428151099,"Id":"be09b49d55191247ddca66e421f64a4b9481b9eeb5d079842a9ee6027d94f418","Image":"debian:wheezy","Names":["/serene_almeida"],"Ports":[],"Status":"Up Less than a second"} + ,{"Command":"sleep 300","Created":1428150873,"Id":"dcb77ec84ac63a46773b12fc915f991b8098197b20aed74d4af63194fae39620","Image":"debian:wheezy","Names":["/berserk_lovelace"],"Ports":[],"Status":"Up 3 minutes"} + ,{"Command":"docker-registry","Created":1428150824,"Id":"02d89987fd1eeb5d632b548e58a29fb7c566b62d91a1e572365d7acfd5b1dcaa","Image":"registry:latest","Names":["/registry"],"Ports":[],"Status":"Exited (137) 3 minutes ago"} + ,{"Command":"sleep 5","Created":1428149940,"Id":"096cd688e7789a795d4c7fe13e160e02404f5cb130c3aafb3af35882c94a8ea3","Image":"debian:wheezy","Names":["/sad_babbage"],"Ports":[],"Status":"Exited (0) 19 minutes ago"} + ,{"Command":"true","Created":1428149902,"Id":"67f86b307bcd1d238adb201633253b4de5ccea3aa1f61aa94a3315f6e1a7fc44","Image":"debian:wheezy","Names":["/bar"],"Ports":[],"Status":"Exited (0) 19 minutes ago"} + ] http_version: - recorded_at: Thu, 12 Feb 2015 00:54:06 GMT + recorded_at: Sat, 04 Apr 2015 12:38:20 GMT - request: method: post - uri: /v1.16/containers/8a5545b47ac45c07736c2a843ed0bad1815e45afa19111f70926ed5f8aa1b972/kill?signal=SIGKILL + uri: "/v1.16/containers/be09b49d55191247ddca66e421f64a4b9481b9eeb5d079842a9ee6027d94f418/kill?signal=SIGKILL" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -161,21 +155,21 @@ http_interactions: message: headers: Date: - - Thu, 12 Feb 2015 00:54:06 GMT + - Sat, 04 Apr 2015 12:38:20 GMT body: - encoding: US-ASCII + encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 12 Feb 2015 00:54:06 GMT + recorded_at: Sat, 04 Apr 2015 12:38:20 GMT - request: method: get - uri: /v1.16/containers/json + uri: "/v1.16/containers/json" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -186,26 +180,25 @@ http_interactions: Content-Type: - application/json Date: - - Thu, 12 Feb 2015 00:54:06 GMT + - Sat, 04 Apr 2015 12:38:20 GMT Content-Length: - - '275' + - '208' body: - encoding: US-ASCII - string: ! '[{"Command":"docker-registry","Created":1423702401,"Id":"7495fa1e6c231934f42eb34525f24a052af2a7a43ae9c85051636428a62a40ba","Image":"registry:latest","Names":["/registry"],"Ports":[{"IP":"0.0.0.0","PrivatePort":5000,"PublicPort":5000,"Type":"tcp"}],"Status":"Up - 44 seconds"} - - ]' + encoding: UTF-8 + string: |- + [{"Command":"sleep 300","Created":1428150873,"Id":"dcb77ec84ac63a46773b12fc915f991b8098197b20aed74d4af63194fae39620","Image":"debian:wheezy","Names":["/berserk_lovelace"],"Ports":[],"Status":"Up 3 minutes"} + ] http_version: - recorded_at: Thu, 12 Feb 2015 00:54:06 GMT + recorded_at: Sat, 04 Apr 2015 12:38:20 GMT - request: method: get - uri: /v1.16/containers/json?all=true + uri: "/v1.16/containers/json?all=true" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -216,30 +209,29 @@ http_interactions: Content-Type: - application/json Date: - - Thu, 12 Feb 2015 00:54:06 GMT + - Sat, 04 Apr 2015 12:38:20 GMT Content-Length: - - '561' + - '1129' body: - encoding: US-ASCII - string: ! '[{"Command":"/bin/bash -c ''trap echo SIGTERM; while [ 1 ]; do echo - hello; done''","Created":1423702446,"Id":"8a5545b47ac45c07736c2a843ed0bad1815e45afa19111f70926ed5f8aa1b972","Image":"debian:wheezy","Names":["/distracted_jones"],"Ports":[],"Status":"Exited - (-1) Less than a second ago"} - - ,{"Command":"docker-registry","Created":1423702401,"Id":"7495fa1e6c231934f42eb34525f24a052af2a7a43ae9c85051636428a62a40ba","Image":"registry:latest","Names":["/registry"],"Ports":[{"IP":"0.0.0.0","PrivatePort":5000,"PublicPort":5000,"Type":"tcp"}],"Status":"Up - 44 seconds"} - - ]' + encoding: UTF-8 + string: |- + [{"Command":"/bin/bash -c 'trap echo SIGTERM; while [ 1 ]; do echo hello; done'","Created":1428151099,"Id":"be09b49d55191247ddca66e421f64a4b9481b9eeb5d079842a9ee6027d94f418","Image":"debian:wheezy","Names":["/serene_almeida"],"Ports":[],"Status":"Exited (137) Less than a second ago"} + ,{"Command":"sleep 300","Created":1428150873,"Id":"dcb77ec84ac63a46773b12fc915f991b8098197b20aed74d4af63194fae39620","Image":"debian:wheezy","Names":["/berserk_lovelace"],"Ports":[],"Status":"Up 3 minutes"} + ,{"Command":"docker-registry","Created":1428150824,"Id":"02d89987fd1eeb5d632b548e58a29fb7c566b62d91a1e572365d7acfd5b1dcaa","Image":"registry:latest","Names":["/registry"],"Ports":[],"Status":"Exited (137) 3 minutes ago"} + ,{"Command":"sleep 5","Created":1428149940,"Id":"096cd688e7789a795d4c7fe13e160e02404f5cb130c3aafb3af35882c94a8ea3","Image":"debian:wheezy","Names":["/sad_babbage"],"Ports":[],"Status":"Exited (0) 19 minutes ago"} + ,{"Command":"true","Created":1428149902,"Id":"67f86b307bcd1d238adb201633253b4de5ccea3aa1f61aa94a3315f6e1a7fc44","Image":"debian:wheezy","Names":["/bar"],"Ports":[],"Status":"Exited (0) 19 minutes ago"} + ] http_version: - recorded_at: Thu, 12 Feb 2015 00:54:06 GMT + recorded_at: Sat, 04 Apr 2015 12:38:20 GMT - request: method: delete - uri: /v1.16/containers/8a5545b47ac45c07736c2a843ed0bad1815e45afa19111f70926ed5f8aa1b972 + uri: "/v1.16/containers/be09b49d55191247ddca66e421f64a4b9481b9eeb5d079842a9ee6027d94f418" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -248,10 +240,10 @@ http_interactions: message: headers: Date: - - Thu, 12 Feb 2015 00:54:07 GMT + - Sat, 04 Apr 2015 12:38:20 GMT body: - encoding: US-ASCII + encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 12 Feb 2015 00:54:07 GMT -recorded_with: VCR 2.9.2 + recorded_at: Sat, 04 Apr 2015 12:38:20 GMT +recorded_with: VCR 2.9.3 diff --git a/spec/vcr/Docker_Container/_logs/when_not_selecting_any_stream/raises_a_client_error.yml b/spec/vcr/Docker_Container/_logs/when_not_selecting_any_stream/raises_a_client_error.yml index 6dda0707d..d300d89d6 100644 --- a/spec/vcr/Docker_Container/_logs/when_not_selecting_any_stream/raises_a_client_error.yml +++ b/spec/vcr/Docker_Container/_logs/when_not_selecting_any_stream/raises_a_client_error.yml @@ -2,13 +2,13 @@ http_interactions: - request: method: post - uri: /v1.16/containers/create + uri: "/v1.16/containers/create" body: encoding: UTF-8 - string: ! '{"Cmd":"echo hello","Image":"debian:wheezy"}' + string: '{"Cmd":"echo hello","Image":"debian:wheezy"}' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - application/json response: @@ -19,25 +19,24 @@ http_interactions: Content-Type: - application/json Date: - - Thu, 12 Feb 2015 00:53:27 GMT + - Sat, 04 Apr 2015 12:37:51 GMT Content-Length: - '90' body: - encoding: US-ASCII - string: ! '{"Id":"a7e2263fd51fbf99dc5dfbc1e10ab8a8f4bdb86c4b73cc04a06b59fa2b3b8d35","Warnings":null} - -' + encoding: UTF-8 + string: | + {"Id":"6d541e61323fc5c9a407ed0d126fdd1d66f88e392eb76c4ec4dc11e2c1aeb09f","Warnings":null} http_version: - recorded_at: Thu, 12 Feb 2015 00:53:27 GMT + recorded_at: Sat, 04 Apr 2015 12:37:51 GMT - request: method: get - uri: /v1.16/containers/a7e2263fd51fbf99dc5dfbc1e10ab8a8f4bdb86c4b73cc04a06b59fa2b3b8d35/logs + uri: "/v1.16/containers/6d541e61323fc5c9a407ed0d126fdd1d66f88e392eb76c4ec4dc11e2c1aeb09f/logs" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -48,25 +47,24 @@ http_interactions: Content-Type: - text/plain; charset=utf-8 Date: - - Thu, 12 Feb 2015 00:53:27 GMT + - Sat, 04 Apr 2015 12:37:51 GMT Content-Length: - '52' body: - encoding: US-ASCII - string: ! 'Bad parameters: you must choose at least one stream - -' + encoding: UTF-8 + string: | + Bad parameters: you must choose at least one stream http_version: - recorded_at: Thu, 12 Feb 2015 00:53:27 GMT + recorded_at: Sat, 04 Apr 2015 12:37:51 GMT - request: method: get - uri: /v1.16/containers/a7e2263fd51fbf99dc5dfbc1e10ab8a8f4bdb86c4b73cc04a06b59fa2b3b8d35/logs + uri: "/v1.16/containers/6d541e61323fc5c9a407ed0d126fdd1d66f88e392eb76c4ec4dc11e2c1aeb09f/logs" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -77,25 +75,24 @@ http_interactions: Content-Type: - text/plain; charset=utf-8 Date: - - Thu, 12 Feb 2015 00:53:27 GMT + - Sat, 04 Apr 2015 12:37:51 GMT Content-Length: - '52' body: - encoding: US-ASCII - string: ! 'Bad parameters: you must choose at least one stream - -' + encoding: UTF-8 + string: | + Bad parameters: you must choose at least one stream http_version: - recorded_at: Thu, 12 Feb 2015 00:53:27 GMT + recorded_at: Sat, 04 Apr 2015 12:37:51 GMT - request: method: get - uri: /v1.16/containers/a7e2263fd51fbf99dc5dfbc1e10ab8a8f4bdb86c4b73cc04a06b59fa2b3b8d35/logs + uri: "/v1.16/containers/6d541e61323fc5c9a407ed0d126fdd1d66f88e392eb76c4ec4dc11e2c1aeb09f/logs" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -106,25 +103,24 @@ http_interactions: Content-Type: - text/plain; charset=utf-8 Date: - - Thu, 12 Feb 2015 00:53:27 GMT + - Sat, 04 Apr 2015 12:37:51 GMT Content-Length: - '52' body: - encoding: US-ASCII - string: ! 'Bad parameters: you must choose at least one stream - -' + encoding: UTF-8 + string: | + Bad parameters: you must choose at least one stream http_version: - recorded_at: Thu, 12 Feb 2015 00:53:27 GMT + recorded_at: Sat, 04 Apr 2015 12:37:51 GMT - request: method: get - uri: /v1.16/containers/a7e2263fd51fbf99dc5dfbc1e10ab8a8f4bdb86c4b73cc04a06b59fa2b3b8d35/logs + uri: "/v1.16/containers/6d541e61323fc5c9a407ed0d126fdd1d66f88e392eb76c4ec4dc11e2c1aeb09f/logs" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -135,25 +131,24 @@ http_interactions: Content-Type: - text/plain; charset=utf-8 Date: - - Thu, 12 Feb 2015 00:53:27 GMT + - Sat, 04 Apr 2015 12:37:51 GMT Content-Length: - '52' body: - encoding: US-ASCII - string: ! 'Bad parameters: you must choose at least one stream - -' + encoding: UTF-8 + string: | + Bad parameters: you must choose at least one stream http_version: - recorded_at: Thu, 12 Feb 2015 00:53:27 GMT + recorded_at: Sat, 04 Apr 2015 12:37:51 GMT - request: method: delete - uri: /v1.16/containers/a7e2263fd51fbf99dc5dfbc1e10ab8a8f4bdb86c4b73cc04a06b59fa2b3b8d35 + uri: "/v1.16/containers/6d541e61323fc5c9a407ed0d126fdd1d66f88e392eb76c4ec4dc11e2c1aeb09f" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -162,10 +157,10 @@ http_interactions: message: headers: Date: - - Thu, 12 Feb 2015 00:53:27 GMT + - Sat, 04 Apr 2015 12:37:51 GMT body: - encoding: US-ASCII + encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 12 Feb 2015 00:53:27 GMT -recorded_with: VCR 2.9.2 + recorded_at: Sat, 04 Apr 2015 12:37:51 GMT +recorded_with: VCR 2.9.3 diff --git a/spec/vcr/Docker_Container/_logs/when_selecting_stdout/returns_blank_logs.yml b/spec/vcr/Docker_Container/_logs/when_selecting_stdout/returns_blank_logs.yml index 060291b8a..0d5575cc3 100644 --- a/spec/vcr/Docker_Container/_logs/when_selecting_stdout/returns_blank_logs.yml +++ b/spec/vcr/Docker_Container/_logs/when_selecting_stdout/returns_blank_logs.yml @@ -2,13 +2,13 @@ http_interactions: - request: method: post - uri: /v1.16/containers/create + uri: "/v1.16/containers/create" body: encoding: UTF-8 - string: ! '{"Cmd":"echo hello","Image":"debian:wheezy"}' + string: '{"Cmd":"echo hello","Image":"debian:wheezy"}' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - application/json response: @@ -19,25 +19,24 @@ http_interactions: Content-Type: - application/json Date: - - Thu, 12 Feb 2015 00:53:28 GMT + - Sat, 04 Apr 2015 12:37:51 GMT Content-Length: - '90' body: - encoding: US-ASCII - string: ! '{"Id":"e5de3845d1406e74ccdb53ec98ddff9b63e112a1456fe1d471d4c0824439b75a","Warnings":null} - -' + encoding: UTF-8 + string: | + {"Id":"ba37447cdff350b43d97b37c08f7c064315a4dac8ff962d128b319a786f294d2","Warnings":null} http_version: - recorded_at: Thu, 12 Feb 2015 00:53:28 GMT + recorded_at: Sat, 04 Apr 2015 12:37:51 GMT - request: method: get - uri: /v1.16/containers/e5de3845d1406e74ccdb53ec98ddff9b63e112a1456fe1d471d4c0824439b75a/logs?stdout=1 + uri: "/v1.16/containers/ba37447cdff350b43d97b37c08f7c064315a4dac8ff962d128b319a786f294d2/logs?stdout=1" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -46,25 +45,25 @@ http_interactions: message: headers: Date: - - Thu, 12 Feb 2015 00:53:28 GMT + - Sat, 04 Apr 2015 12:37:51 GMT Content-Length: - '0' Content-Type: - text/plain; charset=utf-8 body: - encoding: US-ASCII + encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 12 Feb 2015 00:53:28 GMT + recorded_at: Sat, 04 Apr 2015 12:37:51 GMT - request: method: delete - uri: /v1.16/containers/e5de3845d1406e74ccdb53ec98ddff9b63e112a1456fe1d471d4c0824439b75a + uri: "/v1.16/containers/ba37447cdff350b43d97b37c08f7c064315a4dac8ff962d128b319a786f294d2" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -73,10 +72,10 @@ http_interactions: message: headers: Date: - - Thu, 12 Feb 2015 00:53:29 GMT + - Sat, 04 Apr 2015 12:37:51 GMT body: - encoding: US-ASCII + encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 12 Feb 2015 00:53:29 GMT -recorded_with: VCR 2.9.2 + recorded_at: Sat, 04 Apr 2015 12:37:51 GMT +recorded_with: VCR 2.9.3 diff --git a/spec/vcr/Docker_Container/_pause/pauses_the_container.yml b/spec/vcr/Docker_Container/_pause/pauses_the_container.yml index e871e712e..eb9488811 100644 --- a/spec/vcr/Docker_Container/_pause/pauses_the_container.yml +++ b/spec/vcr/Docker_Container/_pause/pauses_the_container.yml @@ -2,13 +2,13 @@ http_interactions: - request: method: post - uri: /v1.16/containers/create + uri: "/v1.16/containers/create" body: encoding: UTF-8 - string: ! '{"Cmd":["sleep","50"],"Image":"debian:wheezy"}' + string: '{"Cmd":["sleep","50"],"Image":"debian:wheezy"}' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - application/json response: @@ -19,25 +19,24 @@ http_interactions: Content-Type: - application/json Date: - - Thu, 12 Feb 2015 00:54:10 GMT + - Sat, 04 Apr 2015 12:38:22 GMT Content-Length: - '90' body: - encoding: US-ASCII - string: ! '{"Id":"b464acf0bf0a2319734feb0863eb168a321766e8bd47ff5cf0a41bfbb38994d0","Warnings":null} - -' + encoding: UTF-8 + string: | + {"Id":"3b2a1dc792cd1d941e2e631908e10ac304f80ab0353784c80c974e2a2c109239","Warnings":null} http_version: - recorded_at: Thu, 12 Feb 2015 00:54:10 GMT + recorded_at: Sat, 04 Apr 2015 12:38:22 GMT - request: method: post - uri: /v1.16/containers/b464acf0bf0a2319734feb0863eb168a321766e8bd47ff5cf0a41bfbb38994d0/start + uri: "/v1.16/containers/3b2a1dc792cd1d941e2e631908e10ac304f80ab0353784c80c974e2a2c109239/start" body: encoding: UTF-8 - string: ! '{}' + string: "{}" headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - application/json response: @@ -46,21 +45,21 @@ http_interactions: message: headers: Date: - - Thu, 12 Feb 2015 00:54:11 GMT + - Sat, 04 Apr 2015 12:38:22 GMT body: - encoding: US-ASCII + encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 12 Feb 2015 00:54:11 GMT + recorded_at: Sat, 04 Apr 2015 12:38:22 GMT - request: method: post - uri: /v1.16/containers/b464acf0bf0a2319734feb0863eb168a321766e8bd47ff5cf0a41bfbb38994d0/pause + uri: "/v1.16/containers/3b2a1dc792cd1d941e2e631908e10ac304f80ab0353784c80c974e2a2c109239/pause" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -69,21 +68,21 @@ http_interactions: message: headers: Date: - - Thu, 12 Feb 2015 00:54:11 GMT + - Sat, 04 Apr 2015 12:38:22 GMT body: - encoding: US-ASCII + encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 12 Feb 2015 00:54:11 GMT + recorded_at: Sat, 04 Apr 2015 12:38:22 GMT - request: method: get - uri: /v1.16/containers/b464acf0bf0a2319734feb0863eb168a321766e8bd47ff5cf0a41bfbb38994d0/json + uri: "/v1.16/containers/3b2a1dc792cd1d941e2e631908e10ac304f80ab0353784c80c974e2a2c109239/json" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -94,25 +93,22 @@ http_interactions: Content-Type: - application/json Date: - - Thu, 12 Feb 2015 00:54:11 GMT - Content-Length: - - '1927' + - Sat, 04 Apr 2015 12:38:22 GMT body: - encoding: US-ASCII - string: ! '{"AppArmorProfile":"","Args":["50"],"Config":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":["sleep","50"],"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":null,"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"ExposedPorts":null,"Hostname":"b464acf0bf0a","Image":"debian:wheezy","MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":null,"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Created":"2015-02-12T00:54:10.6988941Z","Driver":"devicemapper","ExecDriver":"native-0.2","HostConfig":{"Binds":null,"CapAdd":null,"CapDrop":null,"ContainerIDFile":"","Devices":null,"Dns":null,"DnsSearch":null,"ExtraHosts":null,"IpcMode":"","Links":null,"LxcConf":null,"NetworkMode":"","PortBindings":null,"Privileged":false,"PublishAllPorts":false,"RestartPolicy":{"MaximumRetryCount":0,"Name":""},"SecurityOpt":null,"VolumesFrom":null},"HostnamePath":"/var/lib/docker/containers/b464acf0bf0a2319734feb0863eb168a321766e8bd47ff5cf0a41bfbb38994d0/hostname","HostsPath":"/var/lib/docker/containers/b464acf0bf0a2319734feb0863eb168a321766e8bd47ff5cf0a41bfbb38994d0/hosts","Id":"b464acf0bf0a2319734feb0863eb168a321766e8bd47ff5cf0a41bfbb38994d0","Image":"c90d655b99b2ec5b7e94d38c87f92dce015c17a313caeaae0e980d9b9bed8444","MountLabel":"","Name":"/cocky_mccarthy","NetworkSettings":{"Bridge":"docker0","Gateway":"172.17.42.1","IPAddress":"172.17.0.73","IPPrefixLen":16,"MacAddress":"02:42:ac:11:00:49","PortMapping":null,"Ports":{}},"Path":"sleep","ProcessLabel":"","ResolvConfPath":"/var/lib/docker/containers/b464acf0bf0a2319734feb0863eb168a321766e8bd47ff5cf0a41bfbb38994d0/resolv.conf","State":{"Error":"","ExitCode":0,"FinishedAt":"0001-01-01T00:00:00Z","OOMKilled":false,"Paused":true,"Pid":10422,"Restarting":false,"Running":true,"StartedAt":"2015-02-12T00:54:11.046690306Z"},"Volumes":{},"VolumesRW":{}} - -' + encoding: UTF-8 + string: | + {"AppArmorProfile":"","Args":["50"],"Config":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":["sleep","50"],"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":null,"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"ExposedPorts":null,"Hostname":"3b2a1dc792cd","Image":"debian:wheezy","MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":null,"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Created":"2015-04-04T12:38:22.112886053Z","Driver":"aufs","ExecDriver":"native-0.2","ExecIDs":null,"HostConfig":{"Binds":null,"CapAdd":null,"CapDrop":null,"ContainerIDFile":"","Devices":null,"Dns":null,"DnsSearch":null,"ExtraHosts":null,"IpcMode":"","Links":null,"LxcConf":null,"NetworkMode":"","PidMode":"","PortBindings":null,"Privileged":false,"PublishAllPorts":false,"ReadonlyRootfs":false,"RestartPolicy":{"MaximumRetryCount":0,"Name":""},"SecurityOpt":null,"VolumesFrom":null},"HostnamePath":"/mnt/sda1/var/lib/docker/containers/3b2a1dc792cd1d941e2e631908e10ac304f80ab0353784c80c974e2a2c109239/hostname","HostsPath":"/mnt/sda1/var/lib/docker/containers/3b2a1dc792cd1d941e2e631908e10ac304f80ab0353784c80c974e2a2c109239/hosts","Id":"3b2a1dc792cd1d941e2e631908e10ac304f80ab0353784c80c974e2a2c109239","Image":"1265e16d0c286a4252c1dc5e775ba476d9560e2dd96d2032605ee75b30912f6b","MountLabel":"","Name":"/lonely_hypatia","NetworkSettings":{"Bridge":"docker0","Gateway":"172.17.42.1","GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"IPAddress":"172.17.1.215","IPPrefixLen":16,"IPv6Gateway":"","LinkLocalIPv6Address":"fe80::42:acff:fe11:1d7","LinkLocalIPv6PrefixLen":64,"MacAddress":"02:42:ac:11:01:d7","PortMapping":null,"Ports":{}},"Path":"sleep","ProcessLabel":"","ResolvConfPath":"/mnt/sda1/var/lib/docker/containers/3b2a1dc792cd1d941e2e631908e10ac304f80ab0353784c80c974e2a2c109239/resolv.conf","RestartCount":0,"State":{"Error":"","ExitCode":0,"FinishedAt":"0001-01-01T00:00:00Z","OOMKilled":false,"Paused":true,"Pid":18909,"Restarting":false,"Running":true,"StartedAt":"2015-04-04T12:38:22.68558601Z"},"Volumes":{},"VolumesRW":{}} http_version: - recorded_at: Thu, 12 Feb 2015 00:54:11 GMT + recorded_at: Sat, 04 Apr 2015 12:38:22 GMT - request: method: post - uri: /v1.16/containers/b464acf0bf0a2319734feb0863eb168a321766e8bd47ff5cf0a41bfbb38994d0/unpause + uri: "/v1.16/containers/3b2a1dc792cd1d941e2e631908e10ac304f80ab0353784c80c974e2a2c109239/unpause" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -121,21 +117,21 @@ http_interactions: message: headers: Date: - - Thu, 12 Feb 2015 00:54:11 GMT + - Sat, 04 Apr 2015 12:38:22 GMT body: - encoding: US-ASCII + encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 12 Feb 2015 00:54:11 GMT + recorded_at: Sat, 04 Apr 2015 12:38:22 GMT - request: method: post - uri: /v1.16/containers/b464acf0bf0a2319734feb0863eb168a321766e8bd47ff5cf0a41bfbb38994d0/kill + uri: "/v1.16/containers/3b2a1dc792cd1d941e2e631908e10ac304f80ab0353784c80c974e2a2c109239/kill" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -144,21 +140,21 @@ http_interactions: message: headers: Date: - - Thu, 12 Feb 2015 00:54:11 GMT + - Sat, 04 Apr 2015 12:38:22 GMT body: - encoding: US-ASCII + encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 12 Feb 2015 00:54:11 GMT + recorded_at: Sat, 04 Apr 2015 12:38:23 GMT - request: method: delete - uri: /v1.16/containers/b464acf0bf0a2319734feb0863eb168a321766e8bd47ff5cf0a41bfbb38994d0 + uri: "/v1.16/containers/3b2a1dc792cd1d941e2e631908e10ac304f80ab0353784c80c974e2a2c109239" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -167,10 +163,10 @@ http_interactions: message: headers: Date: - - Thu, 12 Feb 2015 00:54:12 GMT + - Sat, 04 Apr 2015 12:38:22 GMT body: - encoding: US-ASCII + encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 12 Feb 2015 00:54:12 GMT -recorded_with: VCR 2.9.2 + recorded_at: Sat, 04 Apr 2015 12:38:23 GMT +recorded_with: VCR 2.9.3 diff --git a/spec/vcr/Docker_Container/_restart/restarts_the_container.yml b/spec/vcr/Docker_Container/_restart/restarts_the_container.yml index f53c68c7f..08bff2b6e 100644 --- a/spec/vcr/Docker_Container/_restart/restarts_the_container.yml +++ b/spec/vcr/Docker_Container/_restart/restarts_the_container.yml @@ -2,13 +2,13 @@ http_interactions: - request: method: post - uri: /v1.16/containers/create + uri: "/v1.16/containers/create" body: encoding: UTF-8 - string: ! '{"Cmd":["sleep","10"],"Image":"debian:wheezy"}' + string: '{"Cmd":["sleep","10"],"Image":"debian:wheezy"}' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - application/json response: @@ -19,25 +19,24 @@ http_interactions: Content-Type: - application/json Date: - - Thu, 12 Feb 2015 00:54:09 GMT + - Sat, 04 Apr 2015 12:38:20 GMT Content-Length: - '90' body: - encoding: US-ASCII - string: ! '{"Id":"6b37bf9030f9a52e08777e7d775f9454b567665e766731a6681ed7cd279cb136","Warnings":null} - -' + encoding: UTF-8 + string: | + {"Id":"06a0db7312c2e819919117482eb986053540f9826b964b8e6069ed6bf2d6bb25","Warnings":null} http_version: - recorded_at: Thu, 12 Feb 2015 00:54:09 GMT + recorded_at: Sat, 04 Apr 2015 12:38:20 GMT - request: method: post - uri: /v1.16/containers/6b37bf9030f9a52e08777e7d775f9454b567665e766731a6681ed7cd279cb136/start + uri: "/v1.16/containers/06a0db7312c2e819919117482eb986053540f9826b964b8e6069ed6bf2d6bb25/start" body: encoding: UTF-8 - string: ! '{}' + string: "{}" headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - application/json response: @@ -46,21 +45,21 @@ http_interactions: message: headers: Date: - - Thu, 12 Feb 2015 00:54:09 GMT + - Sat, 04 Apr 2015 12:38:21 GMT body: - encoding: US-ASCII + encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 12 Feb 2015 00:54:09 GMT + recorded_at: Sat, 04 Apr 2015 12:38:21 GMT - request: method: get - uri: /v1.16/containers/json + uri: "/v1.16/containers/json" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -71,29 +70,26 @@ http_interactions: Content-Type: - application/json Date: - - Thu, 12 Feb 2015 00:54:09 GMT + - Sat, 04 Apr 2015 12:38:21 GMT Content-Length: - - '490' + - '420' body: - encoding: US-ASCII - string: ! '[{"Command":"sleep 10","Created":1423702448,"Id":"6b37bf9030f9a52e08777e7d775f9454b567665e766731a6681ed7cd279cb136","Image":"debian:wheezy","Names":["/dreamy_goldstine"],"Ports":[],"Status":"Up - Less than a second"} - - ,{"Command":"docker-registry","Created":1423702401,"Id":"7495fa1e6c231934f42eb34525f24a052af2a7a43ae9c85051636428a62a40ba","Image":"registry:latest","Names":["/registry"],"Ports":[{"IP":"0.0.0.0","PrivatePort":5000,"PublicPort":5000,"Type":"tcp"}],"Status":"Up - 47 seconds"} - - ]' + encoding: UTF-8 + string: |- + [{"Command":"sleep 10","Created":1428151100,"Id":"06a0db7312c2e819919117482eb986053540f9826b964b8e6069ed6bf2d6bb25","Image":"debian:wheezy","Names":["/grave_meitner"],"Ports":[],"Status":"Up Less than a second"} + ,{"Command":"sleep 300","Created":1428150873,"Id":"dcb77ec84ac63a46773b12fc915f991b8098197b20aed74d4af63194fae39620","Image":"debian:wheezy","Names":["/berserk_lovelace"],"Ports":[],"Status":"Up 3 minutes"} + ] http_version: - recorded_at: Thu, 12 Feb 2015 00:54:09 GMT + recorded_at: Sat, 04 Apr 2015 12:38:21 GMT - request: method: post - uri: /v1.16/containers/6b37bf9030f9a52e08777e7d775f9454b567665e766731a6681ed7cd279cb136/stop + uri: "/v1.16/containers/06a0db7312c2e819919117482eb986053540f9826b964b8e6069ed6bf2d6bb25/stop" body: encoding: UTF-8 - string: ! '{}' + string: "{}" headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - application/json response: @@ -102,21 +98,21 @@ http_interactions: message: headers: Date: - - Thu, 12 Feb 2015 00:54:09 GMT + - Sat, 04 Apr 2015 12:38:21 GMT body: - encoding: US-ASCII + encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 12 Feb 2015 00:54:09 GMT + recorded_at: Sat, 04 Apr 2015 12:38:21 GMT - request: method: get - uri: /v1.16/containers/json + uri: "/v1.16/containers/json" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -127,26 +123,25 @@ http_interactions: Content-Type: - application/json Date: - - Thu, 12 Feb 2015 00:54:09 GMT + - Sat, 04 Apr 2015 12:38:21 GMT Content-Length: - - '275' + - '208' body: - encoding: US-ASCII - string: ! '[{"Command":"docker-registry","Created":1423702401,"Id":"7495fa1e6c231934f42eb34525f24a052af2a7a43ae9c85051636428a62a40ba","Image":"registry:latest","Names":["/registry"],"Ports":[{"IP":"0.0.0.0","PrivatePort":5000,"PublicPort":5000,"Type":"tcp"}],"Status":"Up - 47 seconds"} - - ]' + encoding: UTF-8 + string: |- + [{"Command":"sleep 300","Created":1428150873,"Id":"dcb77ec84ac63a46773b12fc915f991b8098197b20aed74d4af63194fae39620","Image":"debian:wheezy","Names":["/berserk_lovelace"],"Ports":[],"Status":"Up 3 minutes"} + ] http_version: - recorded_at: Thu, 12 Feb 2015 00:54:09 GMT + recorded_at: Sat, 04 Apr 2015 12:38:21 GMT - request: method: post - uri: /v1.16/containers/6b37bf9030f9a52e08777e7d775f9454b567665e766731a6681ed7cd279cb136/restart?t=10 + uri: "/v1.16/containers/06a0db7312c2e819919117482eb986053540f9826b964b8e6069ed6bf2d6bb25/restart?t=10" body: encoding: UTF-8 - string: ! '{}' + string: "{}" headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - application/json response: @@ -155,21 +150,21 @@ http_interactions: message: headers: Date: - - Thu, 12 Feb 2015 00:54:09 GMT + - Sat, 04 Apr 2015 12:38:21 GMT body: - encoding: US-ASCII + encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 12 Feb 2015 00:54:09 GMT + recorded_at: Sat, 04 Apr 2015 12:38:21 GMT - request: method: get - uri: /v1.16/containers/json + uri: "/v1.16/containers/json" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -180,29 +175,26 @@ http_interactions: Content-Type: - application/json Date: - - Thu, 12 Feb 2015 00:54:09 GMT + - Sat, 04 Apr 2015 12:38:21 GMT Content-Length: - - '490' + - '420' body: - encoding: US-ASCII - string: ! '[{"Command":"sleep 10","Created":1423702448,"Id":"6b37bf9030f9a52e08777e7d775f9454b567665e766731a6681ed7cd279cb136","Image":"debian:wheezy","Names":["/dreamy_goldstine"],"Ports":[],"Status":"Up - Less than a second"} - - ,{"Command":"docker-registry","Created":1423702401,"Id":"7495fa1e6c231934f42eb34525f24a052af2a7a43ae9c85051636428a62a40ba","Image":"registry:latest","Names":["/registry"],"Ports":[{"IP":"0.0.0.0","PrivatePort":5000,"PublicPort":5000,"Type":"tcp"}],"Status":"Up - 47 seconds"} - - ]' + encoding: UTF-8 + string: |- + [{"Command":"sleep 10","Created":1428151100,"Id":"06a0db7312c2e819919117482eb986053540f9826b964b8e6069ed6bf2d6bb25","Image":"debian:wheezy","Names":["/grave_meitner"],"Ports":[],"Status":"Up Less than a second"} + ,{"Command":"sleep 300","Created":1428150873,"Id":"dcb77ec84ac63a46773b12fc915f991b8098197b20aed74d4af63194fae39620","Image":"debian:wheezy","Names":["/berserk_lovelace"],"Ports":[],"Status":"Up 3 minutes"} + ] http_version: - recorded_at: Thu, 12 Feb 2015 00:54:09 GMT + recorded_at: Sat, 04 Apr 2015 12:38:21 GMT - request: method: post - uri: /v1.16/containers/6b37bf9030f9a52e08777e7d775f9454b567665e766731a6681ed7cd279cb136/kill + uri: "/v1.16/containers/06a0db7312c2e819919117482eb986053540f9826b964b8e6069ed6bf2d6bb25/kill" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -211,21 +203,21 @@ http_interactions: message: headers: Date: - - Thu, 12 Feb 2015 00:54:09 GMT + - Sat, 04 Apr 2015 12:38:21 GMT body: - encoding: US-ASCII + encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 12 Feb 2015 00:54:09 GMT + recorded_at: Sat, 04 Apr 2015 12:38:22 GMT - request: method: delete - uri: /v1.16/containers/6b37bf9030f9a52e08777e7d775f9454b567665e766731a6681ed7cd279cb136 + uri: "/v1.16/containers/06a0db7312c2e819919117482eb986053540f9826b964b8e6069ed6bf2d6bb25" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -234,10 +226,10 @@ http_interactions: message: headers: Date: - - Thu, 12 Feb 2015 00:54:10 GMT + - Sat, 04 Apr 2015 12:38:22 GMT body: - encoding: US-ASCII + encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 12 Feb 2015 00:54:10 GMT -recorded_with: VCR 2.9.2 + recorded_at: Sat, 04 Apr 2015 12:38:22 GMT +recorded_with: VCR 2.9.3 diff --git a/spec/vcr/Docker_Container/_run/when_the_Container_s_command_does_not_return_status_code_of_0/raises_an_error.yml b/spec/vcr/Docker_Container/_run/when_the_Container_s_command_does_not_return_status_code_of_0/raises_an_error.yml index 46e0de7f4..7d13f2460 100644 --- a/spec/vcr/Docker_Container/_run/when_the_Container_s_command_does_not_return_status_code_of_0/raises_an_error.yml +++ b/spec/vcr/Docker_Container/_run/when_the_Container_s_command_does_not_return_status_code_of_0/raises_an_error.yml @@ -2,13 +2,13 @@ http_interactions: - request: method: post - uri: /v1.16/containers/create + uri: "/v1.16/containers/create" body: encoding: UTF-8 - string: ! '{"Cmd":["false"],"Image":"debian:wheezy"}' + string: '{"Cmd":["false"],"Image":"debian:wheezy"}' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - application/json response: @@ -19,25 +19,24 @@ http_interactions: Content-Type: - application/json Date: - - Thu, 12 Feb 2015 00:54:21 GMT + - Sat, 04 Apr 2015 12:38:30 GMT Content-Length: - '90' body: - encoding: US-ASCII - string: ! '{"Id":"3600666983c70ed47254bfcc4941c22c682c3c6c1d396deff7774bf2885684cd","Warnings":null} - -' + encoding: UTF-8 + string: | + {"Id":"f172da042060d4d29150add94744635e64fff250ec1cf7ef094b8c59072d2bf1","Warnings":null} http_version: - recorded_at: Thu, 12 Feb 2015 00:54:21 GMT + recorded_at: Sat, 04 Apr 2015 12:38:30 GMT - request: method: post - uri: /v1.16/containers/3600666983c70ed47254bfcc4941c22c682c3c6c1d396deff7774bf2885684cd/start + uri: "/v1.16/containers/f172da042060d4d29150add94744635e64fff250ec1cf7ef094b8c59072d2bf1/start" body: encoding: UTF-8 - string: ! '{}' + string: "{}" headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - application/json response: @@ -46,21 +45,21 @@ http_interactions: message: headers: Date: - - Thu, 12 Feb 2015 00:54:21 GMT + - Sat, 04 Apr 2015 12:38:31 GMT body: - encoding: US-ASCII + encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 12 Feb 2015 00:54:21 GMT + recorded_at: Sat, 04 Apr 2015 12:38:31 GMT - request: method: post - uri: /v1.16/containers/3600666983c70ed47254bfcc4941c22c682c3c6c1d396deff7774bf2885684cd/wait + uri: "/v1.16/containers/f172da042060d4d29150add94744635e64fff250ec1cf7ef094b8c59072d2bf1/wait" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -71,25 +70,24 @@ http_interactions: Content-Type: - application/json Date: - - Thu, 12 Feb 2015 00:54:21 GMT + - Sat, 04 Apr 2015 12:38:31 GMT Content-Length: - '17' body: - encoding: US-ASCII - string: ! '{"StatusCode":1} - -' + encoding: UTF-8 + string: | + {"StatusCode":1} http_version: - recorded_at: Thu, 12 Feb 2015 00:54:21 GMT + recorded_at: Sat, 04 Apr 2015 12:38:31 GMT - request: method: delete - uri: /v1.16/containers/3600666983c70ed47254bfcc4941c22c682c3c6c1d396deff7774bf2885684cd + uri: "/v1.16/containers/f172da042060d4d29150add94744635e64fff250ec1cf7ef094b8c59072d2bf1" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -98,10 +96,10 @@ http_interactions: message: headers: Date: - - Thu, 12 Feb 2015 00:54:22 GMT + - Sat, 04 Apr 2015 12:38:31 GMT body: - encoding: US-ASCII + encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 12 Feb 2015 00:54:22 GMT -recorded_with: VCR 2.9.2 + recorded_at: Sat, 04 Apr 2015 12:38:31 GMT +recorded_with: VCR 2.9.3 diff --git a/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 b/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 index def73263c..5f9bef135 100644 --- a/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 +++ b/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 @@ -2,13 +2,13 @@ http_interactions: - request: method: post - uri: /v1.16/containers/create + uri: "/v1.16/containers/create" body: encoding: UTF-8 - string: ! '{"Cmd":["pwd"],"Image":"debian:wheezy"}' + string: '{"Cmd":["pwd"],"Image":"debian:wheezy"}' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - application/json response: @@ -19,25 +19,24 @@ http_interactions: Content-Type: - application/json Date: - - Thu, 12 Feb 2015 00:54:22 GMT + - Sat, 04 Apr 2015 12:38:31 GMT Content-Length: - '90' body: - encoding: US-ASCII - string: ! '{"Id":"afaeba0916f26274b8085a363ec2f4d9b812d8b6273b629b4c1f4082fa132caf","Warnings":null} - -' + encoding: UTF-8 + string: | + {"Id":"512db745bd05e20b47e3ea370438381ab3638605ed711692dad03135abf75256","Warnings":null} http_version: - recorded_at: Thu, 12 Feb 2015 00:54:22 GMT + recorded_at: Sat, 04 Apr 2015 12:38:31 GMT - request: method: post - uri: /v1.16/containers/afaeba0916f26274b8085a363ec2f4d9b812d8b6273b629b4c1f4082fa132caf/start + uri: "/v1.16/containers/512db745bd05e20b47e3ea370438381ab3638605ed711692dad03135abf75256/start" body: encoding: UTF-8 - string: ! '{}' + string: "{}" headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - application/json response: @@ -46,21 +45,21 @@ http_interactions: message: headers: Date: - - Thu, 12 Feb 2015 00:54:23 GMT + - Sat, 04 Apr 2015 12:38:31 GMT body: - encoding: US-ASCII + encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 12 Feb 2015 00:54:23 GMT + recorded_at: Sat, 04 Apr 2015 12:38:31 GMT - request: method: post - uri: /v1.16/containers/afaeba0916f26274b8085a363ec2f4d9b812d8b6273b629b4c1f4082fa132caf/wait + uri: "/v1.16/containers/512db745bd05e20b47e3ea370438381ab3638605ed711692dad03135abf75256/wait" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -71,25 +70,24 @@ http_interactions: Content-Type: - application/json Date: - - Thu, 12 Feb 2015 00:54:23 GMT + - Sat, 04 Apr 2015 12:38:32 GMT Content-Length: - '17' body: - encoding: US-ASCII - string: ! '{"StatusCode":0} - -' + encoding: UTF-8 + string: | + {"StatusCode":0} http_version: - recorded_at: Thu, 12 Feb 2015 00:54:23 GMT + recorded_at: Sat, 04 Apr 2015 12:38:32 GMT - request: method: post - uri: /v1.16/commit?container=afaeba09 + uri: "/v1.16/commit?container=512db745" body: encoding: UTF-8 string: 'null' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - application/json response: @@ -100,25 +98,24 @@ http_interactions: Content-Type: - application/json Date: - - Thu, 12 Feb 2015 00:54:24 GMT + - Sat, 04 Apr 2015 12:38:32 GMT Content-Length: - '74' body: - encoding: US-ASCII - string: ! '{"Id":"63bdde37c5d168ca55326bb5fbf677b2fa4a9fd6a11b78033d8bda890756b50c"} - -' + encoding: UTF-8 + string: | + {"Id":"759673833cba15ea4f61fc40587ffe0edadfb2062e667e49187edbbad4eb0432"} http_version: - recorded_at: Thu, 12 Feb 2015 00:54:24 GMT + recorded_at: Sat, 04 Apr 2015 12:38:32 GMT - request: method: post - uri: /v1.16/containers/create + uri: "/v1.16/containers/create" body: encoding: UTF-8 - string: ! '{"Image":"63bdde37c5d168ca55326bb5fbf677b2fa4a9fd6a11b78033d8bda890756b50c","Cmd":["ls"]}' + string: '{"Image":"759673833cba15ea4f61fc40587ffe0edadfb2062e667e49187edbbad4eb0432","Cmd":["ls"]}' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - application/json response: @@ -129,25 +126,24 @@ http_interactions: Content-Type: - application/json Date: - - Thu, 12 Feb 2015 00:54:24 GMT + - Sat, 04 Apr 2015 12:38:32 GMT Content-Length: - '90' body: - encoding: US-ASCII - string: ! '{"Id":"e8f95d27dea058750b38f1eee9122426d2c435611ef73ebd2f5c769184d1e535","Warnings":null} - -' + encoding: UTF-8 + string: | + {"Id":"b161748fd23284ff972d0d81c2ae506d4a4f4afb745602e553d1a46d8f08e72c","Warnings":null} http_version: - recorded_at: Thu, 12 Feb 2015 00:54:24 GMT + recorded_at: Sat, 04 Apr 2015 12:38:32 GMT - request: method: post - uri: /v1.16/containers/e8f95d27dea058750b38f1eee9122426d2c435611ef73ebd2f5c769184d1e535/start + uri: "/v1.16/containers/b161748fd23284ff972d0d81c2ae506d4a4f4afb745602e553d1a46d8f08e72c/start" body: encoding: UTF-8 - string: ! '{}' + string: "{}" headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - application/json response: @@ -156,21 +152,21 @@ http_interactions: message: headers: Date: - - Thu, 12 Feb 2015 00:54:24 GMT + - Sat, 04 Apr 2015 12:38:32 GMT body: - encoding: US-ASCII + encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 12 Feb 2015 00:54:24 GMT + recorded_at: Sat, 04 Apr 2015 12:38:32 GMT - request: method: post - uri: /v1.16/containers/e8f95d27dea058750b38f1eee9122426d2c435611ef73ebd2f5c769184d1e535/wait + uri: "/v1.16/containers/b161748fd23284ff972d0d81c2ae506d4a4f4afb745602e553d1a46d8f08e72c/wait" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -181,25 +177,24 @@ http_interactions: Content-Type: - application/json Date: - - Thu, 12 Feb 2015 00:54:24 GMT + - Sat, 04 Apr 2015 12:38:32 GMT Content-Length: - '17' body: - encoding: US-ASCII - string: ! '{"StatusCode":0} - -' + encoding: UTF-8 + string: | + {"StatusCode":0} http_version: - recorded_at: Thu, 12 Feb 2015 00:54:24 GMT + recorded_at: Sat, 04 Apr 2015 12:38:32 GMT - request: method: delete - uri: /v1.16/containers/afaeba0916f26274b8085a363ec2f4d9b812d8b6273b629b4c1f4082fa132caf + uri: "/v1.16/containers/512db745bd05e20b47e3ea370438381ab3638605ed711692dad03135abf75256" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -208,21 +203,21 @@ http_interactions: message: headers: Date: - - Thu, 12 Feb 2015 00:54:25 GMT + - Sat, 04 Apr 2015 12:38:32 GMT body: - encoding: US-ASCII + encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 12 Feb 2015 00:54:25 GMT + recorded_at: Sat, 04 Apr 2015 12:38:32 GMT - request: method: get - uri: /v1.16/containers/e8f95d27dea058750b38f1eee9122426d2c435611ef73ebd2f5c769184d1e535/json + uri: "/v1.16/containers/b161748fd23284ff972d0d81c2ae506d4a4f4afb745602e553d1a46d8f08e72c/json" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -233,25 +228,22 @@ http_interactions: Content-Type: - application/json Date: - - Thu, 12 Feb 2015 00:54:25 GMT - Content-Length: - - '1931' + - Sat, 04 Apr 2015 12:38:32 GMT body: - encoding: US-ASCII - string: ! '{"AppArmorProfile":"","Args":[],"Config":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":["ls"],"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":null,"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"ExposedPorts":null,"Hostname":"e8f95d27dea0","Image":"63bdde37c5d168ca55326bb5fbf677b2fa4a9fd6a11b78033d8bda890756b50c","MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":null,"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Created":"2015-02-12T00:54:24.394220115Z","Driver":"devicemapper","ExecDriver":"native-0.2","HostConfig":{"Binds":null,"CapAdd":null,"CapDrop":null,"ContainerIDFile":"","Devices":null,"Dns":null,"DnsSearch":null,"ExtraHosts":null,"IpcMode":"","Links":null,"LxcConf":null,"NetworkMode":"","PortBindings":null,"Privileged":false,"PublishAllPorts":false,"RestartPolicy":{"MaximumRetryCount":0,"Name":""},"SecurityOpt":null,"VolumesFrom":null},"HostnamePath":"/var/lib/docker/containers/e8f95d27dea058750b38f1eee9122426d2c435611ef73ebd2f5c769184d1e535/hostname","HostsPath":"/var/lib/docker/containers/e8f95d27dea058750b38f1eee9122426d2c435611ef73ebd2f5c769184d1e535/hosts","Id":"e8f95d27dea058750b38f1eee9122426d2c435611ef73ebd2f5c769184d1e535","Image":"63bdde37c5d168ca55326bb5fbf677b2fa4a9fd6a11b78033d8bda890756b50c","MountLabel":"","Name":"/distracted_sammet","NetworkSettings":{"Bridge":"","Gateway":"","IPAddress":"","IPPrefixLen":0,"MacAddress":"","PortMapping":null,"Ports":null},"Path":"ls","ProcessLabel":"","ResolvConfPath":"/var/lib/docker/containers/e8f95d27dea058750b38f1eee9122426d2c435611ef73ebd2f5c769184d1e535/resolv.conf","State":{"Error":"","ExitCode":0,"FinishedAt":"2015-02-12T00:54:24.790254949Z","OOMKilled":false,"Paused":false,"Pid":0,"Restarting":false,"Running":false,"StartedAt":"2015-02-12T00:54:24.748261423Z"},"Volumes":{},"VolumesRW":{}} - -' + encoding: UTF-8 + string: | + {"AppArmorProfile":"","Args":[],"Config":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":["ls"],"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":null,"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"ExposedPorts":null,"Hostname":"b161748fd232","Image":"759673833cba15ea4f61fc40587ffe0edadfb2062e667e49187edbbad4eb0432","MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":null,"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Created":"2015-04-04T12:38:32.252366646Z","Driver":"aufs","ExecDriver":"native-0.2","ExecIDs":null,"HostConfig":{"Binds":null,"CapAdd":null,"CapDrop":null,"ContainerIDFile":"","Devices":null,"Dns":null,"DnsSearch":null,"ExtraHosts":null,"IpcMode":"","Links":null,"LxcConf":null,"NetworkMode":"","PidMode":"","PortBindings":null,"Privileged":false,"PublishAllPorts":false,"ReadonlyRootfs":false,"RestartPolicy":{"MaximumRetryCount":0,"Name":""},"SecurityOpt":null,"VolumesFrom":null},"HostnamePath":"/mnt/sda1/var/lib/docker/containers/b161748fd23284ff972d0d81c2ae506d4a4f4afb745602e553d1a46d8f08e72c/hostname","HostsPath":"/mnt/sda1/var/lib/docker/containers/b161748fd23284ff972d0d81c2ae506d4a4f4afb745602e553d1a46d8f08e72c/hosts","Id":"b161748fd23284ff972d0d81c2ae506d4a4f4afb745602e553d1a46d8f08e72c","Image":"759673833cba15ea4f61fc40587ffe0edadfb2062e667e49187edbbad4eb0432","MountLabel":"","Name":"/lonely_albattani","NetworkSettings":{"Bridge":"","Gateway":"","GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"IPAddress":"","IPPrefixLen":0,"IPv6Gateway":"","LinkLocalIPv6Address":"","LinkLocalIPv6PrefixLen":0,"MacAddress":"","PortMapping":null,"Ports":null},"Path":"ls","ProcessLabel":"","ResolvConfPath":"/mnt/sda1/var/lib/docker/containers/b161748fd23284ff972d0d81c2ae506d4a4f4afb745602e553d1a46d8f08e72c/resolv.conf","RestartCount":0,"State":{"Error":"","ExitCode":0,"FinishedAt":"2015-04-04T12:38:32.832979259Z","OOMKilled":false,"Paused":false,"Pid":0,"Restarting":false,"Running":false,"StartedAt":"2015-04-04T12:38:32.664465895Z"},"Volumes":{},"VolumesRW":{}} http_version: - recorded_at: Thu, 12 Feb 2015 00:54:25 GMT + recorded_at: Sat, 04 Apr 2015 12:38:33 GMT - request: method: delete - uri: /v1.16/containers/e8f95d27dea058750b38f1eee9122426d2c435611ef73ebd2f5c769184d1e535 + uri: "/v1.16/containers/b161748fd23284ff972d0d81c2ae506d4a4f4afb745602e553d1a46d8f08e72c" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -260,21 +252,21 @@ http_interactions: message: headers: Date: - - Thu, 12 Feb 2015 00:54:26 GMT + - Sat, 04 Apr 2015 12:38:32 GMT body: - encoding: US-ASCII + encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 12 Feb 2015 00:54:26 GMT + recorded_at: Sat, 04 Apr 2015 12:38:33 GMT - request: method: get - uri: /v1.16/images/63bdde37c5d168ca55326bb5fbf677b2fa4a9fd6a11b78033d8bda890756b50c/json + uri: "/v1.16/images/759673833cba15ea4f61fc40587ffe0edadfb2062e667e49187edbbad4eb0432/json" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -285,25 +277,24 @@ http_interactions: Content-Type: - application/json Date: - - Thu, 12 Feb 2015 00:54:26 GMT + - Sat, 04 Apr 2015 12:38:32 GMT Content-Length: - - '1428' + - '1332' body: - encoding: US-ASCII - string: ! '{"Architecture":"amd64","Author":"","Checksum":"tarsum.dev+sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","Comment":"","Config":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":["pwd"],"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":null,"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"ExposedPorts":null,"Hostname":"","Image":"","MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":null,"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Container":"afaeba0916f26274b8085a363ec2f4d9b812d8b6273b629b4c1f4082fa132caf","ContainerConfig":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":["pwd"],"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":null,"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"ExposedPorts":null,"Hostname":"afaeba0916f2","Image":"debian:wheezy","MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":null,"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Created":"2015-02-12T00:54:23.69716525Z","DockerVersion":"1.4.1","Id":"63bdde37c5d168ca55326bb5fbf677b2fa4a9fd6a11b78033d8bda890756b50c","Os":"linux","Parent":"c90d655b99b2ec5b7e94d38c87f92dce015c17a313caeaae0e980d9b9bed8444","Size":0,"VirtualSize":85120773} - -' + encoding: UTF-8 + string: | + {"Architecture":"amd64","Author":"","Comment":"","Config":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":["pwd"],"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":null,"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"ExposedPorts":null,"Hostname":"","Image":"","MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":null,"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Container":"512db745bd05e20b47e3ea370438381ab3638605ed711692dad03135abf75256","ContainerConfig":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":["pwd"],"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":null,"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"ExposedPorts":null,"Hostname":"512db745bd05","Image":"debian:wheezy","MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":null,"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Created":"2015-04-04T12:38:32.08829544Z","DockerVersion":"1.5.0","Id":"759673833cba15ea4f61fc40587ffe0edadfb2062e667e49187edbbad4eb0432","Os":"linux","Parent":"1265e16d0c286a4252c1dc5e775ba476d9560e2dd96d2032605ee75b30912f6b","Size":0,"VirtualSize":84979426} http_version: - recorded_at: Thu, 12 Feb 2015 00:54:26 GMT + recorded_at: Sat, 04 Apr 2015 12:38:33 GMT - request: method: get - uri: /v1.16/images/63bdde37c5d168ca55326bb5fbf677b2fa4a9fd6a11b78033d8bda890756b50c/history + uri: "/v1.16/images/759673833cba15ea4f61fc40587ffe0edadfb2062e667e49187edbbad4eb0432/history" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -314,32 +305,28 @@ http_interactions: Content-Type: - application/json Date: - - Thu, 12 Feb 2015 00:54:26 GMT + - Sat, 04 Apr 2015 12:38:33 GMT Content-Length: - - '695' + - '703' body: - encoding: US-ASCII - string: ! '[{"Created":1423702463,"CreatedBy":"pwd","Id":"63bdde37c5d168ca55326bb5fbf677b2fa4a9fd6a11b78033d8bda890756b50c","Size":0,"Tags":null} - - ,{"Created":1422379591,"CreatedBy":"/bin/sh -c #(nop) CMD [/bin/bash]","Id":"c90d655b99b2ec5b7e94d38c87f92dce015c17a313caeaae0e980d9b9bed8444","Size":0,"Tags":["debian:wheezy"]} - - ,{"Created":1422379584,"CreatedBy":"/bin/sh -c #(nop) ADD file:3f1a40df75bc5673ce402476db7ad6dbb43e45bd1951ed165b9b01ca78011aa0 - in /","Id":"30d39e59ffe287f29a41a3f8bd70734afc8728329e3289945cbdc5bbf07cd980","Size":85120773,"Tags":null} - - ,{"Created":1371157430,"CreatedBy":"","Id":"511136ea3c5a64f264b78b5433614aec563103b4d4702f3ba7d4d2698e22c158","Size":0,"Tags":["scratch:latest"]} - - ]' + encoding: UTF-8 + string: |- + [{"Created":1428151112,"CreatedBy":"pwd","Id":"759673833cba15ea4f61fc40587ffe0edadfb2062e667e49187edbbad4eb0432","Size":0,"Tags":null} + ,{"Created":1427740741,"CreatedBy":"/bin/sh -c #(nop) CMD [/bin/bash]","Id":"1265e16d0c286a4252c1dc5e775ba476d9560e2dd96d2032605ee75b30912f6b","Size":0,"Tags":["debian:wheezy"]} + ,{"Created":1427740737,"CreatedBy":"/bin/sh -c #(nop) ADD file:64df78b21f6d6583bcf0f4bd36a43b24a0208b158ba373c03b71a610eab23894 in /","Id":"4f903438061c7180cf99485b42f7709f5268bfb4732fe885f9104ed3bb66fd3c","Size":84979426,"Tags":null} + ,{"Created":1371157430,"CreatedBy":"","Id":"511136ea3c5a64f264b78b5433614aec563103b4d4702f3ba7d4d2698e22c158","Size":0,"Tags":["swipely/scratch:latest"]} + ] http_version: - recorded_at: Thu, 12 Feb 2015 00:54:26 GMT + recorded_at: Sat, 04 Apr 2015 12:38:33 GMT - request: method: get - uri: /v1.16/images/63bdde37c5d168ca55326bb5fbf677b2fa4a9fd6a11b78033d8bda890756b50c/json + uri: "/v1.16/images/759673833cba15ea4f61fc40587ffe0edadfb2062e667e49187edbbad4eb0432/json" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -350,25 +337,24 @@ http_interactions: Content-Type: - application/json Date: - - Thu, 12 Feb 2015 00:54:26 GMT + - Sat, 04 Apr 2015 12:38:33 GMT Content-Length: - - '1428' + - '1332' body: - encoding: US-ASCII - string: ! '{"Architecture":"amd64","Author":"","Checksum":"tarsum.dev+sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","Comment":"","Config":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":["pwd"],"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":null,"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"ExposedPorts":null,"Hostname":"","Image":"","MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":null,"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Container":"afaeba0916f26274b8085a363ec2f4d9b812d8b6273b629b4c1f4082fa132caf","ContainerConfig":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":["pwd"],"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":null,"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"ExposedPorts":null,"Hostname":"afaeba0916f2","Image":"debian:wheezy","MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":null,"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Created":"2015-02-12T00:54:23.69716525Z","DockerVersion":"1.4.1","Id":"63bdde37c5d168ca55326bb5fbf677b2fa4a9fd6a11b78033d8bda890756b50c","Os":"linux","Parent":"c90d655b99b2ec5b7e94d38c87f92dce015c17a313caeaae0e980d9b9bed8444","Size":0,"VirtualSize":85120773} - -' + encoding: UTF-8 + string: | + {"Architecture":"amd64","Author":"","Comment":"","Config":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":["pwd"],"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":null,"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"ExposedPorts":null,"Hostname":"","Image":"","MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":null,"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Container":"512db745bd05e20b47e3ea370438381ab3638605ed711692dad03135abf75256","ContainerConfig":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":["pwd"],"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":null,"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"ExposedPorts":null,"Hostname":"512db745bd05","Image":"debian:wheezy","MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":null,"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Created":"2015-04-04T12:38:32.08829544Z","DockerVersion":"1.5.0","Id":"759673833cba15ea4f61fc40587ffe0edadfb2062e667e49187edbbad4eb0432","Os":"linux","Parent":"1265e16d0c286a4252c1dc5e775ba476d9560e2dd96d2032605ee75b30912f6b","Size":0,"VirtualSize":84979426} http_version: - recorded_at: Thu, 12 Feb 2015 00:54:26 GMT + recorded_at: Sat, 04 Apr 2015 12:38:33 GMT - request: method: delete - uri: /v1.16/images/63bdde37c5d168ca55326bb5fbf677b2fa4a9fd6a11b78033d8bda890756b50c?noprune=true + uri: "/v1.16/images/759673833cba15ea4f61fc40587ffe0edadfb2062e667e49187edbbad4eb0432?noprune=true" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -379,14 +365,14 @@ http_interactions: Content-Type: - application/json Date: - - Thu, 12 Feb 2015 00:54:27 GMT + - Sat, 04 Apr 2015 12:38:33 GMT Content-Length: - '81' body: - encoding: US-ASCII - string: ! '[{"Deleted":"63bdde37c5d168ca55326bb5fbf677b2fa4a9fd6a11b78033d8bda890756b50c"} - - ]' + encoding: UTF-8 + string: |- + [{"Deleted":"759673833cba15ea4f61fc40587ffe0edadfb2062e667e49187edbbad4eb0432"} + ] http_version: - recorded_at: Thu, 12 Feb 2015 00:54:27 GMT -recorded_with: VCR 2.9.2 + recorded_at: Sat, 04 Apr 2015 12:38:33 GMT +recorded_with: VCR 2.9.3 diff --git a/spec/vcr/Docker_Container/_start/starts_the_container.yml b/spec/vcr/Docker_Container/_start/starts_the_container.yml index aa77ae599..c82c0ffcb 100644 --- a/spec/vcr/Docker_Container/_start/starts_the_container.yml +++ b/spec/vcr/Docker_Container/_start/starts_the_container.yml @@ -2,13 +2,13 @@ http_interactions: - request: method: post - uri: /v1.16/containers/create + uri: "/v1.16/containers/create" body: encoding: UTF-8 - string: ! '{"Cmd":["test","-d","/foo"],"Image":"debian:wheezy","Volumes":{"/foo":{}}}' + string: '{"Cmd":["test","-d","/foo"],"Image":"debian:wheezy","Volumes":{"/foo":{}}}' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - application/json response: @@ -19,25 +19,24 @@ http_interactions: Content-Type: - application/json Date: - - Thu, 12 Feb 2015 00:53:51 GMT + - Sat, 04 Apr 2015 12:38:07 GMT Content-Length: - '90' body: - encoding: US-ASCII - string: ! '{"Id":"eac2b5e1daa9efdfecfaadb5d5dd065f34c8a9b571f1ad0cd8c3e0ffc655de6c","Warnings":null} - -' + encoding: UTF-8 + string: | + {"Id":"6cdf6ce0bd659cf21a0b295047d880559a4d91db04669e84eddc8e4c2cad026c","Warnings":null} http_version: - recorded_at: Thu, 12 Feb 2015 00:53:51 GMT + recorded_at: Sat, 04 Apr 2015 12:38:07 GMT - request: method: post - uri: /v1.16/containers/eac2b5e1daa9efdfecfaadb5d5dd065f34c8a9b571f1ad0cd8c3e0ffc655de6c/start + uri: "/v1.16/containers/6cdf6ce0bd659cf21a0b295047d880559a4d91db04669e84eddc8e4c2cad026c/start" body: encoding: UTF-8 - string: ! '{"Binds":["/tmp:/foo"]}' + string: '{"Binds":["/tmp:/foo"]}' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - application/json response: @@ -46,21 +45,21 @@ http_interactions: message: headers: Date: - - Thu, 12 Feb 2015 00:53:51 GMT + - Sat, 04 Apr 2015 12:38:07 GMT body: - encoding: US-ASCII + encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 12 Feb 2015 00:53:51 GMT + recorded_at: Sat, 04 Apr 2015 12:38:07 GMT - request: method: get - uri: /v1.16/containers/json + uri: "/v1.16/containers/json" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -71,29 +70,26 @@ http_interactions: Content-Type: - application/json Date: - - Thu, 12 Feb 2015 00:53:51 GMT + - Sat, 04 Apr 2015 12:38:07 GMT Content-Length: - - '491' + - '427' body: - encoding: US-ASCII - string: ! '[{"Command":"test -d /foo","Created":1423702431,"Id":"eac2b5e1daa9efdfecfaadb5d5dd065f34c8a9b571f1ad0cd8c3e0ffc655de6c","Image":"debian:wheezy","Names":["/insane_leakey"],"Ports":[],"Status":"Up - Less than a second"} - - ,{"Command":"docker-registry","Created":1423702401,"Id":"7495fa1e6c231934f42eb34525f24a052af2a7a43ae9c85051636428a62a40ba","Image":"registry:latest","Names":["/registry"],"Ports":[{"IP":"0.0.0.0","PrivatePort":5000,"PublicPort":5000,"Type":"tcp"}],"Status":"Up - 29 seconds"} - - ]' + encoding: UTF-8 + string: |- + [{"Command":"test -d /foo","Created":1428151087,"Id":"6cdf6ce0bd659cf21a0b295047d880559a4d91db04669e84eddc8e4c2cad026c","Image":"debian:wheezy","Names":["/determined_mayer"],"Ports":[],"Status":"Up Less than a second"} + ,{"Command":"sleep 300","Created":1428150873,"Id":"dcb77ec84ac63a46773b12fc915f991b8098197b20aed74d4af63194fae39620","Image":"debian:wheezy","Names":["/berserk_lovelace"],"Ports":[],"Status":"Up 3 minutes"} + ] http_version: - recorded_at: Thu, 12 Feb 2015 00:53:51 GMT + recorded_at: Sat, 04 Apr 2015 12:38:07 GMT - request: method: post - uri: /v1.16/containers/eac2b5e1daa9efdfecfaadb5d5dd065f34c8a9b571f1ad0cd8c3e0ffc655de6c/wait + uri: "/v1.16/containers/6cdf6ce0bd659cf21a0b295047d880559a4d91db04669e84eddc8e4c2cad026c/wait" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -104,25 +100,24 @@ http_interactions: Content-Type: - application/json Date: - - Thu, 12 Feb 2015 00:53:51 GMT + - Sat, 04 Apr 2015 12:38:08 GMT Content-Length: - '17' body: - encoding: US-ASCII - string: ! '{"StatusCode":0} - -' + encoding: UTF-8 + string: | + {"StatusCode":0} http_version: - recorded_at: Thu, 12 Feb 2015 00:53:51 GMT + recorded_at: Sat, 04 Apr 2015 12:38:08 GMT - request: method: delete - uri: /v1.16/containers/eac2b5e1daa9efdfecfaadb5d5dd065f34c8a9b571f1ad0cd8c3e0ffc655de6c + uri: "/v1.16/containers/6cdf6ce0bd659cf21a0b295047d880559a4d91db04669e84eddc8e4c2cad026c" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -131,10 +126,10 @@ http_interactions: message: headers: Date: - - Thu, 12 Feb 2015 00:53:52 GMT + - Sat, 04 Apr 2015 12:38:08 GMT body: - encoding: US-ASCII + encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 12 Feb 2015 00:53:52 GMT -recorded_with: VCR 2.9.2 + recorded_at: Sat, 04 Apr 2015 12:38:08 GMT +recorded_with: VCR 2.9.3 diff --git a/spec/vcr/Docker_Container/_stop/stops_the_container.yml b/spec/vcr/Docker_Container/_stop/stops_the_container.yml index 6a7206c8d..e823bc3a3 100644 --- a/spec/vcr/Docker_Container/_stop/stops_the_container.yml +++ b/spec/vcr/Docker_Container/_stop/stops_the_container.yml @@ -2,13 +2,13 @@ http_interactions: - request: method: post - uri: /v1.16/containers/create + uri: "/v1.16/containers/create" body: encoding: UTF-8 - string: ! '{"Cmd":["true"],"Image":"debian:wheezy"}' + string: '{"Cmd":["true"],"Image":"debian:wheezy"}' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - application/json response: @@ -19,25 +19,24 @@ http_interactions: Content-Type: - application/json Date: - - Thu, 12 Feb 2015 00:53:52 GMT + - Sat, 04 Apr 2015 12:38:08 GMT Content-Length: - '90' body: - encoding: US-ASCII - string: ! '{"Id":"a1d81eb768906a84dfd4ca06606d857269d6478595d023137895788b476fe174","Warnings":null} - -' + encoding: UTF-8 + string: | + {"Id":"18afbdcc7ff9284d04485a59a5a6f21655a40a4897c0e4f66cda256a0085e346","Warnings":null} http_version: - recorded_at: Thu, 12 Feb 2015 00:53:52 GMT + recorded_at: Sat, 04 Apr 2015 12:38:08 GMT - request: method: post - uri: /v1.16/containers/a1d81eb768906a84dfd4ca06606d857269d6478595d023137895788b476fe174/start + uri: "/v1.16/containers/18afbdcc7ff9284d04485a59a5a6f21655a40a4897c0e4f66cda256a0085e346/start" body: encoding: UTF-8 - string: ! '{}' + string: "{}" headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - application/json response: @@ -46,21 +45,21 @@ http_interactions: message: headers: Date: - - Thu, 12 Feb 2015 00:53:52 GMT + - Sat, 04 Apr 2015 12:38:08 GMT body: - encoding: US-ASCII + encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 12 Feb 2015 00:53:52 GMT + recorded_at: Sat, 04 Apr 2015 12:38:08 GMT - request: method: post - uri: /v1.16/containers/a1d81eb768906a84dfd4ca06606d857269d6478595d023137895788b476fe174/stop?t=10 + uri: "/v1.16/containers/18afbdcc7ff9284d04485a59a5a6f21655a40a4897c0e4f66cda256a0085e346/stop?t=10" body: encoding: UTF-8 - string: ! '{}' + string: "{}" headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - application/json response: @@ -69,21 +68,21 @@ http_interactions: message: headers: Date: - - Thu, 12 Feb 2015 00:53:52 GMT + - Sat, 04 Apr 2015 12:38:08 GMT body: - encoding: US-ASCII + encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 12 Feb 2015 00:53:52 GMT + recorded_at: Sat, 04 Apr 2015 12:38:08 GMT - request: method: get - uri: /v1.16/containers/json?all=true + uri: "/v1.16/containers/json?all=true" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -94,29 +93,29 @@ http_interactions: Content-Type: - application/json Date: - - Thu, 12 Feb 2015 00:53:52 GMT + - Sat, 04 Apr 2015 12:38:08 GMT Content-Length: - - '497' + - '1062' body: - encoding: US-ASCII - string: ! '[{"Command":"true","Created":1423702432,"Id":"a1d81eb768906a84dfd4ca06606d857269d6478595d023137895788b476fe174","Image":"debian:wheezy","Names":["/thirsty_hawking"],"Ports":[],"Status":"Exited - (0) Less than a second ago"} - - ,{"Command":"docker-registry","Created":1423702401,"Id":"7495fa1e6c231934f42eb34525f24a052af2a7a43ae9c85051636428a62a40ba","Image":"registry:latest","Names":["/registry"],"Ports":[{"IP":"0.0.0.0","PrivatePort":5000,"PublicPort":5000,"Type":"tcp"}],"Status":"Up - 30 seconds"} - - ]' + encoding: UTF-8 + string: |- + [{"Command":"true","Created":1428151088,"Id":"18afbdcc7ff9284d04485a59a5a6f21655a40a4897c0e4f66cda256a0085e346","Image":"debian:wheezy","Names":["/hungry_cori"],"Ports":[],"Status":"Exited (0) Less than a second ago"} + ,{"Command":"sleep 300","Created":1428150873,"Id":"dcb77ec84ac63a46773b12fc915f991b8098197b20aed74d4af63194fae39620","Image":"debian:wheezy","Names":["/berserk_lovelace"],"Ports":[],"Status":"Up 3 minutes"} + ,{"Command":"docker-registry","Created":1428150824,"Id":"02d89987fd1eeb5d632b548e58a29fb7c566b62d91a1e572365d7acfd5b1dcaa","Image":"registry:latest","Names":["/registry"],"Ports":[],"Status":"Exited (137) 3 minutes ago"} + ,{"Command":"sleep 5","Created":1428149940,"Id":"096cd688e7789a795d4c7fe13e160e02404f5cb130c3aafb3af35882c94a8ea3","Image":"debian:wheezy","Names":["/sad_babbage"],"Ports":[],"Status":"Exited (0) 19 minutes ago"} + ,{"Command":"true","Created":1428149902,"Id":"67f86b307bcd1d238adb201633253b4de5ccea3aa1f61aa94a3315f6e1a7fc44","Image":"debian:wheezy","Names":["/bar"],"Ports":[],"Status":"Exited (0) 19 minutes ago"} + ] http_version: - recorded_at: Thu, 12 Feb 2015 00:53:52 GMT + recorded_at: Sat, 04 Apr 2015 12:38:08 GMT - request: method: get - uri: /v1.16/containers/json + uri: "/v1.16/containers/json" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -127,26 +126,25 @@ http_interactions: Content-Type: - application/json Date: - - Thu, 12 Feb 2015 00:53:52 GMT + - Sat, 04 Apr 2015 12:38:08 GMT Content-Length: - - '275' + - '208' body: - encoding: US-ASCII - string: ! '[{"Command":"docker-registry","Created":1423702401,"Id":"7495fa1e6c231934f42eb34525f24a052af2a7a43ae9c85051636428a62a40ba","Image":"registry:latest","Names":["/registry"],"Ports":[{"IP":"0.0.0.0","PrivatePort":5000,"PublicPort":5000,"Type":"tcp"}],"Status":"Up - 30 seconds"} - - ]' + encoding: UTF-8 + string: |- + [{"Command":"sleep 300","Created":1428150873,"Id":"dcb77ec84ac63a46773b12fc915f991b8098197b20aed74d4af63194fae39620","Image":"debian:wheezy","Names":["/berserk_lovelace"],"Ports":[],"Status":"Up 3 minutes"} + ] http_version: - recorded_at: Thu, 12 Feb 2015 00:53:52 GMT + recorded_at: Sat, 04 Apr 2015 12:38:09 GMT - request: method: delete - uri: /v1.16/containers/a1d81eb768906a84dfd4ca06606d857269d6478595d023137895788b476fe174 + uri: "/v1.16/containers/18afbdcc7ff9284d04485a59a5a6f21655a40a4897c0e4f66cda256a0085e346" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -155,10 +153,10 @@ http_interactions: message: headers: Date: - - Thu, 12 Feb 2015 00:53:53 GMT + - Sat, 04 Apr 2015 12:38:08 GMT body: - encoding: US-ASCII + encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 12 Feb 2015 00:53:53 GMT -recorded_with: VCR 2.9.2 + recorded_at: Sat, 04 Apr 2015 12:38:09 GMT +recorded_with: VCR 2.9.3 diff --git a/spec/vcr/Docker_Container/_streaming_logs/when_not_selecting_any_stream/raises_a_client_error.yml b/spec/vcr/Docker_Container/_streaming_logs/when_not_selecting_any_stream/raises_a_client_error.yml index 62a48bb83..f7947786a 100644 --- a/spec/vcr/Docker_Container/_streaming_logs/when_not_selecting_any_stream/raises_a_client_error.yml +++ b/spec/vcr/Docker_Container/_streaming_logs/when_not_selecting_any_stream/raises_a_client_error.yml @@ -2,13 +2,13 @@ http_interactions: - request: method: post - uri: /v1.16/containers/create + uri: "/v1.16/containers/create" body: encoding: UTF-8 - string: ! '{"Cmd":"echo hello","Image":"debian:wheezy"}' + string: '{"Cmd":"echo hello","Image":"debian:wheezy"}' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - application/json response: @@ -19,25 +19,24 @@ http_interactions: Content-Type: - application/json Date: - - Thu, 12 Feb 2015 00:53:24 GMT + - Sat, 04 Apr 2015 12:37:50 GMT Content-Length: - '90' body: - encoding: US-ASCII - string: ! '{"Id":"03de1b78ad9454aeb26ec0e48637c58e756be7813aea3e3fa60a1cea3965ce75","Warnings":null} - -' + encoding: UTF-8 + string: | + {"Id":"bc358a7b243709022244372c8c06484d73a6dc79d2ea979efaac93ddada85209","Warnings":null} http_version: - recorded_at: Thu, 12 Feb 2015 00:53:24 GMT + recorded_at: Sat, 04 Apr 2015 12:37:50 GMT - request: method: get - uri: /v1.16/containers/03de1b78ad9454aeb26ec0e48637c58e756be7813aea3e3fa60a1cea3965ce75/logs + uri: "/v1.16/containers/bc358a7b243709022244372c8c06484d73a6dc79d2ea979efaac93ddada85209/logs" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -48,25 +47,24 @@ http_interactions: Content-Type: - text/plain; charset=utf-8 Date: - - Thu, 12 Feb 2015 00:53:24 GMT + - Sat, 04 Apr 2015 12:37:50 GMT Content-Length: - '52' body: - encoding: US-ASCII - string: ! 'Bad parameters: you must choose at least one stream - -' + encoding: UTF-8 + string: | + Bad parameters: you must choose at least one stream http_version: - recorded_at: Thu, 12 Feb 2015 00:53:24 GMT + recorded_at: Sat, 04 Apr 2015 12:37:50 GMT - request: method: get - uri: /v1.16/containers/03de1b78ad9454aeb26ec0e48637c58e756be7813aea3e3fa60a1cea3965ce75/logs + uri: "/v1.16/containers/bc358a7b243709022244372c8c06484d73a6dc79d2ea979efaac93ddada85209/logs" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -77,25 +75,24 @@ http_interactions: Content-Type: - text/plain; charset=utf-8 Date: - - Thu, 12 Feb 2015 00:53:24 GMT + - Sat, 04 Apr 2015 12:37:50 GMT Content-Length: - '52' body: - encoding: US-ASCII - string: ! 'Bad parameters: you must choose at least one stream - -' + encoding: UTF-8 + string: | + Bad parameters: you must choose at least one stream http_version: - recorded_at: Thu, 12 Feb 2015 00:53:24 GMT + recorded_at: Sat, 04 Apr 2015 12:37:50 GMT - request: method: get - uri: /v1.16/containers/03de1b78ad9454aeb26ec0e48637c58e756be7813aea3e3fa60a1cea3965ce75/logs + uri: "/v1.16/containers/bc358a7b243709022244372c8c06484d73a6dc79d2ea979efaac93ddada85209/logs" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -106,25 +103,24 @@ http_interactions: Content-Type: - text/plain; charset=utf-8 Date: - - Thu, 12 Feb 2015 00:53:24 GMT + - Sat, 04 Apr 2015 12:37:50 GMT Content-Length: - '52' body: - encoding: US-ASCII - string: ! 'Bad parameters: you must choose at least one stream - -' + encoding: UTF-8 + string: | + Bad parameters: you must choose at least one stream http_version: - recorded_at: Thu, 12 Feb 2015 00:53:24 GMT + recorded_at: Sat, 04 Apr 2015 12:37:50 GMT - request: method: get - uri: /v1.16/containers/03de1b78ad9454aeb26ec0e48637c58e756be7813aea3e3fa60a1cea3965ce75/logs + uri: "/v1.16/containers/bc358a7b243709022244372c8c06484d73a6dc79d2ea979efaac93ddada85209/logs" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -135,25 +131,24 @@ http_interactions: Content-Type: - text/plain; charset=utf-8 Date: - - Thu, 12 Feb 2015 00:53:24 GMT + - Sat, 04 Apr 2015 12:37:50 GMT Content-Length: - '52' body: - encoding: US-ASCII - string: ! 'Bad parameters: you must choose at least one stream - -' + encoding: UTF-8 + string: | + Bad parameters: you must choose at least one stream http_version: - recorded_at: Thu, 12 Feb 2015 00:53:24 GMT + recorded_at: Sat, 04 Apr 2015 12:37:50 GMT - request: method: delete - uri: /v1.16/containers/03de1b78ad9454aeb26ec0e48637c58e756be7813aea3e3fa60a1cea3965ce75 + uri: "/v1.16/containers/bc358a7b243709022244372c8c06484d73a6dc79d2ea979efaac93ddada85209" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -162,10 +157,10 @@ http_interactions: message: headers: Date: - - Thu, 12 Feb 2015 00:53:25 GMT + - Sat, 04 Apr 2015 12:37:50 GMT body: - encoding: US-ASCII + encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 12 Feb 2015 00:53:25 GMT -recorded_with: VCR 2.9.2 + recorded_at: Sat, 04 Apr 2015 12:37:50 GMT +recorded_with: VCR 2.9.3 diff --git a/spec/vcr/Docker_Container/_streaming_logs/when_selecting_stdout/returns_blank_logs.yml b/spec/vcr/Docker_Container/_streaming_logs/when_selecting_stdout/returns_blank_logs.yml index 737379eda..edc1154a8 100644 --- a/spec/vcr/Docker_Container/_streaming_logs/when_selecting_stdout/returns_blank_logs.yml +++ b/spec/vcr/Docker_Container/_streaming_logs/when_selecting_stdout/returns_blank_logs.yml @@ -2,13 +2,13 @@ http_interactions: - request: method: post - uri: /v1.16/containers/create + uri: "/v1.16/containers/create" body: encoding: UTF-8 - string: ! '{"Cmd":"echo hello","Image":"debian:wheezy"}' + string: '{"Cmd":"echo hello","Image":"debian:wheezy"}' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - application/json response: @@ -19,25 +19,24 @@ http_interactions: Content-Type: - application/json Date: - - Thu, 12 Feb 2015 00:53:25 GMT + - Sat, 04 Apr 2015 12:37:50 GMT Content-Length: - '90' body: - encoding: US-ASCII - string: ! '{"Id":"598c1c2c0ad657aed31bcae3a7071ef356f5ab4010cce7cf8ee5f87798acaef8","Warnings":null} - -' + encoding: UTF-8 + string: | + {"Id":"6848885d73fcd021230ef78ef8f63e952957fc93dec7707cde5ed2658d359f3d","Warnings":null} http_version: - recorded_at: Thu, 12 Feb 2015 00:53:25 GMT + recorded_at: Sat, 04 Apr 2015 12:37:50 GMT - request: method: get - uri: /v1.16/containers/598c1c2c0ad657aed31bcae3a7071ef356f5ab4010cce7cf8ee5f87798acaef8/logs?stdout=1 + uri: "/v1.16/containers/6848885d73fcd021230ef78ef8f63e952957fc93dec7707cde5ed2658d359f3d/logs?stdout=1" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -46,25 +45,25 @@ http_interactions: message: headers: Date: - - Thu, 12 Feb 2015 00:53:25 GMT + - Sat, 04 Apr 2015 12:37:50 GMT Content-Length: - '0' Content-Type: - text/plain; charset=utf-8 body: - encoding: US-ASCII + encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 12 Feb 2015 00:53:25 GMT + recorded_at: Sat, 04 Apr 2015 12:37:50 GMT - request: method: delete - uri: /v1.16/containers/598c1c2c0ad657aed31bcae3a7071ef356f5ab4010cce7cf8ee5f87798acaef8 + uri: "/v1.16/containers/6848885d73fcd021230ef78ef8f63e952957fc93dec7707cde5ed2658d359f3d" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -73,10 +72,10 @@ http_interactions: message: headers: Date: - - Thu, 12 Feb 2015 00:53:26 GMT + - Sat, 04 Apr 2015 12:37:50 GMT body: - encoding: US-ASCII + encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 12 Feb 2015 00:53:26 GMT -recorded_with: VCR 2.9.2 + recorded_at: Sat, 04 Apr 2015 12:37:50 GMT +recorded_with: VCR 2.9.3 diff --git a/spec/vcr/Docker_Container/_top/returns_the_top_commands_as_an_Array.yml b/spec/vcr/Docker_Container/_top/returns_the_top_commands_as_an_Array.yml index 3f07c923a..0e6c3cf1f 100644 --- a/spec/vcr/Docker_Container/_top/returns_the_top_commands_as_an_Array.yml +++ b/spec/vcr/Docker_Container/_top/returns_the_top_commands_as_an_Array.yml @@ -2,13 +2,13 @@ http_interactions: - request: method: post - uri: /v1.16/build + uri: "/v1.16/build" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - application/tar Transfer-Encoding: @@ -23,26 +23,26 @@ http_interactions: Content-Type: - application/json Date: - - Thu, 12 Feb 2015 00:53:32 GMT + - Sat, 04 Apr 2015 12:37:52 GMT body: - encoding: US-ASCII - string: ! "{\"stream\":\"Step 0 : FROM debian:wheezy\\n\"}\r\n{\"stream\":\" - ---\\u003e c90d655b99b2\\n\"}\r\n{\"stream\":\"Step 1 : RUN printf '#! /bin/sh\\\\nwhile + encoding: UTF-8 + string: "{\"stream\":\"Step 0 : FROM debian:wheezy\\n\"}\r\n{\"stream\":\" ---\\u003e + 1265e16d0c28\\n\"}\r\n{\"stream\":\"Step 1 : RUN printf '#! /bin/sh\\\\nwhile true\\\\ndo\\\\ntrue\\\\ndone\\\\n' \\u003e /while \\u0026\\u0026 chmod +x - /while\\n\"}\r\n{\"stream\":\" ---\\u003e Running in 191d9cbe06cf\\n\"}\r\n{\"stream\":\" - ---\\u003e 89c657420303\\n\"}\r\n{\"stream\":\"Removing intermediate container - 191d9cbe06cf\\n\"}\r\n{\"stream\":\"Successfully built 89c657420303\\n\"}\r\n" + /while\\n\"}\r\n{\"stream\":\" ---\\u003e Running in 86fd2f876548\\n\"}\r\n{\"stream\":\" + ---\\u003e 8e11e5a3b258\\n\"}\r\n{\"stream\":\"Removing intermediate container + 86fd2f876548\\n\"}\r\n{\"stream\":\"Successfully built 8e11e5a3b258\\n\"}\r\n" http_version: - recorded_at: Thu, 12 Feb 2015 00:53:34 GMT + recorded_at: Sat, 04 Apr 2015 12:37:53 GMT - request: method: post - uri: /v1.16/containers/create + uri: "/v1.16/containers/create" body: encoding: UTF-8 - string: ! '{"Image":"89c657420303","Cmd":["/while"]}' + string: '{"Image":"8e11e5a3b258","Cmd":["/while"]}' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - application/json response: @@ -53,25 +53,24 @@ http_interactions: Content-Type: - application/json Date: - - Thu, 12 Feb 2015 00:53:35 GMT + - Sat, 04 Apr 2015 12:37:53 GMT Content-Length: - '90' body: - encoding: US-ASCII - string: ! '{"Id":"75107c91ead45043299b32ef1911b4152b7cc75325288ecbdb0515431f7d9014","Warnings":null} - -' + encoding: UTF-8 + string: | + {"Id":"375872cc67e8d4b589174d319b00196ced0d1ade73b872af25e8f04709dfb3a4","Warnings":null} http_version: - recorded_at: Thu, 12 Feb 2015 00:53:35 GMT + recorded_at: Sat, 04 Apr 2015 12:37:53 GMT - request: method: post - uri: /v1.16/containers/75107c91ead45043299b32ef1911b4152b7cc75325288ecbdb0515431f7d9014/start + uri: "/v1.16/containers/375872cc67e8d4b589174d319b00196ced0d1ade73b872af25e8f04709dfb3a4/start" body: encoding: UTF-8 - string: ! '{}' + string: "{}" headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - application/json response: @@ -80,21 +79,21 @@ http_interactions: message: headers: Date: - - Thu, 12 Feb 2015 00:53:35 GMT + - Sat, 04 Apr 2015 12:37:53 GMT body: - encoding: US-ASCII + encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 12 Feb 2015 00:53:35 GMT + recorded_at: Sat, 04 Apr 2015 12:37:53 GMT - request: method: get - uri: /v1.16/containers/75107c91ead45043299b32ef1911b4152b7cc75325288ecbdb0515431f7d9014/top + uri: "/v1.16/containers/375872cc67e8d4b589174d319b00196ced0d1ade73b872af25e8f04709dfb3a4/top" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -105,26 +104,24 @@ http_interactions: Content-Type: - application/json Date: - - Thu, 12 Feb 2015 00:53:36 GMT + - Sat, 04 Apr 2015 12:37:54 GMT Content-Length: - - '144' + - '92' body: - encoding: US-ASCII - string: ! '{"Processes":[["root","9409","269","99","19:53","?","00:00:01","/bin/sh - /while"]],"Titles":["UID","PID","PPID","C","STIME","TTY","TIME","CMD"]} - -' + encoding: UTF-8 + string: | + {"Processes":[["18750","root","{while} /bin/sh /while"]],"Titles":["PID","USER","COMMAND"]} http_version: - recorded_at: Thu, 12 Feb 2015 00:53:36 GMT + recorded_at: Sat, 04 Apr 2015 12:37:54 GMT - request: method: post - uri: /v1.16/containers/75107c91ead45043299b32ef1911b4152b7cc75325288ecbdb0515431f7d9014/kill + uri: "/v1.16/containers/375872cc67e8d4b589174d319b00196ced0d1ade73b872af25e8f04709dfb3a4/kill" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -133,21 +130,21 @@ http_interactions: message: headers: Date: - - Thu, 12 Feb 2015 00:53:36 GMT + - Sat, 04 Apr 2015 12:37:54 GMT body: - encoding: US-ASCII + encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 12 Feb 2015 00:53:36 GMT + recorded_at: Sat, 04 Apr 2015 12:37:55 GMT - request: method: delete - uri: /v1.16/containers/75107c91ead45043299b32ef1911b4152b7cc75325288ecbdb0515431f7d9014 + uri: "/v1.16/containers/375872cc67e8d4b589174d319b00196ced0d1ade73b872af25e8f04709dfb3a4" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -156,21 +153,21 @@ http_interactions: message: headers: Date: - - Thu, 12 Feb 2015 00:53:37 GMT + - Sat, 04 Apr 2015 12:37:54 GMT body: - encoding: US-ASCII + encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 12 Feb 2015 00:53:37 GMT + recorded_at: Sat, 04 Apr 2015 12:37:55 GMT - request: method: delete - uri: /v1.16/images/89c657420303 + uri: "/v1.16/images/8e11e5a3b258" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -181,14 +178,14 @@ http_interactions: Content-Type: - application/json Date: - - Thu, 12 Feb 2015 00:53:37 GMT + - Sat, 04 Apr 2015 12:37:55 GMT Content-Length: - '81' body: - encoding: US-ASCII - string: ! '[{"Deleted":"89c657420303760b4bc8e0df04c241d9a606a9ff5e9740d184442e21071b4ac0"} - - ]' + encoding: UTF-8 + string: |- + [{"Deleted":"8e11e5a3b2582c3c32c8630ca67467a768941e3ba82047f9665b39689f642f66"} + ] http_version: - recorded_at: Thu, 12 Feb 2015 00:53:37 GMT -recorded_with: VCR 2.9.2 + recorded_at: Sat, 04 Apr 2015 12:37:55 GMT +recorded_with: VCR 2.9.3 diff --git a/spec/vcr/Docker_Container/_unpause/unpauses_the_container.yml b/spec/vcr/Docker_Container/_unpause/unpauses_the_container.yml index 264bbab1d..fbddfa7ee 100644 --- a/spec/vcr/Docker_Container/_unpause/unpauses_the_container.yml +++ b/spec/vcr/Docker_Container/_unpause/unpauses_the_container.yml @@ -2,13 +2,13 @@ http_interactions: - request: method: post - uri: /v1.16/containers/create + uri: "/v1.16/containers/create" body: encoding: UTF-8 - string: ! '{"Cmd":["sleep","50"],"Image":"debian:wheezy"}' + string: '{"Cmd":["sleep","50"],"Image":"debian:wheezy"}' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - application/json response: @@ -19,25 +19,24 @@ http_interactions: Content-Type: - application/json Date: - - Thu, 12 Feb 2015 00:54:12 GMT + - Sat, 04 Apr 2015 12:38:23 GMT Content-Length: - '90' body: - encoding: US-ASCII - string: ! '{"Id":"dda367ded99d0fbf02ca9b832432de993c1477aaeb2b610b18b8e94ca23a70c8","Warnings":null} - -' + encoding: UTF-8 + string: | + {"Id":"52ccc79aa33f18be86ca1f23c221a63b34c74c0390b17f91be27701b1f0b7758","Warnings":null} http_version: - recorded_at: Thu, 12 Feb 2015 00:54:12 GMT + recorded_at: Sat, 04 Apr 2015 12:38:23 GMT - request: method: post - uri: /v1.16/containers/dda367ded99d0fbf02ca9b832432de993c1477aaeb2b610b18b8e94ca23a70c8/start + uri: "/v1.16/containers/52ccc79aa33f18be86ca1f23c221a63b34c74c0390b17f91be27701b1f0b7758/start" body: encoding: UTF-8 - string: ! '{}' + string: "{}" headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - application/json response: @@ -46,21 +45,21 @@ http_interactions: message: headers: Date: - - Thu, 12 Feb 2015 00:54:12 GMT + - Sat, 04 Apr 2015 12:38:23 GMT body: - encoding: US-ASCII + encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 12 Feb 2015 00:54:12 GMT + recorded_at: Sat, 04 Apr 2015 12:38:23 GMT - request: method: post - uri: /v1.16/containers/dda367ded99d0fbf02ca9b832432de993c1477aaeb2b610b18b8e94ca23a70c8/pause + uri: "/v1.16/containers/52ccc79aa33f18be86ca1f23c221a63b34c74c0390b17f91be27701b1f0b7758/pause" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -69,21 +68,21 @@ http_interactions: message: headers: Date: - - Thu, 12 Feb 2015 00:54:12 GMT + - Sat, 04 Apr 2015 12:38:23 GMT body: - encoding: US-ASCII + encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 12 Feb 2015 00:54:12 GMT + recorded_at: Sat, 04 Apr 2015 12:38:23 GMT - request: method: post - uri: /v1.16/containers/dda367ded99d0fbf02ca9b832432de993c1477aaeb2b610b18b8e94ca23a70c8/unpause + uri: "/v1.16/containers/52ccc79aa33f18be86ca1f23c221a63b34c74c0390b17f91be27701b1f0b7758/unpause" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -92,21 +91,21 @@ http_interactions: message: headers: Date: - - Thu, 12 Feb 2015 00:54:12 GMT + - Sat, 04 Apr 2015 12:38:23 GMT body: - encoding: US-ASCII + encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 12 Feb 2015 00:54:12 GMT + recorded_at: Sat, 04 Apr 2015 12:38:23 GMT - request: method: get - uri: /v1.16/containers/dda367ded99d0fbf02ca9b832432de993c1477aaeb2b610b18b8e94ca23a70c8/json + uri: "/v1.16/containers/52ccc79aa33f18be86ca1f23c221a63b34c74c0390b17f91be27701b1f0b7758/json" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -117,25 +116,22 @@ http_interactions: Content-Type: - application/json Date: - - Thu, 12 Feb 2015 00:54:12 GMT - Content-Length: - - '1929' + - Sat, 04 Apr 2015 12:38:23 GMT body: - encoding: US-ASCII - string: ! '{"AppArmorProfile":"","Args":["50"],"Config":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":["sleep","50"],"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":null,"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"ExposedPorts":null,"Hostname":"dda367ded99d","Image":"debian:wheezy","MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":null,"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Created":"2015-02-12T00:54:12.095269414Z","Driver":"devicemapper","ExecDriver":"native-0.2","HostConfig":{"Binds":null,"CapAdd":null,"CapDrop":null,"ContainerIDFile":"","Devices":null,"Dns":null,"DnsSearch":null,"ExtraHosts":null,"IpcMode":"","Links":null,"LxcConf":null,"NetworkMode":"","PortBindings":null,"Privileged":false,"PublishAllPorts":false,"RestartPolicy":{"MaximumRetryCount":0,"Name":""},"SecurityOpt":null,"VolumesFrom":null},"HostnamePath":"/var/lib/docker/containers/dda367ded99d0fbf02ca9b832432de993c1477aaeb2b610b18b8e94ca23a70c8/hostname","HostsPath":"/var/lib/docker/containers/dda367ded99d0fbf02ca9b832432de993c1477aaeb2b610b18b8e94ca23a70c8/hosts","Id":"dda367ded99d0fbf02ca9b832432de993c1477aaeb2b610b18b8e94ca23a70c8","Image":"c90d655b99b2ec5b7e94d38c87f92dce015c17a313caeaae0e980d9b9bed8444","MountLabel":"","Name":"/lonely_hodgkin","NetworkSettings":{"Bridge":"docker0","Gateway":"172.17.42.1","IPAddress":"172.17.0.74","IPPrefixLen":16,"MacAddress":"02:42:ac:11:00:4a","PortMapping":null,"Ports":{}},"Path":"sleep","ProcessLabel":"","ResolvConfPath":"/var/lib/docker/containers/dda367ded99d0fbf02ca9b832432de993c1477aaeb2b610b18b8e94ca23a70c8/resolv.conf","State":{"Error":"","ExitCode":0,"FinishedAt":"0001-01-01T00:00:00Z","OOMKilled":false,"Paused":false,"Pid":10476,"Restarting":false,"Running":true,"StartedAt":"2015-02-12T00:54:12.48172734Z"},"Volumes":{},"VolumesRW":{}} - -' + encoding: UTF-8 + string: | + {"AppArmorProfile":"","Args":["50"],"Config":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":["sleep","50"],"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":null,"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"ExposedPorts":null,"Hostname":"52ccc79aa33f","Image":"debian:wheezy","MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":null,"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Created":"2015-04-04T12:38:23.059092537Z","Driver":"aufs","ExecDriver":"native-0.2","ExecIDs":null,"HostConfig":{"Binds":null,"CapAdd":null,"CapDrop":null,"ContainerIDFile":"","Devices":null,"Dns":null,"DnsSearch":null,"ExtraHosts":null,"IpcMode":"","Links":null,"LxcConf":null,"NetworkMode":"","PidMode":"","PortBindings":null,"Privileged":false,"PublishAllPorts":false,"ReadonlyRootfs":false,"RestartPolicy":{"MaximumRetryCount":0,"Name":""},"SecurityOpt":null,"VolumesFrom":null},"HostnamePath":"/mnt/sda1/var/lib/docker/containers/52ccc79aa33f18be86ca1f23c221a63b34c74c0390b17f91be27701b1f0b7758/hostname","HostsPath":"/mnt/sda1/var/lib/docker/containers/52ccc79aa33f18be86ca1f23c221a63b34c74c0390b17f91be27701b1f0b7758/hosts","Id":"52ccc79aa33f18be86ca1f23c221a63b34c74c0390b17f91be27701b1f0b7758","Image":"1265e16d0c286a4252c1dc5e775ba476d9560e2dd96d2032605ee75b30912f6b","MountLabel":"","Name":"/determined_bardeen","NetworkSettings":{"Bridge":"docker0","Gateway":"172.17.42.1","GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"IPAddress":"172.17.1.216","IPPrefixLen":16,"IPv6Gateway":"","LinkLocalIPv6Address":"fe80::42:acff:fe11:1d8","LinkLocalIPv6PrefixLen":64,"MacAddress":"02:42:ac:11:01:d8","PortMapping":null,"Ports":{}},"Path":"sleep","ProcessLabel":"","ResolvConfPath":"/mnt/sda1/var/lib/docker/containers/52ccc79aa33f18be86ca1f23c221a63b34c74c0390b17f91be27701b1f0b7758/resolv.conf","RestartCount":0,"State":{"Error":"","ExitCode":0,"FinishedAt":"0001-01-01T00:00:00Z","OOMKilled":false,"Paused":false,"Pid":18916,"Restarting":false,"Running":true,"StartedAt":"2015-04-04T12:38:23.595728932Z"},"Volumes":{},"VolumesRW":{}} http_version: - recorded_at: Thu, 12 Feb 2015 00:54:12 GMT + recorded_at: Sat, 04 Apr 2015 12:38:23 GMT - request: method: post - uri: /v1.16/containers/dda367ded99d0fbf02ca9b832432de993c1477aaeb2b610b18b8e94ca23a70c8/kill + uri: "/v1.16/containers/52ccc79aa33f18be86ca1f23c221a63b34c74c0390b17f91be27701b1f0b7758/kill" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -144,21 +140,21 @@ http_interactions: message: headers: Date: - - Thu, 12 Feb 2015 00:54:12 GMT + - Sat, 04 Apr 2015 12:38:23 GMT body: - encoding: US-ASCII + encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 12 Feb 2015 00:54:12 GMT + recorded_at: Sat, 04 Apr 2015 12:38:23 GMT - request: method: delete - uri: /v1.16/containers/dda367ded99d0fbf02ca9b832432de993c1477aaeb2b610b18b8e94ca23a70c8 + uri: "/v1.16/containers/52ccc79aa33f18be86ca1f23c221a63b34c74c0390b17f91be27701b1f0b7758" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -167,10 +163,10 @@ http_interactions: message: headers: Date: - - Thu, 12 Feb 2015 00:54:13 GMT + - Sat, 04 Apr 2015 12:38:23 GMT body: - encoding: US-ASCII + encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 12 Feb 2015 00:54:13 GMT -recorded_with: VCR 2.9.2 + recorded_at: Sat, 04 Apr 2015 12:38:23 GMT +recorded_with: VCR 2.9.3 diff --git a/spec/vcr/Docker_Container/_wait/waits_for_the_command_to_finish.yml b/spec/vcr/Docker_Container/_wait/waits_for_the_command_to_finish.yml index cadefe7a3..7f062c146 100644 --- a/spec/vcr/Docker_Container/_wait/waits_for_the_command_to_finish.yml +++ b/spec/vcr/Docker_Container/_wait/waits_for_the_command_to_finish.yml @@ -2,13 +2,13 @@ http_interactions: - request: method: post - uri: /v1.16/containers/create + uri: "/v1.16/containers/create" body: encoding: UTF-8 - string: ! '{"Cmd":["tar","nonsense"],"Image":"debian:wheezy"}' + string: '{"Cmd":["tar","nonsense"],"Image":"debian:wheezy"}' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - application/json response: @@ -19,25 +19,24 @@ http_interactions: Content-Type: - application/json Date: - - Thu, 12 Feb 2015 00:54:13 GMT + - Sat, 04 Apr 2015 12:38:24 GMT Content-Length: - '90' body: - encoding: US-ASCII - string: ! '{"Id":"19163c10fe27104f58c87c5975c39207b00144ed3c0db3c3ada0684aafd4c73e","Warnings":null} - -' + encoding: UTF-8 + string: | + {"Id":"499da92108370d5b3eda0c2a0c8fdaa14a510f99c9463ba47ed5fec652a4824d","Warnings":null} http_version: - recorded_at: Thu, 12 Feb 2015 00:54:13 GMT + recorded_at: Sat, 04 Apr 2015 12:38:24 GMT - request: method: post - uri: /v1.16/containers/19163c10fe27104f58c87c5975c39207b00144ed3c0db3c3ada0684aafd4c73e/start + uri: "/v1.16/containers/499da92108370d5b3eda0c2a0c8fdaa14a510f99c9463ba47ed5fec652a4824d/start" body: encoding: UTF-8 - string: ! '{}' + string: "{}" headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - application/json response: @@ -46,21 +45,21 @@ http_interactions: message: headers: Date: - - Thu, 12 Feb 2015 00:54:13 GMT + - Sat, 04 Apr 2015 12:38:24 GMT body: - encoding: US-ASCII + encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 12 Feb 2015 00:54:13 GMT + recorded_at: Sat, 04 Apr 2015 12:38:24 GMT - request: method: post - uri: /v1.16/containers/19163c10fe27104f58c87c5975c39207b00144ed3c0db3c3ada0684aafd4c73e/wait + uri: "/v1.16/containers/499da92108370d5b3eda0c2a0c8fdaa14a510f99c9463ba47ed5fec652a4824d/wait" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -71,25 +70,24 @@ http_interactions: Content-Type: - application/json Date: - - Thu, 12 Feb 2015 00:54:13 GMT + - Sat, 04 Apr 2015 12:38:24 GMT Content-Length: - '18' body: - encoding: US-ASCII - string: ! '{"StatusCode":64} - -' + encoding: UTF-8 + string: | + {"StatusCode":64} http_version: - recorded_at: Thu, 12 Feb 2015 00:54:13 GMT + recorded_at: Sat, 04 Apr 2015 12:38:24 GMT - request: method: delete - uri: /v1.16/containers/19163c10fe27104f58c87c5975c39207b00144ed3c0db3c3ada0684aafd4c73e + uri: "/v1.16/containers/499da92108370d5b3eda0c2a0c8fdaa14a510f99c9463ba47ed5fec652a4824d" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -98,10 +96,10 @@ http_interactions: message: headers: Date: - - Thu, 12 Feb 2015 00:54:14 GMT + - Sat, 04 Apr 2015 12:38:24 GMT body: - encoding: US-ASCII + encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 12 Feb 2015 00:54:14 GMT -recorded_with: VCR 2.9.2 + recorded_at: Sat, 04 Apr 2015 12:38:24 GMT +recorded_with: VCR 2.9.3 diff --git a/spec/vcr/Docker_Container/_wait/when_an_argument_is_given/sets_the_read_timeout_to_that_amount_of_time.yml b/spec/vcr/Docker_Container/_wait/when_an_argument_is_given/sets_the_read_timeout_to_that_amount_of_time.yml index 8116f3237..2126b46c9 100644 --- a/spec/vcr/Docker_Container/_wait/when_an_argument_is_given/sets_the_read_timeout_to_that_amount_of_time.yml +++ b/spec/vcr/Docker_Container/_wait/when_an_argument_is_given/sets_the_read_timeout_to_that_amount_of_time.yml @@ -2,13 +2,13 @@ http_interactions: - request: method: post - uri: /v1.16/containers/create + uri: "/v1.16/containers/create" body: encoding: UTF-8 - string: ! '{"Cmd":["sleep","5"],"Image":"debian:wheezy"}' + string: '{"Cmd":["sleep","5"],"Image":"debian:wheezy"}' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - application/json response: @@ -19,25 +19,24 @@ http_interactions: Content-Type: - application/json Date: - - Thu, 12 Feb 2015 00:54:15 GMT + - Sat, 04 Apr 2015 12:38:24 GMT Content-Length: - '90' body: - encoding: US-ASCII - string: ! '{"Id":"941661ded3b3d9790dad9bb1922966d0bd715ee3f7f3d855bf4edf30df33a81f","Warnings":null} - -' + encoding: UTF-8 + string: | + {"Id":"12278335cf3962dcd708974aaf69fbb6aae1631d631813cf93b68629f3097807","Warnings":null} http_version: - recorded_at: Thu, 12 Feb 2015 00:54:15 GMT + recorded_at: Sat, 04 Apr 2015 12:38:24 GMT - request: method: post - uri: /v1.16/containers/941661ded3b3d9790dad9bb1922966d0bd715ee3f7f3d855bf4edf30df33a81f/start + uri: "/v1.16/containers/12278335cf3962dcd708974aaf69fbb6aae1631d631813cf93b68629f3097807/start" body: encoding: UTF-8 - string: ! '{}' + string: "{}" headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - application/json response: @@ -46,21 +45,21 @@ http_interactions: message: headers: Date: - - Thu, 12 Feb 2015 00:54:15 GMT + - Sat, 04 Apr 2015 12:38:25 GMT body: - encoding: US-ASCII + encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 12 Feb 2015 00:54:15 GMT + recorded_at: Sat, 04 Apr 2015 12:38:25 GMT - request: method: post - uri: /v1.16/containers/941661ded3b3d9790dad9bb1922966d0bd715ee3f7f3d855bf4edf30df33a81f/wait + uri: "/v1.16/containers/12278335cf3962dcd708974aaf69fbb6aae1631d631813cf93b68629f3097807/wait" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -71,25 +70,24 @@ http_interactions: Content-Type: - application/json Date: - - Thu, 12 Feb 2015 00:54:20 GMT + - Sat, 04 Apr 2015 12:38:30 GMT Content-Length: - '17' body: - encoding: US-ASCII - string: ! '{"StatusCode":0} - -' + encoding: UTF-8 + string: | + {"StatusCode":0} http_version: - recorded_at: Thu, 12 Feb 2015 00:54:20 GMT + recorded_at: Sat, 04 Apr 2015 12:38:30 GMT - request: method: delete - uri: /v1.16/containers/941661ded3b3d9790dad9bb1922966d0bd715ee3f7f3d855bf4edf30df33a81f + uri: "/v1.16/containers/12278335cf3962dcd708974aaf69fbb6aae1631d631813cf93b68629f3097807" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -98,10 +96,10 @@ http_interactions: message: headers: Date: - - Thu, 12 Feb 2015 00:54:21 GMT + - Sat, 04 Apr 2015 12:38:30 GMT body: - encoding: US-ASCII + encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 12 Feb 2015 00:54:21 GMT -recorded_with: VCR 2.9.2 + recorded_at: Sat, 04 Apr 2015 12:38:30 GMT +recorded_with: VCR 2.9.3 diff --git a/spec/vcr/Docker_Exec/_create/when_the_HTTP_request_returns_a_201/sets_the_id.yml b/spec/vcr/Docker_Exec/_create/when_the_HTTP_request_returns_a_201/sets_the_id.yml index c0091fad9..8437b444a 100644 --- a/spec/vcr/Docker_Exec/_create/when_the_HTTP_request_returns_a_201/sets_the_id.yml +++ b/spec/vcr/Docker_Exec/_create/when_the_HTTP_request_returns_a_201/sets_the_id.yml @@ -2,13 +2,13 @@ http_interactions: - request: method: post - uri: /v1.16/containers/create + uri: "/v1.16/containers/create" body: encoding: UTF-8 - string: ! '{"Cmd":["sleep","300"],"Image":"debian:wheezy"}' + string: '{"Cmd":["sleep","300"],"Image":"debian:wheezy"}' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - application/json response: @@ -19,25 +19,24 @@ http_interactions: Content-Type: - application/json Date: - - Thu, 12 Feb 2015 00:54:32 GMT + - Sat, 04 Apr 2015 12:35:50 GMT Content-Length: - '90' body: - encoding: US-ASCII - string: ! '{"Id":"28ff85560e9041b1780651a3b39ecf7bcb24160bd2b8fed99f878efd0dd0987a","Warnings":null} - -' + encoding: UTF-8 + string: | + {"Id":"062f56e2fe17c5e5f774bfe9a8f64be2000136cfcd29152d7d6acef26dee026b","Warnings":null} http_version: - recorded_at: Thu, 12 Feb 2015 00:54:32 GMT + recorded_at: Sat, 04 Apr 2015 12:35:50 GMT - request: method: post - uri: /v1.16/containers/28ff85560e9041b1780651a3b39ecf7bcb24160bd2b8fed99f878efd0dd0987a/start + uri: "/v1.16/containers/062f56e2fe17c5e5f774bfe9a8f64be2000136cfcd29152d7d6acef26dee026b/start" body: encoding: UTF-8 - string: ! '{}' + string: "{}" headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - application/json response: @@ -46,21 +45,21 @@ http_interactions: message: headers: Date: - - Thu, 12 Feb 2015 00:54:32 GMT + - Sat, 04 Apr 2015 12:35:50 GMT body: - encoding: US-ASCII + encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 12 Feb 2015 00:54:32 GMT + recorded_at: Sat, 04 Apr 2015 12:35:50 GMT - request: method: post - uri: /v1.16/containers/28ff85560e9041b1780651a3b39ecf7bcb24160bd2b8fed99f878efd0dd0987a/exec + uri: "/v1.16/containers/062f56e2fe17c5e5f774bfe9a8f64be2000136cfcd29152d7d6acef26dee026b/exec" body: encoding: UTF-8 - string: ! '{"AttachStdin":false,"AttachStdout":false,"AttachStderr":false,"Tty":false,"Cmd":["date"]}' + string: '{"AttachStdin":false,"AttachStdout":false,"AttachStderr":false,"Tty":false,"Cmd":["date"]}' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - application/json response: @@ -71,25 +70,24 @@ http_interactions: Content-Type: - application/json Date: - - Thu, 12 Feb 2015 00:54:32 GMT + - Sat, 04 Apr 2015 12:35:50 GMT Content-Length: - '74' body: - encoding: US-ASCII - string: ! '{"Id":"9a9acc770be52705591c79341e49067d7713403da5aee1ce5a4fb2d84d395bc9"} - -' + encoding: UTF-8 + string: | + {"Id":"5f62ebfb880604823118a37612c780f07c451929f73bf21c84493e2975476d94"} http_version: - recorded_at: Thu, 12 Feb 2015 00:54:32 GMT + recorded_at: Sat, 04 Apr 2015 12:35:50 GMT - request: method: post - uri: /v1.16/containers/28ff85560e9041b1780651a3b39ecf7bcb24160bd2b8fed99f878efd0dd0987a/kill + uri: "/v1.16/containers/062f56e2fe17c5e5f774bfe9a8f64be2000136cfcd29152d7d6acef26dee026b/kill" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -98,21 +96,21 @@ http_interactions: message: headers: Date: - - Thu, 12 Feb 2015 00:54:33 GMT + - Sat, 04 Apr 2015 12:35:50 GMT body: - encoding: US-ASCII + encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 12 Feb 2015 00:54:33 GMT + recorded_at: Sat, 04 Apr 2015 12:35:50 GMT - request: method: delete - uri: /v1.16/containers/28ff85560e9041b1780651a3b39ecf7bcb24160bd2b8fed99f878efd0dd0987a + uri: "/v1.16/containers/062f56e2fe17c5e5f774bfe9a8f64be2000136cfcd29152d7d6acef26dee026b" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -121,10 +119,10 @@ http_interactions: message: headers: Date: - - Thu, 12 Feb 2015 00:54:34 GMT + - Sat, 04 Apr 2015 12:35:50 GMT body: - encoding: US-ASCII + encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 12 Feb 2015 00:54:34 GMT -recorded_with: VCR 2.9.2 + recorded_at: Sat, 04 Apr 2015 12:35:50 GMT +recorded_with: VCR 2.9.3 diff --git a/spec/vcr/Docker_Exec/_json/returns_the_description_as_a_Hash.yml b/spec/vcr/Docker_Exec/_json/returns_the_description_as_a_Hash.yml index 217b29cd5..1ee0fc7b2 100644 --- a/spec/vcr/Docker_Exec/_json/returns_the_description_as_a_Hash.yml +++ b/spec/vcr/Docker_Exec/_json/returns_the_description_as_a_Hash.yml @@ -2,13 +2,13 @@ http_interactions: - request: method: post - uri: /v1.16/containers/create + uri: "/v1.16/containers/create" body: encoding: UTF-8 - string: ! '{"Cmd":["sleep","300"],"Image":"debian:wheezy"}' + string: '{"Cmd":["sleep","300"],"Image":"debian:wheezy"}' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - application/json response: @@ -19,25 +19,24 @@ http_interactions: Content-Type: - application/json Date: - - Thu, 12 Feb 2015 00:54:35 GMT + - Sat, 04 Apr 2015 12:35:50 GMT Content-Length: - '90' body: - encoding: US-ASCII - string: ! '{"Id":"9f37ae3fe9137489caa00559911a2fc59003b445e37f0f1790f150506debe424","Warnings":null} - -' + encoding: UTF-8 + string: | + {"Id":"1439750b32c0c225e8ab8d71cc5da34f78641aefdaa526bcb7830c9060f6be69","Warnings":null} http_version: - recorded_at: Thu, 12 Feb 2015 00:54:35 GMT + recorded_at: Sat, 04 Apr 2015 12:35:51 GMT - request: method: post - uri: /v1.16/containers/9f37ae3fe9137489caa00559911a2fc59003b445e37f0f1790f150506debe424/start + uri: "/v1.16/containers/1439750b32c0c225e8ab8d71cc5da34f78641aefdaa526bcb7830c9060f6be69/start" body: encoding: UTF-8 - string: ! '{}' + string: "{}" headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - application/json response: @@ -46,21 +45,21 @@ http_interactions: message: headers: Date: - - Thu, 12 Feb 2015 00:54:35 GMT + - Sat, 04 Apr 2015 12:35:51 GMT body: - encoding: US-ASCII + encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 12 Feb 2015 00:54:35 GMT + recorded_at: Sat, 04 Apr 2015 12:35:51 GMT - request: method: post - uri: /v1.16/containers/9f37ae3fe9137489caa00559911a2fc59003b445e37f0f1790f150506debe424/exec + uri: "/v1.16/containers/1439750b32c0c225e8ab8d71cc5da34f78641aefdaa526bcb7830c9060f6be69/exec" body: encoding: UTF-8 - string: ! '{"Detach":true,"Cmd":["true"]}' + string: '{"Detach":true,"Cmd":["true"]}' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - application/json response: @@ -71,25 +70,24 @@ http_interactions: Content-Type: - application/json Date: - - Thu, 12 Feb 2015 00:54:35 GMT + - Sat, 04 Apr 2015 12:35:51 GMT Content-Length: - '74' body: - encoding: US-ASCII - string: ! '{"Id":"ca4b011a26d15e7135621b70536485b693dc9c0adb603cf8feee9f59e69dca13"} - -' + encoding: UTF-8 + string: | + {"Id":"5f637482eb163baf52893644fda4c96ee8460cc8f2464bbbeebaaf5a7b2c282f"} http_version: - recorded_at: Thu, 12 Feb 2015 00:54:35 GMT + recorded_at: Sat, 04 Apr 2015 12:35:51 GMT - request: method: post - uri: /v1.16/exec/ca4b011a26d15e7135621b70536485b693dc9c0adb603cf8feee9f59e69dca13/start + uri: "/v1.16/exec/5f637482eb163baf52893644fda4c96ee8460cc8f2464bbbeebaaf5a7b2c282f/start?stderr=true&stdout=true&stream=true" body: encoding: UTF-8 - string: ! '{"Tty":false,"Detach":false}' + string: '{"Tty":false,"Detach":false}' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - application/json response: @@ -100,19 +98,19 @@ http_interactions: Content-Type: - application/vnd.docker.raw-stream body: - encoding: US-ASCII + encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 12 Feb 2015 00:54:35 GMT + recorded_at: Sat, 04 Apr 2015 12:35:51 GMT - request: method: get - uri: /v1.16/exec/ca4b011a26d15e7135621b70536485b693dc9c0adb603cf8feee9f59e69dca13/json + uri: "/v1.16/exec/5f637482eb163baf52893644fda4c96ee8460cc8f2464bbbeebaaf5a7b2c282f/json" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -123,23 +121,21 @@ http_interactions: Content-Type: - application/json Date: - - Thu, 12 Feb 2015 00:54:35 GMT - Content-Length: - - '1865' + - Sat, 04 Apr 2015 12:35:51 GMT body: - encoding: US-ASCII - string: ! '{"ID":"ca4b011a26d15e7135621b70536485b693dc9c0adb603cf8feee9f59e69dca13","Running":false,"ExitCode":0,"ProcessConfig":{"privileged":false,"user":"","tty":false,"entrypoint":"true","arguments":[]},"OpenStdin":false,"OpenStderr":false,"OpenStdout":false,"Container":{"State":{"Running":true,"Paused":false,"Restarting":false,"OOMKilled":false,"Pid":11031,"ExitCode":0,"Error":"","StartedAt":"2015-02-12T00:54:35.192664038Z","FinishedAt":"0001-01-01T00:00:00Z"},"ID":"9f37ae3fe9137489caa00559911a2fc59003b445e37f0f1790f150506debe424","Created":"2015-02-12T00:54:34.714597034Z","Path":"sleep","Args":["300"],"Config":{"Hostname":"9f37ae3fe913","Domainname":"","User":"","Memory":0,"MemorySwap":0,"CpuShares":0,"Cpuset":"","AttachStdin":false,"AttachStdout":false,"AttachStderr":false,"PortSpecs":null,"ExposedPorts":null,"Tty":false,"OpenStdin":false,"StdinOnce":false,"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"Cmd":["sleep","300"],"Image":"debian:wheezy","Volumes":null,"WorkingDir":"","Entrypoint":null,"NetworkDisabled":false,"MacAddress":"","OnBuild":null},"Image":"c90d655b99b2ec5b7e94d38c87f92dce015c17a313caeaae0e980d9b9bed8444","NetworkSettings":{"IPAddress":"172.17.0.82","IPPrefixLen":16,"MacAddress":"02:42:ac:11:00:52","Gateway":"172.17.42.1","Bridge":"docker0","PortMapping":null,"Ports":{}},"ResolvConfPath":"/var/lib/docker/containers/9f37ae3fe9137489caa00559911a2fc59003b445e37f0f1790f150506debe424/resolv.conf","HostnamePath":"/var/lib/docker/containers/9f37ae3fe9137489caa00559911a2fc59003b445e37f0f1790f150506debe424/hostname","HostsPath":"/var/lib/docker/containers/9f37ae3fe9137489caa00559911a2fc59003b445e37f0f1790f150506debe424/hosts","Name":"/insane_almeida","Driver":"devicemapper","ExecDriver":"native-0.2","MountLabel":"","ProcessLabel":"","AppArmorProfile":"","RestartCount":0,"Volumes":{},"VolumesRW":{}}}' + encoding: UTF-8 + string: '{"ID":"5f637482eb163baf52893644fda4c96ee8460cc8f2464bbbeebaaf5a7b2c282f","Running":true,"ExitCode":0,"ProcessConfig":{"privileged":false,"user":"","tty":false,"entrypoint":"true","arguments":[]},"OpenStdin":false,"OpenStderr":false,"OpenStdout":false,"Container":{"State":{"Running":true,"Paused":false,"Restarting":false,"OOMKilled":false,"Pid":18346,"ExitCode":0,"Error":"","StartedAt":"2015-04-04T12:35:51.404411443Z","FinishedAt":"0001-01-01T00:00:00Z"},"ID":"1439750b32c0c225e8ab8d71cc5da34f78641aefdaa526bcb7830c9060f6be69","Created":"2015-04-04T12:35:50.819959077Z","Path":"sleep","Args":["300"],"Config":{"Hostname":"1439750b32c0","Domainname":"","User":"","Memory":0,"MemorySwap":0,"CpuShares":0,"Cpuset":"","AttachStdin":false,"AttachStdout":false,"AttachStderr":false,"PortSpecs":null,"ExposedPorts":null,"Tty":false,"OpenStdin":false,"StdinOnce":false,"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"Cmd":["sleep","300"],"Image":"debian:wheezy","Volumes":null,"WorkingDir":"","Entrypoint":null,"NetworkDisabled":false,"MacAddress":"","OnBuild":null},"Image":"1265e16d0c286a4252c1dc5e775ba476d9560e2dd96d2032605ee75b30912f6b","NetworkSettings":{"IPAddress":"172.17.1.160","IPPrefixLen":16,"MacAddress":"02:42:ac:11:01:a0","LinkLocalIPv6Address":"fe80::42:acff:fe11:1a0","LinkLocalIPv6PrefixLen":64,"GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"Gateway":"172.17.42.1","IPv6Gateway":"","Bridge":"docker0","PortMapping":null,"Ports":{}},"ResolvConfPath":"/mnt/sda1/var/lib/docker/containers/1439750b32c0c225e8ab8d71cc5da34f78641aefdaa526bcb7830c9060f6be69/resolv.conf","HostnamePath":"/mnt/sda1/var/lib/docker/containers/1439750b32c0c225e8ab8d71cc5da34f78641aefdaa526bcb7830c9060f6be69/hostname","HostsPath":"/mnt/sda1/var/lib/docker/containers/1439750b32c0c225e8ab8d71cc5da34f78641aefdaa526bcb7830c9060f6be69/hosts","Name":"/elegant_fermat","Driver":"aufs","ExecDriver":"native-0.2","MountLabel":"","ProcessLabel":"","AppArmorProfile":"","RestartCount":0,"UpdateDns":false,"Volumes":{},"VolumesRW":{},"AppliedVolumesFrom":null}}' http_version: - recorded_at: Thu, 12 Feb 2015 00:54:35 GMT + recorded_at: Sat, 04 Apr 2015 12:35:51 GMT - request: method: get - uri: /v1.16/exec/ca4b011a26d15e7135621b70536485b693dc9c0adb603cf8feee9f59e69dca13/json + uri: "/v1.16/exec/5f637482eb163baf52893644fda4c96ee8460cc8f2464bbbeebaaf5a7b2c282f/json" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -150,23 +146,21 @@ http_interactions: Content-Type: - application/json Date: - - Thu, 12 Feb 2015 00:54:35 GMT - Content-Length: - - '1865' + - Sat, 04 Apr 2015 12:35:51 GMT body: - encoding: US-ASCII - string: ! '{"ID":"ca4b011a26d15e7135621b70536485b693dc9c0adb603cf8feee9f59e69dca13","Running":false,"ExitCode":0,"ProcessConfig":{"privileged":false,"user":"","tty":false,"entrypoint":"true","arguments":[]},"OpenStdin":false,"OpenStderr":false,"OpenStdout":false,"Container":{"State":{"Running":true,"Paused":false,"Restarting":false,"OOMKilled":false,"Pid":11031,"ExitCode":0,"Error":"","StartedAt":"2015-02-12T00:54:35.192664038Z","FinishedAt":"0001-01-01T00:00:00Z"},"ID":"9f37ae3fe9137489caa00559911a2fc59003b445e37f0f1790f150506debe424","Created":"2015-02-12T00:54:34.714597034Z","Path":"sleep","Args":["300"],"Config":{"Hostname":"9f37ae3fe913","Domainname":"","User":"","Memory":0,"MemorySwap":0,"CpuShares":0,"Cpuset":"","AttachStdin":false,"AttachStdout":false,"AttachStderr":false,"PortSpecs":null,"ExposedPorts":null,"Tty":false,"OpenStdin":false,"StdinOnce":false,"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"Cmd":["sleep","300"],"Image":"debian:wheezy","Volumes":null,"WorkingDir":"","Entrypoint":null,"NetworkDisabled":false,"MacAddress":"","OnBuild":null},"Image":"c90d655b99b2ec5b7e94d38c87f92dce015c17a313caeaae0e980d9b9bed8444","NetworkSettings":{"IPAddress":"172.17.0.82","IPPrefixLen":16,"MacAddress":"02:42:ac:11:00:52","Gateway":"172.17.42.1","Bridge":"docker0","PortMapping":null,"Ports":{}},"ResolvConfPath":"/var/lib/docker/containers/9f37ae3fe9137489caa00559911a2fc59003b445e37f0f1790f150506debe424/resolv.conf","HostnamePath":"/var/lib/docker/containers/9f37ae3fe9137489caa00559911a2fc59003b445e37f0f1790f150506debe424/hostname","HostsPath":"/var/lib/docker/containers/9f37ae3fe9137489caa00559911a2fc59003b445e37f0f1790f150506debe424/hosts","Name":"/insane_almeida","Driver":"devicemapper","ExecDriver":"native-0.2","MountLabel":"","ProcessLabel":"","AppArmorProfile":"","RestartCount":0,"Volumes":{},"VolumesRW":{}}}' + encoding: UTF-8 + string: '{"ID":"5f637482eb163baf52893644fda4c96ee8460cc8f2464bbbeebaaf5a7b2c282f","Running":true,"ExitCode":0,"ProcessConfig":{"privileged":false,"user":"","tty":false,"entrypoint":"true","arguments":[]},"OpenStdin":false,"OpenStderr":false,"OpenStdout":false,"Container":{"State":{"Running":true,"Paused":false,"Restarting":false,"OOMKilled":false,"Pid":18346,"ExitCode":0,"Error":"","StartedAt":"2015-04-04T12:35:51.404411443Z","FinishedAt":"0001-01-01T00:00:00Z"},"ID":"1439750b32c0c225e8ab8d71cc5da34f78641aefdaa526bcb7830c9060f6be69","Created":"2015-04-04T12:35:50.819959077Z","Path":"sleep","Args":["300"],"Config":{"Hostname":"1439750b32c0","Domainname":"","User":"","Memory":0,"MemorySwap":0,"CpuShares":0,"Cpuset":"","AttachStdin":false,"AttachStdout":false,"AttachStderr":false,"PortSpecs":null,"ExposedPorts":null,"Tty":false,"OpenStdin":false,"StdinOnce":false,"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"Cmd":["sleep","300"],"Image":"debian:wheezy","Volumes":null,"WorkingDir":"","Entrypoint":null,"NetworkDisabled":false,"MacAddress":"","OnBuild":null},"Image":"1265e16d0c286a4252c1dc5e775ba476d9560e2dd96d2032605ee75b30912f6b","NetworkSettings":{"IPAddress":"172.17.1.160","IPPrefixLen":16,"MacAddress":"02:42:ac:11:01:a0","LinkLocalIPv6Address":"fe80::42:acff:fe11:1a0","LinkLocalIPv6PrefixLen":64,"GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"Gateway":"172.17.42.1","IPv6Gateway":"","Bridge":"docker0","PortMapping":null,"Ports":{}},"ResolvConfPath":"/mnt/sda1/var/lib/docker/containers/1439750b32c0c225e8ab8d71cc5da34f78641aefdaa526bcb7830c9060f6be69/resolv.conf","HostnamePath":"/mnt/sda1/var/lib/docker/containers/1439750b32c0c225e8ab8d71cc5da34f78641aefdaa526bcb7830c9060f6be69/hostname","HostsPath":"/mnt/sda1/var/lib/docker/containers/1439750b32c0c225e8ab8d71cc5da34f78641aefdaa526bcb7830c9060f6be69/hosts","Name":"/elegant_fermat","Driver":"aufs","ExecDriver":"native-0.2","MountLabel":"","ProcessLabel":"","AppArmorProfile":"","RestartCount":0,"UpdateDns":false,"Volumes":{},"VolumesRW":{},"AppliedVolumesFrom":null}}' http_version: - recorded_at: Thu, 12 Feb 2015 00:54:35 GMT + recorded_at: Sat, 04 Apr 2015 12:35:51 GMT - request: method: post - uri: /v1.16/containers/9f37ae3fe9137489caa00559911a2fc59003b445e37f0f1790f150506debe424/kill + uri: "/v1.16/containers/1439750b32c0c225e8ab8d71cc5da34f78641aefdaa526bcb7830c9060f6be69/kill" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -175,21 +169,21 @@ http_interactions: message: headers: Date: - - Thu, 12 Feb 2015 00:54:35 GMT + - Sat, 04 Apr 2015 12:35:51 GMT body: - encoding: US-ASCII + encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 12 Feb 2015 00:54:35 GMT + recorded_at: Sat, 04 Apr 2015 12:35:51 GMT - request: method: delete - uri: /v1.16/containers/9f37ae3fe9137489caa00559911a2fc59003b445e37f0f1790f150506debe424 + uri: "/v1.16/containers/1439750b32c0c225e8ab8d71cc5da34f78641aefdaa526bcb7830c9060f6be69" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -198,10 +192,10 @@ http_interactions: message: headers: Date: - - Thu, 12 Feb 2015 00:54:36 GMT + - Sat, 04 Apr 2015 12:35:51 GMT body: - encoding: US-ASCII + encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 12 Feb 2015 00:54:36 GMT -recorded_with: VCR 2.9.2 + recorded_at: Sat, 04 Apr 2015 12:35:51 GMT +recorded_with: VCR 2.9.3 diff --git a/spec/vcr/Docker_Exec/_start_/when_detach_is_set_to_false/block_is_passed/attaches_to_the_stream.yml b/spec/vcr/Docker_Exec/_start_/when_detach_is_set_to_false/block_is_passed/attaches_to_the_stream.yml index ae93d55b0..348a6fb0b 100644 --- a/spec/vcr/Docker_Exec/_start_/when_detach_is_set_to_false/block_is_passed/attaches_to_the_stream.yml +++ b/spec/vcr/Docker_Exec/_start_/when_detach_is_set_to_false/block_is_passed/attaches_to_the_stream.yml @@ -2,13 +2,13 @@ http_interactions: - request: method: post - uri: /v1.16/containers/create + uri: "/v1.16/containers/create" body: encoding: UTF-8 - string: ! '{"Cmd":["sleep","300"],"Image":"debian:wheezy"}' + string: '{"Cmd":["sleep","300"],"Image":"debian:wheezy"}' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - application/json response: @@ -19,25 +19,24 @@ http_interactions: Content-Type: - application/json Date: - - Thu, 12 Feb 2015 00:54:40 GMT + - Sat, 04 Apr 2015 12:35:55 GMT Content-Length: - '90' body: - encoding: US-ASCII - string: ! '{"Id":"331b69bde1c01753ffbe15f07bc4ae1bb6a492ef49866e522454c2fcd3cc4cfe","Warnings":null} - -' + encoding: UTF-8 + string: | + {"Id":"4ee91e27c255918bf56a49b2dc277f5a157bcd47ed2ddee7e7d2f699c819cc83","Warnings":null} http_version: - recorded_at: Thu, 12 Feb 2015 00:54:40 GMT + recorded_at: Sat, 04 Apr 2015 12:35:55 GMT - request: method: post - uri: /v1.16/containers/331b69bde1c01753ffbe15f07bc4ae1bb6a492ef49866e522454c2fcd3cc4cfe/start + uri: "/v1.16/containers/4ee91e27c255918bf56a49b2dc277f5a157bcd47ed2ddee7e7d2f699c819cc83/start" body: encoding: UTF-8 - string: ! '{}' + string: "{}" headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - application/json response: @@ -46,21 +45,21 @@ http_interactions: message: headers: Date: - - Thu, 12 Feb 2015 00:54:40 GMT + - Sat, 04 Apr 2015 12:35:55 GMT body: - encoding: US-ASCII + encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 12 Feb 2015 00:54:40 GMT + recorded_at: Sat, 04 Apr 2015 12:35:55 GMT - request: method: post - uri: /v1.16/containers/331b69bde1c01753ffbe15f07bc4ae1bb6a492ef49866e522454c2fcd3cc4cfe/exec + uri: "/v1.16/containers/4ee91e27c255918bf56a49b2dc277f5a157bcd47ed2ddee7e7d2f699c819cc83/exec" body: encoding: UTF-8 - string: ! '{"AttachStdout":true,"Cmd":["bash","-c","sleep 2; echo hello"]}' + string: '{"AttachStdout":true,"Cmd":["bash","-c","sleep 2; echo hello"]}' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - application/json response: @@ -71,25 +70,24 @@ http_interactions: Content-Type: - application/json Date: - - Thu, 12 Feb 2015 00:54:40 GMT + - Sat, 04 Apr 2015 12:35:55 GMT Content-Length: - '74' body: - encoding: US-ASCII - string: ! '{"Id":"b59c0236313570501ac9420299e448c91fc3b8458a0f44dd680dac6936817590"} - -' + encoding: UTF-8 + string: | + {"Id":"fa53da9b21d729e12dc4aa6cc00c16f8994d19cc3356f4805cb514fd657dd7b9"} http_version: - recorded_at: Thu, 12 Feb 2015 00:54:40 GMT + recorded_at: Sat, 04 Apr 2015 12:35:55 GMT - request: method: post - uri: /v1.16/exec/b59c0236313570501ac9420299e448c91fc3b8458a0f44dd680dac6936817590/start + uri: "/v1.16/exec/fa53da9b21d729e12dc4aa6cc00c16f8994d19cc3356f4805cb514fd657dd7b9/start?stderr=true&stdout=true&stream=true" body: encoding: UTF-8 - string: ! '{"Tty":false,"Detach":false}' + string: '{"Tty":false,"Detach":false}' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - application/json response: @@ -100,20 +98,20 @@ http_interactions: Content-Type: - application/vnd.docker.raw-stream body: - encoding: US-ASCII + encoding: UTF-8 string: !binary |- AQAAAAAAAAZoZWxsbwo= http_version: - recorded_at: Thu, 12 Feb 2015 00:54:42 GMT + recorded_at: Sat, 04 Apr 2015 12:35:57 GMT - request: method: get - uri: /v1.16/exec/b59c0236313570501ac9420299e448c91fc3b8458a0f44dd680dac6936817590/json + uri: "/v1.16/exec/fa53da9b21d729e12dc4aa6cc00c16f8994d19cc3356f4805cb514fd657dd7b9/json" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -124,24 +122,22 @@ http_interactions: Content-Type: - application/json Date: - - Thu, 12 Feb 2015 00:54:42 GMT - Content-Length: - - '1891' + - Sat, 04 Apr 2015 12:35:57 GMT body: - encoding: US-ASCII - string: ! '{"ID":"b59c0236313570501ac9420299e448c91fc3b8458a0f44dd680dac6936817590","Running":false,"ExitCode":0,"ProcessConfig":{"privileged":false,"user":"","tty":false,"entrypoint":"bash","arguments":["-c","sleep - 2; echo hello"]},"OpenStdin":false,"OpenStderr":false,"OpenStdout":true,"Container":{"State":{"Running":true,"Paused":false,"Restarting":false,"OOMKilled":false,"Pid":11153,"ExitCode":0,"Error":"","StartedAt":"2015-02-12T00:54:40.397377758Z","FinishedAt":"0001-01-01T00:00:00Z"},"ID":"331b69bde1c01753ffbe15f07bc4ae1bb6a492ef49866e522454c2fcd3cc4cfe","Created":"2015-02-12T00:54:40.009782151Z","Path":"sleep","Args":["300"],"Config":{"Hostname":"331b69bde1c0","Domainname":"","User":"","Memory":0,"MemorySwap":0,"CpuShares":0,"Cpuset":"","AttachStdin":false,"AttachStdout":false,"AttachStderr":false,"PortSpecs":null,"ExposedPorts":null,"Tty":false,"OpenStdin":false,"StdinOnce":false,"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"Cmd":["sleep","300"],"Image":"debian:wheezy","Volumes":null,"WorkingDir":"","Entrypoint":null,"NetworkDisabled":false,"MacAddress":"","OnBuild":null},"Image":"c90d655b99b2ec5b7e94d38c87f92dce015c17a313caeaae0e980d9b9bed8444","NetworkSettings":{"IPAddress":"172.17.0.84","IPPrefixLen":16,"MacAddress":"02:42:ac:11:00:54","Gateway":"172.17.42.1","Bridge":"docker0","PortMapping":null,"Ports":{}},"ResolvConfPath":"/var/lib/docker/containers/331b69bde1c01753ffbe15f07bc4ae1bb6a492ef49866e522454c2fcd3cc4cfe/resolv.conf","HostnamePath":"/var/lib/docker/containers/331b69bde1c01753ffbe15f07bc4ae1bb6a492ef49866e522454c2fcd3cc4cfe/hostname","HostsPath":"/var/lib/docker/containers/331b69bde1c01753ffbe15f07bc4ae1bb6a492ef49866e522454c2fcd3cc4cfe/hosts","Name":"/insane_mccarthy","Driver":"devicemapper","ExecDriver":"native-0.2","MountLabel":"","ProcessLabel":"","AppArmorProfile":"","RestartCount":0,"Volumes":{},"VolumesRW":{}}}' + encoding: UTF-8 + string: '{"ID":"fa53da9b21d729e12dc4aa6cc00c16f8994d19cc3356f4805cb514fd657dd7b9","Running":false,"ExitCode":0,"ProcessConfig":{"privileged":false,"user":"","tty":false,"entrypoint":"bash","arguments":["-c","sleep + 2; echo hello"]},"OpenStdin":false,"OpenStderr":false,"OpenStdout":true,"Container":{"State":{"Running":true,"Paused":false,"Restarting":false,"OOMKilled":false,"Pid":18372,"ExitCode":0,"Error":"","StartedAt":"2015-04-04T12:35:55.46540856Z","FinishedAt":"0001-01-01T00:00:00Z"},"ID":"4ee91e27c255918bf56a49b2dc277f5a157bcd47ed2ddee7e7d2f699c819cc83","Created":"2015-04-04T12:35:54.930920763Z","Path":"sleep","Args":["300"],"Config":{"Hostname":"4ee91e27c255","Domainname":"","User":"","Memory":0,"MemorySwap":0,"CpuShares":0,"Cpuset":"","AttachStdin":false,"AttachStdout":false,"AttachStderr":false,"PortSpecs":null,"ExposedPorts":null,"Tty":false,"OpenStdin":false,"StdinOnce":false,"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"Cmd":["sleep","300"],"Image":"debian:wheezy","Volumes":null,"WorkingDir":"","Entrypoint":null,"NetworkDisabled":false,"MacAddress":"","OnBuild":null},"Image":"1265e16d0c286a4252c1dc5e775ba476d9560e2dd96d2032605ee75b30912f6b","NetworkSettings":{"IPAddress":"172.17.1.162","IPPrefixLen":16,"MacAddress":"02:42:ac:11:01:a2","LinkLocalIPv6Address":"fe80::42:acff:fe11:1a2","LinkLocalIPv6PrefixLen":64,"GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"Gateway":"172.17.42.1","IPv6Gateway":"","Bridge":"docker0","PortMapping":null,"Ports":{}},"ResolvConfPath":"/mnt/sda1/var/lib/docker/containers/4ee91e27c255918bf56a49b2dc277f5a157bcd47ed2ddee7e7d2f699c819cc83/resolv.conf","HostnamePath":"/mnt/sda1/var/lib/docker/containers/4ee91e27c255918bf56a49b2dc277f5a157bcd47ed2ddee7e7d2f699c819cc83/hostname","HostsPath":"/mnt/sda1/var/lib/docker/containers/4ee91e27c255918bf56a49b2dc277f5a157bcd47ed2ddee7e7d2f699c819cc83/hosts","Name":"/hungry_engelbart","Driver":"aufs","ExecDriver":"native-0.2","MountLabel":"","ProcessLabel":"","AppArmorProfile":"","RestartCount":0,"UpdateDns":false,"Volumes":{},"VolumesRW":{},"AppliedVolumesFrom":null}}' http_version: - recorded_at: Thu, 12 Feb 2015 00:54:42 GMT + recorded_at: Sat, 04 Apr 2015 12:35:57 GMT - request: method: post - uri: /v1.16/containers/331b69bde1c01753ffbe15f07bc4ae1bb6a492ef49866e522454c2fcd3cc4cfe/kill + uri: "/v1.16/containers/4ee91e27c255918bf56a49b2dc277f5a157bcd47ed2ddee7e7d2f699c819cc83/kill" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -150,21 +146,21 @@ http_interactions: message: headers: Date: - - Thu, 12 Feb 2015 00:54:42 GMT + - Sat, 04 Apr 2015 12:35:57 GMT body: - encoding: US-ASCII + encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 12 Feb 2015 00:54:42 GMT + recorded_at: Sat, 04 Apr 2015 12:35:58 GMT - request: method: delete - uri: /v1.16/containers/331b69bde1c01753ffbe15f07bc4ae1bb6a492ef49866e522454c2fcd3cc4cfe + uri: "/v1.16/containers/4ee91e27c255918bf56a49b2dc277f5a157bcd47ed2ddee7e7d2f699c819cc83" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -173,10 +169,10 @@ http_interactions: message: headers: Date: - - Thu, 12 Feb 2015 00:54:43 GMT + - Sat, 04 Apr 2015 12:35:57 GMT body: - encoding: US-ASCII + encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 12 Feb 2015 00:54:43 GMT -recorded_with: VCR 2.9.2 + recorded_at: Sat, 04 Apr 2015 12:35:58 GMT +recorded_with: VCR 2.9.3 diff --git a/spec/vcr/Docker_Exec/_start_/when_detach_is_set_to_false/returns_the_stdout_and_stderr_messages.yml b/spec/vcr/Docker_Exec/_start_/when_detach_is_set_to_false/returns_the_stdout_and_stderr_messages.yml index 79f4a842c..698a66acb 100644 --- a/spec/vcr/Docker_Exec/_start_/when_detach_is_set_to_false/returns_the_stdout_and_stderr_messages.yml +++ b/spec/vcr/Docker_Exec/_start_/when_detach_is_set_to_false/returns_the_stdout_and_stderr_messages.yml @@ -2,13 +2,13 @@ http_interactions: - request: method: post - uri: /v1.16/containers/create + uri: "/v1.16/containers/create" body: encoding: UTF-8 - string: ! '{"Cmd":["sleep","300"],"Image":"debian:wheezy"}' + string: '{"Cmd":["sleep","300"],"Image":"debian:wheezy"}' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - application/json response: @@ -19,25 +19,24 @@ http_interactions: Content-Type: - application/json Date: - - Thu, 12 Feb 2015 00:54:36 GMT + - Sat, 04 Apr 2015 12:35:52 GMT Content-Length: - '90' body: - encoding: US-ASCII - string: ! '{"Id":"a8864e7b6565bfdb320c0542897bee3a03a6cd75bc54b362011b07b0b1acf00e","Warnings":null} - -' + encoding: UTF-8 + string: | + {"Id":"f7cbc0043d1100943645483640720227ba733a1ebd3c685fc696bbebb3362655","Warnings":null} http_version: - recorded_at: Thu, 12 Feb 2015 00:54:36 GMT + recorded_at: Sat, 04 Apr 2015 12:35:52 GMT - request: method: post - uri: /v1.16/containers/a8864e7b6565bfdb320c0542897bee3a03a6cd75bc54b362011b07b0b1acf00e/start + uri: "/v1.16/containers/f7cbc0043d1100943645483640720227ba733a1ebd3c685fc696bbebb3362655/start" body: encoding: UTF-8 - string: ! '{}' + string: "{}" headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - application/json response: @@ -46,21 +45,21 @@ http_interactions: message: headers: Date: - - Thu, 12 Feb 2015 00:54:36 GMT + - Sat, 04 Apr 2015 12:35:52 GMT body: - encoding: US-ASCII + encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 12 Feb 2015 00:54:36 GMT + recorded_at: Sat, 04 Apr 2015 12:35:52 GMT - request: method: post - uri: /v1.16/containers/a8864e7b6565bfdb320c0542897bee3a03a6cd75bc54b362011b07b0b1acf00e/exec + uri: "/v1.16/containers/f7cbc0043d1100943645483640720227ba733a1ebd3c685fc696bbebb3362655/exec" body: encoding: UTF-8 - string: ! '{"AttachStdout":true,"Cmd":["bash","-c","sleep 2; echo hello"]}' + string: '{"AttachStdout":true,"Cmd":["bash","-c","sleep 2; echo hello"]}' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - application/json response: @@ -71,25 +70,24 @@ http_interactions: Content-Type: - application/json Date: - - Thu, 12 Feb 2015 00:54:36 GMT + - Sat, 04 Apr 2015 12:35:52 GMT Content-Length: - '74' body: - encoding: US-ASCII - string: ! '{"Id":"07986593b4313b40484879220fe201c5f24fd6b6a4459e368d3235321932e833"} - -' + encoding: UTF-8 + string: | + {"Id":"9397ce70251b27a74881e4eaa6ef5ed57ca174ea1029245bf2c67162dabe5e21"} http_version: - recorded_at: Thu, 12 Feb 2015 00:54:36 GMT + recorded_at: Sat, 04 Apr 2015 12:35:52 GMT - request: method: post - uri: /v1.16/exec/07986593b4313b40484879220fe201c5f24fd6b6a4459e368d3235321932e833/start + uri: "/v1.16/exec/9397ce70251b27a74881e4eaa6ef5ed57ca174ea1029245bf2c67162dabe5e21/start?stderr=true&stdout=true&stream=true" body: encoding: UTF-8 - string: ! '{"Tty":false,"Detach":false}' + string: '{"Tty":false,"Detach":false}' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - application/json response: @@ -100,20 +98,20 @@ http_interactions: Content-Type: - application/vnd.docker.raw-stream body: - encoding: US-ASCII + encoding: UTF-8 string: !binary |- AQAAAAAAAAZoZWxsbwo= http_version: - recorded_at: Thu, 12 Feb 2015 00:54:38 GMT + recorded_at: Sat, 04 Apr 2015 12:35:54 GMT - request: method: get - uri: /v1.16/exec/07986593b4313b40484879220fe201c5f24fd6b6a4459e368d3235321932e833/json + uri: "/v1.16/exec/9397ce70251b27a74881e4eaa6ef5ed57ca174ea1029245bf2c67162dabe5e21/json" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -124,24 +122,22 @@ http_interactions: Content-Type: - application/json Date: - - Thu, 12 Feb 2015 00:54:38 GMT - Content-Length: - - '1888' + - Sat, 04 Apr 2015 12:35:54 GMT body: - encoding: US-ASCII - string: ! '{"ID":"07986593b4313b40484879220fe201c5f24fd6b6a4459e368d3235321932e833","Running":false,"ExitCode":0,"ProcessConfig":{"privileged":false,"user":"","tty":false,"entrypoint":"bash","arguments":["-c","sleep - 2; echo hello"]},"OpenStdin":false,"OpenStderr":false,"OpenStdout":true,"Container":{"State":{"Running":true,"Paused":false,"Restarting":false,"OOMKilled":false,"Pid":11092,"ExitCode":0,"Error":"","StartedAt":"2015-02-12T00:54:36.722319935Z","FinishedAt":"0001-01-01T00:00:00Z"},"ID":"a8864e7b6565bfdb320c0542897bee3a03a6cd75bc54b362011b07b0b1acf00e","Created":"2015-02-12T00:54:36.340436429Z","Path":"sleep","Args":["300"],"Config":{"Hostname":"a8864e7b6565","Domainname":"","User":"","Memory":0,"MemorySwap":0,"CpuShares":0,"Cpuset":"","AttachStdin":false,"AttachStdout":false,"AttachStderr":false,"PortSpecs":null,"ExposedPorts":null,"Tty":false,"OpenStdin":false,"StdinOnce":false,"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"Cmd":["sleep","300"],"Image":"debian:wheezy","Volumes":null,"WorkingDir":"","Entrypoint":null,"NetworkDisabled":false,"MacAddress":"","OnBuild":null},"Image":"c90d655b99b2ec5b7e94d38c87f92dce015c17a313caeaae0e980d9b9bed8444","NetworkSettings":{"IPAddress":"172.17.0.83","IPPrefixLen":16,"MacAddress":"02:42:ac:11:00:53","Gateway":"172.17.42.1","Bridge":"docker0","PortMapping":null,"Ports":{}},"ResolvConfPath":"/var/lib/docker/containers/a8864e7b6565bfdb320c0542897bee3a03a6cd75bc54b362011b07b0b1acf00e/resolv.conf","HostnamePath":"/var/lib/docker/containers/a8864e7b6565bfdb320c0542897bee3a03a6cd75bc54b362011b07b0b1acf00e/hostname","HostsPath":"/var/lib/docker/containers/a8864e7b6565bfdb320c0542897bee3a03a6cd75bc54b362011b07b0b1acf00e/hosts","Name":"/cocky_euclid","Driver":"devicemapper","ExecDriver":"native-0.2","MountLabel":"","ProcessLabel":"","AppArmorProfile":"","RestartCount":0,"Volumes":{},"VolumesRW":{}}}' + encoding: UTF-8 + string: '{"ID":"9397ce70251b27a74881e4eaa6ef5ed57ca174ea1029245bf2c67162dabe5e21","Running":false,"ExitCode":0,"ProcessConfig":{"privileged":false,"user":"","tty":false,"entrypoint":"bash","arguments":["-c","sleep + 2; echo hello"]},"OpenStdin":false,"OpenStderr":false,"OpenStdout":true,"Container":{"State":{"Running":true,"Paused":false,"Restarting":false,"OOMKilled":false,"Pid":18359,"ExitCode":0,"Error":"","StartedAt":"2015-04-04T12:35:52.39438054Z","FinishedAt":"0001-01-01T00:00:00Z"},"ID":"f7cbc0043d1100943645483640720227ba733a1ebd3c685fc696bbebb3362655","Created":"2015-04-04T12:35:51.928616022Z","Path":"sleep","Args":["300"],"Config":{"Hostname":"f7cbc0043d11","Domainname":"","User":"","Memory":0,"MemorySwap":0,"CpuShares":0,"Cpuset":"","AttachStdin":false,"AttachStdout":false,"AttachStderr":false,"PortSpecs":null,"ExposedPorts":null,"Tty":false,"OpenStdin":false,"StdinOnce":false,"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"Cmd":["sleep","300"],"Image":"debian:wheezy","Volumes":null,"WorkingDir":"","Entrypoint":null,"NetworkDisabled":false,"MacAddress":"","OnBuild":null},"Image":"1265e16d0c286a4252c1dc5e775ba476d9560e2dd96d2032605ee75b30912f6b","NetworkSettings":{"IPAddress":"172.17.1.161","IPPrefixLen":16,"MacAddress":"02:42:ac:11:01:a1","LinkLocalIPv6Address":"fe80::42:acff:fe11:1a1","LinkLocalIPv6PrefixLen":64,"GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"Gateway":"172.17.42.1","IPv6Gateway":"","Bridge":"docker0","PortMapping":null,"Ports":{}},"ResolvConfPath":"/mnt/sda1/var/lib/docker/containers/f7cbc0043d1100943645483640720227ba733a1ebd3c685fc696bbebb3362655/resolv.conf","HostnamePath":"/mnt/sda1/var/lib/docker/containers/f7cbc0043d1100943645483640720227ba733a1ebd3c685fc696bbebb3362655/hostname","HostsPath":"/mnt/sda1/var/lib/docker/containers/f7cbc0043d1100943645483640720227ba733a1ebd3c685fc696bbebb3362655/hosts","Name":"/tender_blackwell","Driver":"aufs","ExecDriver":"native-0.2","MountLabel":"","ProcessLabel":"","AppArmorProfile":"","RestartCount":0,"UpdateDns":false,"Volumes":{},"VolumesRW":{},"AppliedVolumesFrom":null}}' http_version: - recorded_at: Thu, 12 Feb 2015 00:54:38 GMT + recorded_at: Sat, 04 Apr 2015 12:35:54 GMT - request: method: post - uri: /v1.16/containers/a8864e7b6565bfdb320c0542897bee3a03a6cd75bc54b362011b07b0b1acf00e/kill + uri: "/v1.16/containers/f7cbc0043d1100943645483640720227ba733a1ebd3c685fc696bbebb3362655/kill" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -150,21 +146,21 @@ http_interactions: message: headers: Date: - - Thu, 12 Feb 2015 00:54:38 GMT + - Sat, 04 Apr 2015 12:35:54 GMT body: - encoding: US-ASCII + encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 12 Feb 2015 00:54:38 GMT + recorded_at: Sat, 04 Apr 2015 12:35:54 GMT - request: method: delete - uri: /v1.16/containers/a8864e7b6565bfdb320c0542897bee3a03a6cd75bc54b362011b07b0b1acf00e + uri: "/v1.16/containers/f7cbc0043d1100943645483640720227ba733a1ebd3c685fc696bbebb3362655" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -173,10 +169,10 @@ http_interactions: message: headers: Date: - - Thu, 12 Feb 2015 00:54:39 GMT + - Sat, 04 Apr 2015 12:35:54 GMT body: - encoding: US-ASCII + encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 12 Feb 2015 00:54:39 GMT -recorded_with: VCR 2.9.2 + recorded_at: Sat, 04 Apr 2015 12:35:54 GMT +recorded_with: VCR 2.9.3 diff --git a/spec/vcr/Docker_Exec/_start_/when_detach_is_set_to_true/returns_empty_stdout/stderr_messages_with_exitcode.yml b/spec/vcr/Docker_Exec/_start_/when_detach_is_set_to_true/returns_empty_stdout/stderr_messages_with_exitcode.yml index 5cdab5125..e6e1933f7 100644 --- a/spec/vcr/Docker_Exec/_start_/when_detach_is_set_to_true/returns_empty_stdout/stderr_messages_with_exitcode.yml +++ b/spec/vcr/Docker_Exec/_start_/when_detach_is_set_to_true/returns_empty_stdout/stderr_messages_with_exitcode.yml @@ -2,13 +2,13 @@ http_interactions: - request: method: post - uri: /v1.16/containers/create + uri: "/v1.16/containers/create" body: encoding: UTF-8 - string: ! '{"Cmd":["sleep","300"],"Image":"debian:wheezy"}' + string: '{"Cmd":["sleep","300"],"Image":"debian:wheezy"}' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - application/json response: @@ -19,25 +19,24 @@ http_interactions: Content-Type: - application/json Date: - - Thu, 12 Feb 2015 00:54:43 GMT + - Sat, 04 Apr 2015 12:35:58 GMT Content-Length: - '90' body: - encoding: US-ASCII - string: ! '{"Id":"a856a3638bc711bab09926a27bc77924a8138d5bbd69fecabf9543106cd01b8b","Warnings":null} - -' + encoding: UTF-8 + string: | + {"Id":"fadb008f43d937afed5b8f65057b548a266ca3fdaebfc9f8c61447cb3cf02e24","Warnings":null} http_version: - recorded_at: Thu, 12 Feb 2015 00:54:43 GMT + recorded_at: Sat, 04 Apr 2015 12:35:58 GMT - request: method: post - uri: /v1.16/containers/a856a3638bc711bab09926a27bc77924a8138d5bbd69fecabf9543106cd01b8b/start + uri: "/v1.16/containers/fadb008f43d937afed5b8f65057b548a266ca3fdaebfc9f8c61447cb3cf02e24/start" body: encoding: UTF-8 - string: ! '{}' + string: "{}" headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - application/json response: @@ -46,21 +45,21 @@ http_interactions: message: headers: Date: - - Thu, 12 Feb 2015 00:54:43 GMT + - Sat, 04 Apr 2015 12:35:58 GMT body: - encoding: US-ASCII + encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 12 Feb 2015 00:54:43 GMT + recorded_at: Sat, 04 Apr 2015 12:35:58 GMT - request: method: post - uri: /v1.16/containers/a856a3638bc711bab09926a27bc77924a8138d5bbd69fecabf9543106cd01b8b/exec + uri: "/v1.16/containers/fadb008f43d937afed5b8f65057b548a266ca3fdaebfc9f8c61447cb3cf02e24/exec" body: encoding: UTF-8 - string: ! '{"Cmd":["date"]}' + string: '{"Cmd":["date"]}' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - application/json response: @@ -71,25 +70,24 @@ http_interactions: Content-Type: - application/json Date: - - Thu, 12 Feb 2015 00:54:43 GMT + - Sat, 04 Apr 2015 12:35:58 GMT Content-Length: - '74' body: - encoding: US-ASCII - string: ! '{"Id":"1a39c489ebaf5b07c492e6ef553e7f8e66526802adfe2fd1f9ca8a7a44dace50"} - -' + encoding: UTF-8 + string: | + {"Id":"2466675f8963607b319e57855a373e699103e7337f960e78c9e0d469008df21b"} http_version: - recorded_at: Thu, 12 Feb 2015 00:54:43 GMT + recorded_at: Sat, 04 Apr 2015 12:35:58 GMT - request: method: post - uri: /v1.16/exec/1a39c489ebaf5b07c492e6ef553e7f8e66526802adfe2fd1f9ca8a7a44dace50/start + uri: "/v1.16/exec/2466675f8963607b319e57855a373e699103e7337f960e78c9e0d469008df21b/start?stderr=true&stdout=true&stream=true" body: encoding: UTF-8 - string: ! '{"Tty":false,"Detach":true}' + string: '{"Tty":false,"Detach":true}' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - application/json response: @@ -98,21 +96,21 @@ http_interactions: message: headers: Date: - - Thu, 12 Feb 2015 00:54:43 GMT + - Sat, 04 Apr 2015 12:35:58 GMT body: - encoding: US-ASCII + encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 12 Feb 2015 00:54:43 GMT + recorded_at: Sat, 04 Apr 2015 12:35:58 GMT - request: method: get - uri: /v1.16/exec/1a39c489ebaf5b07c492e6ef553e7f8e66526802adfe2fd1f9ca8a7a44dace50/json + uri: "/v1.16/exec/2466675f8963607b319e57855a373e699103e7337f960e78c9e0d469008df21b/json" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -123,23 +121,21 @@ http_interactions: Content-Type: - application/json Date: - - Thu, 12 Feb 2015 00:54:43 GMT - Content-Length: - - '1867' + - Sat, 04 Apr 2015 12:35:58 GMT body: - encoding: US-ASCII - string: ! '{"ID":"1a39c489ebaf5b07c492e6ef553e7f8e66526802adfe2fd1f9ca8a7a44dace50","Running":true,"ExitCode":0,"ProcessConfig":{"privileged":false,"user":"","tty":false,"entrypoint":"date","arguments":[]},"OpenStdin":false,"OpenStderr":false,"OpenStdout":false,"Container":{"State":{"Running":true,"Paused":false,"Restarting":false,"OOMKilled":false,"Pid":11213,"ExitCode":0,"Error":"","StartedAt":"2015-02-12T00:54:43.891495107Z","FinishedAt":"0001-01-01T00:00:00Z"},"ID":"a856a3638bc711bab09926a27bc77924a8138d5bbd69fecabf9543106cd01b8b","Created":"2015-02-12T00:54:43.516491956Z","Path":"sleep","Args":["300"],"Config":{"Hostname":"a856a3638bc7","Domainname":"","User":"","Memory":0,"MemorySwap":0,"CpuShares":0,"Cpuset":"","AttachStdin":false,"AttachStdout":false,"AttachStderr":false,"PortSpecs":null,"ExposedPorts":null,"Tty":false,"OpenStdin":false,"StdinOnce":false,"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"Cmd":["sleep","300"],"Image":"debian:wheezy","Volumes":null,"WorkingDir":"","Entrypoint":null,"NetworkDisabled":false,"MacAddress":"","OnBuild":null},"Image":"c90d655b99b2ec5b7e94d38c87f92dce015c17a313caeaae0e980d9b9bed8444","NetworkSettings":{"IPAddress":"172.17.0.85","IPPrefixLen":16,"MacAddress":"02:42:ac:11:00:55","Gateway":"172.17.42.1","Bridge":"docker0","PortMapping":null,"Ports":{}},"ResolvConfPath":"/var/lib/docker/containers/a856a3638bc711bab09926a27bc77924a8138d5bbd69fecabf9543106cd01b8b/resolv.conf","HostnamePath":"/var/lib/docker/containers/a856a3638bc711bab09926a27bc77924a8138d5bbd69fecabf9543106cd01b8b/hostname","HostsPath":"/var/lib/docker/containers/a856a3638bc711bab09926a27bc77924a8138d5bbd69fecabf9543106cd01b8b/hosts","Name":"/clever_archimedes","Driver":"devicemapper","ExecDriver":"native-0.2","MountLabel":"","ProcessLabel":"","AppArmorProfile":"","RestartCount":0,"Volumes":{},"VolumesRW":{}}}' + encoding: UTF-8 + string: '{"ID":"2466675f8963607b319e57855a373e699103e7337f960e78c9e0d469008df21b","Running":true,"ExitCode":0,"ProcessConfig":{"privileged":false,"user":"","tty":false,"entrypoint":"date","arguments":[]},"OpenStdin":false,"OpenStderr":false,"OpenStdout":false,"Container":{"State":{"Running":true,"Paused":false,"Restarting":false,"OOMKilled":false,"Pid":18386,"ExitCode":0,"Error":"","StartedAt":"2015-04-04T12:35:58.564426668Z","FinishedAt":"0001-01-01T00:00:00Z"},"ID":"fadb008f43d937afed5b8f65057b548a266ca3fdaebfc9f8c61447cb3cf02e24","Created":"2015-04-04T12:35:58.059014128Z","Path":"sleep","Args":["300"],"Config":{"Hostname":"fadb008f43d9","Domainname":"","User":"","Memory":0,"MemorySwap":0,"CpuShares":0,"Cpuset":"","AttachStdin":false,"AttachStdout":false,"AttachStderr":false,"PortSpecs":null,"ExposedPorts":null,"Tty":false,"OpenStdin":false,"StdinOnce":false,"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"Cmd":["sleep","300"],"Image":"debian:wheezy","Volumes":null,"WorkingDir":"","Entrypoint":null,"NetworkDisabled":false,"MacAddress":"","OnBuild":null},"Image":"1265e16d0c286a4252c1dc5e775ba476d9560e2dd96d2032605ee75b30912f6b","NetworkSettings":{"IPAddress":"172.17.1.163","IPPrefixLen":16,"MacAddress":"02:42:ac:11:01:a3","LinkLocalIPv6Address":"fe80::42:acff:fe11:1a3","LinkLocalIPv6PrefixLen":64,"GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"Gateway":"172.17.42.1","IPv6Gateway":"","Bridge":"docker0","PortMapping":null,"Ports":{}},"ResolvConfPath":"/mnt/sda1/var/lib/docker/containers/fadb008f43d937afed5b8f65057b548a266ca3fdaebfc9f8c61447cb3cf02e24/resolv.conf","HostnamePath":"/mnt/sda1/var/lib/docker/containers/fadb008f43d937afed5b8f65057b548a266ca3fdaebfc9f8c61447cb3cf02e24/hostname","HostsPath":"/mnt/sda1/var/lib/docker/containers/fadb008f43d937afed5b8f65057b548a266ca3fdaebfc9f8c61447cb3cf02e24/hosts","Name":"/thirsty_lovelace","Driver":"aufs","ExecDriver":"native-0.2","MountLabel":"","ProcessLabel":"","AppArmorProfile":"","RestartCount":0,"UpdateDns":false,"Volumes":{},"VolumesRW":{},"AppliedVolumesFrom":null}}' http_version: - recorded_at: Thu, 12 Feb 2015 00:54:43 GMT + recorded_at: Sat, 04 Apr 2015 12:35:58 GMT - request: method: post - uri: /v1.16/containers/a856a3638bc711bab09926a27bc77924a8138d5bbd69fecabf9543106cd01b8b/kill + uri: "/v1.16/containers/fadb008f43d937afed5b8f65057b548a266ca3fdaebfc9f8c61447cb3cf02e24/kill" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -148,21 +144,21 @@ http_interactions: message: headers: Date: - - Thu, 12 Feb 2015 00:54:43 GMT + - Sat, 04 Apr 2015 12:35:58 GMT body: - encoding: US-ASCII + encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 12 Feb 2015 00:54:43 GMT + recorded_at: Sat, 04 Apr 2015 12:35:59 GMT - request: method: delete - uri: /v1.16/containers/a856a3638bc711bab09926a27bc77924a8138d5bbd69fecabf9543106cd01b8b + uri: "/v1.16/containers/fadb008f43d937afed5b8f65057b548a266ca3fdaebfc9f8c61447cb3cf02e24" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -171,10 +167,10 @@ http_interactions: message: headers: Date: - - Thu, 12 Feb 2015 00:54:44 GMT + - Sat, 04 Apr 2015 12:35:59 GMT body: - encoding: US-ASCII + encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 12 Feb 2015 00:54:44 GMT -recorded_with: VCR 2.9.2 + recorded_at: Sat, 04 Apr 2015 12:35:59 GMT +recorded_with: VCR 2.9.3 diff --git a/spec/vcr/Docker_Exec/_start_/when_the_HTTP_request_returns_a_201/starts_the_exec_instance.yml b/spec/vcr/Docker_Exec/_start_/when_the_HTTP_request_returns_a_201/starts_the_exec_instance.yml index 0aa5b7969..bf7469c89 100644 --- a/spec/vcr/Docker_Exec/_start_/when_the_HTTP_request_returns_a_201/starts_the_exec_instance.yml +++ b/spec/vcr/Docker_Exec/_start_/when_the_HTTP_request_returns_a_201/starts_the_exec_instance.yml @@ -2,13 +2,13 @@ http_interactions: - request: method: post - uri: /v1.16/containers/create + uri: "/v1.16/containers/create" body: encoding: UTF-8 - string: ! '{"Cmd":["sleep","300"],"Image":"debian:wheezy"}' + string: '{"Cmd":["sleep","300"],"Image":"debian:wheezy"}' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - application/json response: @@ -19,25 +19,24 @@ http_interactions: Content-Type: - application/json Date: - - Thu, 12 Feb 2015 00:54:46 GMT + - Sat, 04 Apr 2015 12:36:00 GMT Content-Length: - '90' body: - encoding: US-ASCII - string: ! '{"Id":"739470827bdfbd68746cc81414b90b49ffd1a15ff3501aab71a602e1058c2c09","Warnings":null} - -' + encoding: UTF-8 + string: | + {"Id":"2ddfd0879b3035b6239187aa1366278d0d64a6a232c4a3487d3a9a095b636eef","Warnings":null} http_version: - recorded_at: Thu, 12 Feb 2015 00:54:46 GMT + recorded_at: Sat, 04 Apr 2015 12:36:00 GMT - request: method: post - uri: /v1.16/containers/739470827bdfbd68746cc81414b90b49ffd1a15ff3501aab71a602e1058c2c09/start + uri: "/v1.16/containers/2ddfd0879b3035b6239187aa1366278d0d64a6a232c4a3487d3a9a095b636eef/start" body: encoding: UTF-8 - string: ! '{}' + string: "{}" headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - application/json response: @@ -46,21 +45,21 @@ http_interactions: message: headers: Date: - - Thu, 12 Feb 2015 00:54:46 GMT + - Sat, 04 Apr 2015 12:36:00 GMT body: - encoding: US-ASCII + encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 12 Feb 2015 00:54:46 GMT + recorded_at: Sat, 04 Apr 2015 12:36:00 GMT - request: method: post - uri: /v1.16/containers/739470827bdfbd68746cc81414b90b49ffd1a15ff3501aab71a602e1058c2c09/exec + uri: "/v1.16/containers/2ddfd0879b3035b6239187aa1366278d0d64a6a232c4a3487d3a9a095b636eef/exec" body: encoding: UTF-8 - string: ! '{"Cmd":["date"]}' + string: '{"Cmd":["date"]}' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - application/json response: @@ -71,25 +70,24 @@ http_interactions: Content-Type: - application/json Date: - - Thu, 12 Feb 2015 00:54:46 GMT + - Sat, 04 Apr 2015 12:36:00 GMT Content-Length: - '74' body: - encoding: US-ASCII - string: ! '{"Id":"c5667b7d2922368bde8eea9c07108d171e90aee1bd2447b31fd98ce636f38100"} - -' + encoding: UTF-8 + string: | + {"Id":"1e4dd188af268d406f0e8eb34bca97ec76853f21cba9833124e31fbbf3e85035"} http_version: - recorded_at: Thu, 12 Feb 2015 00:54:46 GMT + recorded_at: Sat, 04 Apr 2015 12:36:00 GMT - request: method: post - uri: /v1.16/exec/c5667b7d2922368bde8eea9c07108d171e90aee1bd2447b31fd98ce636f38100/start + uri: "/v1.16/exec/1e4dd188af268d406f0e8eb34bca97ec76853f21cba9833124e31fbbf3e85035/start?stderr=true&stdout=true&stream=true" body: encoding: UTF-8 - string: ! '{"Tty":false,"Detach":false}' + string: '{"Tty":false,"Detach":false}' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - application/json response: @@ -100,19 +98,19 @@ http_interactions: Content-Type: - application/vnd.docker.raw-stream body: - encoding: US-ASCII + encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 12 Feb 2015 00:54:46 GMT + recorded_at: Sat, 04 Apr 2015 12:36:00 GMT - request: method: get - uri: /v1.16/exec/c5667b7d2922368bde8eea9c07108d171e90aee1bd2447b31fd98ce636f38100/json + uri: "/v1.16/exec/1e4dd188af268d406f0e8eb34bca97ec76853f21cba9833124e31fbbf3e85035/json" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -123,23 +121,21 @@ http_interactions: Content-Type: - application/json Date: - - Thu, 12 Feb 2015 00:54:46 GMT - Content-Length: - - '1864' + - Sat, 04 Apr 2015 12:36:00 GMT body: - encoding: US-ASCII - string: ! '{"ID":"c5667b7d2922368bde8eea9c07108d171e90aee1bd2447b31fd98ce636f38100","Running":true,"ExitCode":0,"ProcessConfig":{"privileged":false,"user":"","tty":false,"entrypoint":"date","arguments":[]},"OpenStdin":false,"OpenStderr":false,"OpenStdout":false,"Container":{"State":{"Running":true,"Paused":false,"Restarting":false,"OOMKilled":false,"Pid":11328,"ExitCode":0,"Error":"","StartedAt":"2015-02-12T00:54:46.650127243Z","FinishedAt":"0001-01-01T00:00:00Z"},"ID":"739470827bdfbd68746cc81414b90b49ffd1a15ff3501aab71a602e1058c2c09","Created":"2015-02-12T00:54:46.287146699Z","Path":"sleep","Args":["300"],"Config":{"Hostname":"739470827bdf","Domainname":"","User":"","Memory":0,"MemorySwap":0,"CpuShares":0,"Cpuset":"","AttachStdin":false,"AttachStdout":false,"AttachStderr":false,"PortSpecs":null,"ExposedPorts":null,"Tty":false,"OpenStdin":false,"StdinOnce":false,"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"Cmd":["sleep","300"],"Image":"debian:wheezy","Volumes":null,"WorkingDir":"","Entrypoint":null,"NetworkDisabled":false,"MacAddress":"","OnBuild":null},"Image":"c90d655b99b2ec5b7e94d38c87f92dce015c17a313caeaae0e980d9b9bed8444","NetworkSettings":{"IPAddress":"172.17.0.87","IPPrefixLen":16,"MacAddress":"02:42:ac:11:00:57","Gateway":"172.17.42.1","Bridge":"docker0","PortMapping":null,"Ports":{}},"ResolvConfPath":"/var/lib/docker/containers/739470827bdfbd68746cc81414b90b49ffd1a15ff3501aab71a602e1058c2c09/resolv.conf","HostnamePath":"/var/lib/docker/containers/739470827bdfbd68746cc81414b90b49ffd1a15ff3501aab71a602e1058c2c09/hostname","HostsPath":"/var/lib/docker/containers/739470827bdfbd68746cc81414b90b49ffd1a15ff3501aab71a602e1058c2c09/hosts","Name":"/lonely_goodall","Driver":"devicemapper","ExecDriver":"native-0.2","MountLabel":"","ProcessLabel":"","AppArmorProfile":"","RestartCount":0,"Volumes":{},"VolumesRW":{}}}' + encoding: UTF-8 + string: '{"ID":"1e4dd188af268d406f0e8eb34bca97ec76853f21cba9833124e31fbbf3e85035","Running":true,"ExitCode":0,"ProcessConfig":{"privileged":false,"user":"","tty":false,"entrypoint":"date","arguments":[]},"OpenStdin":false,"OpenStderr":false,"OpenStdout":false,"Container":{"State":{"Running":true,"Paused":false,"Restarting":false,"OOMKilled":false,"Pid":18411,"ExitCode":0,"Error":"","StartedAt":"2015-04-04T12:36:00.464774751Z","FinishedAt":"0001-01-01T00:00:00Z"},"ID":"2ddfd0879b3035b6239187aa1366278d0d64a6a232c4a3487d3a9a095b636eef","Created":"2015-04-04T12:36:00.099230301Z","Path":"sleep","Args":["300"],"Config":{"Hostname":"2ddfd0879b30","Domainname":"","User":"","Memory":0,"MemorySwap":0,"CpuShares":0,"Cpuset":"","AttachStdin":false,"AttachStdout":false,"AttachStderr":false,"PortSpecs":null,"ExposedPorts":null,"Tty":false,"OpenStdin":false,"StdinOnce":false,"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"Cmd":["sleep","300"],"Image":"debian:wheezy","Volumes":null,"WorkingDir":"","Entrypoint":null,"NetworkDisabled":false,"MacAddress":"","OnBuild":null},"Image":"1265e16d0c286a4252c1dc5e775ba476d9560e2dd96d2032605ee75b30912f6b","NetworkSettings":{"IPAddress":"172.17.1.165","IPPrefixLen":16,"MacAddress":"02:42:ac:11:01:a5","LinkLocalIPv6Address":"fe80::42:acff:fe11:1a5","LinkLocalIPv6PrefixLen":64,"GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"Gateway":"172.17.42.1","IPv6Gateway":"","Bridge":"docker0","PortMapping":null,"Ports":{}},"ResolvConfPath":"/mnt/sda1/var/lib/docker/containers/2ddfd0879b3035b6239187aa1366278d0d64a6a232c4a3487d3a9a095b636eef/resolv.conf","HostnamePath":"/mnt/sda1/var/lib/docker/containers/2ddfd0879b3035b6239187aa1366278d0d64a6a232c4a3487d3a9a095b636eef/hostname","HostsPath":"/mnt/sda1/var/lib/docker/containers/2ddfd0879b3035b6239187aa1366278d0d64a6a232c4a3487d3a9a095b636eef/hosts","Name":"/backstabbing_kowalevski","Driver":"aufs","ExecDriver":"native-0.2","MountLabel":"","ProcessLabel":"","AppArmorProfile":"","RestartCount":0,"UpdateDns":false,"Volumes":{},"VolumesRW":{},"AppliedVolumesFrom":null}}' http_version: - recorded_at: Thu, 12 Feb 2015 00:54:46 GMT + recorded_at: Sat, 04 Apr 2015 12:36:00 GMT - request: method: post - uri: /v1.16/containers/739470827bdfbd68746cc81414b90b49ffd1a15ff3501aab71a602e1058c2c09/kill + uri: "/v1.16/containers/2ddfd0879b3035b6239187aa1366278d0d64a6a232c4a3487d3a9a095b636eef/kill" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -148,21 +144,21 @@ http_interactions: message: headers: Date: - - Thu, 12 Feb 2015 00:54:46 GMT + - Sat, 04 Apr 2015 12:36:00 GMT body: - encoding: US-ASCII + encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 12 Feb 2015 00:54:46 GMT + recorded_at: Sat, 04 Apr 2015 12:36:01 GMT - request: method: delete - uri: /v1.16/containers/739470827bdfbd68746cc81414b90b49ffd1a15ff3501aab71a602e1058c2c09 + uri: "/v1.16/containers/2ddfd0879b3035b6239187aa1366278d0d64a6a232c4a3487d3a9a095b636eef" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -171,10 +167,10 @@ http_interactions: message: headers: Date: - - Thu, 12 Feb 2015 00:54:47 GMT + - Sat, 04 Apr 2015 12:36:00 GMT body: - encoding: US-ASCII + encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 12 Feb 2015 00:54:47 GMT -recorded_with: VCR 2.9.2 + recorded_at: Sat, 04 Apr 2015 12:36:01 GMT +recorded_with: VCR 2.9.3 diff --git a/spec/vcr/Docker_Exec/_start_/when_the_command_has_already_run/raises_an_error.yml b/spec/vcr/Docker_Exec/_start_/when_the_command_has_already_run/raises_an_error.yml index f0cbf0c17..ced05225a 100644 --- a/spec/vcr/Docker_Exec/_start_/when_the_command_has_already_run/raises_an_error.yml +++ b/spec/vcr/Docker_Exec/_start_/when_the_command_has_already_run/raises_an_error.yml @@ -2,13 +2,13 @@ http_interactions: - request: method: post - uri: /v1.16/containers/create + uri: "/v1.16/containers/create" body: encoding: UTF-8 - string: ! '{"Cmd":["sleep","300"],"Image":"debian:wheezy"}' + string: '{"Cmd":["sleep","300"],"Image":"debian:wheezy"}' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - application/json response: @@ -19,25 +19,24 @@ http_interactions: Content-Type: - application/json Date: - - Thu, 12 Feb 2015 00:54:45 GMT + - Sat, 04 Apr 2015 12:35:59 GMT Content-Length: - '90' body: - encoding: US-ASCII - string: ! '{"Id":"5996e51bdf1d20dc1306d16ace5b0d9cad615d7128a12f9d0cb70169412b4b2d","Warnings":null} - -' + encoding: UTF-8 + string: | + {"Id":"88bfa49a2907c6d3067c722f5386c764f445f942b61a31dcfae5421075e78161","Warnings":null} http_version: - recorded_at: Thu, 12 Feb 2015 00:54:45 GMT + recorded_at: Sat, 04 Apr 2015 12:35:59 GMT - request: method: post - uri: /v1.16/containers/5996e51bdf1d20dc1306d16ace5b0d9cad615d7128a12f9d0cb70169412b4b2d/start + uri: "/v1.16/containers/88bfa49a2907c6d3067c722f5386c764f445f942b61a31dcfae5421075e78161/start" body: encoding: UTF-8 - string: ! '{}' + string: "{}" headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - application/json response: @@ -46,21 +45,21 @@ http_interactions: message: headers: Date: - - Thu, 12 Feb 2015 00:54:45 GMT + - Sat, 04 Apr 2015 12:35:59 GMT body: - encoding: US-ASCII + encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 12 Feb 2015 00:54:45 GMT + recorded_at: Sat, 04 Apr 2015 12:35:59 GMT - request: method: post - uri: /v1.16/containers/5996e51bdf1d20dc1306d16ace5b0d9cad615d7128a12f9d0cb70169412b4b2d/exec + uri: "/v1.16/containers/88bfa49a2907c6d3067c722f5386c764f445f942b61a31dcfae5421075e78161/exec" body: encoding: UTF-8 - string: ! '{"Cmd":["date"]}' + string: '{"Cmd":["date"]}' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - application/json response: @@ -71,25 +70,24 @@ http_interactions: Content-Type: - application/json Date: - - Thu, 12 Feb 2015 00:54:45 GMT + - Sat, 04 Apr 2015 12:35:59 GMT Content-Length: - '74' body: - encoding: US-ASCII - string: ! '{"Id":"838cbac83a79b08a7cdd50dbc8a5ad3fa2f0d7322d0975e349e577624d60e8b2"} - -' + encoding: UTF-8 + string: | + {"Id":"224b77f072a0ccf10220bb78df9de18743e207cd684a25d10a0a87624d0452bc"} http_version: - recorded_at: Thu, 12 Feb 2015 00:54:45 GMT + recorded_at: Sat, 04 Apr 2015 12:35:59 GMT - request: method: post - uri: /v1.16/exec/838cbac83a79b08a7cdd50dbc8a5ad3fa2f0d7322d0975e349e577624d60e8b2/start + uri: "/v1.16/exec/224b77f072a0ccf10220bb78df9de18743e207cd684a25d10a0a87624d0452bc/start?stderr=true&stdout=true&stream=true" body: encoding: UTF-8 - string: ! '{"Tty":false,"Detach":false}' + string: '{"Tty":false,"Detach":false}' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - application/json response: @@ -100,19 +98,19 @@ http_interactions: Content-Type: - application/vnd.docker.raw-stream body: - encoding: US-ASCII + encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 12 Feb 2015 00:54:45 GMT + recorded_at: Sat, 04 Apr 2015 12:35:59 GMT - request: method: get - uri: /v1.16/exec/838cbac83a79b08a7cdd50dbc8a5ad3fa2f0d7322d0975e349e577624d60e8b2/json + uri: "/v1.16/exec/224b77f072a0ccf10220bb78df9de18743e207cd684a25d10a0a87624d0452bc/json" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -123,23 +121,21 @@ http_interactions: Content-Type: - application/json Date: - - Thu, 12 Feb 2015 00:54:45 GMT - Content-Length: - - '1866' + - Sat, 04 Apr 2015 12:35:59 GMT body: - encoding: US-ASCII - string: ! '{"ID":"838cbac83a79b08a7cdd50dbc8a5ad3fa2f0d7322d0975e349e577624d60e8b2","Running":true,"ExitCode":0,"ProcessConfig":{"privileged":false,"user":"","tty":false,"entrypoint":"date","arguments":[]},"OpenStdin":false,"OpenStderr":false,"OpenStdout":false,"Container":{"State":{"Running":true,"Paused":false,"Restarting":false,"OOMKilled":false,"Pid":11268,"ExitCode":0,"Error":"","StartedAt":"2015-02-12T00:54:45.275932037Z","FinishedAt":"0001-01-01T00:00:00Z"},"ID":"5996e51bdf1d20dc1306d16ace5b0d9cad615d7128a12f9d0cb70169412b4b2d","Created":"2015-02-12T00:54:44.901466512Z","Path":"sleep","Args":["300"],"Config":{"Hostname":"5996e51bdf1d","Domainname":"","User":"","Memory":0,"MemorySwap":0,"CpuShares":0,"Cpuset":"","AttachStdin":false,"AttachStdout":false,"AttachStderr":false,"PortSpecs":null,"ExposedPorts":null,"Tty":false,"OpenStdin":false,"StdinOnce":false,"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"Cmd":["sleep","300"],"Image":"debian:wheezy","Volumes":null,"WorkingDir":"","Entrypoint":null,"NetworkDisabled":false,"MacAddress":"","OnBuild":null},"Image":"c90d655b99b2ec5b7e94d38c87f92dce015c17a313caeaae0e980d9b9bed8444","NetworkSettings":{"IPAddress":"172.17.0.86","IPPrefixLen":16,"MacAddress":"02:42:ac:11:00:56","Gateway":"172.17.42.1","Bridge":"docker0","PortMapping":null,"Ports":{}},"ResolvConfPath":"/var/lib/docker/containers/5996e51bdf1d20dc1306d16ace5b0d9cad615d7128a12f9d0cb70169412b4b2d/resolv.conf","HostnamePath":"/var/lib/docker/containers/5996e51bdf1d20dc1306d16ace5b0d9cad615d7128a12f9d0cb70169412b4b2d/hostname","HostsPath":"/var/lib/docker/containers/5996e51bdf1d20dc1306d16ace5b0d9cad615d7128a12f9d0cb70169412b4b2d/hosts","Name":"/elegant_shockley","Driver":"devicemapper","ExecDriver":"native-0.2","MountLabel":"","ProcessLabel":"","AppArmorProfile":"","RestartCount":0,"Volumes":{},"VolumesRW":{}}}' + encoding: UTF-8 + string: '{"ID":"224b77f072a0ccf10220bb78df9de18743e207cd684a25d10a0a87624d0452bc","Running":true,"ExitCode":0,"ProcessConfig":{"privileged":false,"user":"","tty":false,"entrypoint":"date","arguments":[]},"OpenStdin":false,"OpenStderr":false,"OpenStdout":false,"Container":{"State":{"Running":true,"Paused":false,"Restarting":false,"OOMKilled":false,"Pid":18399,"ExitCode":0,"Error":"","StartedAt":"2015-04-04T12:35:59.595486355Z","FinishedAt":"0001-01-01T00:00:00Z"},"ID":"88bfa49a2907c6d3067c722f5386c764f445f942b61a31dcfae5421075e78161","Created":"2015-04-04T12:35:59.08926568Z","Path":"sleep","Args":["300"],"Config":{"Hostname":"88bfa49a2907","Domainname":"","User":"","Memory":0,"MemorySwap":0,"CpuShares":0,"Cpuset":"","AttachStdin":false,"AttachStdout":false,"AttachStderr":false,"PortSpecs":null,"ExposedPorts":null,"Tty":false,"OpenStdin":false,"StdinOnce":false,"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"Cmd":["sleep","300"],"Image":"debian:wheezy","Volumes":null,"WorkingDir":"","Entrypoint":null,"NetworkDisabled":false,"MacAddress":"","OnBuild":null},"Image":"1265e16d0c286a4252c1dc5e775ba476d9560e2dd96d2032605ee75b30912f6b","NetworkSettings":{"IPAddress":"172.17.1.164","IPPrefixLen":16,"MacAddress":"02:42:ac:11:01:a4","LinkLocalIPv6Address":"fe80::42:acff:fe11:1a4","LinkLocalIPv6PrefixLen":64,"GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"Gateway":"172.17.42.1","IPv6Gateway":"","Bridge":"docker0","PortMapping":null,"Ports":{}},"ResolvConfPath":"/mnt/sda1/var/lib/docker/containers/88bfa49a2907c6d3067c722f5386c764f445f942b61a31dcfae5421075e78161/resolv.conf","HostnamePath":"/mnt/sda1/var/lib/docker/containers/88bfa49a2907c6d3067c722f5386c764f445f942b61a31dcfae5421075e78161/hostname","HostsPath":"/mnt/sda1/var/lib/docker/containers/88bfa49a2907c6d3067c722f5386c764f445f942b61a31dcfae5421075e78161/hosts","Name":"/pensive_bartik","Driver":"aufs","ExecDriver":"native-0.2","MountLabel":"","ProcessLabel":"","AppArmorProfile":"","RestartCount":0,"UpdateDns":false,"Volumes":{},"VolumesRW":{},"AppliedVolumesFrom":null}}' http_version: - recorded_at: Thu, 12 Feb 2015 00:54:45 GMT + recorded_at: Sat, 04 Apr 2015 12:35:59 GMT - request: method: post - uri: /v1.16/containers/5996e51bdf1d20dc1306d16ace5b0d9cad615d7128a12f9d0cb70169412b4b2d/kill + uri: "/v1.16/containers/88bfa49a2907c6d3067c722f5386c764f445f942b61a31dcfae5421075e78161/kill" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -148,21 +144,21 @@ http_interactions: message: headers: Date: - - Thu, 12 Feb 2015 00:54:45 GMT + - Sat, 04 Apr 2015 12:35:59 GMT body: - encoding: US-ASCII + encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 12 Feb 2015 00:54:45 GMT + recorded_at: Sat, 04 Apr 2015 12:36:00 GMT - request: method: delete - uri: /v1.16/containers/5996e51bdf1d20dc1306d16ace5b0d9cad615d7128a12f9d0cb70169412b4b2d + uri: "/v1.16/containers/88bfa49a2907c6d3067c722f5386c764f445f942b61a31dcfae5421075e78161" body: encoding: US-ASCII string: '' headers: User-Agent: - - Swipely/Docker-API 1.18.0 + - Swipely/Docker-API 1.21.0 Content-Type: - text/plain response: @@ -171,10 +167,10 @@ http_interactions: message: headers: Date: - - Thu, 12 Feb 2015 00:54:46 GMT + - Sat, 04 Apr 2015 12:36:00 GMT body: - encoding: US-ASCII + encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 12 Feb 2015 00:54:46 GMT -recorded_with: VCR 2.9.2 + recorded_at: Sat, 04 Apr 2015 12:36:00 GMT +recorded_with: VCR 2.9.3