Skip to content

Commit 5d1e6f0

Browse files
committed
docs: add note about using special docker DNS
1 parent d85cc0a commit 5d1e6f0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

DOCKER_TIPS.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,10 @@
3232

3333

3434
## Running Xdebug with PHPStorm alongside Docker.
35-
Any logic that needs to speak to the host machine will need to point to the IP of `10.254.254.254`.
35+
From Docker versions 18.03 and above, Docker creates a special DNS name that resolves
36+
to the internal IP address used by the host.
3637

37-
For Xdebug to work through PHPStorm first execute:
38+
Old logic (that has not updated to special DNS name) will need to point to the IP of `10.254.254.254`.
3839

3940
```
4041
sudo ifconfig lo0 alias 10.254.254.254

0 commit comments

Comments
 (0)