Tuesday, April 23, 2013

Changing DNS in Ubuntu >= 12.04

sudo sublime-text /etc/dhcp/dhclient.conf
prepend domain-name-servers 8.8.8.8, 8.8.4.4;
sudo resolvconf -u
Post a Comment

How to get the IP address of the docker host from inside a docker container

/sbin/ip route|awk '/default/ { print $3 }'