When I run these commands to create a network:
sudo networksetup -createnetworkservice AdHoc2 lo0
sudo networksetup -setmanual AdHoc 192.168.1.88 255.255.255.255
Afterward, I am unable to connect to local sites which are powered by Docker. Only removing with:
sudo networksetup -setmanual AdHoc 192.168.1.88 255.255.255.255
Makes it work again. Docker subnet is 192.168.65.0/24
so I guess it interferences, but I’ve tried providing other IP like 111.168.1.88
and it still doesn’t work.
What IP should I provide so that docker would not stop working when the network is created?