bigrig 0.4.2 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/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 | 
             
                  - application/tar
         | 
| 14 14 | 
             
                  Transfer-Encoding:
         | 
| @@ -23,15 +23,15 @@ http_interactions: | |
| 23 23 | 
             
                  Content-Type:
         | 
| 24 24 | 
             
                  - application/json
         | 
| 25 25 | 
             
                  Date:
         | 
| 26 | 
            -
                  -  | 
| 26 | 
            +
                  - Fri, 05 Jun 2015 23:25:30 GMT
         | 
| 27 27 | 
             
                body:
         | 
| 28 28 | 
             
                  encoding: UTF-8
         | 
| 29 29 | 
             
                  string: "{\"stream\":\"Step 0 : FROM hawknewton/true\\n\"}\r\n{\"stream\":\"
         | 
| 30 30 | 
             
                    ---\\u003e 5fbce35eb337\\n\"}\r\n{\"stream\":\"Step 1 : ADD test /\\n\"}\r\n{\"stream\":\"
         | 
| 31 | 
            -
                    ---\\u003e  | 
| 32 | 
            -
                     | 
| 31 | 
            +
                    ---\\u003e 550fe3cc2994\\n\"}\r\n{\"stream\":\"Removing intermediate container
         | 
| 32 | 
            +
                    5718a52c02c0\\n\"}\r\n{\"stream\":\"Successfully built 550fe3cc2994\\n\"}\r\n"
         | 
| 33 33 | 
             
                http_version: 
         | 
| 34 | 
            -
              recorded_at:  | 
| 34 | 
            +
              recorded_at: Fri, 05 Jun 2015 23:25:31 GMT
         | 
| 35 35 | 
             
            - request:
         | 
| 36 36 | 
             
                method: get
         | 
| 37 37 | 
             
                uri: "<DOCKER_HOST>/v1.16/containers/build_me/json"
         | 
| @@ -40,7 +40,7 @@ http_interactions: | |
| 40 40 | 
             
                  string: ''
         | 
| 41 41 | 
             
                headers:
         | 
| 42 42 | 
             
                  User-Agent:
         | 
| 43 | 
            -
                  - Swipely/Docker-API 1. | 
| 43 | 
            +
                  - Swipely/Docker-API 1.21.4
         | 
| 44 44 | 
             
                  Content-Type:
         | 
| 45 45 | 
             
                  - text/plain
         | 
| 46 46 | 
             
              response:
         | 
| @@ -51,13 +51,13 @@ http_interactions: | |
| 51 51 | 
             
                  Content-Type:
         | 
| 52 52 | 
             
                  - application/json
         | 
| 53 53 | 
             
                  Date:
         | 
| 54 | 
            -
                  -  | 
| 54 | 
            +
                  - Fri, 05 Jun 2015 23:25:31 GMT
         | 
| 55 55 | 
             
                body:
         | 
| 56 56 | 
             
                  encoding: UTF-8
         | 
| 57 57 | 
             
                  string: |
         | 
