We have a private IP that we use for local development thats not 127.0.0.1. So I we have to fiddle with adding IP aliases on loopback like this on the host:
if [ $(uname) == "Darwin" ] ; then
sudo ifconfig lo0 alias 172.16.1.1 255.255.255.255
sudo ifconfig lo0 alias 172.16.1.200 255.255.255.255
fi
if [ $(uname) == "Linux" ] ; then
if ! ip addr show to 172.16.1.1 | grep UP ; then
sudo ip addr add 172.16.1.1/24 dev lo
sudo ip addr add 172.16.1.200/24 dev lo
fi
fi
}
Description
Hey, thanks for colima!
We have a private IP that we use for local development thats not 127.0.0.1. So I we have to fiddle with adding IP aliases on loopback like this on the host:
Would be great if this could be built in.