docker-api 1.7.6 → 1.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/lib/docker.rb +9 -9
- data/lib/docker/connection.rb +1 -1
- data/lib/docker/container.rb +1 -2
- data/lib/docker/image.rb +7 -6
- data/lib/docker/version.rb +2 -2
- data/spec/docker/connection_spec.rb +2 -2
- data/spec/docker/container_spec.rb +12 -10
- data/spec/docker/image_spec.rb +13 -13
- data/spec/docker_spec.rb +5 -4
- data/spec/vcr/Docker/_authenticate_/with_valid_credentials/logs_in_and_sets_the_creds.yml +1 -1
- data/spec/vcr/Docker/_info/returns_the_info_as_a_Hash.yml +17 -15
- data/spec/vcr/Docker/_validate_version/when_nothing_is_raised/validate_version_/.yml +17 -15
- data/spec/vcr/Docker/_version/returns_the_version_as_a_Hash.yml +17 -15
- data/spec/vcr/Docker_Container/_all/when_the_HTTP_response_is_a_200/materializes_each_Container_into_a_Docker_Container.yml +96 -46
- data/spec/vcr/Docker_Container/_attach/with_normal_sized_chunks/yields_each_chunk.yml +35 -37
- data/spec/vcr/Docker_Container/_attach/with_very_small_chunks/yields_each_chunk.yml +35 -37
- data/spec/vcr/Docker_Container/_changes/returns_the_changes_as_an_array.yml +60 -58
- data/spec/vcr/Docker_Container/_commit/creates_a_new_Image_from_the_Container_s_changes.yml +46 -47
- data/spec/vcr/Docker_Container/_commit/if_run_is_passed_it_saves_the_command_in_the_image/saves_the_command.yml +78 -81
- data/spec/vcr/Docker_Container/_copy/when_the_file_does_not_exist/raises_an_error.yml +77 -80
- data/spec/vcr/Docker_Container/_copy/when_the_input_is_a_directory/yields_each_chunk_of_the_tarred_directory.yml +91 -182
- data/spec/vcr/Docker_Container/_copy/when_the_input_is_a_file/yields_each_chunk_of_the_tarred_file.yml +80 -273
- data/spec/vcr/Docker_Container/_create/when_creating_a_container_named_bob/should_have_name_set_to_bob.yml +20 -15
- data/spec/vcr/Docker_Container/_create/when_the_Container_does_not_yet_exist/when_the_HTTP_request_returns_a_200/sets_the_id.yml +16 -16
- data/spec/vcr/Docker_Container/_delete/deletes_the_container.yml +41 -43
- data/spec/vcr/Docker_Container/_export/yields_each_chunk.yml +82759 -46
- data/spec/vcr/Docker_Container/_get/when_the_HTTP_response_is_a_200/materializes_the_Container_into_a_Docker_Container.yml +29 -30
- data/spec/vcr/Docker_Container/_json/returns_the_description_as_a_Hash.yml +29 -30
- data/spec/vcr/Docker_Container/_kill/kills_the_container.yml +69 -71
- data/spec/vcr/Docker_Container/_restart/restarts_the_container.yml +98 -102
- data/spec/vcr/Docker_Container/_run/when_the_Container_s_command_does_not_return_status_code_of_0/raises_an_error.yml +43 -44
- data/spec/vcr/Docker_Container/_run/when_the_Container_s_command_returns_a_status_code_of_0/creates_a_new_container_to_run_the_specified_command.yml +117 -122
- data/spec/vcr/Docker_Container/_start/starts_the_container.yml +58 -59
- data/spec/vcr/Docker_Container/_stop/stops_the_container.yml +81 -84
- data/spec/vcr/Docker_Container/_top/returns_the_top_commands_as_an_Array.yml +116 -87
- data/spec/vcr/Docker_Container/_wait/waits_for_the_command_to_finish.yml +43 -44
- data/spec/vcr/Docker_Container/_wait/when_an_argument_is_given/and_a_command_runs_for_too_long/raises_a_ServerError.yml +29 -30
- data/spec/vcr/Docker_Container/_wait/when_an_argument_is_given/sets_the_read_timeout_to_that_amount_of_time.yml +43 -44
- data/spec/vcr/Docker_Image/_all/materializes_each_Image_into_a_Docker_Image.yml +46 -32
- data/spec/vcr/Docker_Image/_build/with_a_valid_Dockerfile/with_a_block_capturing_build_output/calls_the_block_and_passes_build_output.yml +10 -9
- data/spec/vcr/Docker_Image/_build/with_a_valid_Dockerfile/with_specifying_a_repo_in_the_query_parameters/builds_an_image_and_tags_it.yml +42 -31
- data/spec/vcr/Docker_Image/_build/with_a_valid_Dockerfile/without_query_parameters/builds_an_image.yml +16 -16
- data/spec/vcr/Docker_Image/_build/with_an_invalid_Dockerfile/throws_a_UnexpectedResponseError.yml +17 -19
- data/spec/vcr/Docker_Image/_build_from_dir/with_a_valid_Dockerfile/with_a_block_capturing_build_output/calls_the_block_and_passes_build_output.yml +9 -8
- data/spec/vcr/Docker_Image/_build_from_dir/with_a_valid_Dockerfile/with_no_query_parameters/builds_the_image.yml +50 -52
- data/spec/vcr/Docker_Image/_build_from_dir/with_a_valid_Dockerfile/with_specifying_a_repo_in_the_query_parameters/builds_the_image_and_tags_it.yml +76 -66
- data/spec/vcr/Docker_Image/_create/when_the_Image_does_not_yet_exist_and_the_body_is_a_Hash/sets_the_id.yml +20 -18
- data/spec/vcr/Docker_Image/_get/when_the_image_does_exist/returns_the_new_image.yml +14 -15
- data/spec/vcr/Docker_Image/_history/returns_the_history_of_the_Image.yml +36 -32
- data/spec/vcr/Docker_Image/_insert/inserts_the_url_s_file_into_a_new_Image.yml +70 -86
- data/spec/vcr/Docker_Image/_insert_local/when_removing_intermediate_containers/creates_a_new_image.yml +69 -47
- data/spec/vcr/Docker_Image/_insert_local/when_removing_intermediate_containers/leave_no_intermediate_containers.yml +118 -47
- data/spec/vcr/Docker_Image/_insert_local/when_the_local_file_does_exist/creates_a_new_Image_that_has_that_file.yml +68 -70
- data/spec/vcr/Docker_Image/_insert_local/when_the_local_file_does_not_exist/raises_an_error.yml +16 -16
- data/spec/vcr/Docker_Image/_insert_local/when_there_are_multiple_files_passed/creates_a_new_Image_that_has_each_file.yml +70 -72
- data/spec/vcr/Docker_Image/_json/returns_additional_information_about_image_image.yml +33 -32
- data/spec/vcr/Docker_Image/_push/pushes_the_Image.yml +162 -105
- data/spec/vcr/Docker_Image/_remove/removes_the_Image.yml +53 -46
- data/spec/vcr/Docker_Image/_run/when_the_argument_is_a_String/splits_the_String_by_spaces_and_creates_a_new_Container.yml +54 -54
- data/spec/vcr/Docker_Image/_run/when_the_argument_is_an_Array/creates_a_new_Container.yml +54 -54
- data/spec/vcr/Docker_Image/_run/when_the_argument_is_nil/command_configured_in_image/should_normally_show_result_if_image_has_Cmd_configured.yml +46 -101
- data/spec/vcr/Docker_Image/_run/when_the_argument_is_nil/no_command_configured_in_image/should_raise_an_error_if_no_command_is_specified.yml +35 -35
- data/spec/vcr/Docker_Image/_search/materializes_each_Image_into_a_Docker_Image.yml +94 -35
- data/spec/vcr/Docker_Image/_tag/tags_the_image_with_the_repo_name.yml +32 -31
- metadata +29 -49
| @@ -2,13 +2,13 @@ | |
| 2 2 | 
             
            http_interactions:
         | 