| 58 | 
            -
                    {"AppArmorProfile":"","Args":[],"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":" | 
| 58 | 
            +
                    {"AppArmorProfile":"","Args":[],"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":"0b754f403872","Image":"0fc8f2f6e8cf","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:21:47.480559325Z","Driver":"aufs","ExecDriver":"native-0.2","ExecIDs":null,"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/0b754f403872c7e2b536bfa27729ad1d472e7397d5e81ebd891c401d6294dcee/hostname","HostsPath":"/mnt/sda1/var/lib/docker/containers/0b754f403872c7e2b536bfa27729ad1d472e7397d5e81ebd891c401d6294dcee/hosts","Id":"0b754f403872c7e2b536bfa27729ad1d472e7397d5e81ebd891c401d6294dcee","Image":"0fc8f2f6e8cf7c47eab3beb9ea5b38cf54a1a8a1d993fe155a38227c6be64571","LogPath":"/mnt/sda1/var/lib/docker/containers/0b754f403872c7e2b536bfa27729ad1d472e7397d5e81ebd891c401d6294dcee/0b754f403872c7e2b536bfa27729ad1d472e7397d5e81ebd891c401d6294dcee-json.log","MountLabel":"","Name":"/build_me","NetworkSettings":{"Bridge":"","Gateway":"","GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"IPAddress":"","IPPrefixLen":0,"IPv6Gateway":"","LinkLocalIPv6Address":"","LinkLocalIPv6PrefixLen":0,"MacAddress":"","PortMapping":null,"Ports":null},"Path":"/true","ProcessLabel":"","ResolvConfPath":"/mnt/sda1/var/lib/docker/containers/0b754f403872c7e2b536bfa27729ad1d472e7397d5e81ebd891c401d6294dcee/resolv.conf","RestartCount":0,"State":{"Dead":false,"Error":"","ExitCode":0,"FinishedAt":"2015-06-05T23:21:47.990854447Z","OOMKilled":false,"Paused":false,"Pid":0,"Restarting":false,"Running":false,"StartedAt":"2015-06-05T23:21:47.853077823Z"},"Volumes":{},"VolumesRW":{}}
         | 
| 59 59 | 
             
                http_version: 
         | 
| 60 | 
            -
              recorded_at:  | 
| 60 | 
            +
              recorded_at: Fri, 05 Jun 2015 23:25:31 GMT
         | 
| 61 61 | 
             
            - request:
         | 
| 62 62 | 
             
                method: get
         | 
| 63 63 | 
             
                uri: "<DOCKER_HOST>/v1.16/containers/build_me/json"
         | 
| @@ -66,7 +66,7 @@ http_interactions: | |
| 66 66 | 
             
                  string: ''
         | 
| 67 67 | 
             
                headers:
         | 
| 68 68 | 
             
                  User-Agent:
         | 
| 69 | 
            -
                  - Swipely/Docker-API 1. | 
| 69 | 
            +
                  - Swipely/Docker-API 1.21.4
         | 
| 70 70 | 
             
                  Content-Type:
         | 
| 71 71 | 
             
                  - text/plain
         | 
| 72 72 | 
             
              response:
         | 
| @@ -77,22 +77,22 @@ http_interactions: | |
| 77 77 | 
             
                  Content-Type:
         | 
| 78 78 | 
             
                  - application/json
         | 
| 79 79 | 
             
                  Date:
         | 
| 80 | 
            -
                  -  | 
| 80 | 
            +
                  - Fri, 05 Jun 2015 23:25:31 GMT
         | 
| 81 81 | 
             
                body:
         | 
| 82 82 | 
             
                  encoding: UTF-8
         | 
| 83 83 | 
             
                  string: |
         | 
| 84 | 
            -
                    {"AppArmorProfile":"","Args":[],"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":" | 
| 84 | 
            +
                    {"AppArmorProfile":"","Args":[],"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":"0b754f403872","Image":"0fc8f2f6e8cf","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:21:47.480559325Z","Driver":"aufs","ExecDriver":"native-0.2","ExecIDs":null,"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/0b754f403872c7e2b536bfa27729ad1d472e7397d5e81ebd891c401d6294dcee/hostname","HostsPath":"/mnt/sda1/var/lib/docker/containers/0b754f403872c7e2b536bfa27729ad1d472e7397d5e81ebd891c401d6294dcee/hosts","Id":"0b754f403872c7e2b536bfa27729ad1d472e7397d5e81ebd891c401d6294dcee","Image":"0fc8f2f6e8cf7c47eab3beb9ea5b38cf54a1a8a1d993fe155a38227c6be64571","LogPath":"/mnt/sda1/var/lib/docker/containers/0b754f403872c7e2b536bfa27729ad1d472e7397d5e81ebd891c401d6294dcee/0b754f403872c7e2b536bfa27729ad1d472e7397d5e81ebd891c401d6294dcee-json.log","MountLabel":"","Name":"/build_me","NetworkSettings":{"Bridge":"","Gateway":"","GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"IPAddress":"","IPPrefixLen":0,"IPv6Gateway":"","LinkLocalIPv6Address":"","LinkLocalIPv6PrefixLen":0,"MacAddress":"","PortMapping":null,"Ports":null},"Path":"/true","ProcessLabel":"","ResolvConfPath":"/mnt/sda1/var/lib/docker/containers/0b754f403872c7e2b536bfa27729ad1d472e7397d5e81ebd891c401d6294dcee/resolv.conf","RestartCount":0,"State":{"Dead":false,"Error":"","ExitCode":0,"FinishedAt":"2015-06-05T23:21:47.990854447Z","OOMKilled":false,"Paused":false,"Pid":0,"Restarting":false,"Running":false,"StartedAt":"2015-06-05T23:21:47.853077823Z"},"Volumes":{},"VolumesRW":{}}
         | 
| 85 85 | 
             
                http_version: 
         | 
| 86 | 
            -
              recorded_at:  | 
| 86 | 
            +
              recorded_at: Fri, 05 Jun 2015 23:25:31 GMT
         | 
| 87 87 | 
             
            - request:
         | 
| 88 88 | 
             
                method: delete
         | 
| 89 | 
            -
                uri: "<DOCKER_HOST>/v1.16/containers/ | 
| 89 | 
            +
                uri: "<DOCKER_HOST>/v1.16/containers/0b754f403872c7e2b536bfa27729ad1d472e7397d5e81ebd891c401d6294dcee"
         | 
| 90 90 | 
             
                body:
         | 
| 91 91 | 
             
                  encoding: US-ASCII
         | 
| 92 92 | 
             
                  string: ''
         | 
| 93 93 | 
             
                headers:
         | 
| 94 94 | 
             
                  User-Agent:
         | 
| 95 | 
            -
                  - Swipely/Docker-API 1. | 
| 95 | 
            +
                  - Swipely/Docker-API 1.21.4
         | 
| 96 96 | 
             
                  Content-Type:
         | 
| 97 97 | 
             
                  - text/plain
         | 
| 98 98 | 
             
              response:
         | 
| @@ -101,21 +101,21 @@ http_interactions: | |
| 101 101 | 
             
                  message: 
         | 
| 102 102 | 
             
                headers:
         | 
| 103 103 | 
             
                  Date:
         | 
| 104 | 
            -
                  -  | 
| 104 | 
            +
                  - Fri, 05 Jun 2015 23:25:31 GMT
         | 
| 105 105 | 
             
                body:
         | 
| 106 106 | 
             
                  encoding: UTF-8
         | 
| 107 107 | 
             
                  string: ''
         | 
| 108 108 | 
             
                http_version: 
         | 
| 109 | 
            -
              recorded_at:  | 
| 109 | 
            +
              recorded_at: Fri, 05 Jun 2015 23:25:31 GMT
         | 
| 110 110 | 
             
            - request:
         | 
| 111 111 | 
             
                method: post
         | 
| 112 112 | 
             
                uri: "<DOCKER_HOST>/v1.16/containers/create?name=build_me"
         | 
| 113 113 | 
             
                body:
         | 
| 114 114 | 
             
                  encoding: UTF-8
         | 
| 115 | 
            -
                  string: '{"Env":[],"Image":" | 
| 115 | 
            +
                  string: '{"Env":[],"Image":"550fe3cc2994","ExposedPorts":{}}'
         | 
| 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 | 
             
                  - application/json
         | 
| 121 121 | 
             
              response:
         | 
| @@ -126,24 +126,24 @@ http_interactions: | |
| 126 126 | 
             
                  Content-Type:
         | 
| 127 127 | 
             
                  - application/json
         | 
| 128 128 | 
             
                  Date:
         | 
| 129 | 
            -
                  -  | 
| 129 | 
            +
                  - Fri, 05 Jun 2015 23:25:31 GMT
         | 
| 130 130 | 
             
                  Content-Length:
         | 
| 131 131 | 
             
                  - '90'
         | 
| 132 132 | 
             
                body:
         | 
| 133 133 | 
             
                  encoding: UTF-8
         | 
| 134 134 | 
             
                  string: |
         | 
| 135 | 
            -
                    {"Id":" | 
| 135 | 
            +
                    {"Id":"6aa14045e75f0630fb97af4eb397913471bfd77f5c80745e113a750c9a87e6a3","Warnings":null}
         | 
| 136 136 | 
             
                http_version: 
         | 
| 137 | 
            -
              recorded_at:  | 
| 137 | 
            +
              recorded_at: Fri, 05 Jun 2015 23:25:31 GMT
         | 
| 138 138 | 
             
            - request:
         | 
| 139 139 | 
             
                method: post
         | 
| 140 | 
            -
                uri: "<DOCKER_HOST>/v1.16/containers/ | 
| 140 | 
            +
                uri: "<DOCKER_HOST>/v1.16/containers/6aa14045e75f0630fb97af4eb397913471bfd77f5c80745e113a750c9a87e6a3/start"
         | 
| 141 141 | 
             
                body:
         | 
| 142 142 | 
             
                  encoding: UTF-8
         | 
| 143 143 | 
             
                  string: '{"Links":[],"ExtraHosts":[],"PortBindings":{},"VolumesFrom":[],"Binds":[]}'
         | 
| 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 | 
             
                  - application/json
         | 
| 149 149 | 
             
              response:
         | 
| @@ -152,10 +152,206 @@ http_interactions: | |
| 152 152 | 
             
                  message: 
         | 
| 153 153 | 
             
                headers:
         | 
| 154 154 | 
             
                  Date:
         | 
| 155 | 
            -
                  -  | 
| 155 | 
            +
                  - Fri, 05 Jun 2015 23:25:31 GMT
         | 
| 156 156 | 
             
                body:
         | 
| 157 157 | 
             
                  encoding: UTF-8
         | 
| 158 158 | 
             
                  string: ''
         | 
| 159 159 | 
             
                http_version: 
         | 
| 160 | 
            -
              recorded_at:  | 
| 160 | 
            +
              recorded_at: Fri, 05 Jun 2015 23:25:31 GMT
         | 
| 161 | 
            +
            - request:
         | 
| 162 | 
            +
                method: get
         | 
| 163 | 
            +
                uri: "<DOCKER_HOST>/v1.16/containers/build_me/json"
         | 
| 164 | 
            +
                body:
         | 
| 165 | 
            +
                  encoding: US-ASCII
         | 
| 166 | 
            +
                  string: ''
         | 
| 167 | 
            +
                headers:
         | 
| 168 | 
            +
                  User-Agent:
         | 
| 169 | 
            +
                  - Swipely/Docker-API 1.21.4
         | 
| 170 | 
            +
                  Content-Type:
         | 
| 171 | 
            +
                  - text/plain
         | 
| 172 | 
            +
              response:
         | 
| 173 | 
            +
                status:
         | 
| 174 | 
            +
                  code: 200
         | 
| 175 | 
            +
                  message: 
         | 
| 176 | 
            +
                headers:
         | 
| 177 | 
            +
                  Content-Type:
         | 
| 178 | 
            +
                  - application/json
         | 
| 179 | 
            +
                  Date:
         | 
| 180 | 
            +
                  - Fri, 05 Jun 2015 23:25:31 GMT
         | 
| 181 | 
            +
                body:
         | 
| 182 | 
            +
                  encoding: UTF-8
         | 
| 183 | 
            +
                  string: |
         | 
| 184 | 
            +
                    {"AppArmorProfile":"","Args":[],"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":"6aa14045e75f","Image":"550fe3cc2994","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:31.338151796Z","Driver":"aufs","ExecDriver":"native-0.2","ExecIDs":null,"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/6aa14045e75f0630fb97af4eb397913471bfd77f5c80745e113a750c9a87e6a3/hostname","HostsPath":"/mnt/sda1/var/lib/docker/containers/6aa14045e75f0630fb97af4eb397913471bfd77f5c80745e113a750c9a87e6a3/hosts","Id":"6aa14045e75f0630fb97af4eb397913471bfd77f5c80745e113a750c9a87e6a3","Image":"550fe3cc2994b85502e73cd6ebab0980a16bae45eacf3dc8bc20ccec333f6e5e","LogPath":"/mnt/sda1/var/lib/docker/containers/6aa14045e75f0630fb97af4eb397913471bfd77f5c80745e113a750c9a87e6a3/6aa14045e75f0630fb97af4eb397913471bfd77f5c80745e113a750c9a87e6a3-json.log","MountLabel":"","Name":"/build_me","NetworkSettings":{"Bridge":"docker0","Gateway":"172.17.42.1","GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"IPAddress":"172.17.1.71","IPPrefixLen":16,"IPv6Gateway":"","LinkLocalIPv6Address":"fe80::42:acff:fe11:147","LinkLocalIPv6PrefixLen":64,"MacAddress":"02:42:ac:11:01:47","PortMapping":null,"Ports":{}},"Path":"/true","ProcessLabel":"","ResolvConfPath":"/mnt/sda1/var/lib/docker/containers/6aa14045e75f0630fb97af4eb397913471bfd77f5c80745e113a750c9a87e6a3/resolv.conf","RestartCount":0,"State":{"Dead":false,"Error":"","ExitCode":0,"FinishedAt":"0001-01-01T00:00:00Z","OOMKilled":false,"Paused":false,"Pid":23458,"Restarting":false,"Running":true,"StartedAt":"2015-06-05T23:25:31.754672637Z"},"Volumes":{},"VolumesRW":{}}
         | 
| 185 | 
            +
                http_version: 
         | 
| 186 | 
            +
              recorded_at: Fri, 05 Jun 2015 23:25:31 GMT
         | 
| 187 | 
            +
            - request:
         | 
| 188 | 
            +
                method: post
         | 
| 189 | 
            +
                uri: "<DOCKER_HOST>/v1.16/containers/6aa14045e75f0630fb97af4eb397913471bfd77f5c80745e113a750c9a87e6a3/exec"
         | 
| 190 | 
            +
                body:
         | 
| 191 | 
            +
                  encoding: UTF-8
         | 
| 192 | 
            +
                  string: '{"AttachStdin":false,"AttachStdout":true,"AttachStderr":true,"Tty":false,"Cmd":["ls","/bigrig-wait.sh"]}'
         | 
| 193 | 
            +
                headers:
         | 
| 194 | 
            +
                  User-Agent:
         | 
| 195 | 
            +
                  - Swipely/Docker-API 1.21.4
         | 
| 196 | 
            +
                  Content-Type:
         | 
| 197 | 
            +
                  - application/json
         | 
| 198 | 
            +
              response:
         | 
| 199 | 
            +
                status:
         | 
| 200 | 
            +
                  code: 201
         | 
| 201 | 
            +
                  message: 
         | 
| 202 | 
            +
                headers:
         | 
| 203 | 
            +
                  Content-Type:
         | 
| 204 | 
            +
                  - application/json
         | 
| 205 | 
            +
                  Date:
         | 
| 206 | 
            +
                  - Fri, 05 Jun 2015 23:25:31 GMT
         | 
| 207 | 
            +
                  Content-Length:
         | 
| 208 | 
            +
                  - '74'
         | 
| 209 | 
            +
                body:
         | 
| 210 | 
            +
                  encoding: UTF-8
         | 
| 211 | 
            +
                  string: |
         | 
| 212 | 
            +
                    {"Id":"9bafb92a0b26ea3e98a1ecb041d8cb39c95a8c2dc33fd6935ba03da750191ac1"}
         | 
| 213 | 
            +
                http_version: 
         | 
| 214 | 
            +
              recorded_at: Fri, 05 Jun 2015 23:25:31 GMT
         | 
| 215 | 
            +
            - request:
         | 
| 216 | 
            +
                method: post
         | 
| 217 | 
            +
                uri: "<DOCKER_HOST>/v1.16/exec/9bafb92a0b26ea3e98a1ecb041d8cb39c95a8c2dc33fd6935ba03da750191ac1/start"
         | 
| 218 | 
            +
                body:
         | 
| 219 | 
            +
                  encoding: UTF-8
         | 
| 220 | 
            +
                  string: '{"Tty":false,"Detach":false}'
         | 
| 221 | 
            +
                headers:
         | 
| 222 | 
            +
                  User-Agent:
         | 
| 223 | 
            +
                  - Swipely/Docker-API 1.21.4
         | 
| 224 | 
            +
                  Content-Type:
         | 
| 225 | 
            +
                  - application/json
         | 
| 226 | 
            +
              response:
         | 
| 227 | 
            +
                status:
         | 
| 228 | 
            +
                  code: 200
         | 
| 229 | 
            +
                  message: 
         | 
| 230 | 
            +
                headers:
         | 
| 231 | 
            +
                  Content-Type:
         | 
| 232 | 
            +
                  - application/vnd.docker.raw-stream
         | 
| 233 | 
            +
                body:
         | 
| 234 | 
            +
                  encoding: ASCII-8BIT
         | 
| 235 | 
            +
                  string: !binary |-
         | 
| 236 | 
            +
                    AgAAAAAAAFpDb250YWluZXIgNmFhMTQwNDVlNzVmMDYzMGZiOTdhZjRlYjM5
         | 
| 237 | 
            +
                    NzkxMzQ3MWJmZDc3ZjVjODA3NDVlMTEzYTc1MGM5YTg3ZTZhMyBpcyBub3Qg
         | 
| 238 | 
            +
                    cnVubmluZwoBAAAAAAAAxUVycm9yIHN0YXJ0aW5nIGV4ZWMgY29tbWFuZCBp
         | 
| 239 | 
            +
                    biBjb250YWluZXIgOWJhZmI5MmEwYjI2ZWEzZTk4YTFlY2IwNDFkOGNiMzlj
         | 
| 240 | 
            +
                    OTVhOGMyZGMzM2ZkNjkzNWJhMDNkYTc1MDE5MWFjMTogQ29udGFpbmVyIDZh
         | 
| 241 | 
            +
                    YTE0MDQ1ZTc1ZjA2MzBmYjk3YWY0ZWIzOTc5MTM0NzFiZmQ3N2Y1YzgwNzQ1
         | 
| 242 | 
            +
                    ZTExM2E3NTBjOWE4N2U2YTMgaXMgbm90IHJ1bm5pbmcK
         | 
| 243 | 
            +
                http_version: 
         | 
| 244 | 
            +
              recorded_at: Fri, 05 Jun 2015 23:25:31 GMT
         | 
| 245 | 
            +
            - request:
         | 
| 246 | 
            +
                method: get
         | 
| 247 | 
            +
                uri: "<DOCKER_HOST>/v1.16/exec/9bafb92a0b26ea3e98a1ecb041d8cb39c95a8c2dc33fd6935ba03da750191ac1/json"
         | 
| 248 | 
            +
                body:
         | 
| 249 | 
            +
                  encoding: US-ASCII
         | 
| 250 | 
            +
                  string: ''
         | 
| 251 | 
            +
                headers:
         | 
| 252 | 
            +
                  User-Agent:
         | 
| 253 | 
            +
                  - Swipely/Docker-API 1.21.4
         | 
| 254 | 
            +
                  Content-Type:
         | 
| 255 | 
            +
                  - text/plain
         | 
| 256 | 
            +
              response:
         | 
| 257 | 
            +
                status:
         | 
| 258 | 
            +
                  code: 404
         | 
| 259 | 
            +
                  message: 
         | 
| 260 | 
            +
                headers:
         | 
| 261 | 
            +
                  Content-Type:
         | 
| 262 | 
            +
                  - text/plain; charset=utf-8
         | 
| 263 | 
            +
                  Date:
         | 
| 264 | 
            +
                  - Fri, 05 Jun 2015 23:25:31 GMT
         | 
| 265 | 
            +
                  Content-Length:
         | 
| 266 | 
            +
                  - '105'
         | 
| 267 | 
            +
                body:
         | 
| 268 | 
            +
                  encoding: UTF-8
         | 
| 269 | 
            +
                  string: |
         | 
| 270 | 
            +
                    No such exec instance '9bafb92a0b26ea3e98a1ecb041d8cb39c95a8c2dc33fd6935ba03da750191ac1' found in daemon
         | 
| 271 | 
            +
                http_version: 
         | 
| 272 | 
            +
              recorded_at: Fri, 05 Jun 2015 23:25:32 GMT
         | 
| 273 | 
            +
            - request:
         | 
| 274 | 
            +
                method: get
         | 
| 275 | 
            +
                uri: "<DOCKER_HOST>/v1.16/exec/9bafb92a0b26ea3e98a1ecb041d8cb39c95a8c2dc33fd6935ba03da750191ac1/json"
         | 
| 276 | 
            +
                body:
         | 
| 277 | 
            +
                  encoding: US-ASCII
         | 
| 278 | 
            +
                  string: ''
         | 
| 279 | 
            +
                headers:
         | 
| 280 | 
            +
                  User-Agent:
         | 
| 281 | 
            +
                  - Swipely/Docker-API 1.21.4
         | 
| 282 | 
            +
                  Content-Type:
         | 
| 283 | 
            +
                  - text/plain
         | 
| 284 | 
            +
              response:
         | 
| 285 | 
            +
                status:
         | 
| 286 | 
            +
                  code: 404
         | 
| 287 | 
            +
                  message: 
         | 
| 288 | 
            +
                headers:
         | 
| 289 | 
            +
                  Content-Type:
         | 
| 290 | 
            +
                  - text/plain; charset=utf-8
         | 
| 291 | 
            +
                  Date:
         | 
| 292 | 
            +
                  - Fri, 05 Jun 2015 23:25:32 GMT
         | 
| 293 | 
            +
                  Content-Length:
         | 
| 294 | 
            +
                  - '105'
         | 
| 295 | 
            +
                body:
         | 
| 296 | 
            +
                  encoding: UTF-8
         | 
| 297 | 
            +
                  string: |
         | 
| 298 | 
            +
                    No such exec instance '9bafb92a0b26ea3e98a1ecb041d8cb39c95a8c2dc33fd6935ba03da750191ac1' found in daemon
         | 
| 299 | 
            +
                http_version: 
         | 
| 300 | 
            +
              recorded_at: Fri, 05 Jun 2015 23:25:32 GMT
         | 
| 301 | 
            +
            - request:
         | 
| 302 | 
            +
                method: get
         | 
| 303 | 
            +
                uri: "<DOCKER_HOST>/v1.16/exec/9bafb92a0b26ea3e98a1ecb041d8cb39c95a8c2dc33fd6935ba03da750191ac1/json"
         | 
| 304 | 
            +
                body:
         | 
| 305 | 
            +
                  encoding: US-ASCII
         | 
| 306 | 
            +
                  string: ''
         | 
| 307 | 
            +
                headers:
         | 
| 308 | 
            +
                  User-Agent:
         | 
| 309 | 
            +
                  - Swipely/Docker-API 1.21.4
         | 
| 310 | 
            +
                  Content-Type:
         | 
| 311 | 
            +
                  - text/plain
         | 
| 312 | 
            +
              response:
         | 
| 313 | 
            +
                status:
         | 
| 314 | 
            +
                  code: 404
         | 
| 315 | 
            +
                  message: 
         | 
| 316 | 
            +
                headers:
         | 
| 317 | 
            +
                  Content-Type:
         | 
| 318 | 
            +
                  - text/plain; charset=utf-8
         | 
| 319 | 
            +
                  Date:
         | 
| 320 | 
            +
                  - Fri, 05 Jun 2015 23:25:32 GMT
         | 
| 321 | 
            +
                  Content-Length:
         | 
| 322 | 
            +
                  - '105'
         | 
| 323 | 
            +
                body:
         | 
| 324 | 
            +
                  encoding: UTF-8
         | 
| 325 | 
            +
                  string: |
         | 
| 326 | 
            +
                    No such exec instance '9bafb92a0b26ea3e98a1ecb041d8cb39c95a8c2dc33fd6935ba03da750191ac1' found in daemon
         | 
| 327 | 
            +
                http_version: 
         | 
| 328 | 
            +
              recorded_at: Fri, 05 Jun 2015 23:25:32 GMT
         | 
| 329 | 
            +
            - request:
         | 
| 330 | 
            +
                method: get
         | 
| 331 | 
            +
                uri: "<DOCKER_HOST>/v1.16/exec/9bafb92a0b26ea3e98a1ecb041d8cb39c95a8c2dc33fd6935ba03da750191ac1/json"
         | 
| 332 | 
            +
                body:
         | 
| 333 | 
            +
                  encoding: US-ASCII
         | 
| 334 | 
            +
                  string: ''
         | 
| 335 | 
            +
                headers:
         | 
| 336 | 
            +
                  User-Agent:
         | 
| 337 | 
            +
                  - Swipely/Docker-API 1.21.4
         | 
| 338 | 
            +
                  Content-Type:
         | 
| 339 | 
            +
                  - text/plain
         | 
| 340 | 
            +
              response:
         | 
| 341 | 
            +
                status:
         | 
| 342 | 
            +
                  code: 404
         | 
| 343 | 
            +
                  message: 
         | 
| 344 | 
            +
                headers:
         | 
| 345 | 
            +
                  Content-Type:
         | 
| 346 | 
            +
                  - text/plain; charset=utf-8
         | 
| 347 | 
            +
                  Date:
         | 
| 348 | 
            +
                  - Fri, 05 Jun 2015 23:25:32 GMT
         | 
| 349 | 
            +
                  Content-Length:
         | 
| 350 | 
            +
                  - '105'
         | 
| 351 | 
            +
                body:
         | 
| 352 | 
            +
                  encoding: UTF-8
         | 
| 353 | 
            +
                  string: |
         | 
| 354 | 
            +
                    No such exec instance '9bafb92a0b26ea3e98a1ecb041d8cb39c95a8c2dc33fd6935ba03da750191ac1' found in daemon
         | 
| 355 | 
            +
                http_version: 
         | 
| 356 | 
            +
              recorded_at: Fri, 05 Jun 2015 23:25:32 GMT
         | 
| 161 357 | 
             
            recorded_with: VCR 2.9.3
         |