Creating new network service OSX prevents docker from working

When I run these commands to create a network:

sudo networksetup -createnetworkservice AdHoc2 lo0
sudo networksetup -setmanual AdHoc

Afterward, I am unable to connect to local sites which are powered by Docker. Only removing with:

sudo networksetup -setmanual AdHoc

Makes it work again. Docker subnet is so I guess it interferences, but I’ve tried providing other IP like and it still doesn’t work.

What IP should I provide so that docker would not stop working when the network is created?