| 3 3 | 
             
            - request:
         | 
| 4 4 | 
             
                method: post
         | 
| 5 | 
            -
                uri: unix:///var/run/docker.sock/v1. | 
| 5 | 
            +
                uri: unix:///var/run/docker.sock/v1.8/containers/create
         | 
| 6 6 | 
             
                body:
         | 
| 7 7 | 
             
                  encoding: UTF-8
         | 
| 8 | 
            -
                  string:  | 
| 8 | 
            +
                  string: "{\"Cmd\":[\"tar\",\"nonsense\"],\"Image\":\"base\"}"
         | 
| 9 9 | 
             
                headers:
         | 
| 10 10 | 
             
                  User-Agent:
         | 
| 11 | 
            -
                  - Swipely/Docker-API 1.6 | 
| 11 | 
            +
                  - Swipely/Docker-API 1.7.6
         | 
| 12 12 | 
             
                  Content-Type:
         | 
| 13 13 | 
             
                  - application/json
         | 
| 14 14 | 
             
              response:
         | 
| @@ -16,29 +16,29 @@ http_interactions: | |
| 16 16 | 
             
                  code: 201
         | 
| 17 17 | 
             
                  message: 
         | 
| 18 18 | 
             
                headers:
         | 
| 19 | 
            -
                   | 
| 20 | 
            -
                  -  | 
| 21 | 
            -
             | 
| 22 | 
            -
                   | 
| 23 | 
            -
                  - | 
| 24 | 
            -
             | 
| 25 | 
            -
                   | 
| 26 | 
            -
                  -  | 
| 27 | 
            -
                    RnJpLCAyNSBPY3QgMjAxMyAxNjoyOToxMiBHTVQ=
         | 
| 19 | 
            +
                  Content-Type:
         | 
| 20 | 
            +
                  - application/json
         | 
| 21 | 
            +
                  Date:
         | 
| 22 | 
            +
                  - Wed, 12 Feb 2014 17:05:34 GMT
         | 
| 23 | 
            +
                  Content-Length:
         | 
