Created
May 19, 2020 07:15
-
-
Save truedat101/527c62a0162467f77059bf6b354601d0 to your computer and use it in GitHub Desktop.
docker whoami?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Same here | |
Docker Desktop 2.2.0.5 | |
Docker Engine 19.03.8 | |
On Mac OSX 10.14.6 | |
$ docker run -it --rm -p 80:80 --name whoami containous/whoami | |
On a remote machine | |
$ curl 192.168.25.87 | |
Hostname: 07a90be6f0fa | |
IP: 127.0.0.1 | |
IP: 172.17.0.2 | |
RemoteAddr: 172.17.0.1:46448 | |
GET / HTTP/1.1 | |
Host: 192.168.25.87 | |
User-Agent: curl/7.54.0 | |
Accept: / | |
Expected to be the ip from remote client on 192.168.25.0 network | |
See https://github.com/docker/for-mac/issues/180#issuecomment-619462837 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment