docker-api 1.12.0 → 1.13.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 +4 -4
- data/lib/docker/container.rb +15 -0
- data/lib/docker/image.rb +0 -10
- data/lib/docker/version.rb +2 -2
- data/spec/docker/container_spec.rb +26 -1
- data/spec/docker/image_spec.rb +0 -11
- data/spec/vcr/Docker/_authenticate_/with_valid_credentials/logs_in_and_sets_the_creds.yml +4 -4
- data/spec/vcr/Docker/_info/returns_the_info_as_a_Hash.yml +6 -6
- data/spec/vcr/Docker/_validate_version/when_nothing_is_raised/validate_version_/.yml +6 -6
- data/spec/vcr/Docker/_version/returns_the_version_as_a_Hash.yml +4 -4
- data/spec/vcr/Docker_Container/_all/when_the_HTTP_response_is_a_200/materializes_each_Container_into_a_Docker_Container.yml +127 -75
- data/spec/vcr/Docker_Container/_attach/with_normal_sized_chunks/yields_each_chunk.yml +12 -16
- data/spec/vcr/Docker_Container/_attach/with_very_small_chunks/yields_each_chunk.yml +12 -16
- data/spec/vcr/Docker_Container/_changes/returns_the_changes_as_an_array.yml +17 -21
- data/spec/vcr/Docker_Container/_commit/creates_a_new_Image_from_the_Container_s_changes.yml +14 -18
- data/spec/vcr/Docker_Container/_commit/if_run_is_passed_it_saves_the_command_in_the_image/saves_the_command.yml +9 -13
- data/spec/vcr/Docker_Container/_copy/when_the_input_is_a_directory/yields_each_chunk_of_the_tarred_directory.yml +39 -43
- data/spec/vcr/Docker_Container/_copy/when_the_input_is_a_file/yields_each_chunk_of_the_tarred_file.yml +22 -26
- data/spec/vcr/Docker_Container/_create/when_creating_a_container_named_bob/should_have_name_set_to_bob.yml +12 -11
- data/spec/vcr/Docker_Container/_create/when_the_Container_does_not_yet_exist/when_the_HTTP_request_returns_a_200/sets_the_id.yml +5 -5
- data/spec/vcr/Docker_Container/_delete/deletes_the_container.yml +15 -19
- data/spec/vcr/Docker_Container/_export/yields_each_chunk.yml +15 -453687
- data/spec/vcr/Docker_Container/_get/when_the_HTTP_response_is_a_200/materializes_the_Container_into_a_Docker_Container.yml +12 -11
- data/spec/vcr/Docker_Container/_json/returns_the_description_as_a_Hash.yml +12 -11
- data/spec/vcr/Docker_Container/_kill/kills_the_container.yml +64 -42
- data/spec/vcr/Docker_Container/_logs/when_not_selecting_any_stream/returns_the_error_message.yml +11 -11
- data/spec/vcr/Docker_Container/_logs/when_selecting_stdout/returns_blank_logs.yml +9 -9
- data/spec/vcr/Docker_Container/_pause/pauses_the_container.yml +121 -0
- data/spec/vcr/Docker_Container/_restart/restarts_the_container.yml +37 -49
- data/spec/vcr/Docker_Container/_run/when_the_Container_s_command_does_not_return_status_code_of_0/raises_an_error.yml +13 -17
- 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 +36 -48
- data/spec/vcr/Docker_Container/_start/starts_the_container.yml +20 -24
- data/spec/vcr/Docker_Container/_stop/stops_the_container.yml +67 -49
- data/spec/vcr/Docker_Container/_top/returns_the_top_commands_as_an_Array.yml +23 -26
- data/spec/vcr/Docker_Container/_unpause/unpauses_the_container.yml +150 -0
- data/spec/vcr/Docker_Container/_wait/waits_for_the_command_to_finish.yml +13 -17
- data/spec/vcr/Docker_Container/_wait/when_an_argument_is_given/and_a_command_runs_for_too_long/raises_a_ServerError.yml +9 -13
- data/spec/vcr/Docker_Container/_wait/when_an_argument_is_given/sets_the_read_timeout_to_that_amount_of_time.yml +13 -17
- data/spec/vcr/Docker_Image/_all/materializes_each_Image_into_a_Docker_Image.yml +10 -11
- data/spec/vcr/Docker_Image/_build/with_a_valid_Dockerfile/with_a_block_capturing_build_output/calls_the_block_and_passes_build_output.yml +4 -4
- 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 +25 -24
- data/spec/vcr/Docker_Image/_build/with_a_valid_Dockerfile/without_query_parameters/builds_an_image.yml +4 -4
- data/spec/vcr/Docker_Image/_build/with_an_invalid_Dockerfile/throws_a_UnexpectedResponseError.yml +4 -4
- 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 +8 -8
- data/spec/vcr/Docker_Image/_build_from_dir/with_a_valid_Dockerfile/with_credentials_passed/sends_Docker_creds.yml +6 -6
- data/spec/vcr/Docker_Image/_build_from_dir/with_a_valid_Dockerfile/with_no_query_parameters/builds_the_image.yml +21 -24
- data/spec/vcr/Docker_Image/_build_from_dir/with_a_valid_Dockerfile/with_specifying_a_repo_in_the_query_parameters/builds_the_image_and_tags_it.yml +39 -43
- data/spec/vcr/Docker_Image/_create/when_the_Image_does_not_yet_exist_and_the_body_is_a_Hash/sets_the_id_and_sends_Docker_creds.yml +68 -18
- data/spec/vcr/Docker_Image/_get/when_the_image_does_exist/returns_the_new_image.yml +7 -6
- data/spec/vcr/Docker_Image/_history/returns_the_history_of_the_Image.yml +10 -10
- data/spec/vcr/Docker_Image/_import/when_the_argument_is_a_URI/when_the_URI_is_invalid/raises_an_error.yml +18 -24
- data/spec/vcr/Docker_Image/_import/when_the_argument_is_a_URI/when_the_URI_is_valid/returns_an_Image.yml +9 -9
- data/spec/vcr/Docker_Image/_import/when_the_file_does_exist/creates_the_Image.yml +5 -5
- data/spec/vcr/Docker_Image/_insert_local/when_a_direcory_is_passed/inserts_the_directory.yml +23 -27
- data/spec/vcr/Docker_Image/_insert_local/when_removing_intermediate_containers/creates_a_new_image.yml +20 -20
- data/spec/vcr/Docker_Image/_insert_local/when_removing_intermediate_containers/leave_no_intermediate_containers.yml +18 -18
- data/spec/vcr/Docker_Image/_insert_local/when_the_local_file_does_exist/creates_a_new_Image_that_has_that_file.yml +23 -27
- data/spec/vcr/Docker_Image/_insert_local/when_the_local_file_does_not_exist/raises_an_error.yml +4 -4
- data/spec/vcr/Docker_Image/_insert_local/when_there_are_multiple_files_passed/creates_a_new_Image_that_has_each_file.yml +25 -28
- data/spec/vcr/Docker_Image/_json/returns_additional_information_about_image_image.yml +13 -12
- data/spec/vcr/Docker_Image/_push/pushes_the_Image.yml +32 -71
- data/spec/vcr/Docker_Image/_push/when_there_are_no_credentials/still_pushes.yml +28 -28
- data/spec/vcr/Docker_Image/_refresh_/updates_the_info_hash.yml +35 -34
- data/spec/vcr/Docker_Image/_remove/removes_the_Image.yml +50 -21
- data/spec/vcr/Docker_Image/_run/when_the_argument_is_a_String/splits_the_String_by_spaces_and_creates_a_new_Container.yml +16 -20
- data/spec/vcr/Docker_Image/_run/when_the_argument_is_an_Array/creates_a_new_Container.yml +16 -20
- 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 +10 -10
- data/spec/vcr/Docker_Image/_search/materializes_each_Image_into_a_Docker_Image.yml +66 -34
- data/spec/vcr/Docker_Image/_tag/tags_the_image_with_the_repo_name.yml +8 -8
- metadata +8 -5
- data/spec/vcr/Docker_Image/_insert/inserts_the_url_s_file_into_a_new_Image.yml +0 -194
| @@ -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.12/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.11. | 
| 11 | 
            +
                  - Swipely/Docker-API 1.11.2
         | 
