docker-api 1.23.0 → 1.24.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (109) hide show
  1. checksums.yaml +4 -4
  2. data/.cane +1 -1
  3. data/.rspec +1 -0
  4. data/.travis.yml +7 -6
  5. data/Dockerfile +2 -0
  6. data/README.md +5 -5
  7. data/Rakefile +26 -31
  8. data/TESTING.md +7 -19
  9. data/docker-api.gemspec +0 -1
  10. data/lib/docker/image.rb +6 -2
  11. data/lib/docker/version.rb +1 -1
  12. data/spec/docker/container_spec.rb +72 -92
  13. data/spec/docker/event_spec.rb +33 -23
  14. data/spec/docker/exec_spec.rb +9 -24
  15. data/spec/docker/image_spec.rb +75 -81
  16. data/spec/docker_spec.rb +21 -32
  17. metadata +4 -200
  18. data/spec/support/vcr.rb +0 -14
  19. data/spec/vcr/Docker/_authenticate_/with_valid_credentials/logs_in_and_sets_the_creds.yml +0 -32
  20. data/spec/vcr/Docker/_info/returns_the_info_as_a_Hash.yml +0 -39
  21. data/spec/vcr/Docker/_validate_version/when_nothing_is_raised/validate_version_/.yml +0 -39
  22. data/spec/vcr/Docker/_version/returns_the_version_as_a_Hash.yml +0 -34
  23. data/spec/vcr/Docker_Container/_all/when_the_HTTP_response_is_a_200/materializes_each_Container_into_a_Docker_Container.yml +0 -125
  24. data/spec/vcr/Docker_Container/_attach/with_normal_sized_chunks/yields_each_chunk.yml +0 -125
  25. data/spec/vcr/Docker_Container/_attach/with_very_small_chunks/yields_each_chunk.yml +0 -125
  26. data/spec/vcr/Docker_Container/_changes/returns_the_changes_as_an_array.yml +0 -165
  27. data/spec/vcr/Docker_Container/_commit/creates_a_new_Image_from_the_Container_s_changes.yml +0 -165
  28. data/spec/vcr/Docker_Container/_copy/when_the_file_does_not_exist/raises_an_error.yml +0 -136
  29. data/spec/vcr/Docker_Container/_copy/when_the_input_is_a_directory/yields_each_chunk_of_the_tarred_directory.yml +0 -241
  30. data/spec/vcr/Docker_Container/_copy/when_the_input_is_a_file/yields_each_chunk_of_the_tarred_file.yml +0 -198
  31. data/spec/vcr/Docker_Container/_create/when_creating_a_container_named_bob/should_have_name_set_to_bob.yml +0 -84
  32. data/spec/vcr/Docker_Container/_create/when_the_Container_does_not_yet_exist/when_the_HTTP_request_returns_a_200/sets_the_id.yml +0 -55
  33. data/spec/vcr/Docker_Container/_delete/deletes_the_container.yml +0 -85
  34. data/spec/vcr/Docker_Container/_exec/when_detach_is_true/returns_the_Docker_Exec_object.yml +0 -180
  35. data/spec/vcr/Docker_Container/_exec/when_passed_a_block/streams_the_stdout/stderr_messages.yml +0 -183
  36. data/spec/vcr/Docker_Container/_exec/when_passed_only_a_command/returns_the_stdout/stderr_messages_and_exit_code.yml +0 -183
  37. data/spec/vcr/Docker_Container/_exec/when_stdin_object_is_passed/returns_the_stdout/stderr_messages.yml +0 -101
  38. data/spec/vcr/Docker_Container/_exec/when_tty_is_true/returns_the_raw_stdout/stderr_output.yml +0 -182
  39. data/spec/vcr/Docker_Container/_export/yields_each_chunk.yml +0 -333
  40. data/spec/vcr/Docker_Container/_get/when_the_HTTP_response_is_a_200/materializes_the_Container_into_a_Docker_Container.yml +0 -84
  41. data/spec/vcr/Docker_Container/_json/returns_the_description_as_a_Hash.yml +0 -84
  42. data/spec/vcr/Docker_Container/_kill/kills_the_container.yml +0 -164
  43. data/spec/vcr/Docker_Container/_kill/with_a_kill_signal/kills_the_container.yml +0 -257
  44. data/spec/vcr/Docker_Container/_logs/when_not_selecting_any_stream/raises_a_client_error.yml +0 -171
  45. data/spec/vcr/Docker_Container/_logs/when_selecting_stdout/returns_blank_logs.yml +0 -82
  46. data/spec/vcr/Docker_Container/_pause/pauses_the_container.yml +0 -176
  47. data/spec/vcr/Docker_Container/_rename/renames_the_container.yml +0 -149
  48. data/spec/vcr/Docker_Container/_restart/restarts_the_container.yml +0 -243
  49. data/spec/vcr/Docker_Container/_run/when_the_Container_s_command_does_not_return_status_code_of_0/raises_an_error.yml +0 -107
  50. 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 +0 -392
  51. data/spec/vcr/Docker_Container/_start/starts_the_container.yml +0 -140
  52. data/spec/vcr/Docker_Container/_stop/stops_the_container.yml +0 -164
  53. data/spec/vcr/Docker_Container/_streaming_logs/when_not_selecting_any_stream/raises_a_client_error.yml +0 -217
  54. data/spec/vcr/Docker_Container/_streaming_logs/when_passing_a_block/returns_hello_.yml +0 -131
  55. data/spec/vcr/Docker_Container/_streaming_logs/when_selecting_stdout/returns_blank_logs.yml +0 -131
  56. data/spec/vcr/Docker_Container/_streaming_logs/when_using_a_tty/returns_hello_.yml +0 -131
  57. data/spec/vcr/Docker_Container/_top/returns_the_top_commands_as_an_Array.yml +0 -194
  58. data/spec/vcr/Docker_Container/_unpause/unpauses_the_container.yml +0 -176
  59. data/spec/vcr/Docker_Container/_wait/waits_for_the_command_to_finish.yml +0 -107
  60. data/spec/vcr/Docker_Container/_wait/when_an_argument_is_given/sets_the_read_timeout_to_that_amount_of_time.yml +0 -107
  61. data/spec/vcr/Docker_Exec/_create/when_the_HTTP_request_returns_a_201/sets_the_id.yml +0 -130
  62. data/spec/vcr/Docker_Exec/_json/returns_the_description_as_a_Hash.yml +0 -207
  63. data/spec/vcr/Docker_Exec/_start_/when_detach_is_set_to_false/block_is_passed/attaches_to_the_stream.yml +0 -182
  64. data/spec/vcr/Docker_Exec/_start_/when_detach_is_set_to_false/returns_the_stdout_and_stderr_messages.yml +0 -182
  65. data/spec/vcr/Docker_Exec/_start_/when_detach_is_set_to_true/returns_empty_stdout/stderr_messages_with_exitcode.yml +0 -180
  66. data/spec/vcr/Docker_Exec/_start_/when_the_HTTP_request_returns_a_201/starts_the_exec_instance.yml +0 -180
  67. data/spec/vcr/Docker_Exec/_start_/when_the_command_has_already_run/raises_an_error.yml +0 -180
  68. data/spec/vcr/Docker_Exec/_start_/when_wait_set_long_time_value/returns_empty_stdout_and_stderr_messages_with_exitcode.yml +0 -189
  69. data/spec/vcr/Docker_Image/_all/materializes_each_Image_into_a_Docker_Image.yml +0 -111
  70. data/spec/vcr/Docker_Image/_build/with_a_valid_Dockerfile/with_a_block_capturing_build_output/calls_the_block_and_passes_build_output.yml +0 -75
  71. 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 +0 -219
  72. data/spec/vcr/Docker_Image/_build/with_a_valid_Dockerfile/without_query_parameters/builds_an_image.yml +0 -75
  73. data/spec/vcr/Docker_Image/_build/with_an_invalid_Dockerfile/throws_a_UnexpectedResponseError.yml +0 -79
  74. 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 +0 -194
  75. data/spec/vcr/Docker_Image/_build_from_dir/with_a_valid_Dockerfile/with_a_block_capturing_build_output/uses_a_cached_version_the_second_time/calls_the_block_and_passes_build_output.yml +0 -96
  76. data/spec/vcr/Docker_Image/_build_from_dir/with_a_valid_Dockerfile/with_credentials_passed/sends_X-Registry-Config_header.yml +0 -194
  77. data/spec/vcr/Docker_Image/_build_from_dir/with_a_valid_Dockerfile/with_no_query_parameters/builds_the_image.yml +0 -562
  78. 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 +0 -601
  79. 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 +0 -65
  80. data/spec/vcr/Docker_Image/_create/with_a_block_capturing_create_output/calls_the_block_and_passes_build_output.yml +0 -38
  81. data/spec/vcr/Docker_Image/_exist_/when_the_image_does_exist/returns_true.yml +0 -33
  82. data/spec/vcr/Docker_Image/_get/when_the_image_does_exist/returns_the_new_image.yml +0 -33
  83. data/spec/vcr/Docker_Image/_history/returns_the_history_of_the_Image.yml +0 -66
  84. data/spec/vcr/Docker_Image/_import/when_the_argument_is_a_URI/when_the_URI_is_invalid/raises_an_error.yml +0 -265
  85. data/spec/vcr/Docker_Image/_import/when_the_argument_is_a_URI/when_the_URI_is_valid/returns_an_Image.yml +0 -303
  86. data/spec/vcr/Docker_Image/_import/when_the_file_does_exist/creates_the_Image.yml +0 -59
  87. data/spec/vcr/Docker_Image/_insert_local/when_a_direcory_is_passed/inserts_the_directory.yml +0 -1469
  88. data/spec/vcr/Docker_Image/_insert_local/when_removing_intermediate_containers/creates_a_new_image.yml +0 -244
  89. data/spec/vcr/Docker_Image/_insert_local/when_removing_intermediate_containers/leave_no_intermediate_containers.yml +0 -224
  90. data/spec/vcr/Docker_Image/_insert_local/when_the_local_file_does_exist/creates_a_new_Image_that_has_that_file.yml +0 -289
  91. data/spec/vcr/Docker_Image/_insert_local/when_the_local_file_does_not_exist/raises_an_error.yml +0 -32
  92. data/spec/vcr/Docker_Image/_insert_local/when_there_are_multiple_files_passed/creates_a_new_Image_that_has_each_file.yml +0 -366
  93. data/spec/vcr/Docker_Image/_json/returns_additional_information_about_image_image.yml +0 -62
  94. data/spec/vcr/Docker_Image/_push/pushes_the_Image.yml +0 -246
  95. data/spec/vcr/Docker_Image/_push/streams_output_from_push.yml +0 -246
  96. data/spec/vcr/Docker_Image/_push/when_the_image_was_retrived_by_get/when_no_tag_is_specified/looks_up_the_first_repo_tag.yml +0 -382
  97. data/spec/vcr/Docker_Image/_push/when_there_are_no_credentials/still_pushes.yml +0 -264
  98. data/spec/vcr/Docker_Image/_refresh_/updates_the_info_hash.yml +0 -141
  99. data/spec/vcr/Docker_Image/_refresh_/with_an_explicit_connection/updates_using_the_provided_connection.yml +0 -62
  100. data/spec/vcr/Docker_Image/_remove/when_no_name_is_given/removes_the_Image.yml +0 -652
  101. data/spec/vcr/Docker_Image/_run/when_the_argument_is_a_String/splits_the_String_by_spaces_and_creates_a_new_Container.yml +0 -162
  102. data/spec/vcr/Docker_Image/_run/when_the_argument_is_an_Array/creates_a_new_Container.yml +0 -162
  103. 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 +0 -162
  104. 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 +0 -63
  105. data/spec/vcr/Docker_Image/_save/calls_the_class_method.yml +0 -67
  106. data/spec/vcr/Docker_Image/_save/when_a_filename_is_specified/exports_tarball_of_image_to_specified_file.yml +0 -176
  107. data/spec/vcr/Docker_Image/_save/when_no_filename_is_specified/returns_raw_binary_data_as_string.yml +0 -176
  108. data/spec/vcr/Docker_Image/_search/materializes_each_Image_into_a_Docker_Image.yml +0 -79
  109. data/spec/vcr/Docker_Image/_tag/tags_the_image_with_the_repo_name.yml +0 -88