| 24 | 
            +
                  - '90'
         | 
| 25 | 
            +
                  Connection:
         | 
| 26 | 
            +
                  - close
         | 
| 28 27 | 
             
                body:
         | 
| 29 | 
            -
                  encoding:  | 
| 30 | 
            -
                  string:  | 
| 28 | 
            +
                  encoding: UTF-8
         | 
| 29 | 
            +
                  string: |
         | 
| 30 | 
            +
                    {"Id":"f59a41eaf3fe69c574fea81ba8fb48988c25727885e0a4781354752631ab682e","Warnings":null}
         | 
| 31 31 | 
             
                http_version: 
         | 
| 32 | 
            -
              recorded_at:  | 
| 32 | 
            +
              recorded_at: Wed, 12 Feb 2014 17:05:34 GMT
         | 
| 33 33 | 
             
            - request:
         | 
| 34 34 | 
             
                method: post
         | 
| 35 | 
            -
                uri: unix:///var/run/docker.sock/v1. | 
| 35 | 
            +
                uri: unix:///var/run/docker.sock/v1.8/containers/f59a41eaf3fe69c574fea81ba8fb48988c25727885e0a4781354752631ab682e/start
         | 
| 36 36 | 
             
                body:
         | 
| 37 37 | 
             
                  encoding: UTF-8
         | 
| 38 | 
            -
                  string:  | 
| 38 | 
            +
                  string: "{}"
         | 
| 39 39 | 
             
                headers:
         | 
| 40 40 | 
             
                  User-Agent:
         | 
| 41 | 
            -
                  - Swipely/Docker-API 1.6 | 
| 41 | 
            +
                  - Swipely/Docker-API 1.7.6
         | 
| 42 42 | 
             
                  Content-Type:
         | 
| 43 43 | 
             
                  - application/json
         | 
| 44 44 | 
             
              response:
         | 
| @@ -46,29 +46,28 @@ http_interactions: | |
| 46 46 | 
             
                  code: 204
         | 
| 47 47 | 
             
                  message: 
         | 
| 48 48 | 
             
                headers:
         | 
| 49 | 
            -
                   | 
| 50 | 
            -
                  -  | 
| 51 | 
            -
             | 
| 52 | 
            -
                   | 
| 53 | 
            -
                  - | 
| 54 | 
            -
             | 
| 55 | 
            -
                   | 
| 56 | 
            -
                  -  | 
| 57 | 
            -
                    RnJpLCAyNSBPY3QgMjAxMyAxNjoyOToxMiBHTVQ=
         | 
| 49 | 
            +
                  Date:
         | 
| 50 | 
            +
                  - Wed, 12 Feb 2014 17:05:34 GMT
         | 
| 51 | 
            +
                  Content-Length:
         | 
| 52 | 
            +
                  - '0'
         | 
| 53 | 
            +
                  Content-Type:
         | 
| 54 | 
            +
                  - text/plain; charset=utf-8
         | 
| 55 | 
            +
                  Connection:
         | 
| 56 | 
            +
                  - close
         | 
| 58 57 | 
             
                body:
         | 
| 59 | 
            -
                  encoding:  | 
| 58 | 
            +
                  encoding: UTF-8
         | 
| 60 59 | 
             
                  string: ''
         | 
| 61 60 | 
             
                http_version: 
         | 
| 62 | 
            -
              recorded_at:  | 
| 61 | 
            +
              recorded_at: Wed, 12 Feb 2014 17:05:34 GMT
         | 
| 63 62 | 
             
            - request:
         | 
| 64 63 | 
             
                method: post
         | 
| 65 | 
            -
                uri: unix:///var/run/docker.sock/v1. | 
| 64 | 
            +
                uri: unix:///var/run/docker.sock/v1.8/containers/f59a41eaf3fe69c574fea81ba8fb48988c25727885e0a4781354752631ab682e/wait
         | 
| 66 65 | 
             
                body:
         | 
| 67 66 | 
             
                  encoding: US-ASCII
         | 
| 68 67 | 
             
                  string: ''
         | 
| 69 68 | 
             
                headers:
         | 
| 70 69 | 
             
                  User-Agent:
         | 
| 71 | 
            -
                  - Swipely/Docker-API 1.6 | 
| 70 | 
            +
                  - Swipely/Docker-API 1.7.6
         | 
| 72 71 | 
             
                  Content-Type:
         | 
| 73 72 | 
             
                  - text/plain
         | 
| 74 73 | 
             
              response:
         | 
| @@ -76,18 +75,18 @@ http_interactions: | |
| 76 75 | 
             
                  code: 200
         | 
| 77 76 | 
             
                  message: 
         | 
| 78 77 | 
             
                headers:
         | 
| 79 | 
            -
                   | 
| 80 | 
            -
                  -  | 
| 81 | 
            -
             | 
| 82 | 
            -
                   | 
| 83 | 
            -
                  - | 
| 84 | 
            -
             | 
| 85 | 
            -
                   | 
| 86 | 
            -
                  -  | 
