bigrig 0.4.2 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/Gemfile.lock +24 -26
- data/bigrig.gemspec +2 -2
- data/lib/bigrig/models/container.rb +2 -2
- data/lib/bigrig/runner.rb +2 -10
- data/lib/bigrig/version.rb +1 -1
- data/lib/bigrig/waiter.rb +20 -0
- data/lib/bigrig.rb +1 -0
- data/spec/bigrig/actions/run_action_spec.rb +8 -0
- data/spec/bigrig/docker_adapter_spec.rb +1 -1
- data/spec/bigrig/models/container_spec.rb +0 -18
- data/spec/bigrig_spec.rb +20 -6
- data/spec/data/wait_for/Dockerfile +4 -0
- data/spec/data/wait_for/bigrig-wait.sh +5 -0
- data/spec/data/wait_for/bigrig.json +8 -0
- data/spec/data/wait_for_broken/Dockerfile +4 -0
- data/spec/data/wait_for_broken/bigrig-wait.sh +3 -0
- data/spec/data/wait_for_broken/bigrig.json +8 -0
- data/spec/vcr/Bigrig_DestroyAction/_perform/given_json_with_a_single_container/and_the_container_has_exited/should_remove_the_container.yml +65 -65
- data/spec/vcr/Bigrig_DestroyAction/_perform/given_json_with_a_single_container/and_the_container_is_running/kills_and_removes_the_container.yml +71 -71
- data/spec/vcr/Bigrig_DockerAdapter/_build/builds_the_given_directory.yml +11 -11
- data/spec/vcr/Bigrig_DockerAdapter/_build/passes_build_input_to_a_block.yml +5 -5
- data/spec/vcr/Bigrig_DockerAdapter/_container_exists_/when_the_container_does_not_exist/is_false.yml +20 -20
- data/spec/vcr/Bigrig_DockerAdapter/_container_exists_/when_the_container_exists/is_true.yml +13 -13
- data/spec/vcr/Bigrig_DockerAdapter/_image_id_by_tag/when_the_image_does_not_exist/raise_a_ImageNotFoundError.yml +20 -20
- data/spec/vcr/Bigrig_DockerAdapter/_image_id_by_tag/when_the_image_exists/returns_the_image_id.yml +19 -19
- data/spec/vcr/Bigrig_DockerAdapter/_kill/given_the_container_does_not_exist/should_raise_an_error.yml +20 -20
- data/spec/vcr/Bigrig_DockerAdapter/_kill/given_the_container_is_running/should_kill_the_container.yml +29 -29
- data/spec/vcr/Bigrig_DockerAdapter/_logs/streams_logs_to_a_block.yml +23 -23
- data/spec/vcr/Bigrig_DockerAdapter/_pull/given_a_block_to_capture_output/should_capture_output.yml +8 -8
- data/spec/vcr/Bigrig_DockerAdapter/_pull/given_the_repo_does_not_exist/raises_a_RepoNotFoundError.yml +3 -3
- data/spec/vcr/Bigrig_DockerAdapter/_pull/given_the_repo_exists/returns_the_image_id.yml +13 -13
- data/spec/vcr/Bigrig_DockerAdapter/_push/given_credentials/will_pass_login_and_password.yml +54 -54
- data/spec/vcr/Bigrig_DockerAdapter/_push/should_push_the_image.yml +1059 -553
- data/spec/vcr/Bigrig_DockerAdapter/_remove_container/when_the_container_does_not_exist/raises_a_ContainerNotFoundError.yml +40 -40
- data/spec/vcr/Bigrig_DockerAdapter/_remove_container/when_the_container_exists/should_remove_the_container.yml +44 -44
- data/spec/vcr/Bigrig_DockerAdapter/_remove_container/when_the_container_is_running/raises_a_ContainerRunningError.yml +13 -13
- data/spec/vcr/Bigrig_DockerAdapter/_remove_image/when_the_image_doesnt_exist/raises_an_error.yml +12 -12
- data/spec/vcr/Bigrig_DockerAdapter/_remove_image/when_the_image_exists/removes_the_image.yml +35 -35
- data/spec/vcr/Bigrig_DockerAdapter/_run/given_an_image_id_that_exists/and_a_name/starts_the_container_with_the_right_name.yml +35 -35
- data/spec/vcr/Bigrig_DockerAdapter/_run/given_an_image_id_that_exists/and_a_name_and_env_variables/starts_the_container_with_env_set.yml +35 -35
- data/spec/vcr/Bigrig_DockerAdapter/_run/given_an_image_id_that_exists/and_a_name_and_ports/starts_the_container_with_ports_exposed.yml +41 -41
- data/spec/vcr/Bigrig_DockerAdapter/_running_/when_the_container_does_not_exist/returns_false.yml +20 -20
- data/spec/vcr/Bigrig_DockerAdapter/_running_/when_the_container_is_not_running/returns_false.yml +13 -15
- data/spec/vcr/Bigrig_DockerAdapter/_running_/when_the_container_is_running/returns_true.yml +17 -17
- data/spec/vcr/Bigrig_DockerAdapter/_tag/should_tag_the_image.yml +34 -34
- data/spec/vcr/Bigrig_LogAction/_perform/follows_the_log.yml +43 -43
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_a_path/builds_the_image_before_starting_it.yml +222 -26
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_hosts_by_ip/should_pass_hosts_to_container.yml +180 -74
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_hosts_by_name/should_lookup_ips_for_hosts_with_a_hostname.yml +181 -75
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_links/should_pass_links_to_the_right_container.yml +351 -139
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_multiple_containers/launches_both_containers_in_parallel.yml +130 -130
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_multiple_containers/spins_up_multiple_containers.yml +140 -140
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_one_container/should_spin_up_a_single_container.yml +175 -69
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_one_container/when_a_dead_container_exists/should_remove_existing_containers.yml +159 -53
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_volumes/should_pass_volumes_to_the_right_container.yml +180 -74
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_volumes_from/should_pass_volumes_from_to_the_right_container.yml +351 -139
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_volumes_from/starts_the_dependant_container_last.yml +130 -130
- data/spec/vcr/Bigrig_RunAction/_perform/when_activating_profiles_that_do_not_exist/ignores_the_missing_profile.yml +268 -77
- data/spec/vcr/Bigrig_RunAction/_perform/with_a_file_with_active_profiles/uses_the_overridden_image.yml +180 -74
- data/spec/vcr/bigrig/destroy/spec/data/single_json/kills_the_container.yml +28 -28
- data/spec/vcr/bigrig/dev/spec/data/dev_json/activates_the_dev_profile.yml +266 -158
- data/spec/vcr/bigrig/dev/spec/data/dev_json/destroys_containers_on_exit.yml +78 -158
- data/spec/vcr/bigrig/dev/spec/data/dev_json/starts_the_containers.yml +187 -191
- data/spec/vcr/bigrig/dev/spec/data/dev_json/tails_the_logs.yml +38 -118
- data/spec/vcr/bigrig/dev/spec/data/scan_json/leaves_unaffected_containers_alone_when_the_scanned_file_changes.yml +811 -345
- data/spec/vcr/bigrig/dev/spec/data/scan_json/restarts_dependant_containers_when_the_scanned_file_changes.yml +813 -375
- data/spec/vcr/bigrig/dev/spec/data/scan_json/restarts_the_container_when_the_scanned_file_changes.yml +855 -363
- data/spec/vcr/bigrig/logs/spec/data/log_json/tails_the_logs.yml +23 -23
- data/spec/vcr/bigrig/run/spec/data/profiles_json_-p_qa/leaves_existing_env_values_alone.yml +14 -14
- data/spec/vcr/bigrig/run/spec/data/profiles_json_-p_qa/overrides_the_env.yml +14 -14
- data/spec/vcr/bigrig/run/spec/data/profiles_json_-p_qa/overrides_the_tag.yml +17 -17
- data/spec/vcr/bigrig/run/spec/data/single_json/sends_the_name_of_the_container_to_stdout.yml +12 -12
- data/spec/vcr/bigrig/run/spec/data/single_json/starts_the_container.yml +17 -17
- data/spec/vcr/bigrig/run/spec/data/wait_for/bigrig_json/waits_for_wait_for.yml +180 -0
- data/spec/vcr/bigrig/run/spec/data/wait_for_broken_json/fails_with_an_error.yml +12 -12
- data/spec/vcr/bigrig/ship/spec/data/ship_json/with_a_version/-c/cleans_the_image_when_its_done.yml +28 -28
- data/spec/vcr/bigrig/ship/spec/data/ship_json/with_a_version/builds_and_pushes_the_image.yml +21 -21
- data/spec/vcr/bigrig_bin_bigrig_destroy_spec/data/single_json_kills_the_container.yml +28 -28
- data/spec/vcr/bigrig_bin_bigrig_dev_spec/data/dev_json_activates_the_dev_profile.yml +135 -486
- data/spec/vcr/bigrig_bin_bigrig_dev_spec/data/dev_json_starts_the_containers.yml +146 -472
- data/spec/vcr/bigrig_bin_bigrig_dev_spec/data/dev_json_tails_the_logs.yml +402 -192
- data/spec/vcr/bigrig_bin_bigrig_dev_spec/data/scan_json_leaves_unaffected_containers_alone_when_the_scanned_file_changes.yml +980 -396
- data/spec/vcr/bigrig_bin_bigrig_dev_spec/data/scan_json_restarts_dependant_containers_when_the_scanned_file_changes.yml +916 -388
- data/spec/vcr/bigrig_bin_bigrig_dev_spec/data/scan_json_restarts_the_container_when_the_scanned_file_changes.yml +919 -391
- data/spec/vcr/bigrig_bin_bigrig_logs_spec/data/log_json_tails_the_logs.yml +23 -23
- data/spec/vcr/bigrig_bin_bigrig_run_spec/data/profiles_json_-p_qa_leaves_existing_env_values_alone.yml +159 -53
- data/spec/vcr/bigrig_bin_bigrig_run_spec/data/profiles_json_-p_qa_overrides_the_env.yml +159 -53
- data/spec/vcr/bigrig_bin_bigrig_run_spec/data/profiles_json_-p_qa_overrides_the_tag.yml +286 -31
- data/spec/vcr/bigrig_bin_bigrig_run_spec/data/single_json_sends_the_name_of_the_container_to_stdout.yml +159 -53
- data/spec/vcr/bigrig_bin_bigrig_run_spec/data/single_json_starts_the_container.yml +159 -53
- data/spec/vcr/bigrig_bin_bigrig_run_spec/data/wait_for/bigrig_json_waits_for_wait_for.yml +522 -0
- data/spec/vcr/bigrig_bin_bigrig_run_spec/data/wait_for_broken_json_fails_with_an_error.yml +175 -80
- data/spec/vcr/bigrig_bin_bigrig_ship_spec/data/ship_json_with_a_version_-c_cleans_the_image_when_its_done.yml +1036 -526
- data/spec/vcr/bigrig_bin_bigrig_ship_spec/data/ship_json_with_a_version_builds_and_pushes_the_image.yml +1024 -514
- metadata +17 -12
- data/spec/data/wait_for.json +0 -9
- data/spec/data/wait_for_broken.json +0 -9
- data/spec/vcr/bigrig/run/spec/data/wait_for_json/waits_for_wait_for.yml +0 -180
- data/spec/vcr/bigrig_bin_bigrig_run_spec/data/wait_for_json_waits_for_wait_for.yml +0 -412
@@ -8,7 +8,7 @@ http_interactions:
|
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- Swipely/Docker-API 1.
|
11
|
+
- Swipely/Docker-API 1.21.4
|
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
|
+
- Fri, 05 Jun 2015 23:25:41 GMT
|
23
23
|
body:
|
24
24
|
encoding: UTF-8
|
25
25
|
string: "{\"status\":\"Pulling repository hawknewton/show-env\"}\r\n{\"status\":\"Pulling
|
@@ -47,7 +47,7 @@ http_interactions:
|
|
47
47
|
complete\",\"progressDetail\":{},\"id\":\"b9c5be3a918d\"}{\"status\":\"Status:
|
48
48
|
Image is up to date for hawknewton/show-env\"}\r\n"
|
49
49
|
http_version:
|
50
|
-
recorded_at:
|
50
|
+
recorded_at: Fri, 05 Jun 2015 23:25:44 GMT
|
51
51
|
- request:
|
52
52
|
method: post
|
53
53
|
uri: "<DOCKER_HOST>/v1.16/containers/create"
|
@@ -56,7 +56,7 @@ http_interactions:
|
|
56
56
|
string: '{"Image":"b9c5be3a918d"}'
|
57
57
|
headers:
|
58
58
|
User-Agent:
|
59
|
-
- Swipely/Docker-API 1.
|
59
|
+
- Swipely/Docker-API 1.21.4
|
60
60
|
Content-Type:
|
61
61
|
- application/json
|
62
62
|
response:
|
@@ -67,24 +67,24 @@ http_interactions:
|
|
67
67
|
Content-Type:
|
68
68
|
- application/json
|
69
69
|
Date:
|
70
|
-
-
|
70
|
+
- Fri, 05 Jun 2015 23:25:44 GMT
|
71
71
|
Content-Length:
|
72
72
|
- '90'
|
73
73
|
body:
|
74
74
|
encoding: UTF-8
|
75
75
|
string: |
|
76
|
-
{"Id":"
|
76
|
+
{"Id":"3d5e2488759ec89d8e174784e3e02baf0675b31a972e82038a9fedcc3d7fa4b4","Warnings":null}
|
77
77
|
http_version:
|
78
|
-
recorded_at:
|
78
|
+
recorded_at: Fri, 05 Jun 2015 23:25:44 GMT
|
79
79
|
- request:
|
80
80
|
method: post
|
81
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
81
|
+
uri: "<DOCKER_HOST>/v1.16/containers/3d5e2488759ec89d8e174784e3e02baf0675b31a972e82038a9fedcc3d7fa4b4/start"
|
82
82
|
body:
|
83
83
|
encoding: UTF-8
|
84
84
|
string: "{}"
|
85
85
|
headers:
|
86
86
|
User-Agent:
|
87
|
-
- Swipely/Docker-API 1.
|
87
|
+
- Swipely/Docker-API 1.21.4
|
88
88
|
Content-Type:
|
89
89
|
- application/json
|
90
90
|
response:
|
@@ -93,21 +93,21 @@ http_interactions:
|
|
93
93
|
message:
|
94
94
|
headers:
|
95
95
|
Date:
|
96
|
-
-
|
96
|
+
- Fri, 05 Jun 2015 23:25:44 GMT
|
97
97
|
body:
|
98
98
|
encoding: UTF-8
|
99
99
|
string: ''
|
100
100
|
http_version:
|
101
|
-
recorded_at:
|
101
|
+
recorded_at: Fri, 05 Jun 2015 23:25:44 GMT
|
102
102
|
- request:
|
103
103
|
method: get
|
104
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
104
|
+
uri: "<DOCKER_HOST>/v1.16/containers/3d5e2488759ec89d8e174784e3e02baf0675b31a972e82038a9fedcc3d7fa4b4/json"
|
105
105
|
body:
|
106
106
|
encoding: US-ASCII
|
107
107
|
string: ''
|
108
108
|
headers:
|
109
109
|
User-Agent:
|
110
|
-
- Swipely/Docker-API 1.
|
110
|
+
- Swipely/Docker-API 1.21.4
|
111
111
|
Content-Type:
|
112
112
|
- text/plain
|
113
113
|
response:
|
@@ -118,22 +118,22 @@ http_interactions:
|
|
118
118
|
Content-Type:
|
119
119
|
- application/json
|
120
120
|
Date:
|
121
|
-
-
|
121
|
+
- Fri, 05 Jun 2015 23:25:44 GMT
|
122
122
|
body:
|
123
123
|
encoding: UTF-8
|
124
124
|
string: |
|
125
|
-
{"AppArmorProfile":"","Args":["-c","ruby /code/server.rb"],"Config":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":null,"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":["/bin/sh","-c","ruby /code/server.rb"],"Env":["PATH=/usr/local/bundle/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin","RUBY_MAJOR=2.1","RUBY_VERSION=2.1.3","GEM_HOME=/usr/local/bundle","BUNDLE_APP_CONFIG=/usr/local/bundle"],"ExposedPorts":{"80/tcp":{}},"Hostname":"
|
125
|
+
{"AppArmorProfile":"","Args":["-c","ruby /code/server.rb"],"Config":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":null,"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":["/bin/sh","-c","ruby /code/server.rb"],"Env":["PATH=/usr/local/bundle/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin","RUBY_MAJOR=2.1","RUBY_VERSION=2.1.3","GEM_HOME=/usr/local/bundle","BUNDLE_APP_CONFIG=/usr/local/bundle"],"ExposedPorts":{"80/tcp":{}},"Hostname":"3d5e2488759e","Image":"b9c5be3a918d","Labels":{},"MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":null,"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Created":"2015-06-05T23:25:44.15293929Z","Driver":"aufs","ExecDriver":"native-0.2","ExecIDs":null,"HostConfig":{"Binds":null,"CapAdd":null,"CapDrop":null,"CgroupParent":"","ContainerIDFile":"","CpuShares":0,"CpusetCpus":"","Devices":null,"Dns":null,"DnsSearch":null,"ExtraHosts":null,"IpcMode":"","Links":null,"LogConfig":{"Config":null,"Type":"json-file"},"LxcConf":null,"Memory":0,"MemorySwap":0,"NetworkMode":"","PidMode":"","PortBindings":null,"Privileged":false,"PublishAllPorts":false,"ReadonlyRootfs":false,"RestartPolicy":{"MaximumRetryCount":0,"Name":""},"SecurityOpt":null,"Ulimits":null,"VolumesFrom":null},"HostnamePath":"/mnt/sda1/var/lib/docker/containers/3d5e2488759ec89d8e174784e3e02baf0675b31a972e82038a9fedcc3d7fa4b4/hostname","HostsPath":"/mnt/sda1/var/lib/docker/containers/3d5e2488759ec89d8e174784e3e02baf0675b31a972e82038a9fedcc3d7fa4b4/hosts","Id":"3d5e2488759ec89d8e174784e3e02baf0675b31a972e82038a9fedcc3d7fa4b4","Image":"b9c5be3a918d80b0d898ed8eca3fc76f75c482b531238e539cb00f75bb4e12d2","LogPath":"/mnt/sda1/var/lib/docker/containers/3d5e2488759ec89d8e174784e3e02baf0675b31a972e82038a9fedcc3d7fa4b4/3d5e2488759ec89d8e174784e3e02baf0675b31a972e82038a9fedcc3d7fa4b4-json.log","MountLabel":"","Name":"/goofy_elion","NetworkSettings":{"Bridge":"docker0","Gateway":"172.17.42.1","GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"IPAddress":"172.17.1.73","IPPrefixLen":16,"IPv6Gateway":"","LinkLocalIPv6Address":"fe80::42:acff:fe11:149","LinkLocalIPv6PrefixLen":64,"MacAddress":"02:42:ac:11:01:49","PortMapping":null,"Ports":{"80/tcp":null}},"Path":"/bin/sh","ProcessLabel":"","ResolvConfPath":"/mnt/sda1/var/lib/docker/containers/3d5e2488759ec89d8e174784e3e02baf0675b31a972e82038a9fedcc3d7fa4b4/resolv.conf","RestartCount":0,"State":{"Dead":false,"Error":"","ExitCode":0,"FinishedAt":"0001-01-01T00:00:00Z","OOMKilled":false,"Paused":false,"Pid":23525,"Restarting":false,"Running":true,"StartedAt":"2015-06-05T23:25:44.534012891Z"},"Volumes":{},"VolumesRW":{}}
|
126
126
|
http_version:
|
127
|
-
recorded_at:
|
127
|
+
recorded_at: Fri, 05 Jun 2015 23:25:44 GMT
|
128
128
|
- request:
|
129
129
|
method: post
|
130
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
130
|
+
uri: "<DOCKER_HOST>/v1.16/containers/3d5e2488759ec89d8e174784e3e02baf0675b31a972e82038a9fedcc3d7fa4b4/kill"
|
131
131
|
body:
|
132
132
|
encoding: US-ASCII
|
133
133
|
string: ''
|
134
134
|
headers:
|
135
135
|
User-Agent:
|
136
|
-
- Swipely/Docker-API 1.
|
136
|
+
- Swipely/Docker-API 1.21.4
|
137
137
|
Content-Type:
|
138
138
|
- text/plain
|
139
139
|
response:
|
@@ -142,21 +142,21 @@ http_interactions:
|
|
142
142
|
message:
|
143
143
|
headers:
|
144
144
|
Date:
|
145
|
-
-
|
145
|
+
- Fri, 05 Jun 2015 23:25:44 GMT
|
146
146
|
body:
|
147
147
|
encoding: UTF-8
|
148
148
|
string: ''
|
149
149
|
http_version:
|
150
|
-
recorded_at:
|
150
|
+
recorded_at: Fri, 05 Jun 2015 23:25:44 GMT
|
151
151
|
- request:
|
152
152
|
method: get
|
153
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
153
|
+
uri: "<DOCKER_HOST>/v1.16/containers/3d5e2488759ec89d8e174784e3e02baf0675b31a972e82038a9fedcc3d7fa4b4/json"
|
154
154
|
body:
|
155
155
|
encoding: US-ASCII
|
156
156
|
string: ''
|
157
157
|
headers:
|
158
158
|
User-Agent:
|
159
|
-
- Swipely/Docker-API 1.
|
159
|
+
- Swipely/Docker-API 1.21.4
|
160
160
|
Content-Type:
|
161
161
|
- text/plain
|
162
162
|
response:
|
@@ -167,22 +167,22 @@ http_interactions:
|
|
167
167
|
Content-Type:
|
168
168
|
- application/json
|
169
169
|
Date:
|
170
|
-
-
|
170
|
+
- Fri, 05 Jun 2015 23:25:44 GMT
|
171
171
|
body:
|
172
172
|
encoding: UTF-8
|
173
173
|
string: |
|
174
|
-
{"AppArmorProfile":"","Args":["-c","ruby /code/server.rb"],"Config":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":null,"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":["/bin/sh","-c","ruby /code/server.rb"],"Env":["PATH=/usr/local/bundle/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin","RUBY_MAJOR=2.1","RUBY_VERSION=2.1.3","GEM_HOME=/usr/local/bundle","BUNDLE_APP_CONFIG=/usr/local/bundle"],"ExposedPorts":{"80/tcp":{}},"Hostname":"
|
174
|
+
{"AppArmorProfile":"","Args":["-c","ruby /code/server.rb"],"Config":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":null,"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":["/bin/sh","-c","ruby /code/server.rb"],"Env":["PATH=/usr/local/bundle/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin","RUBY_MAJOR=2.1","RUBY_VERSION=2.1.3","GEM_HOME=/usr/local/bundle","BUNDLE_APP_CONFIG=/usr/local/bundle"],"ExposedPorts":{"80/tcp":{}},"Hostname":"3d5e2488759e","Image":"b9c5be3a918d","Labels":{},"MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":null,"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Created":"2015-06-05T23:25:44.15293929Z","Driver":"aufs","ExecDriver":"native-0.2","ExecIDs":null,"HostConfig":{"Binds":null,"CapAdd":null,"CapDrop":null,"CgroupParent":"","ContainerIDFile":"","CpuShares":0,"CpusetCpus":"","Devices":null,"Dns":null,"DnsSearch":null,"ExtraHosts":null,"IpcMode":"","Links":null,"LogConfig":{"Config":null,"Type":"json-file"},"LxcConf":null,"Memory":0,"MemorySwap":0,"NetworkMode":"","PidMode":"","PortBindings":null,"Privileged":false,"PublishAllPorts":false,"ReadonlyRootfs":false,"RestartPolicy":{"MaximumRetryCount":0,"Name":""},"SecurityOpt":null,"Ulimits":null,"VolumesFrom":null},"HostnamePath":"/mnt/sda1/var/lib/docker/containers/3d5e2488759ec89d8e174784e3e02baf0675b31a972e82038a9fedcc3d7fa4b4/hostname","HostsPath":"/mnt/sda1/var/lib/docker/containers/3d5e2488759ec89d8e174784e3e02baf0675b31a972e82038a9fedcc3d7fa4b4/hosts","Id":"3d5e2488759ec89d8e174784e3e02baf0675b31a972e82038a9fedcc3d7fa4b4","Image":"b9c5be3a918d80b0d898ed8eca3fc76f75c482b531238e539cb00f75bb4e12d2","LogPath":"/mnt/sda1/var/lib/docker/containers/3d5e2488759ec89d8e174784e3e02baf0675b31a972e82038a9fedcc3d7fa4b4/3d5e2488759ec89d8e174784e3e02baf0675b31a972e82038a9fedcc3d7fa4b4-json.log","MountLabel":"","Name":"/goofy_elion","NetworkSettings":{"Bridge":"","Gateway":"","GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"IPAddress":"","IPPrefixLen":0,"IPv6Gateway":"","LinkLocalIPv6Address":"","LinkLocalIPv6PrefixLen":0,"MacAddress":"","PortMapping":null,"Ports":null},"Path":"/bin/sh","ProcessLabel":"","ResolvConfPath":"/mnt/sda1/var/lib/docker/containers/3d5e2488759ec89d8e174784e3e02baf0675b31a972e82038a9fedcc3d7fa4b4/resolv.conf","RestartCount":0,"State":{"Dead":false,"Error":"","ExitCode":137,"FinishedAt":"2015-06-05T23:25:44.724040028Z","OOMKilled":false,"Paused":false,"Pid":0,"Restarting":false,"Running":false,"StartedAt":"2015-06-05T23:25:44.534012891Z"},"Volumes":{},"VolumesRW":{}}
|
175
175
|
http_version:
|
176
|
-
recorded_at:
|
176
|
+
recorded_at: Fri, 05 Jun 2015 23:25:44 GMT
|
177
177
|
- request:
|
178
178
|
method: delete
|
179
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
179
|
+
uri: "<DOCKER_HOST>/v1.16/containers/3d5e2488759ec89d8e174784e3e02baf0675b31a972e82038a9fedcc3d7fa4b4?force=true"
|
180
180
|
body:
|
181
181
|
encoding: US-ASCII
|
182
182
|
string: ''
|
183
183
|
headers:
|
184
184
|
User-Agent:
|
185
|
-
- Swipely/Docker-API 1.
|
185
|
+
- Swipely/Docker-API 1.21.4
|
186
186
|
Content-Type:
|
187
187
|
- text/plain
|
188
188
|
response:
|
@@ -191,10 +191,10 @@ http_interactions:
|
|
191
191
|
message:
|
192
192
|
headers:
|
193
193
|
Date:
|
194
|
-
-
|
194
|
+
- Fri, 05 Jun 2015 23:25:44 GMT
|
195
195
|
body:
|
196
196
|
encoding: UTF-8
|
197
197
|
string: ''
|
198
198
|
http_version:
|
199
|
-
recorded_at:
|
199
|
+
recorded_at: Fri, 05 Jun 2015 23:25:44 GMT
|
200
200
|
recorded_with: VCR 2.9.3
|
@@ -8,7 +8,7 @@ http_interactions:
|
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- Swipely/Docker-API 1.
|
11
|
+
- Swipely/Docker-API 1.21.4
|
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
|
+
- Fri, 05 Jun 2015 23:25:46 GMT
|
23
23
|
body:
|
24
24
|
encoding: UTF-8
|
25
25
|
string: "{\"status\":\"Pulling repository hawknewton/log-test\"}\r\n{\"status\":\"Pulling
|
@@ -36,7 +36,7 @@ http_interactions:
|
|
36
36
|
complete\",\"progressDetail\":{},\"id\":\"bf0f8a45f956\"}{\"status\":\"Status:
|
37
37
|
Image is up to date for hawknewton/log-test:0.0.1\"}\r\n"
|
38
38
|
http_version:
|
39
|
-
recorded_at:
|
39
|
+
recorded_at: Fri, 05 Jun 2015 23:25:49 GMT
|
40
40
|
- request:
|
41
41
|
method: post
|
42
42
|
uri: "<DOCKER_HOST>/v1.16/containers/create?name=log-test"
|
@@ -45,7 +45,7 @@ http_interactions:
|
|
45
45
|
string: '{"Image":"bf0f8a45f956"}'
|
46
46
|
headers:
|
47
47
|
User-Agent:
|
48
|
-
- Swipely/Docker-API 1.
|
48
|
+
- Swipely/Docker-API 1.21.4
|
49
49
|
Content-Type:
|
50
50
|
- application/json
|
51
51
|
response:
|
@@ -56,24 +56,24 @@ http_interactions:
|
|
56
56
|
Content-Type:
|
57
57
|
- application/json
|
58
58
|
Date:
|
59
|
-
-
|
59
|
+
- Fri, 05 Jun 2015 23:25:49 GMT
|
60
60
|
Content-Length:
|
61
61
|
- '90'
|
62
62
|
body:
|
63
63
|
encoding: UTF-8
|
64
64
|
string: |
|
65
|
-
{"Id":"
|
65
|
+
{"Id":"17d9be098677898d423b5b8157ed68ef0c96f4370cc8862301a352dac4f4620a","Warnings":null}
|
66
66
|
http_version:
|
67
|
-
recorded_at:
|
67
|
+
recorded_at: Fri, 05 Jun 2015 23:25:49 GMT
|
68
68
|
- request:
|
69
69
|
method: post
|
70
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
70
|
+
uri: "<DOCKER_HOST>/v1.16/containers/17d9be098677898d423b5b8157ed68ef0c96f4370cc8862301a352dac4f4620a/start"
|
71
71
|
body:
|
72
72
|
encoding: UTF-8
|
73
73
|
string: "{}"
|
74
74
|
headers:
|
75
75
|
User-Agent:
|
76
|
-
- Swipely/Docker-API 1.
|
76
|
+
- Swipely/Docker-API 1.21.4
|
77
77
|
Content-Type:
|
78
78
|
- application/json
|
79
79
|
response:
|
@@ -82,12 +82,12 @@ http_interactions:
|
|
82
82
|
message:
|
83
83
|
headers:
|
84
84
|
Date:
|
85
|
-
-
|
85
|
+
- Fri, 05 Jun 2015 23:25:49 GMT
|
86
86
|
body:
|
87
87
|
encoding: UTF-8
|
88
88
|
string: ''
|
89
89
|
http_version:
|
90
|
-
recorded_at:
|
90
|
+
recorded_at: Fri, 05 Jun 2015 23:25:49 GMT
|
91
91
|
- request:
|
92
92
|
method: get
|
93
93
|
uri: "<DOCKER_HOST>/v1.16/containers/log-test/json"
|
@@ -96,7 +96,7 @@ http_interactions:
|
|
96
96
|
string: ''
|
97
97
|
headers:
|
98
98
|
User-Agent:
|
99
|
-
- Swipely/Docker-API 1.
|
99
|
+
- Swipely/Docker-API 1.21.4
|
100
100
|
Content-Type:
|
101
101
|
- text/plain
|
102
102
|
response:
|
@@ -107,22 +107,22 @@ http_interactions:
|
|
107
107
|
Content-Type:
|
108
108
|
- application/json
|
109
109
|
Date:
|
110
|
-
-
|
110
|
+
- Fri, 05 Jun 2015 23:25:49 GMT
|
111
111
|
body:
|
112
112
|
encoding: UTF-8
|
113
113
|
string: |
|
114
|
-
{"AppArmorProfile":"","Args":[],"Config":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":["/run.sh"],"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":null,"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"ExposedPorts":null,"Hostname":"
|
114
|
+
{"AppArmorProfile":"","Args":[],"Config":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":["/run.sh"],"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":null,"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"ExposedPorts":null,"Hostname":"17d9be098677","Image":"bf0f8a45f956","Labels":{},"MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":null,"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Created":"2015-06-05T23:25:49.464332873Z","Driver":"aufs","ExecDriver":"native-0.2","ExecIDs":null,"HostConfig":{"Binds":null,"CapAdd":null,"CapDrop":null,"CgroupParent":"","ContainerIDFile":"","CpuShares":0,"CpusetCpus":"","Devices":null,"Dns":null,"DnsSearch":null,"ExtraHosts":null,"IpcMode":"","Links":null,"LogConfig":{"Config":null,"Type":"json-file"},"LxcConf":null,"Memory":0,"MemorySwap":0,"NetworkMode":"","PidMode":"","PortBindings":null,"Privileged":false,"PublishAllPorts":false,"ReadonlyRootfs":false,"RestartPolicy":{"MaximumRetryCount":0,"Name":""},"SecurityOpt":null,"Ulimits":null,"VolumesFrom":null},"HostnamePath":"/mnt/sda1/var/lib/docker/containers/17d9be098677898d423b5b8157ed68ef0c96f4370cc8862301a352dac4f4620a/hostname","HostsPath":"/mnt/sda1/var/lib/docker/containers/17d9be098677898d423b5b8157ed68ef0c96f4370cc8862301a352dac4f4620a/hosts","Id":"17d9be098677898d423b5b8157ed68ef0c96f4370cc8862301a352dac4f4620a","Image":"bf0f8a45f956aa470ab3c916c83925fdcffce23d37b1a9e33998561ce54ca030","LogPath":"/mnt/sda1/var/lib/docker/containers/17d9be098677898d423b5b8157ed68ef0c96f4370cc8862301a352dac4f4620a/17d9be098677898d423b5b8157ed68ef0c96f4370cc8862301a352dac4f4620a-json.log","MountLabel":"","Name":"/log-test","NetworkSettings":{"Bridge":"docker0","Gateway":"172.17.42.1","GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"IPAddress":"172.17.1.74","IPPrefixLen":16,"IPv6Gateway":"","LinkLocalIPv6Address":"fe80::42:acff:fe11:14a","LinkLocalIPv6PrefixLen":64,"MacAddress":"02:42:ac:11:01:4a","PortMapping":null,"Ports":{}},"Path":"/run.sh","ProcessLabel":"","ResolvConfPath":"/mnt/sda1/var/lib/docker/containers/17d9be098677898d423b5b8157ed68ef0c96f4370cc8862301a352dac4f4620a/resolv.conf","RestartCount":0,"State":{"Dead":false,"Error":"","ExitCode":0,"FinishedAt":"0001-01-01T00:00:00Z","OOMKilled":false,"Paused":false,"Pid":23537,"Restarting":false,"Running":true,"StartedAt":"2015-06-05T23:25:49.874006206Z"},"Volumes":{},"VolumesRW":{}}
|
115
115
|
http_version:
|
116
|
-
recorded_at:
|
116
|
+
recorded_at: Fri, 05 Jun 2015 23:25:49 GMT
|
117
117
|
- request:
|
118
118
|
method: post
|
119
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
119
|
+
uri: "<DOCKER_HOST>/v1.16/containers/17d9be098677898d423b5b8157ed68ef0c96f4370cc8862301a352dac4f4620a/kill"
|
120
120
|
body:
|
121
121
|
encoding: US-ASCII
|
122
122
|
string: ''
|
123
123
|
headers:
|
124
124
|
User-Agent:
|
125
|
-
- Swipely/Docker-API 1.
|
125
|
+
- Swipely/Docker-API 1.21.4
|
126
126
|
Content-Type:
|
127
127
|
- text/plain
|
128
128
|
response:
|
@@ -131,21 +131,21 @@ http_interactions:
|
|
131
131
|
message:
|
132
132
|
headers:
|
133
133
|
Date:
|
134
|
-
-
|
134
|
+
- Fri, 05 Jun 2015 23:25:50 GMT
|
135
135
|
body:
|
136
136
|
encoding: UTF-8
|
137
137
|
string: ''
|
138
138
|
http_version:
|
139
|
-
recorded_at:
|
139
|
+
recorded_at: Fri, 05 Jun 2015 23:25:50 GMT
|
140
140
|
- request:
|
141
141
|
method: delete
|
142
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
142
|
+
uri: "<DOCKER_HOST>/v1.16/containers/17d9be098677898d423b5b8157ed68ef0c96f4370cc8862301a352dac4f4620a"
|
143
143
|
body:
|
144
144
|
encoding: US-ASCII
|
145
145
|
string: ''
|
146
146
|
headers:
|
147
147
|
User-Agent:
|
148
|
-
- Swipely/Docker-API 1.
|
148
|
+
- Swipely/Docker-API 1.21.4
|
149
149
|
Content-Type:
|
150
150
|
- text/plain
|
151
151
|
response:
|
@@ -154,10 +154,10 @@ http_interactions:
|
|
154
154
|
message:
|
155
155
|
headers:
|
156
156
|
Date:
|
157
|
-
-
|
157
|
+
- Fri, 05 Jun 2015 23:25:50 GMT
|
158
158
|
body:
|
159
159
|
encoding: UTF-8
|
160
160
|
string: ''
|
161
161
|
http_version:
|
162
|
-
recorded_at:
|
162
|
+
recorded_at: Fri, 05 Jun 2015 23:25:50 GMT
|
163
163
|
recorded_with: VCR 2.9.3
|
data/spec/vcr/Bigrig_DockerAdapter/_pull/given_a_block_to_capture_output/should_capture_output.yml
CHANGED
@@ -8,7 +8,7 @@ http_interactions:
|
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- Swipely/Docker-API 1.
|
11
|
+
- Swipely/Docker-API 1.21.4
|
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
|
+
- Fri, 05 Jun 2015 23:26:21 GMT
|
23
23
|
body:
|
24
24
|
encoding: UTF-8
|
25
25
|
string: "{\"status\":\"Pulling repository hawknewton/true\"}\r\n{\"status\":\"Pulling
|
@@ -32,7 +32,7 @@ http_interactions:
|
|
32
32
|
complete\",\"progressDetail\":{},\"id\":\"5fbce35eb337\"}{\"status\":\"Status:
|
33
33
|
Image is up to date for hawknewton/true\"}\r\n"
|
34
34
|
http_version:
|
35
|
-
recorded_at:
|
35
|
+
recorded_at: Fri, 05 Jun 2015 23:26:23 GMT
|
36
36
|
- request:
|
37
37
|
method: get
|
38
38
|
uri: "<DOCKER_HOST>/v1.16/images/5fbce35eb337/json"
|
@@ -41,7 +41,7 @@ http_interactions:
|
|
41
41
|
string: ''
|
42
42
|
headers:
|
43
43
|
User-Agent:
|
44
|
-
- Swipely/Docker-API 1.
|
44
|
+
- Swipely/Docker-API 1.21.4
|
45
45
|
Content-Type:
|
46
46
|
- text/plain
|
47
47
|
response:
|
@@ -52,13 +52,13 @@ http_interactions:
|
|
52
52
|
Content-Type:
|
53
53
|
- application/json
|
54
54
|
Date:
|
55
|
-
-
|
55
|
+
- Fri, 05 Jun 2015 23:26:23 GMT
|
56
56
|
Content-Length:
|
57
|
-
- '
|
57
|
+
- '1507'
|
58
58
|
body:
|
59
59
|
encoding: UTF-8
|
60
60
|
string: |
|
61
|
-
{"Architecture":"amd64","Author":"","Comment":"","Config":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":["/true"],"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":[],"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"ExposedPorts":null,"Hostname":"5a0d2e5f7af6","Image":"c0d55928342254f4d19858c0b9ef3991e22ee7d5c2e8f4a0239a398e4b4e657f","MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":[],"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Container":"cb0575974a6a573010bf8f4fa1ca6ce5ac4760b880c30db72ffe47a4c62849c0","ContainerConfig":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":["/bin/sh","-c","#(nop) CMD [/true]"],"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":[],"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"ExposedPorts":null,"Hostname":"5a0d2e5f7af6","Image":"c0d55928342254f4d19858c0b9ef3991e22ee7d5c2e8f4a0239a398e4b4e657f","MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":[],"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Created":"2015-01-10T13:42:58.118276832Z","DockerVersion":"1.3.0","Id":"5fbce35eb33780adf252ee2f87b7156660fdb5c7ca54a0fb4e262a87447cceeb","Os":"linux","Parent":"c0d55928342254f4d19858c0b9ef3991e22ee7d5c2e8f4a0239a398e4b4e657f","Size":0,"VirtualSize":125}
|
61
|
+
{"Architecture":"amd64","Author":"","Comment":"","Config":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":["/true"],"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":[],"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"ExposedPorts":null,"Hostname":"5a0d2e5f7af6","Image":"c0d55928342254f4d19858c0b9ef3991e22ee7d5c2e8f4a0239a398e4b4e657f","Labels":null,"MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":[],"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Container":"cb0575974a6a573010bf8f4fa1ca6ce5ac4760b880c30db72ffe47a4c62849c0","ContainerConfig":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":["/bin/sh","-c","#(nop) CMD [/true]"],"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":[],"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"ExposedPorts":null,"Hostname":"5a0d2e5f7af6","Image":"c0d55928342254f4d19858c0b9ef3991e22ee7d5c2e8f4a0239a398e4b4e657f","Labels":null,"MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":[],"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Created":"2015-01-10T13:42:58.118276832Z","DockerVersion":"1.3.0","Id":"5fbce35eb33780adf252ee2f87b7156660fdb5c7ca54a0fb4e262a87447cceeb","Os":"linux","Parent":"c0d55928342254f4d19858c0b9ef3991e22ee7d5c2e8f4a0239a398e4b4e657f","Size":0,"VirtualSize":125}
|
62
62
|
http_version:
|
63
|
-
recorded_at:
|
63
|
+
recorded_at: Fri, 05 Jun 2015 23:26:23 GMT
|
64
64
|
recorded_with: VCR 2.9.3
|
@@ -8,7 +8,7 @@ http_interactions:
|
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- Swipely/Docker-API 1.
|
11
|
+
- Swipely/Docker-API 1.21.4
|
12
12
|
Content-Type:
|
13
13
|
- text/plain
|
14
14
|
response:
|
@@ -19,12 +19,12 @@ http_interactions:
|
|
19
19
|
Content-Type:
|
20
20
|
- application/json
|
21
21
|
Date:
|
22
|
-
-
|
22
|
+
- Fri, 05 Jun 2015 23:26:18 GMT
|
23
23
|
body:
|
24
24
|
encoding: UTF-8
|
25
25
|
string: "{\"status\":\"Pulling repository hawknewton/doesnotexist\"}\r\n{\"errorDetail\":{\"message\":\"Error:
|
26
26
|
image hawknewton/doesnotexist: not found\"},\"error\":\"Error: image hawknewton/doesnotexist:
|
27
27
|
not found\"}\r\n"
|
28
28
|
http_version:
|
29
|
-
recorded_at:
|
29
|
+
recorded_at: Fri, 05 Jun 2015 23:26:19 GMT
|
30
30
|
recorded_with: VCR 2.9.3
|
@@ -8,7 +8,7 @@ http_interactions:
|
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- Swipely/Docker-API 1.
|
11
|
+
- Swipely/Docker-API 1.21.4
|
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
|
+
- Fri, 05 Jun 2015 23:26:14 GMT
|
23
23
|
body:
|
24
24
|
encoding: UTF-8
|
25
25
|
string: "{\"status\":\"Pulling repository hawknewton/true\"}\r\n{\"status\":\"Pulling
|
@@ -32,7 +32,7 @@ http_interactions:
|
|
32
32
|
complete\",\"progressDetail\":{},\"id\":\"5fbce35eb337\"}{\"status\":\"Status:
|
33
33
|
Image is up to date for hawknewton/true:latest\"}\r\n"
|
34
34
|
http_version:
|
35
|
-
recorded_at:
|
35
|
+
recorded_at: Fri, 05 Jun 2015 23:26:16 GMT
|
36
36
|
- request:
|
37
37
|
method: get
|
38
38
|
uri: "<DOCKER_HOST>/v1.16/images/5fbce35eb337/json"
|
@@ -41,7 +41,7 @@ http_interactions:
|
|
41
41
|
string: ''
|
42
42
|
headers:
|
43
43
|
User-Agent:
|
44
|
-
- Swipely/Docker-API 1.
|
44
|
+
- Swipely/Docker-API 1.21.4
|
45
45
|
Content-Type:
|
46
46
|
- text/plain
|
47
47
|
response:
|
@@ -52,15 +52,15 @@ http_interactions:
|
|
52
52
|
Content-Type:
|
53
53
|
- application/json
|
54
54
|
Date:
|
55
|
-
-
|
55
|
+
- Fri, 05 Jun 2015 23:26:16 GMT
|
56
56
|
Content-Length:
|
57
|
-
- '
|
57
|
+
- '1507'
|
58
58
|
body:
|
59
59
|
encoding: UTF-8
|
60
60
|
string: |
|
61
|
-
{"Architecture":"amd64","Author":"","Comment":"","Config":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":["/true"],"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":[],"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"ExposedPorts":null,"Hostname":"5a0d2e5f7af6","Image":"c0d55928342254f4d19858c0b9ef3991e22ee7d5c2e8f4a0239a398e4b4e657f","MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":[],"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Container":"cb0575974a6a573010bf8f4fa1ca6ce5ac4760b880c30db72ffe47a4c62849c0","ContainerConfig":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":["/bin/sh","-c","#(nop) CMD [/true]"],"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":[],"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"ExposedPorts":null,"Hostname":"5a0d2e5f7af6","Image":"c0d55928342254f4d19858c0b9ef3991e22ee7d5c2e8f4a0239a398e4b4e657f","MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":[],"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Created":"2015-01-10T13:42:58.118276832Z","DockerVersion":"1.3.0","Id":"5fbce35eb33780adf252ee2f87b7156660fdb5c7ca54a0fb4e262a87447cceeb","Os":"linux","Parent":"c0d55928342254f4d19858c0b9ef3991e22ee7d5c2e8f4a0239a398e4b4e657f","Size":0,"VirtualSize":125}
|
61
|
+
{"Architecture":"amd64","Author":"","Comment":"","Config":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":["/true"],"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":[],"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"ExposedPorts":null,"Hostname":"5a0d2e5f7af6","Image":"c0d55928342254f4d19858c0b9ef3991e22ee7d5c2e8f4a0239a398e4b4e657f","Labels":null,"MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":[],"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Container":"cb0575974a6a573010bf8f4fa1ca6ce5ac4760b880c30db72ffe47a4c62849c0","ContainerConfig":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":["/bin/sh","-c","#(nop) CMD [/true]"],"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":[],"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"ExposedPorts":null,"Hostname":"5a0d2e5f7af6","Image":"c0d55928342254f4d19858c0b9ef3991e22ee7d5c2e8f4a0239a398e4b4e657f","Labels":null,"MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":[],"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Created":"2015-01-10T13:42:58.118276832Z","DockerVersion":"1.3.0","Id":"5fbce35eb33780adf252ee2f87b7156660fdb5c7ca54a0fb4e262a87447cceeb","Os":"linux","Parent":"c0d55928342254f4d19858c0b9ef3991e22ee7d5c2e8f4a0239a398e4b4e657f","Size":0,"VirtualSize":125}
|
62
62
|
http_version:
|
63
|
-
recorded_at:
|
63
|
+
recorded_at: Fri, 05 Jun 2015 23:26:16 GMT
|
64
64
|
- request:
|
65
65
|
method: get
|
66
66
|
uri: "<DOCKER_HOST>/v1.16/images/hawknewton/true:latest/json"
|
@@ -69,7 +69,7 @@ http_interactions:
|
|
69
69
|
string: ''
|
70
70
|
headers:
|
71
71
|
User-Agent:
|
72
|
-
- Swipely/Docker-API 1.
|
72
|
+
- Swipely/Docker-API 1.21.4
|
73
73
|
Content-Type:
|
74
74
|
- text/plain
|
75
75
|
response:
|
@@ -80,13 +80,13 @@ http_interactions:
|
|
80
80
|
Content-Type:
|
81
81
|
- application/json
|
82
82
|
Date:
|
83
|
-
-
|
83
|
+
- Fri, 05 Jun 2015 23:26:16 GMT
|
84
84
|
Content-Length:
|
85
|
-
- '
|
85
|
+
- '1507'
|
86
86
|
body:
|
87
87
|
encoding: UTF-8
|
88
88
|
string: |
|
89
|
-
{"Architecture":"amd64","Author":"","Comment":"","Config":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":["/true"],"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":[],"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"ExposedPorts":null,"Hostname":"5a0d2e5f7af6","Image":"c0d55928342254f4d19858c0b9ef3991e22ee7d5c2e8f4a0239a398e4b4e657f","MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":[],"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Container":"cb0575974a6a573010bf8f4fa1ca6ce5ac4760b880c30db72ffe47a4c62849c0","ContainerConfig":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":["/bin/sh","-c","#(nop) CMD [/true]"],"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":[],"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"ExposedPorts":null,"Hostname":"5a0d2e5f7af6","Image":"c0d55928342254f4d19858c0b9ef3991e22ee7d5c2e8f4a0239a398e4b4e657f","MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":[],"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Created":"2015-01-10T13:42:58.118276832Z","DockerVersion":"1.3.0","Id":"5fbce35eb33780adf252ee2f87b7156660fdb5c7ca54a0fb4e262a87447cceeb","Os":"linux","Parent":"c0d55928342254f4d19858c0b9ef3991e22ee7d5c2e8f4a0239a398e4b4e657f","Size":0,"VirtualSize":125}
|
89
|
+
{"Architecture":"amd64","Author":"","Comment":"","Config":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":["/true"],"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":[],"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"ExposedPorts":null,"Hostname":"5a0d2e5f7af6","Image":"c0d55928342254f4d19858c0b9ef3991e22ee7d5c2e8f4a0239a398e4b4e657f","Labels":null,"MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":[],"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Container":"cb0575974a6a573010bf8f4fa1ca6ce5ac4760b880c30db72ffe47a4c62849c0","ContainerConfig":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":["/bin/sh","-c","#(nop) CMD [/true]"],"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":[],"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"ExposedPorts":null,"Hostname":"5a0d2e5f7af6","Image":"c0d55928342254f4d19858c0b9ef3991e22ee7d5c2e8f4a0239a398e4b4e657f","Labels":null,"MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":[],"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Created":"2015-01-10T13:42:58.118276832Z","DockerVersion":"1.3.0","Id":"5fbce35eb33780adf252ee2f87b7156660fdb5c7ca54a0fb4e262a87447cceeb","Os":"linux","Parent":"c0d55928342254f4d19858c0b9ef3991e22ee7d5c2e8f4a0239a398e4b4e657f","Size":0,"VirtualSize":125}
|
90
90
|
http_version:
|
91
|
-
recorded_at:
|
91
|
+
recorded_at: Fri, 05 Jun 2015 23:26:16 GMT
|
92
92
|
recorded_with: VCR 2.9.3
|