--- http_interactions: - request: method: post uri: /v1.16/containers/create body: encoding: UTF-8 string: ! '{"Cmd":["sleep","20"],"Image":"debian:wheezy"}' headers: User-Agent: - Swipely/Docker-API 1.18.0 Content-Type: - application/json response: status: code: 201 message: headers: Content-Type: - application/json Date: - Thu, 12 Feb 2015 00:54:03 GMT Content-Length: - '90' body: encoding: US-ASCII string: ! '{"Id":"7549e49c7fdf696b4eaa3d01567237cef6f423c8b8259fd3a5015a2f1c2618f7","Warnings":null} ' http_version: recorded_at: Thu, 12 Feb 2015 00:54:03 GMT - request: method: post uri: /v1.16/containers/7549e49c7fdf696b4eaa3d01567237cef6f423c8b8259fd3a5015a2f1c2618f7/start body: encoding: UTF-8 string: ! '{}' headers: User-Agent: - Swipely/Docker-API 1.18.0 Content-Type: - application/json response: status: code: 204 message: headers: Date: - Thu, 12 Feb 2015 00:54:03 GMT body: encoding: US-ASCII string: '' http_version: recorded_at: Thu, 12 Feb 2015 00:54:03 GMT - request: method: post uri: /v1.16/containers/7549e49c7fdf696b4eaa3d01567237cef6f423c8b8259fd3a5015a2f1c2618f7/exec body: encoding: UTF-8 string: ! '{"AttachStdin":false,"AttachStdout":true,"AttachStderr":true,"Tty":true,"Cmd":["bash","-c","if [ -t 1 ]; then echo -n \"I''m a TTY!\"; fi"]}' headers: User-Agent: - Swipely/Docker-API 1.18.0 Content-Type: - application/json response: status: code: 201 message: headers: Content-Type: - application/json Date: - Thu, 12 Feb 2015 00:54:03 GMT Content-Length: - '74' body: encoding: US-ASCII string: ! '{"Id":"d05261bace59bbaeab929d1032b6a5d698fffead9563e1f25631e45afed137ee"} ' http_version: recorded_at: Thu, 12 Feb 2015 00:54:03 GMT - request: method: post uri: /v1.16/exec/d05261bace59bbaeab929d1032b6a5d698fffead9563e1f25631e45afed137ee/start body: encoding: UTF-8 string: ! '{"Tty":true,"Detach":false}' headers: User-Agent: - Swipely/Docker-API 1.18.0 Content-Type: - application/json response: status: code: 200 message: headers: Content-Type: - application/vnd.docker.raw-stream body: encoding: US-ASCII string: I'm a TTY! http_version: recorded_at: Thu, 12 Feb 2015 00:54:03 GMT - request: method: get uri: /v1.16/exec/d05261bace59bbaeab929d1032b6a5d698fffead9563e1f25631e45afed137ee/json body: encoding: US-ASCII string: '' headers: User-Agent: - Swipely/Docker-API 1.18.0 Content-Type: - text/plain response: status: code: 200 message: headers: Content-Type: - application/json Date: - Thu, 12 Feb 2015 00:54:03 GMT Content-Length: - '1914' body: encoding: US-ASCII string: ! '{"ID":"d05261bace59bbaeab929d1032b6a5d698fffead9563e1f25631e45afed137ee","Running":false,"ExitCode":0,"ProcessConfig":{"privileged":false,"user":"","tty":true,"entrypoint":"bash","arguments":["-c","if [ -t 1 ]; then echo -n \"I''m a TTY!\"; fi"]},"OpenStdin":false,"OpenStderr":true,"OpenStdout":true,"Container":{"State":{"Running":true,"Paused":false,"Restarting":false,"OOMKilled":false,"Pid":10150,"ExitCode":0,"Error":"","StartedAt":"2015-02-12T00:54:03.765860638Z","FinishedAt":"0001-01-01T00:00:00Z"},"ID":"7549e49c7fdf696b4eaa3d01567237cef6f423c8b8259fd3a5015a2f1c2618f7","Created":"2015-02-12T00:54:03.427361709Z","Path":"sleep","Args":["20"],"Config":{"Hostname":"7549e49c7fdf","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":["sleep","20"],"Image":"debian:wheezy","Volumes":null,"WorkingDir":"","Entrypoint":null,"NetworkDisabled":false,"MacAddress":"","OnBuild":null},"Image":"c90d655b99b2ec5b7e94d38c87f92dce015c17a313caeaae0e980d9b9bed8444","NetworkSettings":{"IPAddress":"172.17.0.68","IPPrefixLen":16,"MacAddress":"02:42:ac:11:00:44","Gateway":"172.17.42.1","Bridge":"docker0","PortMapping":null,"Ports":{}},"ResolvConfPath":"/var/lib/docker/containers/7549e49c7fdf696b4eaa3d01567237cef6f423c8b8259fd3a5015a2f1c2618f7/resolv.conf","HostnamePath":"/var/lib/docker/containers/7549e49c7fdf696b4eaa3d01567237cef6f423c8b8259fd3a5015a2f1c2618f7/hostname","HostsPath":"/var/lib/docker/containers/7549e49c7fdf696b4eaa3d01567237cef6f423c8b8259fd3a5015a2f1c2618f7/hosts","Name":"/kickass_albattani","Driver":"devicemapper","ExecDriver":"native-0.2","MountLabel":"","ProcessLabel":"","AppArmorProfile":"","RestartCount":0,"Volumes":{},"VolumesRW":{}}}' http_version: recorded_at: Thu, 12 Feb 2015 00:54:03 GMT - request: method: post uri: /v1.16/containers/7549e49c7fdf696b4eaa3d01567237cef6f423c8b8259fd3a5015a2f1c2618f7/kill body: encoding: US-ASCII string: '' headers: User-Agent: - Swipely/Docker-API 1.18.0 Content-Type: - text/plain response: status: code: 204 message: headers: Date: - Thu, 12 Feb 2015 00:54:03 GMT body: encoding: US-ASCII string: '' http_version: recorded_at: Thu, 12 Feb 2015 00:54:03 GMT - request: method: delete uri: /v1.16/containers/7549e49c7fdf696b4eaa3d01567237cef6f423c8b8259fd3a5015a2f1c2618f7 body: encoding: US-ASCII string: '' headers: User-Agent: - Swipely/Docker-API 1.18.0 Content-Type: - text/plain response: status: code: 204 message: headers: Date: - Thu, 12 Feb 2015 00:54:04 GMT body: encoding: US-ASCII string: '' http_version: recorded_at: Thu, 12 Feb 2015 00:54:04 GMT recorded_with: VCR 2.9.2