| 87 | 
            -
                    RnJpLCAyNSBPY3QgMjAxMyAxNjoyOToxMyBHTVQ=
         | 
| 78 | 
            +
                  Content-Type:
         | 
| 79 | 
            +
                  - application/json
         | 
| 80 | 
            +
                  Date:
         | 
| 81 | 
            +
                  - Wed, 12 Feb 2014 17:05:34 GMT
         | 
| 82 | 
            +
                  Content-Length:
         | 
| 83 | 
            +
                  - '18'
         | 
| 84 | 
            +
                  Connection:
         | 
| 85 | 
            +
                  - close
         | 
| 88 86 | 
             
                body:
         | 
| 89 | 
            -
                  encoding:  | 
| 90 | 
            -
                  string:  | 
| 87 | 
            +
                  encoding: UTF-8
         | 
| 88 | 
            +
                  string: |
         | 
| 89 | 
            +
                    {"StatusCode":64}
         | 
| 91 90 | 
             
                http_version: 
         | 
| 92 | 
            -
              recorded_at:  | 
| 93 | 
            -
            recorded_with: VCR 2. | 
| 91 | 
            +
              recorded_at: Wed, 12 Feb 2014 17:05:34 GMT
         | 
| 92 | 
            +
            recorded_with: VCR 2.8.0
         | 
| @@ -2,13 +2,13 @@ | |
| 2 2 | 
             
            http_interactions:
         | 
| 3 3 | 
             
            - request:
         | 
| 4 4 | 
             
                method: post
         | 
| 5 | 
            -
                uri: unix:///var/run/docker.sock/v1. | 
| 5 | 
            +
                uri: unix:///var/run/docker.sock/v1.8/containers/create
         | 
| 6 6 | 
             
                body:
         | 
| 7 7 | 
             
                  encoding: UTF-8
         | 
| 8 | 
            -
                  string:  | 
| 8 | 
            +
                  string: "{\"Cmd\":[\"sleep\",\"5\"],\"Image\":\"base\"}"
         | 
| 9 9 | 
             
                headers:
         | 
| 10 10 | 
             
                  User-Agent:
         | 
| 11 | 
            -
                  - Swipely/Docker-API 1.6 | 
| 11 | 
            +
                  - Swipely/Docker-API 1.7.6
         | 
| 12 12 | 
             
                  Content-Type:
         | 
| 13 13 | 
             
                  - application/json
         | 
| 14 14 | 
             
              response:
         | 
| @@ -16,29 +16,29 @@ http_interactions: | |
| 16 16 | 
             
                  code: 201
         | 
| 17 17 | 
             
                  message: 
         | 
| 18 18 | 
             
                headers:
         | 
| 19 | 
            -
                   | 
| 20 | 
            -
                  -  | 
| 21 | 
            -
             | 
| 22 | 
            -
                   | 
| 23 | 
            -
                  - | 
| 24 | 
            -
             | 
| 25 | 
            -
                   | 
| 26 | 
            -
                  -  | 
| 27 | 
            -
                    RnJpLCAyNSBPY3QgMjAxMyAxNjoyOToxOCBHTVQ=
         | 
| 19 | 
            +
                  Content-Type:
         | 
| 20 | 
            +
                  - application/json
         | 
| 21 | 
            +
                  Date:
         | 
| 22 | 
            +
                  - Wed, 12 Feb 2014 17:05:40 GMT
         | 
| 23 | 
            +
                  Content-Length:
         | 
| 24 | 
            +
                  - '90'
         | 
| 25 | 
            +
                  Connection:
         | 
| 26 | 
            +
                  - close
         | 
| 28 27 | 
             
                body:
         | 
| 29 | 
            -
                  encoding:  | 
| 30 | 
            -
                  string:  | 
| 28 | 
            +
                  encoding: UTF-8
         | 
| 29 | 
            +
                  string: |
         | 
| 30 | 
            +
                    {"Id":"b60e2d88cbbdf0b6f2e49eda5354b65a8b8a36da47cc6983f36b38f49183d0c2","Warnings":null}
         | 
| 31 31 | 
             
                http_version: 
         | 
| 32 | 
            -
              recorded_at:  | 
| 32 | 
            +
              recorded_at: Wed, 12 Feb 2014 17:05:40 GMT
         | 
| 33 33 | 
             
            - request:
         | 
| 34 34 | 
             
                method: post
         | 
| 35 | 
            -
                uri: unix:///var/run/docker.sock/v1. | 
| 35 | 
            +
                uri: unix:///var/run/docker.sock/v1.8/containers/b60e2d88cbbdf0b6f2e49eda5354b65a8b8a36da47cc6983f36b38f49183d0c2/start
         | 
| 36 36 | 
             
                body:
         | 
| 37 37 | 
             
                  encoding: UTF-8
         | 
| 38 | 
            -
                  string:  | 
| 38 | 
            +
                  string: "{}"
         | 
| 39 39 | 
             
                headers:
         | 
| 40 40 | 
             
                  User-Agent:
         | 
| 41 | 
            -
                  - Swipely/Docker-API 1.6 | 
