Two simple, quick methods to access the host network from a Docker container (updated for Docker 18.03, Linux & macOS)
Last updated: April 6, 2019 Last tested with version Docker version 18.09.3 on Ubuntu 16.04, Debian 9 »
Last updated: April 6, 2019 Last tested with version Docker version 18.09.3 on Ubuntu 16.04, Debian 9 »
Getting this annoying error? ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) »