https://github.com/mozgiii/docker-host-ip-addr-show
https://github.com/mozgiii/docker-host-ip-addr-show
docker docker-for-mac
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/mozgiii/docker-host-ip-addr-show
- Owner: MOZGIII
- Created: 2018-04-19T21:20:22.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-04-19T21:20:32.000Z (about 8 years ago)
- Last Synced: 2025-01-21T06:28:53.230Z (over 1 year ago)
- Topics: docker, docker-for-mac
- Size: 0 Bytes
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# docker-host-ip-addr-show
Image will print docker host's IP addresses (using `ip addr show`).
This is useful when you're working with Docker for Mac and need to know the Docker VM's IP address to connect to it.
## Usage
```shell
docker run -it --rm --privileged --pid=host mozgiii/docker-host-ip-addr-show
```