docker-api 1.5.4 → 1.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (52) hide show
  1. checksums.yaml +7 -0
  2. data/README.md +19 -10
  3. data/docker-api.gemspec +1 -1
  4. data/lib/docker.rb +14 -7
  5. data/lib/docker/connection.rb +6 -1
  6. data/lib/docker/image.rb +6 -5
  7. data/lib/docker/version.rb +1 -1
  8. data/spec/docker/connection_spec.rb +14 -6
  9. data/spec/docker/container_spec.rb +27 -8
  10. data/spec/docker/image_spec.rb +23 -5
  11. data/spec/docker_spec.rb +36 -28
  12. data/spec/vcr/Docker/_info/returns_the_info_as_a_Hash.yml +16 -13
  13. data/spec/vcr/Docker/_validate_version/when_nothing_is_raised/validate_version_/.yml +16 -13
  14. data/spec/vcr/Docker/_version/returns_the_version_as_a_Hash.yml +16 -13
  15. data/spec/vcr/Docker_Container/_all/when_the_HTTP_response_is_a_200/materializes_each_Container_into_a_Docker_Container.yml +120 -211
  16. data/spec/vcr/Docker_Container/_attach/yields_each_chunk.yml +46 -38
  17. data/spec/vcr/Docker_Container/_changes/returns_the_changes_as_an_array.yml +65 -53
  18. data/spec/vcr/Docker_Container/_commit/creates_a_new_Image_from_the_Container_s_changes.yml +50 -41
  19. data/spec/vcr/Docker_Container/_copy/when_the_file_does_not_exist/raises_an_error.yml +62 -48
  20. data/spec/vcr/Docker_Container/_copy/when_the_input_is_a_directory/yields_each_chunk_of_the_tarred_directory.yml +194 -119
  21. data/spec/vcr/Docker_Container/_copy/when_the_input_is_a_file/yields_each_chunk_of_the_tarred_file.yml +127 -52
  22. data/spec/vcr/Docker_Container/_create/when_the_Container_does_not_yet_exist/when_the_HTTP_request_returns_a_200/sets_the_id.yml +18 -15
  23. data/spec/vcr/Docker_Container/_delete/deletes_the_container.yml +62 -126
  24. data/spec/vcr/Docker_Container/_export/yields_each_chunk.yml +49 -66
  25. data/spec/vcr/Docker_Container/_json/returns_the_description_as_a_Hash.yml +33 -27
  26. data/spec/vcr/Docker_Container/_kill/kills_the_container.yml +91 -129
  27. data/spec/vcr/Docker_Container/_restart/restarts_the_container.yml +116 -95
  28. data/spec/vcr/Docker_Container/_run/when_the_Container_s_command_does_not_return_status_code_of_0/raises_an_error.yml +50 -41
  29. data/spec/vcr/Docker_Container/_run/when_the_Container_s_command_returns_a_status_code_of_0/creates_a_new_container_to_run_the_specified_command.yml +135 -109
  30. data/spec/vcr/Docker_Container/_start/starts_the_container.yml +28 -57
  31. data/spec/vcr/Docker_Container/_stop/stops_the_container.yml +107 -143
  32. data/spec/vcr/Docker_Container/_top/returns_the_top_commands_as_an_Array.yml +78 -39
  33. data/spec/vcr/Docker_Container/_wait/waits_for_the_command_to_finish.yml +50 -41
  34. data/spec/vcr/Docker_Container/_wait/when_an_argument_is_given/and_a_command_runs_for_too_long/raises_a_ServerError.yml +35 -29
  35. data/spec/vcr/Docker_Container/_wait/when_an_argument_is_given/sets_the_read_timeout_to_that_amount_of_time.yml +50 -41
  36. data/spec/vcr/Docker_Image/_all/materializes_each_Image_into_a_Docker_Image.yml +34 -26
  37. data/spec/vcr/Docker_Image/_build/with_a_valid_Dockerfile/builds_an_image.yml +17 -17
  38. data/spec/vcr/Docker_Image/_build/with_an_invalid_Dockerfile/throws_a_UnexpectedResponseError.yml +20 -15
  39. data/spec/vcr/Docker_Image/_create/when_the_Image_does_not_yet_exist_and_the_body_is_a_Hash/sets_the_id.yml +19 -14
  40. data/spec/vcr/Docker_Image/_history/returns_the_history_of_the_Image.yml +34 -26
  41. data/spec/vcr/Docker_Image/_insert/inserts_the_url_s_file_into_a_new_Image.yml +134 -95
  42. data/spec/vcr/Docker_Image/_insert_local/when_the_local_file_does_exist/creates_a_new_Image_that_has_that_file.yml +29 -29
  43. data/spec/vcr/Docker_Image/_insert_local/when_the_local_file_does_not_exist/raises_an_error.yml +5 -5
  44. data/spec/vcr/Docker_Image/_insert_local/when_there_are_multiple_files_passed/creates_a_new_Image_that_has_each_file.yml +30 -30
  45. data/spec/vcr/Docker_Image/_json/returns_additional_information_about_image_image.yml +34 -26
  46. data/spec/vcr/Docker_Image/_remove/removes_the_Image.yml +49 -38
  47. data/spec/vcr/Docker_Image/_run/when_the_argument_is_a_String/splits_the_String_by_spaces_and_creates_a_new_Container.yml +64 -51
  48. data/spec/vcr/Docker_Image/_run/when_the_argument_is_an_Array/creates_a_new_Container.yml +64 -51
  49. data/spec/vcr/Docker_Image/_search/materializes_each_Image_into_a_Docker_Image.yml +20 -14
  50. data/spec/vcr/Docker_Image/_tag/tags_the_image_with_the_repo_name.yml +33 -25
  51. metadata +29 -54
  52. data/spec/vcr/Docker_Container/_create/when_the_Container_does_not_yet_exist_and_the_body_is_a_Hash/when_the_HTTP_request_returns_a_200/sets_the_id.yml +0 -30
@@ -2,56 +2,62 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: http://localhost:4243/v1.4/containers/create
5
+ uri: http://unix/v1.4/containers/create
6
6
  body:
7
7
  encoding: UTF-8
8
- string: '{"Cmd":["true"],"Image":"base"}'
8
+ string: ! '{"Cmd":["true"],"Image":"base"}'
9
9
  headers:
10
- Content-Type:
11
- - text/plain
12
10
  User-Agent:
13
- - Swipely/Docker-API 1.3.1
11
+ - Swipely/Docker-API 1.5.4
12
+ Content-Type:
13
+ - application/json
14
14
  response:
