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,22 +19,22 @@ http_interactions:
|
|
19
19
|
Content-Type:
|
20
20
|
- application/json
|
21
21
|
Date:
|
22
|
-
-
|
22
|
+
- Fri, 05 Jun 2015 23:27:27 GMT
|
23
23
|
body:
|
24
24
|
encoding: UTF-8
|
25
25
|
string: |
|
26
|
-
{"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":"
|
26
|
+
{"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":"b16259f1e1bc","Image":"b9c5be3a918d80b0d898ed8eca3fc76f75c482b531238e539cb00f75bb4e12d2","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:27:26.364346748Z","Driver":"aufs","ExecDriver":"native-0.2","ExecIDs":["1ca618a5b96ebfbe1cba22d0239589f437883cafa2af96324b23ebb862b5662f"],"HostConfig":{"Binds":[],"CapAdd":null,"CapDrop":null,"CgroupParent":"","ContainerIDFile":"","CpuShares":0,"CpusetCpus":"","Devices":null,"Dns":null,"DnsSearch":null,"ExtraHosts":[],"IpcMode":"","Links":null,"LogConfig":{"Config":null,"Type":"json-file"},"LxcConf":null,"Memory":0,"MemorySwap":0,"NetworkMode":"","PidMode":"","PortBindings":{},"Privileged":false,"PublishAllPorts":false,"ReadonlyRootfs":false,"RestartPolicy":{"MaximumRetryCount":0,"Name":""},"SecurityOpt":null,"Ulimits":null,"VolumesFrom":[]},"HostnamePath":"/mnt/sda1/var/lib/docker/containers/b16259f1e1bc8641b790aa9c78c995953fa84a4a0f4e154e848a90dd1c10413b/hostname","HostsPath":"/mnt/sda1/var/lib/docker/containers/b16259f1e1bc8641b790aa9c78c995953fa84a4a0f4e154e848a90dd1c10413b/hosts","Id":"b16259f1e1bc8641b790aa9c78c995953fa84a4a0f4e154e848a90dd1c10413b","Image":"b9c5be3a918d80b0d898ed8eca3fc76f75c482b531238e539cb00f75bb4e12d2","LogPath":"/mnt/sda1/var/lib/docker/containers/b16259f1e1bc8641b790aa9c78c995953fa84a4a0f4e154e848a90dd1c10413b/b16259f1e1bc8641b790aa9c78c995953fa84a4a0f4e154e848a90dd1c10413b-json.log","MountLabel":"","Name":"/single-test","NetworkSettings":{"Bridge":"docker0","Gateway":"172.17.42.1","GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"IPAddress":"172.17.1.104","IPPrefixLen":16,"IPv6Gateway":"","LinkLocalIPv6Address":"fe80::42:acff:fe11:168","LinkLocalIPv6PrefixLen":64,"MacAddress":"02:42:ac:11:01:68","PortMapping":null,"Ports":{"80/tcp":null}},"Path":"/bin/sh","ProcessLabel":"","ResolvConfPath":"/mnt/sda1/var/lib/docker/containers/b16259f1e1bc8641b790aa9c78c995953fa84a4a0f4e154e848a90dd1c10413b/resolv.conf","RestartCount":0,"State":{"Dead":false,"Error":"","ExitCode":0,"FinishedAt":"0001-01-01T00:00:00Z","OOMKilled":false,"Paused":false,"Pid":24200,"Restarting":false,"Running":true,"StartedAt":"2015-06-05T23:27:26.764145588Z"},"Volumes":{},"VolumesRW":{}}
|
27
27
|
http_version:
|
28
|
-
recorded_at:
|
28
|
+
recorded_at: Fri, 05 Jun 2015 23:27:27 GMT
|
29
29
|
- request:
|
30
30
|
method: get
|
31
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
31
|
+
uri: "<DOCKER_HOST>/v1.16/containers/b16259f1e1bc8641b790aa9c78c995953fa84a4a0f4e154e848a90dd1c10413b/json"
|
32
32
|
body:
|
33
33
|
encoding: US-ASCII
|
34
34
|
string: ''
|
35
35
|
headers:
|
36
36
|
User-Agent:
|
37
|
-
- Swipely/Docker-API 1.
|
37
|
+
- Swipely/Docker-API 1.21.4
|
38
38
|
Content-Type:
|
39
39
|
- text/plain
|
40
40
|
response:
|
@@ -45,22 +45,22 @@ http_interactions:
|
|
45
45
|
Content-Type:
|
46
46
|
- application/json
|
47
47
|
Date:
|
48
|
-
-
|
48
|
+
- Fri, 05 Jun 2015 23:27:27 GMT
|
49
49
|
body:
|
50
50
|
encoding: UTF-8
|
51
51
|
string: |
|
52
|
-
{"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":"
|
52
|
+
{"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":"b16259f1e1bc","Image":"b9c5be3a918d80b0d898ed8eca3fc76f75c482b531238e539cb00f75bb4e12d2","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:27:26.364346748Z","Driver":"aufs","ExecDriver":"native-0.2","ExecIDs":["1ca618a5b96ebfbe1cba22d0239589f437883cafa2af96324b23ebb862b5662f"],"HostConfig":{"Binds":[],"CapAdd":null,"CapDrop":null,"CgroupParent":"","ContainerIDFile":"","CpuShares":0,"CpusetCpus":"","Devices":null,"Dns":null,"DnsSearch":null,"ExtraHosts":[],"IpcMode":"","Links":null,"LogConfig":{"Config":null,"Type":"json-file"},"LxcConf":null,"Memory":0,"MemorySwap":0,"NetworkMode":"","PidMode":"","PortBindings":{},"Privileged":false,"PublishAllPorts":false,"ReadonlyRootfs":false,"RestartPolicy":{"MaximumRetryCount":0,"Name":""},"SecurityOpt":null,"Ulimits":null,"VolumesFrom":[]},"HostnamePath":"/mnt/sda1/var/lib/docker/containers/b16259f1e1bc8641b790aa9c78c995953fa84a4a0f4e154e848a90dd1c10413b/hostname","HostsPath":"/mnt/sda1/var/lib/docker/containers/b16259f1e1bc8641b790aa9c78c995953fa84a4a0f4e154e848a90dd1c10413b/hosts","Id":"b16259f1e1bc8641b790aa9c78c995953fa84a4a0f4e154e848a90dd1c10413b","Image":"b9c5be3a918d80b0d898ed8eca3fc76f75c482b531238e539cb00f75bb4e12d2","LogPath":"/mnt/sda1/var/lib/docker/containers/b16259f1e1bc8641b790aa9c78c995953fa84a4a0f4e154e848a90dd1c10413b/b16259f1e1bc8641b790aa9c78c995953fa84a4a0f4e154e848a90dd1c10413b-json.log","MountLabel":"","Name":"/single-test","NetworkSettings":{"Bridge":"docker0","Gateway":"172.17.42.1","GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"IPAddress":"172.17.1.104","IPPrefixLen":16,"IPv6Gateway":"","LinkLocalIPv6Address":"fe80::42:acff:fe11:168","LinkLocalIPv6PrefixLen":64,"MacAddress":"02:42:ac:11:01:68","PortMapping":null,"Ports":{"80/tcp":null}},"Path":"/bin/sh","ProcessLabel":"","ResolvConfPath":"/mnt/sda1/var/lib/docker/containers/b16259f1e1bc8641b790aa9c78c995953fa84a4a0f4e154e848a90dd1c10413b/resolv.conf","RestartCount":0,"State":{"Dead":false,"Error":"","ExitCode":0,"FinishedAt":"0001-01-01T00:00:00Z","OOMKilled":false,"Paused":false,"Pid":24200,"Restarting":false,"Running":true,"StartedAt":"2015-06-05T23:27:26.764145588Z"},"Volumes":{},"VolumesRW":{}}
|
53
53
|
http_version:
|
54
|
-
recorded_at:
|
54
|
+
recorded_at: Fri, 05 Jun 2015 23:27:27 GMT
|
55
55
|
- request:
|
56
56
|
method: post
|
57
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
57
|
+
uri: "<DOCKER_HOST>/v1.16/containers/b16259f1e1bc8641b790aa9c78c995953fa84a4a0f4e154e848a90dd1c10413b/kill"
|
58
58
|
body:
|
59
59
|
encoding: US-ASCII
|
60
60
|
string: ''
|
61
61
|
headers:
|
62
62
|
User-Agent:
|
63
|
-
- Swipely/Docker-API 1.
|
63
|
+
- Swipely/Docker-API 1.21.4
|
64
64
|
Content-Type:
|
65
65
|
- text/plain
|
66
66
|
response:
|
@@ -69,21 +69,21 @@ http_interactions:
|
|
69
69
|
message:
|
70
70
|
headers:
|
71
71
|
Date:
|
72
|
-
-
|
72
|
+
- Fri, 05 Jun 2015 23:27:27 GMT
|
73
73
|
body:
|
74
74
|
encoding: UTF-8
|
75
75
|
string: ''
|
76
76
|
http_version:
|
77
|
-
recorded_at:
|
77
|
+
recorded_at: Fri, 05 Jun 2015 23:27:27 GMT
|
78
78
|
- request:
|
79
79
|
method: delete
|
80
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
80
|
+
uri: "<DOCKER_HOST>/v1.16/containers/b16259f1e1bc8641b790aa9c78c995953fa84a4a0f4e154e848a90dd1c10413b"
|
81
81
|
body:
|
82
82
|
encoding: US-ASCII
|
83
83
|
string: ''
|
84
84
|
headers:
|
85
85
|
User-Agent:
|
86
|
-
- Swipely/Docker-API 1.
|
86
|
+
- Swipely/Docker-API 1.21.4
|
87
87
|
Content-Type:
|
88
88
|
- text/plain
|
89
89
|
response:
|
@@ -92,10 +92,10 @@ http_interactions:
|
|
92
92
|
message:
|
93
93
|
headers:
|
94
94
|
Date:
|
95
|
-
-
|
95
|
+
- Fri, 05 Jun 2015 23:27:27 GMT
|
96
96
|
body:
|
97
97
|
encoding: UTF-8
|
98
98
|
string: ''
|
99
99
|
http_version:
|
100
|
-
recorded_at:
|
100
|
+
recorded_at: Fri, 05 Jun 2015 23:27:27 GMT
|
101
101
|
recorded_with: VCR 2.9.3
|
@@ -0,0 +1,180 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: "<DOCKER_HOST>/v1.16/containers/wait_for-test/json"
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- Swipely/Docker-API 1.21.4
|
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
|
+
- Fri, 05 Jun 2015 23:27:41 GMT
|
23
|
+
body:
|
24
|
+
encoding: UTF-8
|
25
|
+
string: |
|
26
|
+
{"AppArmorProfile":"","Args":["-c","tail -f /dev/null"],"Config":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":["/bin/sh","-c","tail -f /dev/null"],"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":null,"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"ExposedPorts":null,"Hostname":"6f78527a5457","Image":"e54ee11fcbab","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:27:38.545780178Z","Driver":"aufs","ExecDriver":"native-0.2","ExecIDs":["d3edd456e26e868cd828d5dd3265d345230283bce3b2167ba157ab2fb457be54","2bdbc569852c80f0cb64ab3ae859ce0f9ebbb090cc2f2a737f128d4991f95a83"],"HostConfig":{"Binds":[],"CapAdd":null,"CapDrop":null,"CgroupParent":"","ContainerIDFile":"","CpuShares":0,"CpusetCpus":"","Devices":null,"Dns":null,"DnsSearch":null,"ExtraHosts":[],"IpcMode":"","Links":null,"LogConfig":{"Config":null,"Type":"json-file"},"LxcConf":null,"Memory":0,"MemorySwap":0,"NetworkMode":"","PidMode":"","PortBindings":{},"Privileged":false,"PublishAllPorts":false,"ReadonlyRootfs":false,"RestartPolicy":{"MaximumRetryCount":0,"Name":""},"SecurityOpt":null,"Ulimits":null,"VolumesFrom":[]},"HostnamePath":"/mnt/sda1/var/lib/docker/containers/6f78527a5457ef29c679b06d00d3025cc65d3f11a2650bfb6e6872ed80c3dc60/hostname","HostsPath":"/mnt/sda1/var/lib/docker/containers/6f78527a5457ef29c679b06d00d3025cc65d3f11a2650bfb6e6872ed80c3dc60/hosts","Id":"6f78527a5457ef29c679b06d00d3025cc65d3f11a2650bfb6e6872ed80c3dc60","Image":"e54ee11fcbab3bfb1d590b51f016356c49af03ab95fcc7446d53592796c15847","LogPath":"/mnt/sda1/var/lib/docker/containers/6f78527a5457ef29c679b06d00d3025cc65d3f11a2650bfb6e6872ed80c3dc60/6f78527a5457ef29c679b06d00d3025cc65d3f11a2650bfb6e6872ed80c3dc60-json.log","MountLabel":"","Name":"/wait_for-test","NetworkSettings":{"Bridge":"docker0","Gateway":"172.17.42.1","GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"IPAddress":"172.17.1.109","IPPrefixLen":16,"IPv6Gateway":"","LinkLocalIPv6Address":"fe80::42:acff:fe11:16d","LinkLocalIPv6PrefixLen":64,"MacAddress":"02:42:ac:11:01:6d","PortMapping":null,"Ports":{}},"Path":"/bin/sh","ProcessLabel":"","ResolvConfPath":"/mnt/sda1/var/lib/docker/containers/6f78527a5457ef29c679b06d00d3025cc65d3f11a2650bfb6e6872ed80c3dc60/resolv.conf","RestartCount":0,"State":{"Dead":false,"Error":"","ExitCode":0,"FinishedAt":"0001-01-01T00:00:00Z","OOMKilled":false,"Paused":false,"Pid":24340,"Restarting":false,"Running":true,"StartedAt":"2015-06-05T23:27:38.944831594Z"},"Volumes":{},"VolumesRW":{}}
|
27
|
+
http_version:
|
28
|
+
recorded_at: Fri, 05 Jun 2015 23:27:41 GMT
|
29
|
+
- request:
|
30
|
+
method: post
|
31
|
+
uri: "<DOCKER_HOST>/v1.16/containers/6f78527a5457ef29c679b06d00d3025cc65d3f11a2650bfb6e6872ed80c3dc60/exec"
|
32
|
+
body:
|
33
|
+
encoding: UTF-8
|
34
|
+
string: '{"AttachStdin":false,"AttachStdout":true,"AttachStderr":true,"Tty":false,"Cmd":["cat","/tmp/result.txt"]}'
|
35
|
+
headers:
|
36
|
+
User-Agent:
|
37
|
+
- Swipely/Docker-API 1.21.4
|
38
|
+
Content-Type:
|
39
|
+
- application/json
|
40
|
+
response:
|
41
|
+
status:
|
42
|
+
code: 201
|
43
|
+
message:
|
44
|
+
headers:
|
45
|
+
Content-Type:
|
46
|
+
- application/json
|
47
|
+
Date:
|
48
|
+
- Fri, 05 Jun 2015 23:27:41 GMT
|
49
|
+
Content-Length:
|
50
|
+
- '74'
|
51
|
+
body:
|
52
|
+
encoding: UTF-8
|
53
|
+
string: |
|
54
|
+
{"Id":"bd14f2a673854ca5491a312c9d88f406350b4f9c6565b85fb8a763e751b4aaea"}
|
55
|
+
http_version:
|
56
|
+
recorded_at: Fri, 05 Jun 2015 23:27:41 GMT
|
57
|
+
- request:
|
58
|
+
method: post
|
59
|
+
uri: "<DOCKER_HOST>/v1.16/exec/bd14f2a673854ca5491a312c9d88f406350b4f9c6565b85fb8a763e751b4aaea/start"
|
60
|
+
body:
|
61
|
+
encoding: UTF-8
|
62
|
+
string: '{"Tty":false,"Detach":false}'
|
63
|
+
headers:
|
64
|
+
User-Agent:
|
65
|
+
- Swipely/Docker-API 1.21.4
|
66
|
+
Content-Type:
|
67
|
+
- application/json
|
68
|
+
response:
|
69
|
+
status:
|
70
|
+
code: 200
|
71
|
+
message:
|
72
|
+
headers:
|
73
|
+
Content-Type:
|
74
|
+
- application/vnd.docker.raw-stream
|
75
|
+
body:
|
76
|
+
encoding: UTF-8
|
77
|
+
string: !binary |-
|
78
|
+
AQAAAAAAAAIyCg==
|
79
|
+
http_version:
|
80
|
+
recorded_at: Fri, 05 Jun 2015 23:27:41 GMT
|
81
|
+
- request:
|
82
|
+
method: get
|
83
|
+
uri: "<DOCKER_HOST>/v1.16/exec/bd14f2a673854ca5491a312c9d88f406350b4f9c6565b85fb8a763e751b4aaea/json"
|
84
|
+
body:
|
85
|
+
encoding: US-ASCII
|
86
|
+
string: ''
|
87
|
+
headers:
|
88
|
+
User-Agent:
|
89
|
+
- Swipely/Docker-API 1.21.4
|
90
|
+
Content-Type:
|
91
|
+
- text/plain
|
92
|
+
response:
|
93
|
+
status:
|
94
|
+
code: 200
|
95
|
+
message:
|
96
|
+
headers:
|
97
|
+
Content-Type:
|
98
|
+
- application/json
|
99
|
+
Date:
|
100
|
+
- Fri, 05 Jun 2015 23:27:41 GMT
|
101
|
+
body:
|
102
|
+
encoding: UTF-8
|
103
|
+
string: '{"ID":"bd14f2a673854ca5491a312c9d88f406350b4f9c6565b85fb8a763e751b4aaea","Running":false,"ExitCode":0,"ProcessConfig":{"privileged":false,"user":"","tty":false,"entrypoint":"cat","arguments":["/tmp/result.txt"]},"OpenStdin":false,"OpenStderr":true,"OpenStdout":true,"Container":{"State":{"Running":true,"Paused":false,"Restarting":false,"OOMKilled":false,"Dead":false,"Pid":24340,"ExitCode":0,"Error":"","StartedAt":"2015-06-05T23:27:38.944831594Z","FinishedAt":"0001-01-01T00:00:00Z"},"ID":"6f78527a5457ef29c679b06d00d3025cc65d3f11a2650bfb6e6872ed80c3dc60","Created":"2015-06-05T23:27:38.545780178Z","Path":"/bin/sh","Args":["-c","tail
|
104
|
+
-f /dev/null"],"Config":{"Hostname":"6f78527a5457","Domainname":"","User":"","Memory":0,"MemorySwap":0,"CpuShares":0,"Cpuset":"","AttachStdin":false,"AttachStdout":false,"AttachStderr":false,"PortSpecs":null,"ExposedPorts":null,"Tty":false,"OpenStdin":false,"StdinOnce":false,"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"Cmd":["/bin/sh","-c","tail
|
105
|
+
-f /dev/null"],"Image":"e54ee11fcbab","Volumes":null,"WorkingDir":"","Entrypoint":null,"NetworkDisabled":false,"MacAddress":"","OnBuild":null,"Labels":{}},"Image":"e54ee11fcbab3bfb1d590b51f016356c49af03ab95fcc7446d53592796c15847","NetworkSettings":{"IPAddress":"172.17.1.109","IPPrefixLen":16,"MacAddress":"02:42:ac:11:01:6d","LinkLocalIPv6Address":"fe80::42:acff:fe11:16d","LinkLocalIPv6PrefixLen":64,"GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"Gateway":"172.17.42.1","IPv6Gateway":"","Bridge":"docker0","PortMapping":null,"Ports":{}},"ResolvConfPath":"/mnt/sda1/var/lib/docker/containers/6f78527a5457ef29c679b06d00d3025cc65d3f11a2650bfb6e6872ed80c3dc60/resolv.conf","HostnamePath":"/mnt/sda1/var/lib/docker/containers/6f78527a5457ef29c679b06d00d3025cc65d3f11a2650bfb6e6872ed80c3dc60/hostname","HostsPath":"/mnt/sda1/var/lib/docker/containers/6f78527a5457ef29c679b06d00d3025cc65d3f11a2650bfb6e6872ed80c3dc60/hosts","LogPath":"/mnt/sda1/var/lib/docker/containers/6f78527a5457ef29c679b06d00d3025cc65d3f11a2650bfb6e6872ed80c3dc60/6f78527a5457ef29c679b06d00d3025cc65d3f11a2650bfb6e6872ed80c3dc60-json.log","Name":"/wait_for-test","Driver":"aufs","ExecDriver":"native-0.2","MountLabel":"","ProcessLabel":"","AppArmorProfile":"","RestartCount":0,"UpdateDns":false,"Volumes":{},"VolumesRW":{},"AppliedVolumesFrom":null}}'
|
106
|
+
http_version:
|
107
|
+
recorded_at: Fri, 05 Jun 2015 23:27:41 GMT
|
108
|
+
- request:
|
109
|
+
method: get
|
110
|
+
uri: "<DOCKER_HOST>/v1.16/containers/wait_for-test/json"
|
111
|
+
body:
|
112
|
+
encoding: US-ASCII
|
113
|
+
string: ''
|
114
|
+
headers:
|
115
|
+
User-Agent:
|
116
|
+
- Swipely/Docker-API 1.21.4
|
117
|
+
Content-Type:
|
118
|
+
- text/plain
|
119
|
+
response:
|
120
|
+
status:
|
121
|
+
code: 200
|
122
|
+
message:
|
123
|
+
headers:
|
124
|
+
Content-Type:
|
125
|
+
- application/json
|
126
|
+
Date:
|
127
|
+
- Fri, 05 Jun 2015 23:27:41 GMT
|
128
|
+
body:
|
129
|
+
encoding: UTF-8
|
130
|
+
string: |
|
131
|
+
{"AppArmorProfile":"","Args":["-c","tail -f /dev/null"],"Config":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":["/bin/sh","-c","tail -f /dev/null"],"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":null,"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"ExposedPorts":null,"Hostname":"6f78527a5457","Image":"e54ee11fcbab","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:27:38.545780178Z","Driver":"aufs","ExecDriver":"native-0.2","ExecIDs":["d3edd456e26e868cd828d5dd3265d345230283bce3b2167ba157ab2fb457be54","2bdbc569852c80f0cb64ab3ae859ce0f9ebbb090cc2f2a737f128d4991f95a83","bd14f2a673854ca5491a312c9d88f406350b4f9c6565b85fb8a763e751b4aaea"],"HostConfig":{"Binds":[],"CapAdd":null,"CapDrop":null,"CgroupParent":"","ContainerIDFile":"","CpuShares":0,"CpusetCpus":"","Devices":null,"Dns":null,"DnsSearch":null,"ExtraHosts":[],"IpcMode":"","Links":null,"LogConfig":{"Config":null,"Type":"json-file"},"LxcConf":null,"Memory":0,"MemorySwap":0,"NetworkMode":"","PidMode":"","PortBindings":{},"Privileged":false,"PublishAllPorts":false,"ReadonlyRootfs":false,"RestartPolicy":{"MaximumRetryCount":0,"Name":""},"SecurityOpt":null,"Ulimits":null,"VolumesFrom":[]},"HostnamePath":"/mnt/sda1/var/lib/docker/containers/6f78527a5457ef29c679b06d00d3025cc65d3f11a2650bfb6e6872ed80c3dc60/hostname","HostsPath":"/mnt/sda1/var/lib/docker/containers/6f78527a5457ef29c679b06d00d3025cc65d3f11a2650bfb6e6872ed80c3dc60/hosts","Id":"6f78527a5457ef29c679b06d00d3025cc65d3f11a2650bfb6e6872ed80c3dc60","Image":"e54ee11fcbab3bfb1d590b51f016356c49af03ab95fcc7446d53592796c15847","LogPath":"/mnt/sda1/var/lib/docker/containers/6f78527a5457ef29c679b06d00d3025cc65d3f11a2650bfb6e6872ed80c3dc60/6f78527a5457ef29c679b06d00d3025cc65d3f11a2650bfb6e6872ed80c3dc60-json.log","MountLabel":"","Name":"/wait_for-test","NetworkSettings":{"Bridge":"docker0","Gateway":"172.17.42.1","GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"IPAddress":"172.17.1.109","IPPrefixLen":16,"IPv6Gateway":"","LinkLocalIPv6Address":"fe80::42:acff:fe11:16d","LinkLocalIPv6PrefixLen":64,"MacAddress":"02:42:ac:11:01:6d","PortMapping":null,"Ports":{}},"Path":"/bin/sh","ProcessLabel":"","ResolvConfPath":"/mnt/sda1/var/lib/docker/containers/6f78527a5457ef29c679b06d00d3025cc65d3f11a2650bfb6e6872ed80c3dc60/resolv.conf","RestartCount":0,"State":{"Dead":false,"Error":"","ExitCode":0,"FinishedAt":"0001-01-01T00:00:00Z","OOMKilled":false,"Paused":false,"Pid":24340,"Restarting":false,"Running":true,"StartedAt":"2015-06-05T23:27:38.944831594Z"},"Volumes":{},"VolumesRW":{}}
|
132
|
+
http_version:
|
133
|
+
recorded_at: Fri, 05 Jun 2015 23:27:41 GMT
|
134
|
+
- request:
|
135
|
+
method: post
|
136
|
+
uri: "<DOCKER_HOST>/v1.16/containers/6f78527a5457ef29c679b06d00d3025cc65d3f11a2650bfb6e6872ed80c3dc60/kill"
|
137
|
+
body:
|
138
|
+
encoding: US-ASCII
|
139
|
+
string: ''
|
140
|
+
headers:
|
141
|
+
User-Agent:
|
142
|
+
- Swipely/Docker-API 1.21.4
|
143
|
+
Content-Type:
|
144
|
+
- text/plain
|
145
|
+
response:
|
146
|
+
status:
|
147
|
+
code: 204
|
148
|
+
message:
|
149
|
+
headers:
|
150
|
+
Date:
|
151
|
+
- Fri, 05 Jun 2015 23:27:42 GMT
|
152
|
+
body:
|
153
|
+
encoding: UTF-8
|
154
|
+
string: ''
|
155
|
+
http_version:
|
156
|
+
recorded_at: Fri, 05 Jun 2015 23:27:42 GMT
|
157
|
+
- request:
|
158
|
+
method: delete
|
159
|
+
uri: "<DOCKER_HOST>/v1.16/containers/6f78527a5457ef29c679b06d00d3025cc65d3f11a2650bfb6e6872ed80c3dc60"
|
160
|
+
body:
|
161
|
+
encoding: US-ASCII
|
162
|
+
string: ''
|
163
|
+
headers:
|
164
|
+
User-Agent:
|
165
|
+
- Swipely/Docker-API 1.21.4
|
166
|
+
Content-Type:
|
167
|
+
- text/plain
|
168
|
+
response:
|
169
|
+
status:
|
170
|
+
code: 204
|
171
|
+
message:
|
172
|
+
headers:
|
173
|
+
Date:
|
174
|
+
- Fri, 05 Jun 2015 23:27:42 GMT
|
175
|
+
body:
|
176
|
+
encoding: UTF-8
|
177
|
+
string: ''
|
178
|
+
http_version:
|
179
|
+
recorded_at: Fri, 05 Jun 2015 23:27:42 GMT
|
180
|
+
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,22 +19,22 @@ http_interactions:
|
|
19
19
|
Content-Type:
|
20
20
|
- application/json
|
21
21
|
Date:
|
22
|
-
- Fri,
|
22
|
+
- Fri, 05 Jun 2015 23:27:47 GMT
|
23
23
|
body:
|
24
24
|
encoding: UTF-8
|
25
25
|
string: |
|
26
|
-
{"AppArmorProfile":"","Args":["-c","
|
26
|
+
{"AppArmorProfile":"","Args":["-c","tail -f /dev/null"],"Config":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":["/bin/sh","-c","tail -f /dev/null"],"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":null,"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"ExposedPorts":null,"Hostname":"fbe9e3c313f2","Image":"46023980cd78","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:27:44.086401997Z","Driver":"aufs","ExecDriver":"native-0.2","ExecIDs":["54b46e403f9335105bfd5ec168a0fe57c5bf9ba0b5a54b286a1aa2edeafbdb3d","b2738a8eb95e698a57147ed867a32288e197319eab9918e81d41c0be5e1a0b4a"],"HostConfig":{"Binds":[],"CapAdd":null,"CapDrop":null,"CgroupParent":"","ContainerIDFile":"","CpuShares":0,"CpusetCpus":"","Devices":null,"Dns":null,"DnsSearch":null,"ExtraHosts":[],"IpcMode":"","Links":null,"LogConfig":{"Config":null,"Type":"json-file"},"LxcConf":null,"Memory":0,"MemorySwap":0,"NetworkMode":"","PidMode":"","PortBindings":{},"Privileged":false,"PublishAllPorts":false,"ReadonlyRootfs":false,"RestartPolicy":{"MaximumRetryCount":0,"Name":""},"SecurityOpt":null,"Ulimits":null,"VolumesFrom":[]},"HostnamePath":"/mnt/sda1/var/lib/docker/containers/fbe9e3c313f21b7ed3ea4c5d3fcfe350bdb0a6560272de1ca1489b6abc56e580/hostname","HostsPath":"/mnt/sda1/var/lib/docker/containers/fbe9e3c313f21b7ed3ea4c5d3fcfe350bdb0a6560272de1ca1489b6abc56e580/hosts","Id":"fbe9e3c313f21b7ed3ea4c5d3fcfe350bdb0a6560272de1ca1489b6abc56e580","Image":"46023980cd78dc89a9cf7a1f73b4051b5d2e0aad2b99a4b16643f303245fea4a","LogPath":"/mnt/sda1/var/lib/docker/containers/fbe9e3c313f21b7ed3ea4c5d3fcfe350bdb0a6560272de1ca1489b6abc56e580/fbe9e3c313f21b7ed3ea4c5d3fcfe350bdb0a6560272de1ca1489b6abc56e580-json.log","MountLabel":"","Name":"/wait_for_broken-test","NetworkSettings":{"Bridge":"docker0","Gateway":"172.17.42.1","GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"IPAddress":"172.17.1.110","IPPrefixLen":16,"IPv6Gateway":"","LinkLocalIPv6Address":"fe80::42:acff:fe11:16e","LinkLocalIPv6PrefixLen":64,"MacAddress":"02:42:ac:11:01:6e","PortMapping":null,"Ports":{}},"Path":"/bin/sh","ProcessLabel":"","ResolvConfPath":"/mnt/sda1/var/lib/docker/containers/fbe9e3c313f21b7ed3ea4c5d3fcfe350bdb0a6560272de1ca1489b6abc56e580/resolv.conf","RestartCount":0,"State":{"Dead":false,"Error":"","ExitCode":0,"FinishedAt":"0001-01-01T00:00:00Z","OOMKilled":false,"Paused":false,"Pid":24396,"Restarting":false,"Running":true,"StartedAt":"2015-06-05T23:27:44.483429272Z"},"Volumes":{},"VolumesRW":{}}
|
27
27
|
http_version:
|
28
|
-
recorded_at: Fri,
|
28
|
+
recorded_at: Fri, 05 Jun 2015 23:27:47 GMT
|
29
29
|
- request:
|
30
30
|
method: post
|
31
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
31
|
+
uri: "<DOCKER_HOST>/v1.16/containers/fbe9e3c313f21b7ed3ea4c5d3fcfe350bdb0a6560272de1ca1489b6abc56e580/kill"
|
32
32
|
body:
|
33
33
|
encoding: US-ASCII
|
34
34
|
string: ''
|
35
35
|
headers:
|
36
36
|
User-Agent:
|
37
|
-
- Swipely/Docker-API 1.
|
37
|
+
- Swipely/Docker-API 1.21.4
|
38
38
|
Content-Type:
|
39
39
|
- text/plain
|
40
40
|
response:
|
@@ -43,21 +43,21 @@ http_interactions:
|
|
43
43
|
message:
|
44
44
|
headers:
|
45
45
|
Date:
|
46
|
-
- Fri,
|
46
|
+
- Fri, 05 Jun 2015 23:27:47 GMT
|
47
47
|
body:
|
48
48
|
encoding: UTF-8
|
49
49
|
string: ''
|
50
50
|
http_version:
|
51
|
-
recorded_at: Fri,
|
51
|
+
recorded_at: Fri, 05 Jun 2015 23:27:47 GMT
|
52
52
|
- request:
|
53
53
|
method: delete
|
54
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
54
|
+
uri: "<DOCKER_HOST>/v1.16/containers/fbe9e3c313f21b7ed3ea4c5d3fcfe350bdb0a6560272de1ca1489b6abc56e580"
|
55
55
|
body:
|
56
56
|
encoding: US-ASCII
|
57
57
|
string: ''
|
58
58
|
headers:
|
59
59
|
User-Agent:
|
60
|
-
- Swipely/Docker-API 1.
|
60
|
+
- Swipely/Docker-API 1.21.4
|
61
61
|
Content-Type:
|
62
62
|
- text/plain
|
63
63
|
response:
|
@@ -66,10 +66,10 @@ http_interactions:
|
|
66
66
|
message:
|
67
67
|
headers:
|
68
68
|
Date:
|
69
|
-
- Fri,
|
69
|
+
- Fri, 05 Jun 2015 23:27:47 GMT
|
70
70
|
body:
|
71
71
|
encoding: UTF-8
|
72
72
|
string: ''
|
73
73
|
http_version:
|
74
|
-
recorded_at: Fri,
|
74
|
+
recorded_at: Fri, 05 Jun 2015 23:27:47 GMT
|
75
75
|
recorded_with: VCR 2.9.3
|
data/spec/vcr/bigrig/ship/spec/data/ship_json/with_a_version/-c/cleans_the_image_when_its_done.yml
CHANGED
@@ -8,7 +8,7 @@ http_interactions:
|
|
8
8
|
string: '{"Image":"registry","Env":["GUNICORN_OPTS=[--preload]"],"ExposedPorts":{"5000/tcp":{}},"HostConfig":{"PortBindings":{"5000/tcp":[{"HostPort":"5000"}]}}}'
|
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
|
- application/json
|
14
14
|
response:
|
@@ -19,24 +19,24 @@ http_interactions:
|
|
19
19
|
Content-Type:
|
20
20
|
- application/json
|
21
21
|
Date:
|
22
|
-
-
|
22
|
+
- Fri, 05 Jun 2015 23:28:04 GMT
|
23
23
|
Content-Length:
|
24
24
|
- '90'
|
25
25
|
body:
|
26
26
|
encoding: UTF-8
|
27
27
|
string: |
|
28
|
-
{"Id":"
|
28
|
+
{"Id":"29a3b159c37b2239eb0abe05cdc5ec81330bd6c29cc837cead5a136c7fce0c44","Warnings":null}
|
29
29
|
http_version:
|
30
|
-
recorded_at:
|
30
|
+
recorded_at: Fri, 05 Jun 2015 23:28:04 GMT
|
31
31
|
- request:
|
32
32
|
method: post
|
33
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
33
|
+
uri: "<DOCKER_HOST>/v1.16/containers/29a3b159c37b2239eb0abe05cdc5ec81330bd6c29cc837cead5a136c7fce0c44/start"
|
34
34
|
body:
|
35
35
|
encoding: UTF-8
|
36
36
|
string: "{}"
|
37
37
|
headers:
|
38
38
|
User-Agent:
|
39
|
-
- Swipely/Docker-API 1.
|
39
|
+
- Swipely/Docker-API 1.21.4
|
40
40
|
Content-Type:
|
41
41
|
- application/json
|
42
42
|
response:
|
@@ -45,12 +45,12 @@ http_interactions:
|
|
45
45
|
message:
|
46
46
|
headers:
|
47
47
|
Date:
|
48
|
-
-
|
48
|
+
- Fri, 05 Jun 2015 23:28:05 GMT
|
49
49
|
body:
|
50
50
|
encoding: UTF-8
|
51
51
|
string: ''
|
52
52
|
http_version:
|
53
|
-
recorded_at:
|
53
|
+
recorded_at: Fri, 05 Jun 2015 23:28:05 GMT
|
54
54
|
- request:
|
55
55
|
method: get
|
56
56
|
uri: "<DOCKER_HOST>/v1.16/images/<REPO_URL>/test/ship-me:1.2.3/json"
|
@@ -59,7 +59,7 @@ http_interactions:
|
|
59
59
|
string: ''
|
60
60
|
headers:
|
61
61
|
User-Agent:
|
62
|
-
- Swipely/Docker-API 1.
|
62
|
+
- Swipely/Docker-API 1.21.4
|
63
63
|
Content-Type:
|
64
64
|
- text/plain
|
65
65
|
response:
|
@@ -70,7 +70,7 @@ http_interactions:
|
|
70
70
|
Content-Type:
|
71
71
|
- text/plain; charset=utf-8
|
72
72
|
Date:
|
73
|
-
-
|
73
|
+
- Fri, 05 Jun 2015 23:28:13 GMT
|
74
74
|
Content-Length:
|
75
75
|
- '54'
|
76
76
|
body:
|
@@ -78,7 +78,7 @@ http_interactions:
|
|
78
78
|
string: |
|
79
79
|
No such image: <REPO_URL>/test/ship-me:1.2.3
|
80
80
|
http_version:
|
81
|
-
recorded_at:
|
81
|
+
recorded_at: Fri, 05 Jun 2015 23:28:13 GMT
|
82
82
|
- request:
|
83
83
|
method: get
|
84
84
|
uri: "<DOCKER_HOST>/v1.16/images/<REPO_URL>/test/ship-me:1.2.3/json"
|
@@ -87,7 +87,7 @@ http_interactions:
|
|
87
87
|
string: ''
|
88
88
|
headers:
|
89
89
|
User-Agent:
|
90
|
-
- Swipely/Docker-API 1.
|
90
|
+
- Swipely/Docker-API 1.21.4
|
91
91
|
Content-Type:
|
92
92
|
- text/plain
|
93
93
|
response:
|
@@ -98,7 +98,7 @@ http_interactions:
|
|
98
98
|
Content-Type:
|
99
99
|
- text/plain; charset=utf-8
|
100
100
|
Date:
|
101
|
-
-
|
101
|
+
- Fri, 05 Jun 2015 23:28:13 GMT
|
102
102
|
Content-Length:
|
103
103
|
- '54'
|
104
104
|
body:
|
@@ -106,7 +106,7 @@ http_interactions:
|
|
106
106
|
string: |
|
107
107
|
No such image: <REPO_URL>/test/ship-me:1.2.3
|
108
108
|
http_version:
|
109
|
-
recorded_at:
|
109
|
+
recorded_at: Fri, 05 Jun 2015 23:28:13 GMT
|
110
110
|
- request:
|
111
111
|
method: get
|
112
112
|
uri: "<DOCKER_HOST>/v1.16/images/<REPO_URL>/test/ship-me:1.2.3/json"
|
@@ -115,7 +115,7 @@ http_interactions:
|
|
115
115
|
string: ''
|
116
116
|
headers:
|
117
117
|
User-Agent:
|
118
|
-
- Swipely/Docker-API 1.
|
118
|
+
- Swipely/Docker-API 1.21.4
|
119
119
|
Content-Type:
|
120
120
|
- text/plain
|
121
121
|
response:
|
@@ -126,7 +126,7 @@ http_interactions:
|
|
126
126
|
Content-Type:
|
127
127
|
- text/plain; charset=utf-8
|
128
128
|
Date:
|
129
|
-
-
|
129
|
+
- Fri, 05 Jun 2015 23:28:13 GMT
|
130
130
|
Content-Length:
|
131
131
|
- '54'
|
132
132
|
body:
|
@@ -134,7 +134,7 @@ http_interactions:
|
|
134
134
|
string: |
|
135
135
|
No such image: <REPO_URL>/test/ship-me:1.2.3
|
136
136
|
http_version:
|
137
|
-
recorded_at:
|
137
|
+
recorded_at: Fri, 05 Jun 2015 23:28:13 GMT
|
138
138
|
- request:
|
139
139
|
method: get
|
140
140
|
uri: "<DOCKER_HOST>/v1.16/images/<REPO_URL>/test/ship-me:1.2.3/json"
|
@@ -143,7 +143,7 @@ http_interactions:
|
|
143
143
|
string: ''
|
144
144
|
headers:
|
145
145
|
User-Agent:
|
146
|
-
- Swipely/Docker-API 1.
|
146
|
+
- Swipely/Docker-API 1.21.4
|
147
147
|
Content-Type:
|
148
148
|
- text/plain
|
149
149
|
response:
|
@@ -154,7 +154,7 @@ http_interactions:
|
|
154
154
|
Content-Type:
|
155
155
|
- text/plain; charset=utf-8
|
156
156
|
Date:
|
157
|
-
-
|
157
|
+
- Fri, 05 Jun 2015 23:28:13 GMT
|
158
158
|
Content-Length:
|
159
159
|
- '54'
|
160
160
|
body:
|
@@ -162,16 +162,16 @@ http_interactions:
|
|
162
162
|
string: |
|
163
163
|
No such image: <REPO_URL>/test/ship-me:1.2.3
|
164
164
|
http_version:
|
165
|
-
recorded_at:
|
165
|
+
recorded_at: Fri, 05 Jun 2015 23:28:13 GMT
|
166
166
|
- request:
|
167
167
|
method: post
|
168
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
168
|
+
uri: "<DOCKER_HOST>/v1.16/containers/29a3b159c37b2239eb0abe05cdc5ec81330bd6c29cc837cead5a136c7fce0c44/kill"
|
169
169
|
body:
|
170
170
|
encoding: US-ASCII
|
171
171
|
string: ''
|
172
172
|
headers:
|
173
173
|
User-Agent:
|
174
|
-
- Swipely/Docker-API 1.
|
174
|
+
- Swipely/Docker-API 1.21.4
|
175
175
|
Content-Type:
|
176
176
|
- text/plain
|
177
177
|
response:
|
@@ -180,21 +180,21 @@ http_interactions:
|
|
180
180
|
message:
|
181
181
|
headers:
|
182
182
|
Date:
|
183
|
-
-
|
183
|
+
- Fri, 05 Jun 2015 23:28:14 GMT
|
184
184
|
body:
|
185
185
|
encoding: UTF-8
|
186
186
|
string: ''
|
187
187
|
http_version:
|
188
|
-
recorded_at:
|
188
|
+
recorded_at: Fri, 05 Jun 2015 23:28:14 GMT
|
189
189
|
- request:
|
190
190
|
method: delete
|
191
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
191
|
+
uri: "<DOCKER_HOST>/v1.16/containers/29a3b159c37b2239eb0abe05cdc5ec81330bd6c29cc837cead5a136c7fce0c44"
|
192
192
|
body:
|
193
193
|
encoding: US-ASCII
|
194
194
|
string: ''
|
195
195
|
headers:
|
196
196
|
User-Agent:
|
197
|
-
- Swipely/Docker-API 1.
|
197
|
+
- Swipely/Docker-API 1.21.4
|
198
198
|
Content-Type:
|
199
199
|
- text/plain
|
200
200
|
response:
|
@@ -203,10 +203,10 @@ http_interactions:
|
|
203
203
|
message:
|
204
204
|
headers:
|
205
205
|
Date:
|
206
|
-
-
|
206
|
+
- Fri, 05 Jun 2015 23:28:14 GMT
|
207
207
|
body:
|
208
208
|
encoding: UTF-8
|
209
209
|
string: ''
|
210
210
|
http_version:
|
211
|
-
recorded_at:
|
211
|
+
recorded_at: Fri, 05 Jun 2015 23:28:14 GMT
|
212
212
|
recorded_with: VCR 2.9.3
|