| 41 | 
            +
                  - Swipely/Docker-API 1.7.6
         | 
| 42 42 | 
             
                  Content-Type:
         | 
| 43 43 | 
             
                  - application/json
         | 
| 44 44 | 
             
              response:
         | 
| @@ -46,18 +46,17 @@ http_interactions: | |
| 46 46 | 
             
                  code: 204
         | 
| 47 47 | 
             
                  message: 
         | 
| 48 48 | 
             
                headers:
         | 
| 49 | 
            -
                   | 
| 50 | 
            -
                  -  | 
| 51 | 
            -
             | 
| 52 | 
            -
                   | 
| 53 | 
            -
                  - | 
| 54 | 
            -
             | 
| 55 | 
            -
                   | 
| 56 | 
            -
                  -  | 
| 57 | 
            -
                    RnJpLCAyNSBPY3QgMjAxMyAxNjoyOToxOCBHTVQ=
         | 
| 49 | 
            +
                  Date:
         | 
| 50 | 
            +
                  - Wed, 12 Feb 2014 17:05:40 GMT
         | 
| 51 | 
            +
                  Content-Length:
         | 
| 52 | 
            +
                  - '0'
         | 
| 53 | 
            +
                  Content-Type:
         | 
| 54 | 
            +
                  - text/plain; charset=utf-8
         | 
| 55 | 
            +
                  Connection:
         | 
| 56 | 
            +
                  - close
         | 
| 58 57 | 
             
                body:
         | 
| 59 | 
            -
                  encoding:  | 
| 58 | 
            +
                  encoding: UTF-8
         | 
| 60 59 | 
             
                  string: ''
         | 
| 61 60 | 
             
                http_version: 
         | 
| 62 | 
            -
              recorded_at:  | 
| 63 | 
            -
            recorded_with: VCR 2. | 
| 61 | 
            +
              recorded_at: Wed, 12 Feb 2014 17:05:40 GMT
         | 
| 62 | 
            +
            recorded_with: VCR 2.8.0
         | 
| @@ -2,13 +2,13 @@ | |
| 2 2 | 
             
            http_interactions:
         | 
| 3 3 | 
             
            - request:
         | 
| 4 4 | 
             
                method: post
         | 
| 5 | 
            -
                uri: unix:///var/run/docker.sock/v1. | 
| 5 | 
            +
                uri: unix:///var/run/docker.sock/v1.8/containers/create
         | 
| 6 6 | 
             
                body:
         | 
| 7 7 | 
             
                  encoding: UTF-8
         | 
| 8 | 
            -
                  string:  | 
| 8 | 
            +
                  string: "{\"Cmd\":[\"sleep\",\"5\"],\"Image\":\"base\"}"
         | 
| 9 9 | 
             
                headers:
         | 
| 10 10 | 
             
                  User-Agent:
         | 
| 11 | 
            -
                  - Swipely/Docker-API 1.6 | 
| 11 | 
            +
                  - Swipely/Docker-API 1.7.6
         | 
| 12 12 | 
             
                  Content-Type:
         | 
| 13 13 | 
             
                  - application/json
         | 
| 14 14 | 
             
              response:
         | 
| @@ -16,29 +16,29 @@ http_interactions: | |
| 16 16 | 
             
                  code: 201
         | 
| 17 17 | 
             
                  message: 
         | 
| 18 18 | 
             
                headers:
         | 
| 19 | 
            -
                   | 
| 20 | 
            -
                  -  | 
| 21 | 
            -
             | 
| 22 | 
            -
                   | 
| 23 | 
            -
                  - | 
| 24 | 
            -
             | 
| 25 | 
            -
                   | 
| 26 | 
            -
                  -  | 
| 27 | 
            -
                    RnJpLCAyNSBPY3QgMjAxMyAxNjoyOToxMyBHTVQ=
         | 
| 19 | 
            +
                  Content-Type:
         | 
| 20 | 
            +
                  - application/json
         | 
| 21 | 
            +
                  Date:
         | 
| 22 | 
            +
                  - Wed, 12 Feb 2014 17:05:34 GMT
         | 
| 23 | 
            +
                  Content-Length:
         | 
| 24 | 
            +
                  - '90'
         | 
| 25 | 
            +
                  Connection:
         | 
| 26 | 
            +
                  - close
         | 
| 28 27 | 
             
                body:
         | 
| 29 | 
            -
                  encoding:  | 
| 30 | 
            -
                  string:  | 
| 28 | 
            +
                  encoding: UTF-8
         | 
| 29 | 
            +
                  string: |
         | 
| 30 | 
            +
                    {"Id":"8ca4734f0a48caa34f8c0ac2a1ab59de2e00493e6e5786d177eb2e62907b4725","Warnings":null}
         | 
| 31 31 | 
             
                http_version: 
         | 
| 32 | 
            -
              recorded_at:  | 
| 32 | 
            +
              recorded_at: Wed, 12 Feb 2014 17:05:34 GMT
         | 
| 33 33 | 
             
            - request:
         | 
| 34 34 | 
             
                method: post
         | 