| 12 12 | 
             
                  Content-Type:
         | 
| 13 13 | 
             
                  - text/plain
         | 
| 14 14 | 
             
              response:
         | 
| @@ -19,7 +19,7 @@ http_interactions: | |
| 19 19 | 
             
                  Content-Type:
         | 
| 20 20 | 
             
                  - application/json
         | 
| 21 21 | 
             
                  Date:
         | 
| 22 | 
            -
                  -  | 
| 22 | 
            +
                  - Thu, 26 Jun 2014 20:49:19 GMT
         | 
| 23 23 | 
             
                  Connection:
         | 
| 24 24 | 
             
                  - close
         | 
| 25 25 | 
             
                  Transfer-Encoding:
         | 
| @@ -27,23 +27,23 @@ http_interactions: | |
| 27 27 | 
             
                body:
         | 
| 28 28 | 
             
                  encoding: UTF-8
         | 
| 29 29 | 
             
                  string: "{\"status\":\"Pulling repository base\"}\r\n{\"status\":\"Pulling image
         | 
| 30 | 
            -
                    ( | 
| 31 | 
            -
                    image ( | 
| 30 | 
            +
                    (latest) from base\",\"progressDetail\":{},\"id\":\"b750fe79269d\"}{\"status\":\"Pulling
         | 
| 31 | 
            +
                    image (latest) from base, endpoint: https://cdn-registry-1.docker.io/v1/\",\"progressDetail\":{},\"id\":\"b750fe79269d\"}{\"status\":\"Pulling
         | 
| 32 32 | 
             
                    dependent layers\",\"progressDetail\":{},\"id\":\"b750fe79269d\"}{\"status\":\"Download
         | 
| 33 33 | 
             
                    complete\",\"progressDetail\":{},\"id\":\"27cf78414709\"}{\"status\":\"Download
         | 
| 34 34 | 
             
                    complete\",\"progressDetail\":{},\"id\":\"b750fe79269d\"}{\"status\":\"Download
         | 
| 35 35 | 
             
                    complete\",\"progressDetail\":{},\"id\":\"b750fe79269d\"}"
         | 
| 36 36 | 
             
                http_version: 
         | 
| 37 | 
            -
              recorded_at:  | 
| 37 | 
            +
              recorded_at: Thu, 26 Jun 2014 20:49:22 GMT
         | 
| 38 38 | 
             
            - request:
         | 
| 39 39 | 
             
                method: post
         | 
| 40 | 
            -
                uri: unix:///var/run/docker.sock/v1. | 
| 40 | 
            +
                uri: unix:///var/run/docker.sock/v1.12/containers/create
         | 
| 41 41 | 
             
                body:
         | 
| 42 42 | 
             
                  encoding: UTF-8
         | 
| 43 43 | 
             
                  string: '{"Image":"b750fe79269d","Cmd":["touch","/test"]}'
         | 
| 44 44 | 
             
                headers:
         | 
| 45 45 | 
             
                  User-Agent:
         | 
| 46 | 
            -
                  - Swipely/Docker-API 1.11. | 
| 46 | 
            +
                  - Swipely/Docker-API 1.11.2
         | 
| 47 47 | 
             
                  Content-Type:
         | 
| 48 48 | 
             
                  - application/json
         | 
| 49 49 | 
             
              response:
         | 
| @@ -54,7 +54,7 @@ http_interactions: | |
| 54 54 | 
             
                  Content-Type:
         | 
| 55 55 | 
             
                  - application/json
         | 
| 56 56 | 
             
                  Date:
         | 
| 57 | 
            -
                  -  | 
| 57 | 
            +
                  - Thu, 26 Jun 2014 20:49:22 GMT
         | 
| 58 58 | 
             
                  Content-Length:
         | 
| 59 59 | 
             
                  - '90'
         | 
| 60 60 | 
             
                  Connection:
         | 
| @@ -62,18 +62,18 @@ http_interactions: | |
| 62 62 | 
             
                body:
         | 
| 63 63 | 
             
                  encoding: UTF-8
         | 
| 64 64 | 
             
                  string: |
         | 
| 65 | 
            -
                    {"Id":" | 
| 65 | 
            +
                    {"Id":"09414329d7225cc05ad936c38cf0124b3ac9b697deacd6d36ff4b09a12739d70","Warnings":null}
         | 
| 66 66 | 
             
                http_version: 
         | 
| 67 | 
            -
              recorded_at:  | 
| 67 | 
            +
              recorded_at: Thu, 26 Jun 2014 20:49:22 GMT
         | 
| 68 68 | 
             
            - request:
         | 
| 69 69 | 
             
                method: post
         | 
| 70 | 
            -
                uri: unix:///var/run/docker.sock/v1. | 
| 70 | 
            +
                uri: unix:///var/run/docker.sock/v1.12/containers/09414329d7225cc05ad936c38cf0124b3ac9b697deacd6d36ff4b09a12739d70/start
         | 
| 71 71 | 
             
                body:
         | 
| 72 72 | 
             
                  encoding: UTF-8
         | 
| 73 73 | 
             
                  string: '{}'
         | 
| 74 74 | 
             
                headers:
         | 
| 75 75 | 
             
                  User-Agent:
         | 
| 76 | 
            -
                  - Swipely/Docker-API 1.11. | 
| 76 | 
            +
                  - Swipely/Docker-API 1.11.2
         | 
| 77 77 | 
             
                  Content-Type:
         | 
| 78 78 | 
             
                  - application/json
         | 
| 79 79 | 
             
              response:
         | 
| @@ -82,27 +82,23 @@ http_interactions: | |
| 82 82 | 
             
                  message: 
         | 
| 83 83 | 
             
                headers:
         | 
| 84 84 | 
             
                  Date:
         | 
| 85 | 
            -
                  -  | 
| 86 | 
            -
                  Content-Length:
         | 
| 87 | 
            -
                  - '0'
         | 
| 88 | 
            -
                  Content-Type:
         | 
| 89 | 
            -
                  - text/plain; charset=utf-8
         | 
| 85 | 
            +
                  - Thu, 26 Jun 2014 20:49:22 GMT
         | 
| 90 86 | 
             
                  Connection:
         | 
| 91 87 | 
             
                  - close
         | 
| 92 88 | 
             
                body:
         | 
| 93 89 | 
             
                  encoding: UTF-8
         | 
| 94 90 | 
             
                  string: ''
         | 
| 95 91 | 
             
                http_version: 
         | 
| 96 | 
            -
              recorded_at:  | 
| 92 | 
            +
              recorded_at: Thu, 26 Jun 2014 20:49:22 GMT
         | 
| 97 93 | 
             
            - request:
         | 
| 98 94 | 
             
                method: post
         | 
| 99 | 
            -
                uri: unix:///var/run/docker.sock/v1. | 
| 95 | 
            +
                uri: unix:///var/run/docker.sock/v1.12/containers/09414329d7225cc05ad936c38cf0124b3ac9b697deacd6d36ff4b09a12739d70/wait
         | 
| 100 96 | 
             
                body:
         | 
| 101 97 | 
             
                  encoding: US-ASCII
         | 
| 102 98 | 
             
                  string: ''
         | 
| 103 99 | 
             
                headers:
         | 
| 104 100 | 
             
                  User-Agent:
         | 
| 105 | 
            -
                  - Swipely/Docker-API 1.11. | 
| 101 | 
            +
                  - Swipely/Docker-API 1.11.2
         | 
| 106 102 | 
             
                  Content-Type:
         | 
| 107 103 | 
             
                  - text/plain
         | 
| 108 104 | 
             
              response:
         | 
| @@ -113,7 +109,7 @@ http_interactions: | |
| 113 109 | 
             
                  Content-Type:
         | 
| 114 110 | 
             
                  - application/json
         | 
| 115 111 | 
             
                  Date:
         | 
| 116 | 
            -
                  -  | 
| 112 | 
            +
                  - Thu, 26 Jun 2014 20:49:22 GMT
         | 
| 117 113 | 
             
                  Content-Length:
         | 
| 118 114 | 
             
                  - '17'
         | 
| 119 115 | 
             
                  Connection:
         | 
| @@ -123,16 +119,16 @@ http_interactions: | |
| 123 119 | 
             
                  string: |
         | 
| 124 120 | 
             
                    {"StatusCode":0}
         | 
| 125 121 | 
             
                http_version: 
         | 
| 126 | 
            -
              recorded_at:  | 
| 122 | 
            +
              recorded_at: Thu, 26 Jun 2014 20:49:22 GMT
         | 
| 127 123 | 
             
            - request:
         | 
| 128 124 | 
             
                method: post
         | 
| 129 | 
            -
                uri: unix:///var/run/docker.sock/v1. | 
| 125 | 
            +
                uri: unix:///var/run/docker.sock/v1.12/containers/09414329d7225cc05ad936c38cf0124b3ac9b697deacd6d36ff4b09a12739d70/copy
         | 
| 130 126 | 
             
                body:
         | 
| 131 127 | 
             
                  encoding: UTF-8
         | 
| 132 128 | 
             
                  string: '{"Resource":"/etc/vim"}'
         | 
| 133 129 | 
             
                headers:
         | 
| 134 130 | 
             
                  User-Agent:
         | 
| 135 | 
            -
                  - Swipely/Docker-API 1.11. | 
| 131 | 
            +
                  - Swipely/Docker-API 1.11.2
         | 
| 136 132 | 
             
                  Content-Type:
         | 
| 137 133 | 
             
                  - application/json
         | 
| 138 134 | 
             
              response:
         | 
| @@ -141,7 +137,7 @@ http_interactions: | |
| 141 137 | 
             
                  message: 
         | 
| 142 138 | 
             
                headers:
         | 
| 143 139 | 
             
                  Date:
         | 
| 144 | 
            -
                  -  | 
| 140 | 
            +
                  - Thu, 26 Jun 2014 20:49:23 GMT
         | 
| 145 141 | 
             
                  Content-Type:
         | 
| 146 142 | 
             
                  - application/octet-stream
         | 
| 147 143 | 
             
                  Connection:
         | 
| @@ -242,21 +238,21 @@ http_interactions: | |
| 242 238 | 
             
                    AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
         | 
| 243 239 | 
             
                    AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
         | 
| 244 240 | 
             
                    AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
         | 
| 245 | 
            -
                     | 
| 246 | 
            -
                     | 
| 247 | 
            -
                     | 
| 248 | 
            -
                     | 
| 249 | 
            -
                     | 
| 250 | 
            -
                     | 
| 251 | 
            -
                     | 
| 252 | 
            -
                     | 
| 253 | 
            -
                     | 
| 254 | 
            -
                     | 
| 255 | 
            -
                     | 
| 256 | 
            -
                     | 
| 257 | 
            -
                     | 
| 258 | 
            -
                     | 
| 259 | 
            -
                     | 
| 241 | 
            +
                    ACIgVmltIGNvbmZpZ3VyYXRpb24gZmlsZSwgaW4gZWZmZWN0IHdoZW4gaW52
         | 
| 242 | 
            +
                    b2tlZCBhcyAidmkiLiBUaGUgYWltIG9mIHRoaXMKIiBjb25maWd1cmF0aW9u
         | 
| 243 | 
            +
                    IGZpbGUgaXMgdG8gcHJvdmlkZSBhIFZpbSBlbnZpcm9ubWVudCBhcyBjb21w
         | 
| 244 | 
            +
                    YXRpYmxlIHdpdGggdGhlCiIgb3JpZ2luYWwgdmkgYXMgcG9zc2libGUuIE5v
         | 
| 245 | 
            +
                    dGUgdGhhdCB+Ly52aW1yYyBjb25maWd1cmF0aW9uIGZpbGVzIGFzIG90aGVy
         | 
| 246 | 
            +
                    CiIgY29uZmlndXJhdGlvbiBmaWxlcyBpbiB0aGUgcnVudGltZXBhdGggYXJl
         | 
| 247 | 
            +
                    IHN0aWxsIHNvdXJjZWQuCiIgV2hlbiBWaW0gaXMgaW52b2tlZCBkaWZmZXJl
         | 
| 248 | 
            +
                    bnRseSAoInZpbSIsICJ2aWV3IiwgImV2aW0iLCAuLi4pIHRoaXMgZmlsZSBp
         | 
| 249 | 
            +
                    cwoiIF9ub3RfIHNvdXJjZWQ7IC9ldGMvdmltL3ZpbXJjIGFuZC9vciAvZXRj
         | 
| 250 | 
            +
                    L3ZpbS9ndmltcmMgYXJlLgoKIiBEZWJpYW4gc3lzdGVtLXdpZGUgZGVmYXVs
         | 
| 251 | 
            +
                    dCBjb25maWd1cmF0aW9uIFZpbQpzZXQgcnVudGltZXBhdGg9fi8udmltLC92
         | 
| 252 | 
            +
                    YXIvbGliL3ZpbS9hZGRvbnMsL3Vzci9zaGFyZS92aW0vdmltZmlsZXMsL3Vz
         | 
| 253 | 
            +
                    ci9zaGFyZS92aW0vdmltNzMsL3Vzci9zaGFyZS92aW0vdmltZmlsZXMvYWZ0
         | 
| 254 | 
            +
                    ZXIsL3Zhci9saWIvdmltL2FkZG9ucy9hZnRlcix+Ly52aW0vYWZ0ZXIKCnNl
         | 
| 255 | 
            +
                    dCBjb21wYXRpYmxlCgoiIHZpbTogc2V0IGZ0PXZpbToKAAAAAAAAAAAAAAAA
         | 
| 260 256 | 
             
                    AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
         | 
| 261 257 | 
             
                    AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
         | 
| 262 258 | 
             
                    AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
         | 
| @@ -287,7 +283,7 @@ http_interactions: | |
| 287 283 | 
             
                    AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
         | 
| 288 284 | 
             
                    AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
         | 
| 289 285 | 
             
                    AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
         | 
| 290 | 
            -
                     | 
| 286 | 
            +
                    AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
         | 
| 291 287 | 
             
                http_version: 
         | 
| 292 | 
            -
              recorded_at:  | 
| 288 | 
            +
              recorded_at: Thu, 26 Jun 2014 20:49:23 GMT
         | 
| 293 289 | 
             
            recorded_with: VCR 2.9.2
         | 
| @@ -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.12/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.11. | 
| 11 | 
            +
                  - Swipely/Docker-API 1.11.2
         | 
| 12 12 | 
             
                  Content-Type:
         | 
| 13 13 | 
             
                  - text/plain
         | 
| 14 14 | 
             
              response:
         | 
| @@ -19,7 +19,7 @@ http_interactions: | |
| 19 19 | 
             
                  Content-Type:
         | 
| 20 20 | 
             
                  - application/json
         | 
| 21 21 | 
             
                  Date:
         | 
| 22 | 
            -
                  -  | 
| 22 | 
            +
                  - Thu, 26 Jun 2014 19:43:17 GMT
         | 
| 23 23 | 
             
                  Connection:
         | 
| 24 24 | 
             
                  - close
         | 
| 25 25 | 
             
                  Transfer-Encoding:
         | 
| @@ -34,16 +34,16 @@ http_interactions: | |
| 34 34 | 
             
                    complete\",\"progressDetail\":{},\"id\":\"b750fe79269d\"}{\"status\":\"Download
         | 
| 35 35 | 
             
                    complete\",\"progressDetail\":{},\"id\":\"b750fe79269d\"}"
         | 
| 36 36 | 
             
                http_version: 
         | 
| 37 | 
            -
              recorded_at:  | 
| 37 | 
            +
              recorded_at: Thu, 26 Jun 2014 19:43:18 GMT
         | 
| 38 38 | 
             
            - request:
         | 
| 39 39 | 
             
                method: post
         | 
| 40 | 
            -
                uri: unix:///var/run/docker.sock/v1. | 
| 40 | 
            +
                uri: unix:///var/run/docker.sock/v1.12/containers/create
         | 
| 41 41 | 
             
                body:
         | 
| 42 42 | 
             
                  encoding: UTF-8
         | 
| 43 43 | 
             
                  string: '{"Image":"b750fe79269d","Cmd":["touch","/test"]}'
         | 
| 44 44 | 
             
                headers:
         | 
| 45 45 | 
             
                  User-Agent:
         | 
| 46 | 
            -
                  - Swipely/Docker-API 1.11. | 
| 46 | 
            +
                  - Swipely/Docker-API 1.11.2
         | 
| 47 47 | 
             
                  Content-Type:
         | 
| 48 48 | 
             
                  - application/json
         | 
| 49 49 | 
             
              response:
         | 
| @@ -54,7 +54,7 @@ http_interactions: | |
| 54 54 | 
             
                  Content-Type:
         | 
| 55 55 | 
             
                  - application/json
         | 
| 56 56 | 
             
                  Date:
         | 
| 57 | 
            -
                  -  | 
| 57 | 
            +
                  - Thu, 26 Jun 2014 19:43:19 GMT
         | 
| 58 58 | 
             
                  Content-Length:
         | 
| 59 59 | 
             
                  - '90'
         | 
| 60 60 | 
             
                  Connection:
         | 
| @@ -62,18 +62,18 @@ http_interactions: | |
| 62 62 | 
             
                body:
         | 
| 63 63 | 
             
                  encoding: UTF-8
         | 
| 64 64 | 
             
                  string: |
         | 
| 65 | 
            -
                    {"Id":" | 
| 65 | 
            +
                    {"Id":"e36507d15801857e28153923c2968f77112a40aa5df02251ee7ef83d0db9097a","Warnings":null}
         | 
| 66 66 | 
             
                http_version: 
         | 
| 67 | 
            -
              recorded_at:  | 
| 67 | 
            +
              recorded_at: Thu, 26 Jun 2014 19:43:19 GMT
         | 
| 68 68 | 
             
            - request:
         | 
| 69 69 | 
             
                method: post
         | 
| 70 | 
            -
                uri: unix:///var/run/docker.sock/v1. | 
| 70 | 
            +
                uri: unix:///var/run/docker.sock/v1.12/containers/e36507d15801857e28153923c2968f77112a40aa5df02251ee7ef83d0db9097a/start
         | 
| 71 71 | 
             
                body:
         | 
| 72 72 | 
             
                  encoding: UTF-8
         | 
| 73 73 | 
             
                  string: '{}'
         | 
| 74 74 | 
             
                headers:
         | 
| 75 75 | 
             
                  User-Agent:
         | 
| 76 | 
            -
                  - Swipely/Docker-API 1.11. | 
| 76 | 
            +
                  - Swipely/Docker-API 1.11.2
         | 
| 77 77 | 
             
                  Content-Type:
         | 
| 78 78 | 
             
                  - application/json
         | 
| 79 79 | 
             
              response:
         | 
| @@ -82,27 +82,23 @@ http_interactions: | |
| 82 82 | 
             
                  message: 
         | 
| 83 83 | 
             
                headers:
         | 
| 84 84 | 
             
                  Date:
         | 
| 85 | 
            -
                  -  | 
| 86 | 
            -
                  Content-Length:
         | 
| 87 | 
            -
                  - '0'
         | 
| 88 | 
            -
                  Content-Type:
         | 
| 89 | 
            -
                  - text/plain; charset=utf-8
         | 
| 85 | 
            +
                  - Thu, 26 Jun 2014 19:43:19 GMT
         | 
| 90 86 | 
             
                  Connection:
         | 
| 91 87 | 
             
                  - close
         | 
| 92 88 | 
             
                body:
         | 
| 93 89 | 
             
                  encoding: UTF-8
         | 
| 94 90 | 
             
                  string: ''
         | 
| 95 91 | 
             
                http_version: 
         | 
| 96 | 
            -
              recorded_at:  | 
| 92 | 
            +
              recorded_at: Thu, 26 Jun 2014 19:43:19 GMT
         | 
| 97 93 | 
             
            - request:
         | 
| 98 94 | 
             
                method: post
         | 
| 99 | 
            -
                uri: unix:///var/run/docker.sock/v1. | 
| 95 | 
            +
                uri: unix:///var/run/docker.sock/v1.12/containers/e36507d15801857e28153923c2968f77112a40aa5df02251ee7ef83d0db9097a/wait
         | 
| 100 96 | 
             
                body:
         | 
| 101 97 | 
             
                  encoding: US-ASCII
         | 
| 102 98 | 
             
                  string: ''
         | 
| 103 99 | 
             
                headers:
         | 
| 104 100 | 
             
                  User-Agent:
         | 
| 105 | 
            -
                  - Swipely/Docker-API 1.11. | 
| 101 | 
            +
                  - Swipely/Docker-API 1.11.2
         | 
| 106 102 | 
             
                  Content-Type:
         | 
| 107 103 | 
             
                  - text/plain
         | 
| 108 104 | 
             
              response:
         | 
| @@ -113,7 +109,7 @@ http_interactions: | |
| 113 109 | 
             
                  Content-Type:
         | 
| 114 110 | 
             
                  - application/json
         | 
| 115 111 | 
             
                  Date:
         | 
| 116 | 
            -
                  -  | 
| 112 | 
            +
                  - Thu, 26 Jun 2014 19:43:19 GMT
         | 
| 117 113 | 
             
                  Content-Length:
         | 
| 118 114 | 
             
                  - '17'
         | 
| 119 115 | 
             
                  Connection:
         | 
| @@ -123,16 +119,16 @@ http_interactions: | |
| 123 119 | 
             
                  string: |
         | 
| 124 120 | 
             
                    {"StatusCode":0}
         | 
| 125 121 | 
             
                http_version: 
         | 
| 126 | 
            -
              recorded_at:  | 
| 122 | 
            +
              recorded_at: Thu, 26 Jun 2014 19:43:19 GMT
         | 
| 127 123 | 
             
            - request:
         | 
| 128 124 | 
             
                method: post
         | 
| 129 | 
            -
                uri: unix:///var/run/docker.sock/v1. | 
| 125 | 
            +
                uri: unix:///var/run/docker.sock/v1.12/containers/e36507d15801857e28153923c2968f77112a40aa5df02251ee7ef83d0db9097a/copy
         | 
| 130 126 | 
             
                body:
         | 
| 131 127 | 
             
                  encoding: UTF-8
         | 
| 132 128 | 
             
                  string: '{"Resource":"/test"}'
         | 
| 133 129 | 
             
                headers:
         | 
| 134 130 | 
             
                  User-Agent:
         | 
| 135 | 
            -
                  - Swipely/Docker-API 1.11. | 
| 131 | 
            +
                  - Swipely/Docker-API 1.11.2
         | 
| 136 132 | 
             
                  Content-Type:
         | 
| 137 133 | 
             
                  - application/json
         | 
| 138 134 | 
             
              response:
         | 
| @@ -141,7 +137,7 @@ http_interactions: | |
| 141 137 | 
             
                  message: 
         | 
| 142 138 | 
             
                headers:
         | 
| 143 139 | 
             
                  Date:
         | 
| 144 | 
            -
                  -  | 
| 140 | 
            +
                  - Thu, 26 Jun 2014 19:43:19 GMT
         | 
| 145 141 | 
             
                  Content-Length:
         | 
| 146 142 | 
             
                  - '1536'
         | 
| 147 143 | 
             
                  Content-Type:
         | 
| @@ -154,7 +150,7 @@ http_interactions: | |
| 154 150 | 
             
                    dGVzdAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
         | 
| 155 151 | 
             
                    AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
         | 
| 156 152 | 
             
                    AAAAAAAAAAAAADAxMDA2NDQAMDAwMDAwMAAwMDAwMDAwADAwMDAwMDAwMDAw
         | 
| 157 | 
            -
                     | 
| 153 | 
            +
                    ADEyMzUzMDczNzI3ADAxMDE0NgAgMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
         | 
| 158 154 | 
             
                    AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
         | 
| 159 155 | 
             
                    AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAB1c3RhcgAwMAAAAAAA
         | 
| 160 156 | 
             
                    AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
         | 
| @@ -187,5 +183,5 @@ http_interactions: | |
| 187 183 | 
             
                    AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
         | 
| 188 184 | 
             
                    AAAAAAAA
         | 
| 189 185 | 
             
                http_version: 
         | 
| 190 | 
            -
              recorded_at:  | 
| 186 | 
            +
              recorded_at: Thu, 26 Jun 2014 19:43:19 GMT
         | 
| 191 187 | 
             
            recorded_with: VCR 2.9.2
         | 
| @@ -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.12/containers/create?name=bob
         | 
| 6 6 | 
             
                body:
         | 
| 7 7 | 
             
                  encoding: UTF-8
         | 
| 8 8 | 
             
                  string: '{"Cmd":["true"],"Image":"base"}'
         | 
| 9 9 | 
             
                headers:
         | 
| 10 10 | 
             
                  User-Agent:
         | 
| 11 | 
            -
                  - Swipely/Docker-API 1.11. | 
| 11 | 
            +
                  - Swipely/Docker-API 1.11.2
         | 
| 12 12 | 
             
                  Content-Type:
         | 
| 13 13 | 
             
                  - application/json
         | 
| 14 14 | 
             
              response:
         | 
| @@ -19,7 +19,7 @@ http_interactions: | |
| 19 19 | 
             
                  Content-Type:
         | 
| 20 20 | 
             
                  - application/json
         | 
| 21 21 | 
             
                  Date:
         | 
| 22 | 
            -
                  -  | 
| 22 | 
            +
                  - Thu, 26 Jun 2014 19:42:20 GMT
         | 
| 23 23 | 
             
                  Content-Length:
         | 
| 24 24 | 
             
                  - '90'
         | 
| 25 25 | 
             
                  Connection:
         | 
| @@ -27,18 +27,18 @@ http_interactions: | |
| 27 27 | 
             
                body:
         | 
| 28 28 | 
             
                  encoding: UTF-8
         | 
| 29 29 | 
             
                  string: |
         | 
| 30 | 
            -
                    {"Id":" | 
| 30 | 
            +
                    {"Id":"36912cef208b36a175e7f48dd3bffc5a698f7eb818b7bcbf56343209f8fc473b","Warnings":null}
         | 
| 31 31 | 
             
                http_version: 
         | 
| 32 | 
            -
              recorded_at:  | 
| 32 | 
            +
              recorded_at: Thu, 26 Jun 2014 19:42:20 GMT
         | 
| 33 33 | 
             
            - request:
         | 
| 34 34 | 
             
                method: get
         | 
| 35 | 
            -
                uri: unix:///var/run/docker.sock/v1. | 
| 35 | 
            +
                uri: unix:///var/run/docker.sock/v1.12/containers/36912cef208b36a175e7f48dd3bffc5a698f7eb818b7bcbf56343209f8fc473b/json
         | 
| 36 36 | 
             
                body:
         | 
| 37 37 | 
             
                  encoding: US-ASCII
         | 
| 38 38 | 
             
                  string: ''
         | 
| 39 39 | 
             
                headers:
         | 
| 40 40 | 
             
                  User-Agent:
         | 
| 41 | 
            -
                  - Swipely/Docker-API 1.11. | 
| 41 | 
            +
                  - Swipely/Docker-API 1.11.2
         | 
| 42 42 | 
             
                  Content-Type:
         | 
| 43 43 | 
             
                  - text/plain
         | 
| 44 44 | 
             
              response:
         | 
| @@ -49,14 +49,15 @@ http_interactions: | |
| 49 49 | 
             
                  Content-Type:
         | 
| 50 50 | 
             
                  - application/json
         | 
| 51 51 | 
             
                  Date:
         | 
| 52 | 
            -
                  -  | 
| 52 | 
            +
                  - Thu, 26 Jun 2014 19:42:20 GMT
         | 
| 53 53 | 
             
                  Content-Length:
         | 
| 54 | 
            -
                  - ' | 
| 54 | 
            +
                  - '1233'
         | 
| 55 55 | 
             
                  Connection:
         | 
| 56 56 | 
             
                  - close
         | 
| 57 57 | 
             
                body:
         | 
| 58 58 | 
             
                  encoding: UTF-8
         | 
| 59 | 
            -
                  string:  | 
| 59 | 
            +
                  string: |
         | 
| 60 | 
            +
                    {"Args":[],"Config":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":["true"],"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":null,"Env":null,"ExposedPorts":null,"Hostname":"36912cef208b","Image":"base","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":null,"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Created":"2014-06-26T19:42:20.007197969Z","Driver":"devicemapper","ExecDriver":"native-0.2","HostConfig":{"Binds":null,"ContainerIDFile":"","Dns":null,"DnsSearch":null,"Links":null,"LxcConf":null,"NetworkMode":"","PortBindings":null,"Privileged":false,"PublishAllPorts":false,"VolumesFrom":null},"HostnamePath":"","HostsPath":"","Id":"36912cef208b36a175e7f48dd3bffc5a698f7eb818b7bcbf56343209f8fc473b","Image":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","MountLabel":"","Name":"/bob","NetworkSettings":{"Bridge":"","Gateway":"","IPAddress":"","IPPrefixLen":0,"PortMapping":null,"Ports":null},"Path":true,"ProcessLabel":"","ResolvConfPath":"","State":{"ExitCode":0,"FinishedAt":"0001-01-01T00:00:00Z","Paused":false,"Pid":0,"Running":false,"StartedAt":"0001-01-01T00:00:00Z"},"Volumes":null,"VolumesRW":null}
         | 
| 60 61 | 
             
                http_version: 
         | 
| 61 | 
            -
              recorded_at:  | 
| 62 | 
            +
              recorded_at: Thu, 26 Jun 2014 19:42:20 GMT
         | 
| 62 63 | 
             
            recorded_with: VCR 2.9.2
         | 
| @@ -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.12/containers/create
         | 
| 6 6 | 
             
                body:
         | 
| 7 7 | 
             
                  encoding: UTF-8
         | 
| 8 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":"base","Volumes":{},"VolumesFrom":""}'
         | 
| 9 9 | 
             
                headers:
         | 
| 10 10 | 
             
                  User-Agent:
         | 
| 11 | 
            -
                  - Swipely/Docker-API 1.11. | 
| 11 | 
            +
                  - Swipely/Docker-API 1.11.2
         | 
| 12 12 | 
             
                  Content-Type:
         | 
| 13 13 | 
             
                  - application/json
         | 
| 14 14 | 
             
              response:
         | 
| @@ -19,7 +19,7 @@ http_interactions: | |
| 19 19 | 
             
                  Content-Type:
         | 
| 20 20 | 
             
                  - application/json
         | 
| 21 21 | 
             
                  Date:
         | 
| 22 | 
            -
                  -  | 
| 22 | 
            +
                  - Thu, 26 Jun 2014 19:48:19 GMT
         | 
| 23 23 | 
             
                  Content-Length:
         | 
| 24 24 | 
             
                  - '90'
         | 
| 25 25 | 
             
                  Connection:
         | 
| @@ -27,7 +27,7 @@ http_interactions: | |
| 27 27 | 
             
                body:
         | 
| 28 28 | 
             
                  encoding: UTF-8
         | 
| 29 29 | 
             
                  string: |
         | 
| 30 | 
            -
                    {"Id":" | 
| 30 | 
            +
                    {"Id":"f3b40d5d64c5615c13b8d1301908e94f76b502b629bb96be84b8dbef283f816e","Warnings":null}
         | 
| 31 31 | 
             
                http_version: 
         | 
| 32 | 
            -
              recorded_at:  | 
| 32 | 
            +
              recorded_at: Thu, 26 Jun 2014 19:48:19 GMT
         | 
| 33 33 | 
             
            recorded_with: VCR 2.9.2
         |