...
- Determine your host IP address.
- For Docker Toolbox on Windows
- Use the IP address from 'docker-machine ip'
- For Docker Desktop on Windows
- Use the PC's IP Address
- For Linux Local
- Use the PC's IP Address
- For Mac
- # Pushparathi Pandian, please specify. Ralph A. Navarro Jr.Added the below instructions
- Click on the WiFi menu button in your Mac's menu bar.
- Then select Network Preferences. ...
- Next, select your network. ...
- Then click on the Advanced button. ...
- Next, click the TCP/IP tab. ...
- Your computer's IP address will be a series of numbers next to IPv4 Address.
- For Docker Toolbox on Windows
- Locate your hosts file.
- For Windows
- c:\Windows\System32\etc\hosts
- For Linux
- /etc/hosts
- For Mac
- /etc/hosts # Pushparathi Pandian, please confirm. Ralph A. Navarro Jr.confirmed
- For Windows
- As admin or root, add a line to your hosts file.
- <host IP> website.sdb backend.sdb frontend.sdb mongo-express.sdb
...