| 35 | 
            -
                uri: unix:///var/run/docker.sock/v1. | 
| 35 | 
            +
                uri: unix:///var/run/docker.sock/v1.8/containers/8ca4734f0a48caa34f8c0ac2a1ab59de2e00493e6e5786d177eb2e62907b4725/start
         | 
| 36 36 | 
             
                body:
         | 
| 37 37 | 
             
                  encoding: UTF-8
         | 
| 38 | 
            -
                  string:  | 
| 38 | 
            +
                  string: "{}"
         | 
| 39 39 | 
             
                headers:
         | 
| 40 40 | 
             
                  User-Agent:
         | 
| 41 | 
            -
                  - Swipely/Docker-API 1.6 | 
| 41 | 
            +
                  - Swipely/Docker-API 1.7.6
         | 
| 42 42 | 
             
                  Content-Type:
         | 
| 43 43 | 
             
                  - application/json
         | 
| 44 44 | 
             
              response:
         | 
| @@ -46,29 +46,28 @@ http_interactions: | |
| 46 46 | 
             
                  code: 204
         | 
| 47 47 | 
             
                  message: 
         | 
| 48 48 | 
             
                headers:
         | 
| 49 | 
            -
                   | 
| 50 | 
            -
                  -  | 
| 51 | 
            -
             | 
| 52 | 
            -
                   | 
| 53 | 
            -
                  - | 
| 54 | 
            -
             | 
| 55 | 
            -
                   | 
| 56 | 
            -
                  -  | 
| 57 | 
            -
                    RnJpLCAyNSBPY3QgMjAxMyAxNjoyOToxMyBHTVQ=
         | 
| 49 | 
            +
                  Date:
         | 
| 50 | 
            +
                  - Wed, 12 Feb 2014 17:05:34 GMT
         | 
| 51 | 
            +
                  Content-Length:
         | 
| 52 | 
            +
                  - '0'
         | 
| 53 | 
            +
                  Content-Type:
         | 
| 54 | 
            +
                  - text/plain; charset=utf-8
         | 
| 55 | 
            +
                  Connection:
         | 
| 56 | 
            +
                  - close
         | 
| 58 57 | 
             
                body:
         | 
| 59 | 
            -
                  encoding:  | 
| 58 | 
            +
                  encoding: UTF-8
         | 
| 60 59 | 
             
                  string: ''
         | 
| 61 60 | 
             
                http_version: 
         | 
| 62 | 
            -
              recorded_at:  | 
| 61 | 
            +
              recorded_at: Wed, 12 Feb 2014 17:05:34 GMT
         | 
| 63 62 | 
             
            - request:
         | 
| 64 63 | 
             
                method: post
         | 
| 65 | 
            -
                uri: unix:///var/run/docker.sock/v1. | 
| 64 | 
            +
                uri: unix:///var/run/docker.sock/v1.8/containers/8ca4734f0a48caa34f8c0ac2a1ab59de2e00493e6e5786d177eb2e62907b4725/wait
         | 
| 66 65 | 
             
                body:
         | 
| 67 66 | 
             
                  encoding: US-ASCII
         | 
| 68 67 | 
             
                  string: ''
         | 
| 69 68 | 
             
                headers:
         | 
| 70 69 | 
             
                  User-Agent:
         | 
| 71 | 
            -
                  - Swipely/Docker-API 1.6 | 
| 70 | 
            +
                  - Swipely/Docker-API 1.7.6
         | 
| 72 71 | 
             
                  Content-Type:
         | 
| 73 72 | 
             
                  - text/plain
         | 
| 74 73 | 
             
              response:
         | 
| @@ -76,18 +75,18 @@ http_interactions: | |
| 76 75 | 
             
                  code: 200
         | 
| 77 76 | 
             
                  message: 
         | 
| 78 77 | 
             
                headers:
         | 
| 79 | 
            -
                   | 
| 80 | 
            -
                  -  | 
| 81 | 
            -
             | 
| 82 | 
            -
                   | 
| 83 | 
            -
                  - | 
| 84 | 
            -
             | 
| 85 | 
            -
                   | 
| 86 | 
            -
                  -  | 
| 87 | 
            -
                    RnJpLCAyNSBPY3QgMjAxMyAxNjoyOToxOCBHTVQ=
         | 
| 78 | 
            +
                  Content-Type:
         | 
| 79 | 
            +
                  - application/json
         | 
| 80 | 
            +
                  Date:
         | 
| 81 | 
            +
                  - Wed, 12 Feb 2014 17:05:40 GMT
         | 
| 82 | 
            +
                  Content-Length:
         | 
| 83 | 
            +
                  - '17'
         | 
| 84 | 
            +
                  Connection:
         | 
| 85 | 
            +
                  - close
         | 
| 88 86 | 
             
                body:
         | 
| 89 | 
            -
                  encoding:  | 
| 90 | 
            -
                  string:  | 
| 87 | 
            +
                  encoding: UTF-8
         | 
| 88 | 
            +
                  string: |
         | 
| 89 | 
            +
                    {"StatusCode":0}
         | 
