Shell pipeline and docker run -i

Expected behavior

$ echo foo | docker run -i alpine cat
foo
$

This is the behaviour with latest Docker Toolbox.

Actual behavior

$ echo foo | docker run -i alpine cat
$

Information

OS X: version 10.11.4 (build: 15E65)
Docker.app: version v1.11.0-beta9
Running diagnostic tests:
[OK]      docker-cli
[OK]      Moby booted
[OK]      driver.amd64-linux
[OK]      vmnetd
[OK]      osxfs
[OK]      db
[OK]      slirp
[OK]      menubar
[OK]      environment
[OK]      Docker
[OK]      VT-x
Docker logs are being collected into /tmp/20160430-193915.tar.gz
Most specific failure is: No error was detected
Your unique id is: 2E308555-FE60-45EF-9345-C49A30CBCBAB
Please quote this in all correspondence.

I think the ‘actual’ should be that the string is not echoed.
That’s the issue you are reporting?

Yes, exactly - sorry for confusion, my initial submission had actual/expected reversed.