@@ -1,65 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: post
5
- uri: <DOCKER_HOST>/v1.16/images/create?fromImage=swipely%2Fscratch
6
- body:
7
- encoding: US-ASCII
8
- string: ''
9
- headers:
10
- User-Agent:
11
- - Swipely/Docker-API 1.18.0
12
- Content-Type:
13
- - text/plain
14
- X-Registry-Auth:
15
- - eyJ1c2VybmFtZSI6InRsdW50ZXIiLCJwYXNzd29yZCI6ImprN2d0aXEiLCJlbWFpbCI6InRsdW50ZXJAZ21haWwuY29tIn0=
16
- response:
17
- status:
18
- code: 200
19
- message:
20
- headers:
21
- Content-Type:
22
- - application/json
23
- Date:
24
- - Thu, 12 Feb 2015 00:55:56 GMT
25
- body:
26
- encoding: US-ASCII
27
- string: ! "{\"status\":\"Pulling repository swipely/scratch\"}\r\n{\"status\":\"Pulling
28
- image (latest) from swipely/scratch\",\"progressDetail\":{},\"id\":\"511136ea3c5a\"}{\"status\":\"Pulling
29
- image (latest) from swipely/scratch, endpoint: https://registry-1.docker.io/v1/\",\"progressDetail\":{},\"id\":\"511136ea3c5a\"}{\"status\":\"Pulling
30
- dependent layers\",\"progressDetail\":{},\"id\":\"511136ea3c5a\"}{\"status\":\"Download
31
- complete\",\"progressDetail\":{},\"id\":\"511136ea3c5a\"}{\"status\":\"Download
32
- complete\",\"progressDetail\":{},\"id\":\"511136ea3c5a\"}{\"status\":\"Status:
33
- Image is up to date for swipely/scratch\"}\r\n"
34
- http_version:
35
- recorded_at: Thu, 12 Feb 2015 00:55:57 GMT
36
- - request:
37
- method: delete
38
- uri: <DOCKER_HOST>/v1.16/images/swipely/scratch?noprune=true
39
- body:
40
- encoding: US-ASCII
41
- string: ''
42
- headers:
43
- User-Agent:
44
- - Swipely/Docker-API 1.18.0
45
- Content-Type:
46
- - text/plain
47
- response:
48
- status:
49
- code: 200
50
- message:
51
- headers:
52
- Content-Type:
53
- - application/json
54
- Date:
55
- - Thu, 12 Feb 2015 00:55:57 GMT
56
- Content-Length:
57
- - '40'
58
- body:
59
- encoding: US-ASCII
60
- string: ! '[{"Untagged":"swipely/scratch:latest"}
61
-
62
- ]'
63
- http_version:
64
- recorded_at: Thu, 12 Feb 2015 00:55:57 GMT
65
- recorded_with: VCR 2.9.2
@@ -1,38 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: post
5
- uri: <DOCKER_HOST>/v1.16/images/create?fromImage=tianon%2Ftrue
6
- body:
7
- encoding: US-ASCII
8
- string: ''
9
- headers:
10
- User-Agent:
11
- - Swipely/Docker-API 1.18.0
12
- Content-Type:
13
- - text/plain
14
- X-Registry-Auth:
15
- - eyJ1c2VybmFtZSI6InRsdW50ZXIiLCJwYXNzd29yZCI6ImprN2d0aXEiLCJlbWFpbCI6InRsdW50ZXJAZ21haWwuY29tIn0=
16
- response:
17
- status:
18
- code: 200
19
- message:
20
- headers:
21
- Content-Type:
22
- - application/json
23
- Date:
24
- - Thu, 12 Feb 2015 00:55:57 GMT
25
- body:
26
- encoding: US-ASCII
27
- string: ! "{\"status\":\"Pulling repository tianon/true\"}\r\n{\"status\":\"Pulling
28
- image (latest) from tianon/true\",\"progressDetail\":{},\"id\":\"a47c4817ef07\"}{\"status\":\"Pulling
29
- image (latest) from tianon/true, endpoint: https://registry-1.docker.io/v1/\",\"progressDetail\":{},\"id\":\"a47c4817ef07\"}{\"status\":\"Pulling
30
- dependent layers\",\"progressDetail\":{},\"id\":\"a47c4817ef07\"}{\"status\":\"Download
31
- complete\",\"progressDetail\":{},\"id\":\"511136ea3c5a\"}{\"status\":\"Download
32
- complete\",\"progressDetail\":{},\"id\":\"e41eb64a720e\"}{\"status\":\"Download
33
- complete\",\"progressDetail\":{},\"id\":\"a47c4817ef07\"}{\"status\":\"Download
34
- complete\",\"progressDetail\":{},\"id\":\"a47c4817ef07\"}{\"status\":\"Status:
35
- Image is up to date for tianon/true\"}\r\n"
36
- http_version:
37
- recorded_at: Thu, 12 Feb 2015 00:55:59 GMT
38
- recorded_with: VCR 2.9.2
@@ -1,33 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: get
5
- uri: <DOCKER_HOST>/v1.16/images/debian:wheezy/json
6
- body:
7
- encoding: US-ASCII
8
- string: ''
9
- headers:
10
- User-Agent:
11
- - Swipely/Docker-API 1.18.0
12
- Content-Type:
13
- - text/plain
14
- response:
15
- status:
16
- code: 200
17
- message:
18
- headers:
19
- Content-Type:
20
- - application/json
21
- Date:
22
- - Thu, 12 Feb 2015 00:55:59 GMT
23
- Content-Length:
24
- - '1592'
25
- body:
26
- encoding: US-ASCII
27
- string: ! '{"Architecture":"amd64","Author":"","Checksum":"tarsum.dev+sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","Comment":"","Config":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":["/bin/bash"],"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":null,"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"ExposedPorts":null,"Hostname":"dc534047acbb","Image":"30d39e59ffe287f29a41a3f8bd70734afc8728329e3289945cbdc5bbf07cd980","MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":[],"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Container":"939613a44d80d4e75ce1053d4c2ee73da091e0aaeb233abfe29a478eca1769a9","ContainerConfig":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":["/bin/sh","-c","#(nop)
28
- CMD [/bin/bash]"],"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":null,"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"ExposedPorts":null,"Hostname":"dc534047acbb","Image":"30d39e59ffe287f29a41a3f8bd70734afc8728329e3289945cbdc5bbf07cd980","MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":[],"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Created":"2015-01-27T17:26:31.855267409Z","DockerVersion":"1.4.1","Id":"c90d655b99b2ec5b7e94d38c87f92dce015c17a313caeaae0e980d9b9bed8444","Os":"linux","Parent":"30d39e59ffe287f29a41a3f8bd70734afc8728329e3289945cbdc5bbf07cd980","Size":0,"VirtualSize":85120773}
29
-
30
- '
31
- http_version:
32
- recorded_at: Thu, 12 Feb 2015 00:55:59 GMT
33
- recorded_with: VCR 2.9.2
@@ -1,33 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: get
5
- uri: <DOCKER_HOST>/v1.16/images/debian:wheezy/json
6
- body:
7
- encoding: US-ASCII
8
- string: ''
9
- headers:
10
- User-Agent:
11
- - Swipely/Docker-API 1.18.0
12
- Content-Type:
13
- - text/plain
14
- response:
15
- status:
16
- code: 200
17
- message:
18
- headers:
19
- Content-Type:
20
- - application/json
21
- Date:
22
- - Thu, 12 Feb 2015 00:55:59 GMT
23
- Content-Length:
24
- - '1592'
25
- body:
26
- encoding: US-ASCII
27
- string: ! '{"Architecture":"amd64","Author":"","Checksum":"tarsum.dev+sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","Comment":"","Config":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":["/bin/bash"],"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":null,"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"ExposedPorts":null,"Hostname":"dc534047acbb","Image":"30d39e59ffe287f29a41a3f8bd70734afc8728329e3289945cbdc5bbf07cd980","MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":[],"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Container":"939613a44d80d4e75ce1053d4c2ee73da091e0aaeb233abfe29a478eca1769a9","ContainerConfig":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":["/bin/sh","-c","#(nop)
28
- CMD [/bin/bash]"],"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":null,"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"ExposedPorts":null,"Hostname":"dc534047acbb","Image":"30d39e59ffe287f29a41a3f8bd70734afc8728329e3289945cbdc5bbf07cd980","MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":[],"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Created":"2015-01-27T17:26:31.855267409Z","DockerVersion":"1.4.1","Id":"c90d655b99b2ec5b7e94d38c87f92dce015c17a313caeaae0e980d9b9bed8444","Os":"linux","Parent":"30d39e59ffe287f29a41a3f8bd70734afc8728329e3289945cbdc5bbf07cd980","Size":0,"VirtualSize":85120773}
29
-
30
- '
31
- http_version:
32
- recorded_at: Thu, 12 Feb 2015 00:55:59 GMT
33
- recorded_with: VCR 2.9.2
@@ -1,66 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: post
5
- uri: <DOCKER_HOST>/v1.16/images/create?fromImage=debian%3Awheezy
6
- body:
7
- encoding: US-ASCII
8
- string: ''
9
- headers:
10
- User-Agent:
11
- - Swipely/Docker-API 1.18.0
12
- Content-Type:
13
- - text/plain
14
- response:
15
- status:
16
- code: 200
17
- message:
18
- headers:
19
- Content-Type:
20
- - application/json
21
- Date:
22
- - Thu, 12 Feb 2015 00:55:49 GMT
23
- body:
24
- encoding: US-ASCII
25
- string: ! "{\"status\":\"The image you are pulling has been verified\",\"id\":\"debian:wheezy\"}\r\n{\"status\":\"Already
26
- exists\",\"progressDetail\":{},\"id\":\"511136ea3c5a\"}{\"status\":\"Already
27
- exists\",\"progressDetail\":{},\"id\":\"30d39e59ffe2\"}{\"status\":\"Already
28
- exists\",\"progressDetail\":{},\"id\":\"c90d655b99b2\"}{\"status\":\"Status:
29
- Image is up to date for debian:wheezy\"}\r\n"
30
- http_version:
31
- recorded_at: Thu, 12 Feb 2015 00:55:49 GMT
32
- - request:
33
- method: get
34
- uri: <DOCKER_HOST>/v1.16/images/c90d655b99b2/history
35
- body:
36
- encoding: US-ASCII
37
- string: ''
38
- headers:
39
- User-Agent:
40
- - Swipely/Docker-API 1.18.0
41
- Content-Type:
42
- - text/plain
43
- response:
44
- status:
45
- code: 200
46
- message:
47
- headers:
48
- Content-Type:
49
- - application/json
50
- Date:
51
- - Thu, 12 Feb 2015 00:55:49 GMT
52
- Content-Length:
53
- - '560'
54
- body:
55
- encoding: US-ASCII
56
- string: ! '[{"Created":1422379591,"CreatedBy":"/bin/sh -c #(nop) CMD [/bin/bash]","Id":"c90d655b99b2ec5b7e94d38c87f92dce015c17a313caeaae0e980d9b9bed8444","Size":0,"Tags":["debian:wheezy"]}
57
-
58
- ,{"Created":1422379584,"CreatedBy":"/bin/sh -c #(nop) ADD file:3f1a40df75bc5673ce402476db7ad6dbb43e45bd1951ed165b9b01ca78011aa0
59
- in /","Id":"30d39e59ffe287f29a41a3f8bd70734afc8728329e3289945cbdc5bbf07cd980","Size":85120773,"Tags":null}
60
-
61
- ,{"Created":1371157430,"CreatedBy":"","Id":"511136ea3c5a64f264b78b5433614aec563103b4d4702f3ba7d4d2698e22c158","Size":0,"Tags":["scratch:latest"]}
62
-
63
- ]'
64
- http_version:
65
- recorded_at: Thu, 12 Feb 2015 00:55:49 GMT
66
- recorded_with: VCR 2.9.2
@@ -1,265 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: get
5
- uri: http://google.com/
6
- body:
7
- encoding: US-ASCII
8
- string: ''
9
- headers:
10
- Accept:
11
- - ! '*/*'
12
- User-Agent:
13
- - Ruby
14
- response:
15
- status:
16
- code: 301
17
- message: Moved Permanently
18
- headers:
19
- Location:
20
- - http://www.google.com/
21
- Content-Type:
22
- - text/html; charset=UTF-8
23
- Date:
24
- - Thu, 12 Feb 2015 00:56:00 GMT
25
- Expires:
26
- - Sat, 14 Mar 2015 00:56:00 GMT
27
- Cache-Control:
28
- - public, max-age=2592000
29
- Server:
30
- - gws
31
- Content-Length:
32
- - '219'
33
- X-Xss-Protection:
34
- - 1; mode=block
35
- X-Frame-Options:
36
- - SAMEORIGIN
37
- Alternate-Protocol:
38
- - 80:quic,p=0.02
39
- body:
40
- encoding: US-ASCII
41
- string: ! "<HTML><HEAD><meta http-equiv=\"content-type\" content=\"text/html;charset=utf-8\">\n<TITLE>301
42
- Moved</TITLE></HEAD><BODY>\n<H1>301 Moved</H1>\nThe document has moved\n<A
43
- HREF=\"http://www.google.com/\">here</A>.\r\n</BODY></HTML>\r\n"
44
- http_version:
45
- recorded_at: Thu, 12 Feb 2015 00:56:00 GMT
46
- - request:
47
- method: get
48
- uri: http://www.google.com/
49
- body:
50
- encoding: US-ASCII
51
- string: ''
52
- headers:
53
- Accept:
54
- - ! '*/*'
55
- User-Agent:
56
- - Ruby
57
- response:
58
- status:
59
- code: 200
60
- message: OK
61
- headers:
62
- Date:
63
- - Thu, 12 Feb 2015 00:56:00 GMT
64
- Expires:
65
- - '-1'
66
- Cache-Control:
67
- - private, max-age=0
68
- Content-Type:
69
- - text/html; charset=ISO-8859-1
70
- Set-Cookie:
71
- - NID=67=nS3YlFnk-rm-jrRRX8CbwbETcIV2yT3Hgj8w7BFKJOIuNK4pEodgSQk5rYpIsRzzdxYBTWx9uS2IYySRcKDFekn3P6MaVn2TPxVNXRu7y4XRnEFtwpxa633Lv9VVA39A;
72
- expires=Fri, 14-Aug-2015 00:56:00 GMT; path=/; domain=.google.com; HttpOnly
73
- - PREF=ID=891d2389349411fc:FF=0:TM=1423702560:LM=1423702560:S=jzhjUbXe_5pYTpPq;
74
- expires=Sat, 11-Feb-2017 00:56:00 GMT; path=/; domain=.google.com
75
- P3p:
76
- - CP="This is not a P3P policy! See http://www.google.com/support/accounts/bin/answer.py?hl=en&answer=151657
77
- for more info."
78
- Server:
79
- - gws
80
- X-Xss-Protection:
81
- - 1; mode=block
82
- X-Frame-Options:
83
- - SAMEORIGIN
84
- Alternate-Protocol:
85
- - 80:quic,p=0.02
86
- Accept-Ranges:
87
- - none
88
- Vary:
89
- - Accept-Encoding
90
- Transfer-Encoding:
91
- - chunked
92
- body:
93
- encoding: US-ASCII
94
- string: ! '<!doctype html><html itemscope="" itemtype="http://schema.org/WebPage"
95
- lang="en"><head><meta content="Search the world''s information, including
96
- webpages, images, videos and more. Google has many special features to help
97
- you find exactly what you''re looking for." name="description"><meta content="noodp"
98
- name="robots"><meta content="/images/google_favicon_128.png" itemprop="image"><title>Google</title><script>(function(){window.google={kEI:''IPrbVMz9DcmryASh24DIAQ'',kEXPI:''4011559,4020346,4020562,4021587,4021598,4022542,4024599,4026240,4026330,4028064,4028366,4028649,4028707,4028731,8300096,8300108,8500393,8500852,8501082,8501131,8501145,10200083,10200908'',authuser:0,kSID:''IPrbVMz9DcmryASh24DIAQ''};google.kHL=''en'';})();(function(){google.lc=[];google.li=0;google.getEI=function(a){for(var
99
- b;a&&(!a.getAttribute||!(b=a.getAttribute("eid")));)a=a.parentNode;return
100
- b||google.kEI};google.getLEI=function(a){for(var b=null;a&&(!a.getAttribute||!(b=a.getAttribute("leid")));)a=a.parentNode;return
101
- b};google.https=function(){return"https:"==window.location.protocol};google.ml=function(){};google.time=function(){return(new
102
- Date).getTime()};google.log=function(a,b,e,f,l){var d=new Image,h=google.lc,g=google.li,c="",m=google.ls||"";d.onerror=d.onload=d.onabort=function(){delete
103
- h[g]};h[g]=d;if(!e&&-1==b.search("&ei=")){var k=google.getEI(f),c="&ei="+k;-1==b.search("&lei=")&&((f=google.getLEI(f))?c+="&lei="+f:k!=google.kEI&&(c+="&lei="+google.kEI))}a=e||"/"+(l||"gen_204")+"?atyp=i&ct="+a+"&cad="+b+c+m+"&zx="+google.time();/^http:/i.test(a)&&google.https()?(google.ml(Error("a"),!1,{src:a,glmm:1}),delete
104
- h[g]):(d.src=a,google.li=g+1)};google.y={};google.x=function(a,b){google.y[a.id]=[a,b];return!1};google.load=function(a,b,e){google.x({id:a+n++},function(){google.load(a,b,e)})};var
105
- n=0;})();google.kCSI={};var _gjwl=location;function _gjuc(){var a=_gjwl.href.indexOf("#");if(0<=a&&(a=_gjwl.href.substring(a),0<a.indexOf("&q=")||0<=a.indexOf("#q="))&&(a=a.substring(1),-1==a.indexOf("#"))){for(var
106
- d=0;d<a.length;){var b=d;"&"==a.charAt(b)&&++b;var c=a.indexOf("&",b);-1==c&&(c=a.length);b=a.substring(b,c);if(0==b.indexOf("fp="))a=a.substring(0,d)+a.substring(c,a.length),c=d;else
107
- if("cad=h"==b)return 0;d=c}_gjwl.href="/search?"+a+"&cad=h";return 1}return
108
- 0}
109
-
110
- function _gjh(){!_gjuc()&&window.google&&google.x&&google.x({id:"GJH"},function(){google.nav&&google.nav.gjh&&google.nav.gjh()})};window._gjh&&_gjh();</script><style>#gbar,#guser{font-size:13px;padding-top:1px
111
- !important;}#gbar{height:22px}#guser{padding-bottom:7px !important;text-align:right}.gbh,.gbd{border-top:1px
112
- solid #c9d7f1;font-size:1px}.gbh{height:0;position:absolute;top:24px;width:100%}@media
113
- all{.gb1{height:22px;margin-right:.5em;vertical-align:top}#gbar{float:left}}a.gb1,a.gb4{text-decoration:underline
114
- !important}a.gb1,a.gb4{color:#00c !important}.gbi .gb4{color:#dd8e27 !important}.gbf
115
- .gb4{color:#900 !important}</style><style>body,td,a,p,.h{font-family:arial,sans-serif}body{margin:0;overflow-y:scroll}#gog{padding:3px
116
- 8px 0}td{line-height:.8em}.gac_m td{line-height:17px}form{margin-bottom:20px}.h{color:#36c}.q{color:#00c}.ts
117
- td{padding:0}.ts{border-collapse:collapse}em{font-weight:bold;font-style:normal}.lst{height:25px;width:496px}.gsfi,.lst{font:18px
118
- arial,sans-serif}.gsfs{font:17px arial,sans-serif}.ds{display:inline-box;display:inline-block;margin:3px
119
- 0 4px;margin-left:4px}input{font-family:inherit}a.gb1,a.gb2,a.gb3,a.gb4{color:#11c
120
- !important}body{background:#fff;color:black}a{color:#11c;text-decoration:none}a:hover,a:active{text-decoration:underline}.fl
121
- a{color:#36c}a:visited{color:#551a8b}a.gb1,a.gb4{text-decoration:underline}a.gb3:hover{text-decoration:none}#ghead
122
- a.gb2:hover{color:#fff !important}.sblc{padding-top:5px}.sblc a{display:block;margin:2px
123
- 0;margin-left:13px;font-size:11px}.lsbb{background:#eee;border:solid 1px;border-color:#ccc
124
- #999 #999 #ccc;height:30px}.lsbb{display:block}.ftl,#fll a{display:inline-block;margin:0
125
- 12px}.lsb{background:url(/images/srpr/nav_logo80.png) 0 -258px repeat-x;border:none;color:#000;cursor:pointer;height:30px;margin:0;outline:0;font:15px
126
- arial,sans-serif;vertical-align:top}.lsb:active{background:#ccc}.lst:focus{outline:none}</style><script></script></head><body
127
- bgcolor="#fff"><script>(function(){var src=''/images/nav_logo176.png'';var
128
- iesg=false;document.body.onload = function(){window.n && window.n();if (document.images){new
129
- Image().src=src;}
130
-
131
- if (!iesg){document.f&&document.f.q.focus();document.gbqf&&document.gbqf.q.focus();}
132
-
133
- }
134
-
135
- })();</script><div id="mngb"> <div id=gbar><nobr><b class=gb1>Search</b>
136
- <a class=gb1 href="http://www.google.com/imghp?hl=en&tab=wi">Images</a> <a
137
- class=gb1 href="http://maps.google.com/maps?hl=en&tab=wl">Maps</a> <a class=gb1
138
- href="https://play.google.com/?hl=en&tab=w8">Play</a> <a class=gb1 href="http://www.youtube.com/?tab=w1">YouTube</a>
139
- <a class=gb1 href="http://news.google.com/nwshp?hl=en&tab=wn">News</a> <a
140
- class=gb1 href="https://mail.google.com/mail/?tab=wm">Gmail</a> <a class=gb1
141
- href="https://drive.google.com/?tab=wo">Drive</a> <a class=gb1 style="text-decoration:none"
142
- href="http://www.google.com/intl/en/options/"><u>More</u> &raquo;</a></nobr></div><div
143
- id=guser width=100%><nobr><span id=gbn class=gbi></span><span id=gbf class=gbf></span><span
144
- id=gbe></span><a href="http://www.google.com/history/optout?hl=en" class=gb4>Web
145
- History</a> | <a href="/preferences?hl=en" class=gb4>Settings</a> | <a target=_top
146
- id=gb_70 href="https://accounts.google.com/ServiceLogin?hl=en&continue=http://www.google.com/"
147
- class=gb4>Sign in</a></nobr></div><div class=gbh style=left:0></div><div class=gbh
148
- style=right:0></div> </div><center><span id="prt" style="display:block">
149
- <div><style>.pmoabs{background-color:#fff;border:1px solid #E5E5E5;color:#666;font-size:13px;padding-bottom:20px;position:absolute;right:2px;top:3px;z-index:986}#pmolnk{border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px}.kd-button-submit{border:1px
150
- solid #3079ed;background-color:#4d90fe;background-image:-webkit-gradient(linear,left
151
- top,left bottom,from(#4d90fe),to(#4787ed));background-image:-webkit-linear-gradient(top,#4d90fe,#4787ed);background-image:-moz-linear-gradient(top,#4d90fe,#4787ed);background-image:-ms-linear-gradient(top,#4d90fe,#4787ed);background-image:-o-linear-gradient(top,#4d90fe,#4787ed);background-image:linear-gradient(top,#4d90fe,#4787ed);filter:progid:DXImageTransform.Microsoft.gradient(startColorStr=''#4d90fe'',EndColorStr=''#4787ed'')}.kd-button-submit:hover{border:1px
152
- solid #2f5bb7;background-color:#357ae8;background-image:-webkit-gradient(linear,left
153
- top,left bottom,from(#4d90fe),to(#357ae8));background-image:-webkit-linear-gradient(top,#4d90fe,#357ae8);background-image:-moz-linear-gradient(top,#4d90fe,#357ae8);background-image:-ms-linear-gradient(top,#4d90fe,#357ae8);background-image:-o-linear-gradient(top,#4d90fe,#357ae8);background-image:linear-gradient(top,#4d90fe,#357ae8);filter:progid:DXImageTransform.Microsoft.gradient(startColorStr=''#4d90fe'',EndColorStr=''#357ae8'')}.kd-button-submit:active{-webkit-box-shadow:inset
154
- 0 1px 2px rgba(0,0,0,0.3);-moz-box-shadow:inset 0 1px 2px rgba(0,0,0,0.3);box-shadow:inset
155
- 0 1px 2px rgba(0,0,0,0.3)}#pmolnk a{color:#fff;display:inline-block;font-weight:bold;padding:5px
156
- 20px;text-decoration:none;white-space:nowrap}.xbtn{color:#999;cursor:pointer;font-size:23px;line-height:5px;padding-top:5px}.padi{padding:0
157
- 8px 0 10px}.padt{padding:5px 20px 0 0;color:#444}.pads{text-align:left;max-width:200px}</style>
158
- <div class="pmoabs" id="pmocntr2" style="behavior:url(#default#userdata);display:none">
159
- <table border="0"> <tr> <td colspan="2"> <div class="xbtn" onclick="google.promos&&google.promos.toast&&
160
- google.promos.toast.cpc()" style="float:right">&times;</div> </td> </tr> <tr>
161
- <td class="padi" rowspan="2"> <img src="/images/icons/product/chrome-48.png">
162
- </td> <td class="pads">A faster way to browse the web</td> </tr> <tr> <td
163
- class="padt"> <div class="kd-button-submit" id="pmolnk"> <a href="/chrome/index.html?hl=en&amp;brand=CHNG&amp;utm_source=en-hpp&amp;utm_medium=hpp&amp;utm_campaign=en"
164
- onclick="google.promos&&google.promos.toast&& google.promos.toast.cl()">Install
165
- Google Chrome</a> </div> </td> </tr> </table> </div> <script type="text/javascript">(function(){var
166
- a={o:{}};a.o.qa=50;a.o.oa=10;a.o.Y="body";a.o.Oa=!0;a.o.Ra=function(b,c){var
167
- d=a.o.Ea();a.o.Ga(d,b,c);a.o.Sa(d);a.o.Oa&&a.o.Pa(d)};a.o.Sa=function(b){(b=a.o.$(b))&&0<b.forms.length&&b.forms[0].submit()};a.o.Ea=function(){var
168
- b=document.createElement("iframe");b.height=0;b.width=0;b.style.overflow="hidden";b.style.top=b.style.left="-100px";b.style.position="absolute";document.body.appendChild(b);return
169
- b};a.o.$=function(b){return b.contentDocument||b.contentWindow.document};a.o.Ga=function(b,c,d){b=a.o.$(b);b.open();d=["<",a.o.Y,''><form
170
- method=POST action="'',d,''">''];for(var e in c)c.hasOwnProperty(e)&&d.push(''<textarea
171
- name="'',e,''">'',c[e],"</textarea>");d.push("</form></",a.o.Y,">");b.write(d.join(""));b.close()};a.o.ba=function(b,c){c>a.o.oa?google&&google.ml&&google.ml(Error("ogcdr"),!1,{cause:"timeout"}):b.contentWindow?a.o.Qa(b):window.setTimeout(function(){a.o.ba(b,c+1)},a.o.qa)};a.o.Qa=function(b){document.body.removeChild(b)};a.o.Pa=function(b){a.o.Ca(b,"load",function(){a.o.ba(b,0)})};a.o.Ca=function(b,c,d){b.addEventListener?b.addEventListener(c,d,!1):b.attachEvent&&b.attachEvent("on"+c,d)};var
172
- m={Va:0,D:1,F:2,K:5};a.k={};a.k.M={ka:"i",J:"d",ma:"l"};a.k.A={N:"0",G:"1"};a.k.O={L:1,J:2,I:3};a.k.v={ea:"a",ia:"g",C:"c",ya:"u",xa:"t",N:"p",pa:"pid",ga:"eid",za:"at"};a.k.la=window.location.protocol+"//www.google.com/_/og/promos/";a.k.ha="g";a.k.Aa="z";a.k.S=function(b,c,d,e){var
173
- f=null;switch(c){case m.D:f=window.gbar.up.gpd(b,d,!0);break;case m.K:f=window.gbar.up.gcc(e)}return
174
- null==f?0:parseInt(f,10)};a.k.Ka=function(b,c,d){return c==m.D?null!=window.gbar.up.gpd(b,d,!0):!1};a.k.P=function(b,c,d,e,f,h,k,l){var
175
- g={};g[a.k.v.N]=b;g[a.k.v.ia]=c;g[a.k.v.ea]=d;g[a.k.v.za]=e;g[a.k.v.ga]=f;g[a.k.v.pa]=1;k&&(g[a.k.v.C]=k);l&&(g[a.k.v.ya]=l);if(h)g[a.k.v.xa]=h;else
176
- return google.ml(Error("knu"),!1,{cause:"Token is not found"}),null;return
177
- g};a.k.V=function(b,c,d){if(b){var e=c?a.k.ha:a.k.Aa;c&&d&&(e+="?authuser="+d);a.o.Ra(b,a.k.la+e)}};a.k.Fa=function(b,c,d,e,f,h,k){b=a.k.P(c,b,a.k.M.J,a.k.O.J,d,f,null,e);a.k.V(b,h,k)};a.k.Ia=function(b,c,d,e,f,h,k){b=a.k.P(c,b,a.k.M.ka,a.k.O.L,d,f,e,null);a.k.V(b,h,k)};a.k.Na=function(b,c,d,e,f,h,k,l,g,n){switch(c){case
178
- m.K:window.gbar.up.dpc(e,f);break;case m.D:window.gbar.up.spd(b,d,1,!0);break;case
179
- m.F:g=g||!1,l=l||"",h=h||0,k=k||a.k.A.G,n=n||0,a.k.Fa(e,h,k,f,l,g,n)}};a.k.La=function(b,c,d,e,f){return
180
- c==m.D?0<d&&a.k.S(b,c,e,f)>=d:!1};a.k.Ha=function(b,c,d,e,f,h,k,l,g,n){switch(c){case
181
- m.K:window.gbar.up.iic(e,f);break;case m.D:c=a.k.S(b,c,d,e)+1;window.gbar.up.spd(b,d,c.toString(),!0);break;case
182
- m.F:g=g||!1,l=l||"",h=h||0,k=k||a.k.A.N,n=n||0,a.k.Ia(e,h,k,1,l,g,n)}};a.k.Ma=function(b,c,d,e,f,h){b=a.k.P(c,b,a.k.M.ma,a.k.O.I,d,e,null,null);a.k.V(b,f,h)};var
183
- p={Ta:"a",Wa:"l",Ua:"c",fa:"d",I:"h",L:"i",gb:"n",G:"x",cb:"ma",eb:"mc",fb:"mi",Xa:"pa",Ya:"pc",$a:"pi",bb:"pn",ab:"px",Za:"pd",hb:"gpa",jb:"gpi",kb:"gpn",lb:"gpx",ib:"gpd"};a.i={};a.i.s={na:"hplogo",wa:"pmocntr2"};a.i.A={va:"0",G:"1",da:"2"};a.i.p=document.getElementById(a.i.s.wa);a.i.ja=16;a.i.ra=2;a.i.ta=20;google.promos=google.promos||{};google.promos.toast=google.promos.toast||{};a.i.H=function(b){a.i.p&&(a.i.p.style.display=b?"":"none",a.i.p.parentNode&&(a.i.p.parentNode.style.position=b?"relative":""))};a.i.ca=function(b){try{if(a.i.p&&b&&b.es&&b.es.m){var
184
- c=window.gbar.rtl(document.body)?"left":"right";a.i.p.style[c]=b.es.m-a.i.ja+a.i.ra+"px";a.i.p.style.top=a.i.ta+"px"}}catch(d){google.ml(d,!1,{cause:a.i.w+"_PT"})}};google.promos.toast.cl=function(){try{a.i.Q==m.F&&a.k.Ma(a.i.T,a.i.B,a.i.A.da,a.i.X,a.i.U,a.i.W),window.gbar.up.sl(a.i.B,a.i.w,p.I,a.i.R(),1)}catch(b){google.ml(b,!1,{cause:a.i.w+"_CL"})}};google.promos.toast.cpc=function(){try{a.i.p&&(a.i.H(!1),a.k.Na(a.i.p,a.i.Q,a.i.s.Z,a.i.T,a.i.Da,a.i.B,a.i.A.G,a.i.X,a.i.U,a.i.W),window.gbar.up.sl(a.i.B,a.i.w,p.fa,a.i.R(),1))}catch(b){google.ml(b,!1,{cause:a.i.w+"_CPC"})}};a.i.aa=function(){try{if(a.i.p){var
185
- b=276,c=document.getElementById(a.i.s.na);c&&(b=Math.max(b,c.offsetWidth));var
186
- d=parseInt(a.i.p.style.right,10)||0;a.i.p.style.visibility=2*(a.i.p.offsetWidth+d)+b>document.body.clientWidth?"hidden":""}}catch(e){google.ml(e,!1,{cause:a.i.w+"_HOSW"})}};a.i.Ba=function(){var
187
- b=["gpd","spd","aeh","sl"];if(!window.gbar||!window.gbar.up)return!1;for(var
188
- c=0,d;d=b[c];c++)if(!(d in window.gbar.up))return!1;return!0};a.i.Ja=function(){return
189
- a.i.p.currentStyle&&"absolute"!=a.i.p.currentStyle.position};google.promos.toast.init=function(b,c,d,e,f,h,k,l,g,n,q,r){try{a.i.Ba()?a.i.p&&(e==m.F&&!l==!g?(google.ml(Error("tku"),!1,{cause:"zwieback:
190
- "+g+", gaia: "+l}),a.i.H(!1)):(a.i.s.C="toast_count_"+c+(q?"_"+q:""),a.i.s.Z="toast_dp_"+c+(r?"_"+r:""),a.i.w=d,a.i.B=b,a.i.Q=e,a.i.T=c,a.i.Da=f,a.i.X=l?l:g,a.i.U=!!l,a.i.W=k,a.k.Ka(a.i.p,e,a.i.s.Z,c)||a.k.La(a.i.p,e,h,a.i.s.C,c)||a.i.Ja()?a.i.H(!1):(a.k.Ha(a.i.p,e,a.i.s.C,c,f,a.i.B,a.i.A.va,a.i.X,a.i.U,a.i.W),n||(window.gbar.up.aeh(window,"resize",a.i.aa),window.lol=
191
-
192
- a.i.aa,window.gbar.elr&&a.i.ca(window.gbar.elr()),window.gbar.elc&&window.gbar.elc(a.i.ca),a.i.H(!0)),window.gbar.up.sl(a.i.B,a.i.w,p.L,a.i.R())))):google.ml(Error("apa"),!1,{cause:a.i.w+"_INIT"})}catch(t){google.ml(t,!1,{cause:a.i.w+"_INIT"})}};a.i.R=function(){var
193
- b=a.k.S(a.i.p,a.i.Q,a.i.s.C,a.i.T);return"ic="+b};})();</script> <script type="text/javascript">(function(){var
194
- sourceWebappPromoID=144002;var sourceWebappGroupID=5;var payloadType=5;var
195
- cookieMaxAgeSec=2592000;var dismissalType=5;var impressionCap=25;var gaiaXsrfToken='''';var
196
- zwbkXsrfToken='''';var kansasDismissalEnabled=false;var sessionIndex=0;var
197
- invisible=false;window.gbar&&gbar.up&&gbar.up.r&&gbar.up.r(payloadType,function(show){if
198
- (show){google.promos.toast.init(sourceWebappPromoID,sourceWebappGroupID,payloadType,dismissalType,cookieMaxAgeSec,impressionCap,sessionIndex,gaiaXsrfToken,zwbkXsrfToken,invisible,''0612'');}
199
-
200
- });})();</script> </div> </span><br clear="all" id="lgpd"><div id="lga"><img
201
- alt="Google" height="95" src="/images/srpr/logo9w.png" style="padding:28px
202
- 0 14px" width="269" id="hplogo" onload="window.lol&&lol()"><br><br></div><form
203
- action="/search" name="f"><table cellpadding="0" cellspacing="0"><tr valign="top"><td
204
- width="25%">&nbsp;</td><td align="center" nowrap=""><input name="ie" value="ISO-8859-1"
205
- type="hidden"><input value="en" name="hl" type="hidden"><input name="source"
206
- type="hidden" value="hp"><div class="ds" style="height:32px;margin:4px 0"><input
207
- style="color:#000;margin:0;padding:5px 8px 0 6px;vertical-align:top" autocomplete="off"
208
- class="lst" value="" title="Google Search" maxlength="2048" name="q" size="57"></div><br
209
- style="line-height:0"><span class="ds"><span class="lsbb"><input class="lsb"
210
- value="Google Search" name="btnG" type="submit"></span></span><span class="ds"><span
211
- class="lsbb"><input class="lsb" value="I''m Feeling Lucky" name="btnI" onclick="if(this.form.q.value)this.checked=1;
212
- else top.location=''/doodles/''" type="submit"></span></span></td><td class="fl
213
- sblc" align="left" nowrap="" width="25%"><a href="/advanced_search?hl=en&amp;authuser=0">Advanced
214
- search</a><a href="/language_tools?hl=en&amp;authuser=0">Language tools</a></td></tr></table><input
215
- id="gbv" name="gbv" type="hidden" value="1"></form><div id="gac_scont"></div><div
216
- style="font-size:83%;min-height:3.5em"><br></div><span id="footer"><div style="font-size:10pt"><div
217
- style="margin:19px auto;text-align:center" id="fll"><a href="/intl/en/ads/">Advertising&nbsp;Programs</a><a
218
- href="/services/">Business Solutions</a><a href="https://plus.google.com/116899029375914044550"
219
- rel="publisher">+Google</a><a href="/intl/en/about.html">About Google</a></div></div><p
220
- style="color:#767676;font-size:8pt">&copy; 2015 - <a href="/intl/en/policies/privacy/">Privacy</a>
221
- - <a href="/intl/en/policies/terms/">Terms</a></p></span></center><div id="xjsd"></div><div
222
- id="xjsi" data-jiis="bp"><script>(function(){function c(b){window.setTimeout(function(){var
223
- a=document.createElement("script");a.src=b;document.getElementById("xjsd").appendChild(a)},0)}google.dljp=function(b,a){google.xjsu=b;c(a)};google.dlj=c;})();(function(){window.google.xjsrm=[];})();if(google.y)google.y.first=[];if(!google.xjs){window._=window._||{};window._._DumpException=function(e){throw
224
- e};if(google.timers&&google.timers.load.t){google.timers.load.t.xjsls=new
225
- Date().getTime();}google.dljp(''/xjs/_/js/k\x3dxjs.hp.en_US.vgvpl0ZJVlA.O/m\x3dsb_he,d/rt\x3dj/d\x3d1/t\x3dzcms/rs\x3dACT90oGpBihfvALEYpuLEpA8xEfnWBkQ0g'',''/xjs/_/js/k\x3dxjs.hp.en_US.vgvpl0ZJVlA.O/m\x3dsb_he,d/rt\x3dj/d\x3d1/t\x3dzcms/rs\x3dACT90oGpBihfvALEYpuLEpA8xEfnWBkQ0g'');google.xjs=1;}google.pmc={"sb_he":{"agen":true,"cgen":true,"client":"heirloom-hp","dh":true,"ds":"","exp":"msedr","fl":true,"host":"google.com","jam":0,"jsonp":true,"msgs":{"cibl":"Clear
226
- Search","dym":"Did you mean:","lcky":"I\u0026#39;m Feeling Lucky","lml":"Learn
227
- more","oskt":"Input tools","psrc":"This search was removed from your \u003Ca
228
- href=\"/history\"\u003EWeb History\u003C/a\u003E","psrl":"Remove","sbit":"Search
229
- by image","srch":"Google Search"},"ovr":{},"pq":"","refoq":true,"scd":10,"sce":5,"stok":"yTByqyLAcHeiGicw7IBBMguF0KQ"},"d":{}};google.y.first.push(function(){if(google.med){google.med(''init'');google.initHistory();google.med(''history'');}});if(google.j&&google.j.en&&google.j.xi){window.setTimeout(google.j.xi,0);}
230
-
231
- </script></div></body></html>'
232
- http_version:
233
- recorded_at: Thu, 12 Feb 2015 00:56:00 GMT
234
- - request:
235
- method: post
236
- uri: <DOCKER_HOST>/v1.16/images/create?fromSrc=-
237
- body:
238
- encoding: US-ASCII
239
- string: ''
240
- headers:
241
- User-Agent:
242
- - Swipely/Docker-API 1.18.0
243
- Content-Type:
244
- - application/tar
245
- Transfer-Encoding:
246
- - chunked
247
- response:
248
- status:
249
- code: 500
250
- message:
251
- headers:
252
- Content-Type:
253
- - text/plain; charset=utf-8
254
- Date:
255
- - Thu, 12 Feb 2015 00:56:00 GMT
256
- Content-Length:
257
- - '32'
258
- body:
259
- encoding: US-ASCII
260
- string: ! 'archive/tar: invalid tar header
261
-
262
- '
263
- http_version:
264
- recorded_at: Thu, 12 Feb 2015 00:56:00 GMT
265
- recorded_with: VCR 2.9.2