| 91 90 | 
             
                http_version: 
         | 
| 92 | 
            -
              recorded_at:  | 
| 93 | 
            -
            recorded_with: VCR 2. | 
| 91 | 
            +
              recorded_at: Wed, 12 Feb 2014 17:05:40 GMT
         | 
| 92 | 
            +
            recorded_with: VCR 2.8.0
         | 
| @@ -2,13 +2,13 @@ | |
| 2 2 | 
             
            http_interactions:
         | 
| 3 3 | 
             
            - request:
         | 
| 4 4 | 
             
                method: post
         | 
| 5 | 
            -
                uri: unix:///var/run/docker.sock/v1. | 
| 5 | 
            +
                uri: unix:///var/run/docker.sock/v1.8/images/create?fromImage=base
         | 
| 6 6 | 
             
                body:
         | 
| 7 7 | 
             
                  encoding: US-ASCII
         | 
| 8 8 | 
             
                  string: ''
         | 
| 9 9 | 
             
                headers:
         | 
| 10 10 | 
             
                  User-Agent:
         | 
| 11 | 
            -
                  - Swipely/Docker-API 1.6 | 
| 11 | 
            +
                  - Swipely/Docker-API 1.7.6
         | 
| 12 12 | 
             
                  Content-Type:
         | 
| 13 13 | 
             
                  - text/plain
         | 
| 14 14 | 
             
              response:
         | 
| @@ -16,32 +16,34 @@ http_interactions: | |
| 16 16 | 
             
                  code: 200
         | 
| 17 17 | 
             
                  message: 
         | 
| 18 18 | 
             
                headers:
         | 
| 19 | 
            -
                   | 
| 20 | 
            -
                  -  | 
| 21 | 
            -
             | 
| 22 | 
            -
                   | 
| 23 | 
            -
                   | 
| 24 | 
            -
             | 
| 25 | 
            -
                   | 
| 26 | 
            -
                  -  | 
| 27 | 
            -
                    Y2h1bmtlZA==
         | 
| 19 | 
            +
                  Content-Type:
         | 
| 20 | 
            +
                  - application/json
         | 
| 21 | 
            +
                  Date:
         | 
| 22 | 
            +
                  - Wed, 12 Feb 2014 17:06:37 GMT
         | 
| 23 | 
            +
                  Connection:
         | 
| 24 | 
            +
                  - close
         | 
| 25 | 
            +
                  Transfer-Encoding:
         | 
| 26 | 
            +
                  - ''
         | 
| 28 27 | 
             
                body:
         | 
| 29 | 
            -
                  encoding:  | 
| 30 | 
            -
                  string:  | 
| 31 | 
            -
                    (ubuntu-quantl) from base" | 
| 32 | 
            -
                    (ubuntu-quantl) from base, endpoint: https://cdn-registry-1.docker.io/v1 | 
| 33 | 
            -
                    layers" | 
| 28 | 
            +
                  encoding: UTF-8
         | 
| 29 | 
            +
                  string: "{\"status\":\"Pulling repository base\"}{\"status\":\"Pulling image
         | 
| 30 | 
            +
                    (ubuntu-quantl) from base\",\"progressDetail\":{},\"id\":\"b750fe79269d\"}{\"status\":\"Pulling
         | 
| 31 | 
            +
                    image (ubuntu-quantl) from base, endpoint: https://cdn-registry-1.docker.io/v1/\",\"progressDetail\":{},\"id\":\"b750fe79269d\"}{\"status\":\"Pulling
         | 
| 32 | 
            +
                    dependent layers\",\"progressDetail\":{},\"id\":\"b750fe79269d\"}{\"status\":\"Download
         | 
| 33 | 
            +
                    complete\",\"progressDetail\":{},\"id\":\"27cf78414709\"}{\"status\":\"Download
         | 
| 34 | 
            +
                    complete\",\"progressDetail\":{},\"id\":\"b750fe79269d\"}{\"status\":\"Download
         | 
| 35 | 
            +
                    complete\",\"progressDetail\":{},\"id\":\"b750fe79269d\"}"
         | 
| 34 36 | 
             
                http_version: 
         | 
| 35 | 
            -
              recorded_at:  | 
| 37 | 
            +
              recorded_at: Wed, 12 Feb 2014 17:06:38 GMT
         | 
| 36 38 | 
             
            - request:
         | 
| 37 39 | 
             
                method: get
         | 
| 38 | 
            -
                uri: unix:///var/run/docker.sock/v1. | 
| 40 | 
            +
                uri: unix:///var/run/docker.sock/v1.8/images/json?all=true
         | 
| 39 41 | 
             
                body:
         | 
| 40 42 | 
             
                  encoding: US-ASCII
         | 
| 41 43 | 
             
                  string: ''
         | 
| 42 44 | 
             
                headers:
         | 
| 43 45 | 
             
                  User-Agent:
         | 
| 44 | 
            -
                  - Swipely/Docker-API 1.6 | 
| 46 | 
            +
                  - Swipely/Docker-API 1.7.6
         | 