15
15
  status:
16
16
  code: 201
17
17
  message: ''
18
18
  headers:
19
- Content-Type:
20
- - text/plain; charset=utf-8
21
- Content-Length:
22
- - '21'
23
- Date:
24
- - Wed, 07 Aug 2013 16:51:12 GMT
19
+ !binary "Q29udGVudC1UeXBl":
20
+ - !binary |-
21
+ YXBwbGljYXRpb24vanNvbg==
22
+ !binary "Q29udGVudC1MZW5ndGg=":
23
+ - !binary |-
24
+ NjU=
25
+ !binary "RGF0ZQ==":
26
+ - !binary |-
27
+ TW9uLCAwNyBPY3QgMjAxMyAwMDo0NzoxMyBHTVQ=
25
28
  body:
26
- encoding: UTF-8
27
- string: '{"Id":"ed9fe2fe70fa"}'
29
+ encoding: US-ASCII
30
+ string: ! '{"Id":"92c0a16f7ae5","Warnings":["IPv4 forwarding is disabled."]}'
28
31
  http_version:
29
- recorded_at: Wed, 07 Aug 2013 16:51:12 GMT
32
+ recorded_at: Mon, 07 Oct 2013 00:47:13 GMT
30
33
  - request:
31
34
  method: get
32
- uri: http://localhost:4243/v1.4/containers/ed9fe2fe70fa/json
35
+ uri: http://unix/v1.4/containers/92c0a16f7ae5/json
33
36
  body:
34
37
  encoding: US-ASCII
35
38
  string: ''
36
39
  headers:
40
+ User-Agent:
41
+ - Swipely/Docker-API 1.5.4
37
42
  Content-Type:
38
43
  - text/plain
39
- User-Agent:
40
- - Swipely/Docker-API 1.3.1
41
44
  response:
42
45
  status:
43
46
  code: 200
44
47
  message: ''
45
48
  headers:
46
- Content-Type:
47
- - application/json
48
- Content-Length:
49
- - '846'
50
- Date:
51
- - Wed, 07 Aug 2013 16:51:12 GMT
49
+ !binary "Q29udGVudC1UeXBl":
50
+ - !binary |-
51
+ YXBwbGljYXRpb24vanNvbg==
52
+ !binary "Q29udGVudC1MZW5ndGg=":
53
+ - !binary |-
54
+ MTEzMg==
55
+ !binary "RGF0ZQ==":
56
+ - !binary |-
57
+ TW9uLCAwNyBPY3QgMjAxMyAwMDo0NzoxMyBHTVQ=
52
58
  body:
53
- encoding: UTF-8
54
- string: '{"ID":"ed9fe2fe70fa397e2106bb33d90f07b8a8ea3adadf4fd63ff54152b655a63e88","Created":"2013-08-07T16:51:12.675088745Z","Path":"true","Args":[],"Config":{"Hostname":"ed9fe2fe70fa","User":"","Memory":0,"MemorySwap":0,"CpuShares":0,"AttachStdin":false,"AttachStdout":false,"AttachStderr":false,"PortSpecs":null,"Tty":false,"OpenStdin":false,"StdinOnce":false,"Env":null,"Cmd":["true"],"Dns":null,"Image":"base","Volumes":null,"VolumesFrom":"","Entrypoint":null,"NetworkDisabled":false},"State":{"Running":false,"Pid":0,"ExitCode":0,"StartedAt":"0001-01-01T00:00:00Z","Ghost":false},"Image":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","NetworkSettings":{"IPAddress":"","IPPrefixLen":0,"Gateway":"","Bridge":"","PortMapping":null},"SysInitPath":"/usr/bin/docker","ResolvConfPath":"/etc/resolv.conf","Volumes":null,"VolumesRW":null}'
59
+ encoding: US-ASCII
60
+ string: ! '{"ID":"92c0a16f7ae5b7e1bef65ae08370c88e90fb17071df512c3a6b2aaba79660a85","Created":"2013-10-06T20:47:13.006008207-04:00","Path":"true","Args":[],"Config":{"Hostname":"92c0a16f7ae5","Domainname":"","User":"","Memory":0,"MemorySwap":0,"CpuShares":0,"AttachStdin":false,"AttachStdout":false,"AttachStderr":false,"PortSpecs":null,"Tty":false,"OpenStdin":false,"StdinOnce":false,"Env":null,"Cmd":["true"],"Dns":null,"Image":"base","Volumes":null,"VolumesFrom":"","WorkingDir":"","Entrypoint":null,"NetworkDisabled":false,"Privileged":false},"State":{"Running":false,"Pid":0,"ExitCode":0,"StartedAt":"0001-01-01T00:00:00Z","Ghost":false},"Image":"b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc","NetworkSettings":{"IPAddress":"","IPPrefixLen":0,"Gateway":"","Bridge":"","PortMapping":null},"SysInitPath":"/usr/bin/docker","ResolvConfPath":"/etc/resolv.conf","HostnamePath":"/var/lib/docker/containers/92c0a16f7ae5b7e1bef65ae08370c88e90fb17071df512c3a6b2aaba79660a85/hostname","HostsPath":"/var/lib/docker/containers/92c0a16f7ae5b7e1bef65ae08370c88e90fb17071df512c3a6b2aaba79660a85/hosts","Volumes":null,"VolumesRW":null}'
55
61
  http_version:
56
- recorded_at: Wed, 07 Aug 2013 16:51:12 GMT
57
- recorded_with: VCR 2.4.0
62
+ recorded_at: Mon, 07 Oct 2013 00:47:13 GMT
63
+ recorded_with: VCR 2.6.0
@@ -2,186 +2,148 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: http://localhost:4243/v1.4/containers/create
5
+ uri: http://unix/v1.4/containers/create
6
6
  body:
7
7
  encoding: UTF-8
8
- string: '{"Cmd":["ls"],"Image":"base"}'
8
+ string: ! '{"Cmd":["ls"],"Image":"base"}'
9
9
  headers:
10
- Content-Type:
11
- - text/plain
12
10
  User-Agent:
13
- - Swipely/Docker-API 1.3.1
11
+ - Swipely/Docker-API 1.5.4
12
+ Content-Type:
13
+ - application/json
14
14
  response:
15
15
  status:
16
16
  code: 201
17
17
  message: ''
18
18
  headers:
19
- Content-Type:
20
- - text/plain; charset=utf-8
21
- Content-Length:
22
- - '21'
23
- Date:
24
- - Wed, 07 Aug 2013 16:51:14 GMT
19
+ !binary "Q29udGVudC1UeXBl":
20
+ - !binary |-
21
+ YXBwbGljYXRpb24vanNvbg==
22
+ !binary "Q29udGVudC1MZW5ndGg=":
23
+ - !binary |-
24
+ NjU=
25
+ !binary "RGF0ZQ==":
26
+ - !binary |-
27
+ TW9uLCAwNyBPY3QgMjAxMyAwMDo0NzoyMiBHTVQ=
25
28
  body:
26
- encoding: UTF-8
27
- string: '{"Id":"537bb9f5d9eb"}'
29
+ encoding: US-ASCII
30
+ string: ! '{"Id":"7bf405f5e6fb","Warnings":["IPv4 forwarding is disabled."]}'
28
31
  http_version:
29
- recorded_at: Wed, 07 Aug 2013 16:51:14 GMT
32
+ recorded_at: Mon, 07 Oct 2013 00:47:22 GMT
30
33
  - request:
31
34
  method: post
32
- uri: http://localhost:4243/v1.4/containers/537bb9f5d9eb/kill
35
+ uri: http://unix/v1.4/containers/7bf405f5e6fb/kill
33
36
  body:
34
- encoding: US-ASCII
35
- string: ''
37
+ encoding: UTF-8
38
+ string: ! '{}'
36
39
  headers:
37
- Content-Type:
38
- - text/plain
39
40
  User-Agent:
40
- - Swipely/Docker-API 1.3.1
41
+ - Swipely/Docker-API 1.5.4
42
+ Content-Type:
43
+ - application/json
41
44
  response:
42
45
  status:
43
46
  code: 204
44
47
  message: ''
45
48
  headers:
46
- Content-Type:
47
- - text/plain; charset=utf-8
48
- Content-Length:
49
- - '0'
50
- Date:
51
- - Wed, 07 Aug 2013 16:51:14 GMT
49
+ !binary "Q29udGVudC1UeXBl":
50
+ - !binary |-
51
+ dGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOA==
52
+ !binary "Q29udGVudC1MZW5ndGg=":
53
+ - !binary |-
54
+ MA==
55
+ !binary "RGF0ZQ==":
56
+ - !binary |-
57
+ TW9uLCAwNyBPY3QgMjAxMyAwMDo0NzoyMiBHTVQ=
52
58
  body:
53
- encoding: UTF-8
59
+ encoding: US-ASCII
54
60
  string: ''
55
61
  http_version:
56
- recorded_at: Wed, 07 Aug 2013 16:51:14 GMT
62
+ recorded_at: Mon, 07 Oct 2013 00:47:22 GMT
57
63
  - request:
58
64
  method: get
59
- uri: http://localhost:4243/v1.4/containers/json
65
+ uri: http://unix/v1.4/containers/json
60
66
  body:
61
67
  encoding: US-ASCII
62
68
  string: ''
63
69
  headers:
70
+ User-Agent:
71
+ - Swipely/Docker-API 1.5.4
64
72
  Content-Type:
65
73
  - text/plain
66
- User-Agent:
67
- - Swipely/Docker-API 1.3.1
68
74
  response:
69
75
  status:
70
76
  code: 200
71
77
  message: ''
72
78
  headers:
73
- Content-Type:
74
- - application/json
75
- Content-Length:
76
- - '2'
77
- Date:
78
- - Wed, 07 Aug 2013 16:51:14 GMT
79
+ !binary "Q29udGVudC1UeXBl":
80
+ - !binary |-
81
+ YXBwbGljYXRpb24vanNvbg==
82
+ !binary "Q29udGVudC1MZW5ndGg=":
83
+ - !binary |-
84
+ Mg==
85
+ !binary "RGF0ZQ==":
86
+ - !binary |-
87
+ TW9uLCAwNyBPY3QgMjAxMyAwMDo0NzoyMiBHTVQ=
79
88
  body:
80
- encoding: UTF-8
81
- string: '[]'
89
+ encoding: US-ASCII
90
+ string: ! '[]'
82
91
  http_version:
83
- recorded_at: Wed, 07 Aug 2013 16:51:14 GMT
92
+ recorded_at: Mon, 07 Oct 2013 00:47:22 GMT
84
93
  - request:
85
94
  method: get
86
- uri: http://localhost:4243/v1.4/containers/json?all=true
95
+ uri: http://unix/v1.4/containers/json?all=true
87
96
  body:
88
97
  encoding: US-ASCII
89
98
  string: ''
90
99
  headers:
100
+ User-Agent:
101
+ - Swipely/Docker-API 1.5.4
91
102
  Content-Type:
92
103
  - text/plain
93
- User-Agent:
94
- - Swipely/Docker-API 1.3.1
95
104
  response:
96
105
  status:
97
106
  code: 200
98
107
  message: ''
99
108
  headers:
100
- Content-Type:
101
- - application/json
102
- Date:
103
- - Wed, 07 Aug 2013 16:51:14 GMT
104
- Transfer-Encoding:
105
- - chunked
109
+ !binary "Q29udGVudC1UeXBl":
110
+ - !binary |-
111
+ YXBwbGljYXRpb24vanNvbg==
112
+ !binary "RGF0ZQ==":
113
+ - !binary |-
114
+ TW9uLCAwNyBPY3QgMjAxMyAwMDo0NzoyMiBHTVQ=
115
+ !binary "VHJhbnNmZXItRW5jb2Rpbmc=":
116
+ - !binary |-
117
+ Y2h1bmtlZA==
106
118
  body:
107
- encoding: UTF-8
108
- string: '[{"Id":"537bb9f5d9eb0ef4b5cb689f43b3c12f059ab124abe13eaaec09794633ea08e5","Image":"base2:latest","Command":"ls
109
- ","Created":1375894274,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"2c33f140d30e9f9993c180969f46a83e9dc24d3e29e4e39b930583bb5a6a9ea9","Image":"base2:latest","Command":"true
110
- ","Created":1375894274,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"006a81e3a9efb2d6b6b1bf7b25031f7c0ca972e731c4efeaaab30b75997d5804","Image":"base2:latest","Command":"true
111
- ","Created":1375894274,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"fe03763be9b4bd2b01495f0e6bf7a10eb26842a7b40a5022fd7412a1d9eb0566","Image":"base2:latest","Command":"pwd
112
- ","Created":1375894274,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"98607cce607e028051a81cf299a0d3f9b059ae83526e33990b7f2e455aeb079e","Image":"base2:latest","Command":"rm
113
- -rf / --no-preserve-root","Created":1375894272,"Status":"Exit 1","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"04f3e636c31dce687eab604eaa686dca8aec5d1a2962e564c2dfd286ba80fbf3","Image":"base2:latest","Command":"rm
114
- -rf /root","Created":1375894272,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"ed9fe2fe70fa397e2106bb33d90f07b8a8ea3adadf4fd63ff54152b655a63e88","Image":"base2:latest","Command":"true
115
- ","Created":1375894272,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"06afcc6410930daf822789196f347c84259b571c318828ca1483ecec8fb02f01","Image":"base2:latest","Command":"which
116
- pwd","Created":1375894181,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"77bbd7097c1c05be2049dddda4017b77301777647aa6255ecb69de9e714c5ed2","Image":"base2:latest","Command":"ls
117
- /lib64/","Created":1375894178,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"2c11ad17d509bab7652e178612c476907d5623445bbf3f5d59e994e5986ca279","Image":"411834e14abb","Command":"ls
118
- /","Created":1375894165,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"3a21d210b2f3cc3aba925005eb176709cda0e5ca021a6ba47a1e1a2c2443bf03","Image":"base2:latest","Command":"echo
119
- insert http://stallman.org /stallman","Created":1375894164,"Status":"Exit
120
- 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"12912e1d0631e90c3c6693c820fe8a29e41c4c74ec949d12e17e4909c26ee0ba","Image":"base2:latest","Command":"ls
121
- ","Created":1375894158,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"3444bbae3b7d32a7cf60ea00a2af0093d04decab7a19e39f90a786d3e125ef27","Image":"base2:latest","Command":"date
122
- ","Created":1375894158,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"68f2e43ee3912be5612bd2e290cd56aa936608abcc741944c9b17ef5c00608f9","Image":"base2:latest","Command":"true
123
- ","Created":1375894158,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"57f6f441aa02055a5128c1d1aff5475ce7b518e660abdad8af912d52631623b6","Image":"8e9fb6b2aa34","Command":"ls
124
- ","Created":1375894158,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"be8918b0aafcb0d227998149ab3687db6fed928927c6fa0b7fcefc132a152a7f","Image":"base2:latest","Command":"pwd
125
- ","Created":1375894157,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"d5206a051f9cdc4c52f56ff3147f747efbbdc47467eb968c2c40447096d0bacc","Image":"base2:latest","Command":"lol
126
- not a real command","Created":1375894157,"Status":"Exit 127","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"c8a4cf0f4b2ddc90ff2e49f3fb38eeb400297d417e74fbe97138a550938e6bdd","Image":"base2:latest","Command":"sleep
127
- 5","Created":1375894157,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"5cb82c1d32a021aedfe13845b40073094059c9af8b39fb3a334122d25d6bcd5f","Image":"base2:latest","Command":"sleep
128
- 5","Created":1375894151,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"0da1c4d80aa9498c498cc0c63281f458540b85b3b552a3091630a36104da7fae","Image":"base2:latest","Command":"tar
129
- nonsense","Created":1375894151,"Status":"Exit 64","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"014c3c1928e3b323ed0c7831a7c0823bd4bed04849b5b457983dacc459ff1867","Image":"base2:latest","Command":"sleep
130
- 50","Created":1375894141,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"b3a9b7acf0b5fbf2bfee311e7dd63541122a8f32a3fbe1b6fd58e8f4614d3dbc","Image":"base2:latest","Command":"ls
131
- ","Created":1375894141,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"317bb1ad354fe6fc3b654ae7d0a468284048a471dd22227da5cf8d3722d4e4c1","Image":"base2:latest","Command":"true
132
- ","Created":1375894140,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"6abab24b6893eed8da2f3737ab2b1372a8690b85359c22e77fa01a37d20422e7","Image":"base2:latest","Command":"true
133
- ","Created":1375894140,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"5b691c209673397731b198030f6ad177643cf73103e1ff91ff6ecba0570937ae","Image":"base2:latest","Command":"pwd
134
- ","Created":1375894140,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"302c743e53e711c497c22d63d84730f9f4c9cfa09f4c453f6de15a603a87e2fa","Image":"base2:latest","Command":"rm
135
- -rf / --no-preserve-root","Created":1375894139,"Status":"Exit 1","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"eb68e13fb678b59cc38c2bd5790b18ef6bf6ce78c0e41e27f215fe260cbaf38d","Image":"base2:latest","Command":"rm
136
- -rf /root","Created":1375894139,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"4df1d1b90929f2f8cc37889afeb526a0d7d8e7ca74a599d2cd61fce19d8af6d8","Image":"base2:latest","Command":"true
137
- ","Created":1375894139,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"3a3d259236331666e5713a3142a2827aeb03fea7c6cd9d675b216a75a6bb0dd1","Image":"base2:latest","Command":"rm
138
- -rf /root","Created":1375891315,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"4767d6043328ad1b0e6f2a0ceb63c5bd78003a1ac9912fbf8ef976bd5dce6000","Image":"base2:latest","Command":"/bin/sh
139
- -c rm -rf /root","Created":1375891241,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"e6733b0b48f8b9f5e2706bbafe56736fdf8d66c1f1946489c35a08a35d6e53f6","Image":"base2:latest","Command":"pwd
140
- ","Created":1375890792,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"7df85ea5aa2995b3f92eb93768461cc10bbbd8f6ed34a4b3d517637ef2679485","Image":"base2:latest","Command":"which
141
- pwd","Created":1375890059,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"d78de7d782e78be897fa99458fd00dc9ea473109fcd24a0693f9093735e7b41c","Image":"base2:latest","Command":"ls
142
- /lib64/","Created":1375890057,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"79d4ae84d84a4d05eb74e40704f0a410ccd7c4ca854c659112af985f6604aec1","Image":"ea96e006d00c","Command":"ls
143
- /","Created":1375890051,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"9828255e8e92561b85124acdc41a098b89af57b8c4d12eaf1b22c611c30eb9ed","Image":"base2:latest","Command":"echo
144
- insert http://stallman.org /stallman","Created":1375890050,"Status":"Exit
145
- 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"237478db500f2e2821ec2987160bce59b5d5eca4e0efe5cf4dcc6666bff7787f","Image":"base2:latest","Command":"ls
146
- ","Created":1375890046,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"9613b519c6487f3d2775caa4a44d63388222bcdebdea26e027f9cb3262d302db","Image":"base2:latest","Command":"date
147
- ","Created":1375890046,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"963140b97bb571bff5b64748af1ea3450e2440a36e11cb0b35a5071685a54e05","Image":"base2:latest","Command":"true
148
- ","Created":1375890046,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"923fcaa31245e030d41a348d870342a152905f0b78547ddbe7a966fcfbfafe4a","Image":"3fdce89c662f","Command":"ls
149
- ","Created":1375890046,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"6aa794eb15a6545a328e1d790124d91d26dc25ece6abd37c7cf3098544df2d55","Image":"base2:latest","Command":"pwd
150
- ","Created":1375890045,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"4a2b95ad1d8f7e156deec8cbd19a3eee58d96fd9b2837e35b21c408edee07248","Image":"base2:latest","Command":"lol
151
- not a real command","Created":1375890045,"Status":"Exit 127","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"151697f98ee848c55ef96173a27b3aafe337d09c6657b5fbb9bfaa03d48af15c","Image":"base2:latest","Command":"sleep
152
- 5","Created":1375890045,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"0ce91d722a264f25a18c3c340092d9f5db305d9fefe37c597104572100e34cde","Image":"base2:latest","Command":"sleep
153
- 5","Created":1375890040,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"88675033704ce895377364f7853afd2ee5956e44c295ef014b665f1b1e8c2814","Image":"base2:latest","Command":"tar
154
- nonsense","Created":1375890039,"Status":"Exit 64","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"990e511b3a02b07b5dd6dd911fa411896d9e3ed924ade94706f2c938ff82ea39","Image":"base2:latest","Command":"sleep
155
- 50","Created":1375890029,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"4706f87c9f4f51bfbf455e21016a810a642fb695188411da9359ada779baee0c","Image":"base2:latest","Command":"ls
156
- ","Created":1375890029,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"7e5674e2054db019ec8755e742d4d2a7a38c3a6f4f3914dcc31784c6df902e85","Image":"base2:latest","Command":"true
157
- ","Created":1375890029,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"9c8c25bd6011a1edb9c19b0e0f21ea9c851b0750f34e474f4d7a12903231b2f0","Image":"base2:latest","Command":"true
158
- ","Created":1375890029,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"480e6d7a543e91f31c43e34031bef39c48762f7f6243463688fe2e47b5e45a88","Image":"base2:latest","Command":"uname
159
- -r","Created":1375890029,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"7f7e82d95bb4ec3ae4e3de3fc6ab2c55252f044baf3c3cd549be49e419a05ca5","Image":"base2:latest","Command":"rm
160
- -rf / --no-preserve-root","Created":1375890027,"Status":"Exit 1","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"91928a69831d95021b2eb49f63003597771a18aebb82046ef0524e2669a9328e","Image":"base2:latest","Command":"true
161
- ","Created":1375890027,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"6043a6dbce22ce06004a941a1dc9a1252dee6f35497bd0619f67f3230642b9ca","Image":"base2:latest","Command":"true
162
- ","Created":1375890027,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"90201367dfc862df2cc20781ee6695a0c41780d72f93eb6d660ebc85c7e418eb","Image":"base2:latest","Command":"which
163
- pwd","Created":1374855178,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"8f5a777b3d941ff04685a05a8742d8114248997cae6851b41c2d6ea583e07585","Image":"base2:latest","Command":"ls
164
- /lib64/","Created":1374855177,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"e7aa11468936aa5c69cb075522490d6303a6bb902d495d7443a1448ea553346b","Image":"31cc782331e9","Command":"ls
165
- /","Created":1374855171,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"1418f2e8b032b4c1565ecb071aafbb8f219e3ec852c3d1c9a7ca3961809716d5","Image":"base2:latest","Command":"echo
166
- insert http://stallman.org /stallman","Created":1374855170,"Status":"Exit
167
- 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"d5d71ea48805b02c3eae5e3c507ea7b478c668e2f2f33213f0e0d238d98ee330","Image":"base2:latest","Command":"ls
168
- ","Created":1374855082,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"c1ad9ade3ee2e3945f3623341b1e1b4197d4ab7b1f1e6deb4a7be1ae67cb93e5","Image":"base2:latest","Command":"date
169
- ","Created":1374855082,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"8365aaf7629a9d51fc831fe5ec9c04aeef0012411ae4653f3dc1be48edbb0725","Image":"base2:latest","Command":"true
170
- ","Created":1374855082,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"3663ad5661d91fae12b67219de41fd8d9b607c75588568a93b3fd66434314a23","Image":"a7e4813cedd1","Command":"ls
171
- ","Created":1374855082,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"f9679f5588f084b1df199573979fdf1bc03d1f14a0f225773b1a6e87f18136f8","Image":"base2:latest","Command":"pwd
172
- ","Created":1374855082,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"c854d4cd92ca4db695209cc7015c84a609ef14429f2188ea9b5e3237d3c3a136","Image":"base2:latest","Command":"lol
173
- not a real command","Created":1374855081,"Status":"Exit 127","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"2acbe41c2c3c9632a606427aa907e24af4b7ba15a3e50b9cf34ea28e1797458b","Image":"base2:latest","Command":"sleep
174
- 5","Created":1374855081,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"8f951f4e643899fb9ef75376961bffaea4bdffe7277bec99d4c08184790af264","Image":"base2:latest","Command":"sleep
175
- 5","Created":1374855076,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"ccc138464e03af407af017027a11697f4f3e55370d53d27062d530e39b85d5cb","Image":"base2:latest","Command":"tar
176
- nonsense","Created":1374855075,"Status":"Exit 64","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"5086540c2501795c0b7cdb7b7bbacdeadd65b3f32df7a030a835c6e28bd329ff","Image":"base2:latest","Command":"sleep
177
- 50","Created":1374855065,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"348121471d9c3fbbb7f95a41d58184e8cfe316160544d8e9fd2cc54c09199c96","Image":"base2:latest","Command":"ls
178
- ","Created":1374855065,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"bcd6004f227795922b875619bbbc0db53490ee3dac0487bc3d68fb3abb0a4943","Image":"base2:latest","Command":"true
179
- ","Created":1374855065,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"9fd9abedfc616a79e590a93629167d7350aff8df06b6d0f88ccaf75da6dd482a","Image":"base2:latest","Command":"true
180
- ","Created":1374855065,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"6cd83a35b3931071d198ef4c9f4c8a2db710a5143d847c562191904922855dcd","Image":"base2:latest","Command":"uname
181
- -r","Created":1374855065,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"3b11b31217836ccf55b9df7ac666f5bf6cae2ba6a24116c9b7230fb69e45dbbf","Image":"base2:latest","Command":"rm
182
- -rf / --no-preserve-root","Created":1374855062,"Status":"Exit 1","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"82879e0a9b1e718a0bb8b6bbad3574f01c0fa6c55e12f795a1dbcba812851b2c","Image":"base2:latest","Command":"true
183
- ","Created":1374855061,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"714ae4978ddf85b1795471163e9d6595c098cc42417b6bcb34c190e5c5d268df","Image":"base2:latest","Command":"true
184
- ","Created":1374855061,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0}]'
119
+ encoding: US-ASCII
120
+ string: ! '[{"Id":"7bf405f5e6fb22c495316077dc7d3b25fe89d508319b66a4a95e7307798dd84a","Image":"base:latest","Command":"ls
121
+ ","Created":1381106842,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"b5691a48ef64433160a6219e3347cd41ed6240b9a7e79bdc90d1b60e22b5310a","Image":"base:latest","Command":"true
122
+ ","Created":1381106841,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"4519385a528a788dce0728ed1baff4f929cc7fda10b77edeac22418b7ed4f0ad","Image":"base:latest","Command":"test
123
+ -d /foo","Created":1381106841,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"f401329d4fd9fdfea6a1f469f4520f5ce6c7a9e69c28f02fc43636a6290a37ed","Image":"base:latest","Command":"pwd
124
+ ","Created":1381106840,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"cfb96be8490d42fe733cdf0d8e9ff682170591b9f25f6629bc5817fcb3e18745","Image":"base:latest","Command":"rm
125
+ -rf / --no-preserve-root","Created":1381106839,"Status":"Exit 1","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"fb0f786f06056afb6dcb2cf5ece6e1b6a6544780b030619eb7b0f97b6156636b","Image":"base:latest","Command":"ls
126
+ ","Created":1381106839,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"6082b8bb44b4bb2a9156fdaf612c9e9c36cff44c3713ac9bb7c52cbae283d5a9","Image":"base:latest","Command":"ls
127
+ ","Created":1381106837,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"0b545bc9f0f0f207207b62f7f19ea1c3e3d93993aefa38e14c66f06ce5559279","Image":"base:latest","Command":"ls
128
+ ","Created":1381106835,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"a48a01e35c11a17d3554c2bba3cbda19058f36a057957c6349125bdc78f8a8a7","Image":"base:latest","Command":"find
129
+ / -name ''*''","Created":1381106833,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"3aecf08d8d31d3e0c39dea5406011006558f88150763cf60e1b8765af4cc0b60","Image":"base:latest","Command":"rm
130
+ -rf /root","Created":1381106833,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"92c0a16f7ae5b7e1bef65ae08370c88e90fb17071df512c3a6b2aaba79660a85","Image":"base:latest","Command":"true
131
+ ","Created":1381106833,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"549668c1c28b1ad827cc3404a675a3391123964c3fc802a11f1612c2eb9cec36","Image":"base:latest","Command":"true
132
+ ","Created":1381106696,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"d6649215449a197bbbc187a5e93790eaf170e4b379e28a0337feef8322d5a282","Image":"jbgi/arch-base:latest","Command":"/bin/sh
133
+ -lc ping tlunter.com","Created":1375557384,"Status":"Exit 2","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"69591ebe41657405c64a48a31d0a2df2cf1ff9ea1b1cf9714175d3e6cc67ea36","Image":"jbgi/arch-base:latest","Command":"/bin/sh
134
+ -lc ping tlunter.com","Created":1375557372,"Status":"Exit 255","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"704f0cb84b6eff28f052491552d3633c331a746f563cb5bb023bc282b160fb4d","Image":"jbgi/arch-base:latest","Command":"/bin/sh
135
+ -lc ping tlunter.com","Created":1375556720,"Status":"Exit 2","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"1b3a69caf5fca0fec4a379b03e0be9e80ba17070b723746378320a8008204651","Image":"jbgi/arch-base:latest","Command":"/bin/sh
136
+ -lc ping tlunter.com","Created":1375556426,"Status":"Exit 2","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"d505d659d2db270faafe0f0e95f7713aff64d3d453a28d6bc182821efd294227","Image":"jbgi/arch-base:latest","Command":"/bin/sh
137
+ -lc which ping","Created":1375556419,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"f476389ebc0169584d7afd8eda7d5abd3b86b80dc2dab1964418289b38112c16","Image":"jbgi/arch-base:latest","Command":"/bin/sh
138
+ -lc ls && ping google.com","Created":1375556408,"Status":"Exit 2","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"c31d70d336b7604ef5ef50e731c6a66b2f8217ca80716cce0fe2402dd60030a5","Image":"jbgi/arch-base:latest","Command":"/bin/sh
139
+ -lc ls","Created":1375556402,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"5804cf327f8edc031eb0169ac3c436629a4bfd16a873991234705be03561ea7e","Image":"jbgi/arch-base:latest","Command":"/bin/sh
140
+ -lc ping google.com","Created":1375556382,"Status":"Exit 2","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"6ade424558f79beb13249a860cfeb6181ddc5c8c4a1c679ffcb97df80eca971d","Image":"jbgi/arch-base:latest","Command":"/bin/sh
141
+ -lc ip addr","Created":1375556375,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"dcab42058c9912fdf00152e560844c81633e22cd867866668566d9846e68ff7f","Image":"jbgi/arch-base:latest","Command":"/bin/sh
142
+ -lc ip addr","Created":1375556346,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"d7ddbde44c7f39f0bd5d390fc3749deb1493496caabcb094f19c5d43505b3332","Image":"jbgi/arch-base:latest","Command":"/bin/sh
143
+ -lc pacman -Syu","Created":1375556330,"Status":"Exit -127","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"1617294e19c3b56f936165a44106550eba167585e95588ca53be18f13cc3871b","Image":"jbgi/arch-base:latest","Command":"/bin/bash
144
+ ","Created":1375556154,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"7bac043a74338151d1a3d991132687705d2a6cc8d1377ffbfeb92b04eb2201b0","Image":"jbgi/arch-base:latest","Command":"/bin/bash
145
+ ","Created":1375556101,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0},{"Id":"aba819a380a1e95ba68516d72c3c7483a316dbb180401595a9dadbb1322ef1b6","Image":"jbgi/arch-base:latest","Command":"/bin/bash
146
+ ","Created":1375556096,"Status":"Exit 0","Ports":"","SizeRw":0,"SizeRootFs":0}]'
185
147
  http_version:
186
- recorded_at: Wed, 07 Aug 2013 16:51:14 GMT
187
- recorded_with: VCR 2.4.0
148
+ recorded_at: Mon, 07 Oct 2013 00:47:22 GMT
149
+ recorded_with: VCR 2.6.0
@@ -2,193 +2,214 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: http://localhost:4243/v1.4/containers/create
5
+ uri: http://unix/v1.4/containers/create
6
6
  body:
7
7
  encoding: UTF-8
8
- string: '{"Cmd":["sleep","50"],"Image":"base"}'
8
+ string: ! '{"Cmd":["sleep","50"],"Image":"base"}'
9
9
  headers:
10
- Content-Type:
11
- - text/plain
12
10
  User-Agent:
13
- - Swipely/Docker-API 1.3.1
11
+ - Swipely/Docker-API 1.5.4
12
+ Content-Type:
13
+ - application/json
14
14
  response:
15
15
  status:
16
16
  code: 201
17
17
  message: ''
18
18
  headers:
19
- Content-Type:
20
- - text/plain; charset=utf-8
21
- Content-Length:
22
- - '21'
23
- Date:
24
- - Wed, 07 Aug 2013 16:51:14 GMT
19
+ !binary "Q29udGVudC1UeXBl":
20
+ - !binary |-
21
+ YXBwbGljYXRpb24vanNvbg==
22
+ !binary "Q29udGVudC1MZW5ndGg=":
23
+ - !binary |-
24
+ NjU=
25
+ !binary "RGF0ZQ==":
26
+ - !binary |-
27
+ TW9uLCAwNyBPY3QgMjAxMyAwMDo0NzoyMiBHTVQ=
25
28
  body:
26
- encoding: UTF-8
27
- string: '{"Id":"36a0e35a4922"}'
29
+ encoding: US-ASCII
30
+ string: ! '{"Id":"fb0967fb2ba3","Warnings":["IPv4 forwarding is disabled."]}'
28
31
  http_version:
29
- recorded_at: Wed, 07 Aug 2013 16:51:15 GMT
32
+ recorded_at: Mon, 07 Oct 2013 00:47:22 GMT
30
33
  - request:
31
34
  method: post
32
- uri: http://localhost:4243/v1.4/containers/36a0e35a4922/start
35
+ uri: http://unix/v1.4/containers/fb0967fb2ba3/start
33
36
  body:
34
- encoding: US-ASCII
35
- string: ''
37
+ encoding: UTF-8
38
+ string: ! '{}'
36
39
  headers:
37
- Content-Type:
38
- - text/plain
39
40
  User-Agent:
40
- - Swipely/Docker-API 1.3.1
41
+ - Swipely/Docker-API 1.5.4
42
+ Content-Type:
43
+ - application/json
41
44
  response:
42
45
  status:
43
46
  code: 204
44
47
  message: ''
45
48
  headers:
46
- Content-Type:
47
- - text/plain; charset=utf-8
48
- Content-Length:
49
- - '0'
50
- Date:
51
- - Wed, 07 Aug 2013 16:51:15 GMT
49
+ !binary "Q29udGVudC1UeXBl":
50
+ - !binary |-
51
+ dGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOA==
52
+ !binary "Q29udGVudC1MZW5ndGg=":
53
+ - !binary |-
54
+ MA==
55
+ !binary "RGF0ZQ==":
56
+ - !binary |-
57
+ TW9uLCAwNyBPY3QgMjAxMyAwMDo0NzoyMiBHTVQ=
52
58
  body:
53
- encoding: UTF-8
59
+ encoding: US-ASCII
54
60
  string: ''
55
61
  http_version:
56
- recorded_at: Wed, 07 Aug 2013 16:51:15 GMT
62
+ recorded_at: Mon, 07 Oct 2013 00:47:22 GMT
57
63
  - request:
58
64
  method: get
59
- uri: http://localhost:4243/v1.4/containers/json
65
+ uri: http://unix/v1.4/containers/json
60
66
  body:
61
67
  encoding: US-ASCII
62
68
  string: ''
63
69
  headers:
70
+ User-Agent:
71
+ - Swipely/Docker-API 1.5.4
64
72
  Content-Type:
65
73
  - text/plain
66
- User-Agent:
67
- - Swipely/Docker-API 1.3.1
68
74
  response:
69
75
  status:
70
76
  code: 200
71
77
  message: ''
72
78
  headers:
73
- Content-Type:
74
- - application/json
75
- Content-Length:
76
- - '210'
77
- Date:
78
- - Wed, 07 Aug 2013 16:51:15 GMT
79
+ !binary "Q29udGVudC1UeXBl":
80
+ - !binary |-
81
+ YXBwbGljYXRpb24vanNvbg==
82
+ !binary "Q29udGVudC1MZW5ndGg=":
83
+ - !binary |-
84
+ MjA5
85
+ !binary "RGF0ZQ==":
86
+ - !binary |-
87
+ TW9uLCAwNyBPY3QgMjAxMyAwMDo0NzoyMiBHTVQ=
79
88
  body:
80
- encoding: UTF-8
81
- string: '[{"Id":"36a0e35a4922e2263b885dcbef77f549f1c9b6d997dd34033450feaf3fafb8cb","Image":"base2:latest","Command":"sleep
82
- 50","Created":1375894274,"Status":"Up Less than a second","Ports":"","SizeRw":0,"SizeRootFs":0}]'
89
+ encoding: US-ASCII
90
+ string: ! '[{"Id":"fb0967fb2ba3f9db4b468f6a70ca832f3b26d72fab3ef704d55416c7952c5d19","Image":"base:latest","Command":"sleep
91
+ 50","Created":1381106842,"Status":"Up Less than a second","Ports":"","SizeRw":0,"SizeRootFs":0}]'
83
92
  http_version:
84
- recorded_at: Wed, 07 Aug 2013 16:51:15 GMT
93
+ recorded_at: Mon, 07 Oct 2013 00:47:22 GMT
85
94
  - request:
86
95
  method: post
87
- uri: http://localhost:4243/v1.4/containers/36a0e35a4922/stop
96
+ uri: http://unix/v1.4/containers/fb0967fb2ba3/stop
88
97
  body:
89
- encoding: US-ASCII
90
- string: ''
98
+ encoding: UTF-8
99
+ string: ! '{}'
91
100
  headers:
92
- Content-Type:
93
- - text/plain
94
101
  User-Agent:
95
- - Swipely/Docker-API 1.3.1
102
+ - Swipely/Docker-API 1.5.4
103
+ Content-Type:
104
+ - application/json
96
105
  response:
97
106
  status:
98
107
  code: 204
99
108
  message: ''
100
109
  headers:
101
- Content-Type:
102
- - text/plain; charset=utf-8
103
- Content-Length:
104
- - '0'
105
- Date:
106
- - Wed, 07 Aug 2013 16:51:25 GMT
110
+ !binary "Q29udGVudC1UeXBl":
111
+ - !binary |-
112
+ dGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOA==
113
+ !binary "Q29udGVudC1MZW5ndGg=":
114
+ - !binary |-
115
+ MA==
116
+ !binary "RGF0ZQ==":
117
+ - !binary |-
118
+ TW9uLCAwNyBPY3QgMjAxMyAwMDo0NzozMiBHTVQ=
107
119
  body:
108
- encoding: UTF-8
120
+ encoding: US-ASCII
109
121
  string: ''
110
122
  http_version:
111
- recorded_at: Wed, 07 Aug 2013 16:51:25 GMT
123
+ recorded_at: Mon, 07 Oct 2013 00:47:32 GMT
112
124
  - request:
113
125
  method: get
114
- uri: http://localhost:4243/v1.4/containers/json
126
+ uri: http://unix/v1.4/containers/json
115
127
  body:
116
128
  encoding: US-ASCII
117
129
  string: ''
118
130
  headers:
131
+ User-Agent:
132
+ - Swipely/Docker-API 1.5.4
119
133
  Content-Type:
120
134
  - text/plain
121
- User-Agent:
122
- - Swipely/Docker-API 1.3.1
123
135
  response:
124
136
  status:
125
137
  code: 200
126
138
  message: ''
127
139
  headers:
128
- Content-Type:
129
- - application/json
130
- Content-Length:
131
- - '2'
132
- Date:
133
- - Wed, 07 Aug 2013 16:51:25 GMT
140
+ !binary "Q29udGVudC1UeXBl":
141
+ - !binary |-
142
+ YXBwbGljYXRpb24vanNvbg==
143
+ !binary "Q29udGVudC1MZW5ndGg=":
144
+ - !binary |-
145
+ Mg==
146
+ !binary "RGF0ZQ==":
147
+ - !binary |-
148
+ TW9uLCAwNyBPY3QgMjAxMyAwMDo0NzozMiBHTVQ=
134
149
  body:
135
- encoding: UTF-8
136
- string: '[]'
150
+ encoding: US-ASCII
151
+ string: ! '[]'
137
152
  http_version:
138
- recorded_at: Wed, 07 Aug 2013 16:51:25 GMT
153
+ recorded_at: Mon, 07 Oct 2013 00:47:32 GMT
139
154
  - request:
140
155
  method: post
141
- uri: http://localhost:4243/v1.4/containers/36a0e35a4922/restart
156
+ uri: http://unix/v1.4/containers/fb0967fb2ba3/restart
142
157
  body:
143
- encoding: US-ASCII
144
- string: ''
158
+ encoding: UTF-8
159
+ string: ! '{}'
145
160
  headers:
146
- Content-Type:
147
- - text/plain
148
161
  User-Agent:
149
- - Swipely/Docker-API 1.3.1
162
+ - Swipely/Docker-API 1.5.4
163
+ Content-Type:
164
+ - application/json
150
165
  response:
151
166
  status:
152
167
  code: 204
153
168
  message: ''
154
169
  headers:
155
- Content-Type:
156
- - text/plain; charset=utf-8
157
- Content-Length:
158
- - '0'
159
- Date:
160
- - Wed, 07 Aug 2013 16:51:25 GMT
170
+ !binary "Q29udGVudC1UeXBl":
171
+ - !binary |-
172
+ dGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOA==
173
+ !binary "Q29udGVudC1MZW5ndGg=":
174
+ - !binary |-
175
+ MA==
176
+ !binary "RGF0ZQ==":
177
+ - !binary |-
178
+ TW9uLCAwNyBPY3QgMjAxMyAwMDo0NzozMiBHTVQ=
161
179
  body:
162
- encoding: UTF-8
180
+ encoding: US-ASCII
163
181
  string: ''
164
182
  http_version:
165
- recorded_at: Wed, 07 Aug 2013 16:51:25 GMT
183
+ recorded_at: Mon, 07 Oct 2013 00:47:32 GMT
166
184
  - request:
167
185
  method: get
168
- uri: http://localhost:4243/v1.4/containers/json
186
+ uri: http://unix/v1.4/containers/json
169
187
  body:
170
188
  encoding: US-ASCII
171
189
  string: ''
172
190
  headers:
191
+ User-Agent:
192
+ - Swipely/Docker-API 1.5.4
173
193
  Content-Type:
174
194
  - text/plain
175
- User-Agent:
176
- - Swipely/Docker-API 1.3.1
177
195
  response:
178
196
  status:
179
197
  code: 200
180
198
  message: ''
181
199
  headers:
182
- Content-Type:
183
- - application/json
184
- Content-Length:
185
- - '210'
186
- Date:
187
- - Wed, 07 Aug 2013 16:51:25 GMT
200
+ !binary "Q29udGVudC1UeXBl":
201
+ - !binary |-
202
+ YXBwbGljYXRpb24vanNvbg==
203
+ !binary "Q29udGVudC1MZW5ndGg=":
204
+ - !binary |-
205
+ MjA5
206
+ !binary "RGF0ZQ==":
207
+ - !binary |-
208
+ TW9uLCAwNyBPY3QgMjAxMyAwMDo0NzozMiBHTVQ=
188
209
  body:
189
- encoding: UTF-8
190
- string: '[{"Id":"36a0e35a4922e2263b885dcbef77f549f1c9b6d997dd34033450feaf3fafb8cb","Image":"base2:latest","Command":"sleep
191
- 50","Created":1375894274,"Status":"Up Less than a second","Ports":"","SizeRw":0,"SizeRootFs":0}]'
210
+ encoding: US-ASCII
211
+ string: ! '[{"Id":"fb0967fb2ba3f9db4b468f6a70ca832f3b26d72fab3ef704d55416c7952c5d19","Image":"base:latest","Command":"sleep
212
+ 50","Created":1381106842,"Status":"Up Less than a second","Ports":"","SizeRw":0,"SizeRootFs":0}]'
192
213
  http_version:
193
- recorded_at: Wed, 07 Aug 2013 16:51:25 GMT
194
- recorded_with: VCR 2.4.0
214
+ recorded_at: Mon, 07 Oct 2013 00:47:32 GMT
215
+ recorded_with: VCR 2.6.0