Expected behavior
Expecting the same thing as Docker Toolbox version 1.11:
docker run --rm -it --net host debian:jessie hostname --ip-address
127.0.0.1
Actual behavior
$ docker run --rm -it --net host debian:jessie hostname --ip-address
hostname: Name or service not known
Information
OS X: version 10.11.4 (build: 15E65)
Docker.app: version v1.11.0-beta7
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/20160414-150949.tar.gz
Most specific failure is: No error was detected
Your unique id is: BA7E5DF9-273C-4C58-AB5B-FE919698E609
Steps to reproduce the behavior
Stated above in “Expected behavior”