| 45 47 | 
             
                  Content-Type:
         | 
| 46 48 | 
             
                  - text/plain
         | 
| 47 49 | 
             
              response:
         | 
| @@ -49,18 +51,30 @@ http_interactions: | |
| 49 51 | 
             
                  code: 200
         | 
| 50 52 | 
             
                  message: 
         | 
| 51 53 | 
             
                headers:
         | 
| 52 | 
            -
                   | 
| 53 | 
            -
                  -  | 
| 54 | 
            -
             | 
| 55 | 
            -
                   | 
| 56 | 
            -
                   | 
| 57 | 
            -
             | 
| 58 | 
            -
                   | 
| 59 | 
            -
                  -  | 
| 60 | 
            -
                    RnJpLCAyNSBPY3QgMjAxMyAxNjozMzo1NCBHTVQ=
         | 
| 54 | 
            +
                  Date:
         | 
| 55 | 
            +
                  - Wed, 12 Feb 2014 17:06:38 GMT
         | 
| 56 | 
            +
                  Content-Type:
         | 
| 57 | 
            +
                  - text/plain; charset=utf-8
         | 
| 58 | 
            +
                  Connection:
         | 
| 59 | 
            +
                  - close
         | 
| 60 | 
            +
                  Transfer-Encoding:
         | 
| 61 | 
            +
                  - ''
         | 
| 61 62 | 
             
                body:
         | 
| 62 | 
            -
                  encoding:  | 
| 63 | 
            -
                  string:  | 
| 63 | 
            +
                  encoding: UTF-8
         | 
| 64 | 
            +
                  string: |-
         | 
| 65 | 
            +
                    [{"Created":1392224791,"Id":"fe20982d654dc449eeca28574a5ca9a88d31214385de328e87701c7791195d38","ParentId":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":0,"VirtualSize":350613943}
         | 
| 66 | 
            +
                    ,{"Created":1392224778,"Id":"e86ce037ddd754144fdbf27a5985c8ea3e542762045f0a9db2380c6a4652351d","ParentId":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":38,"VirtualSize":350613981}
         | 
| 67 | 
            +
                    ,{"Created":1392224774,"Id":"1b3c75d341bd8ca014239a9a658bea02e7e01e02d10aafdca598f1aec970781d","ParentId":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":38,"VirtualSize":350613981}
         | 
| 68 | 
            +
                    ,{"Created":1392224769,"Id":"724a85dfbc0f7e528ee2f30a4ff344a10f708fde454b1c7b2fe36585b42795f1","ParentId":"6b7f51d79dfdc9513b1a7429839a27f23f9c6e7fdfa8fc6ebcb061b18bd2ec8f","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":328,"VirtualSize":350614309}
         | 
| 69 | 
            +
                    ,{"Created":1392224767,"Id":"6b7f51d79dfdc9513b1a7429839a27f23f9c6e7fdfa8fc6ebcb061b18bd2ec8f","ParentId":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":38,"VirtualSize":350613981}
         | 
| 70 | 
            +
                    ,{"Created":1392224762,"Id":"53f8b4e63bb87e4ea9304f59f4b926c978d3025c3fcd255485de323ca645e1ef","ParentId":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":38,"VirtualSize":350613981}
         | 
| 71 | 
            +
                    ,{"Created":1392224759,"Id":"4ba9053f199a519e1e1cdbbe1f19230c2160f77453d055a0f0d6ded82ce04946","ParentId":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":94554,"VirtualSize":350708497}
         | 
| 72 | 
            +
                    ,{"Created":1392224753,"Id":"dae27da5a73f01eede1699649c42c727651b4311d2ff689810bf22c75c2d2a08","ParentId":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":7,"VirtualSize":350613950}
         | 
| 73 | 
            +
                    ,{"Created":1392224748,"Id":"291b17ca54f04278c166b1313f9ec211fa27596a6f5a20855fcd8739b8f26116","ParentId":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":7,"VirtualSize":350613950}
         | 
| 74 | 
            +
                    ,{"Created":1392224744,"Id":"328de6c59bef1db641600ea40668bbd57f6966a146bebe9640030dea13d0008c","ParentId":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":7,"VirtualSize":350613950}
         | 
| 75 | 
            +
                    ,{"Created":1364102658,"Id":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","ParentId":"27cf784147099545","RepoTags":["base:latest","base:ubuntu-12.10","base:ubuntu-quantal","base:ubuntu-quantl","base2:latest"],"Size":175306985,"VirtualSize":350613943}
         | 
| 76 | 
            +
                    ,{"Created":1364068391,"Id":"27cf784147099545","ParentId":"","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":175306958,"VirtualSize":175306958}
         | 
| 77 | 
            +
                    ]
         | 
| 64 78 | 
             
                http_version: 
         | 
| 65 | 
            -
              recorded_at:  | 
| 66 | 
            -
            recorded_with: VCR 2. | 
| 79 | 
            +
              recorded_at: Wed, 12 Feb 2014 17:06:38 GMT
         | 
| 80 | 
            +
            recorded_with: VCR 2.8.0
         |