How to customize docker.local host?

How would I customize docker.local to something else ? ex: ?
I tried to ping docker.local and then I used the IP address in host file to map for but it didn’t work…

Please advice.

1 Like

I would also like to know this.

What’s your use case for this?

You can get the IP of the Docker VM:

ping docker -4

Pinging docker [] with 32 bytes of data:
Reply from bytes=32 time<1ms TTL=64

Adding an entry to the hosts file using that IP worked fine for me.

I haver done this as a workaround.