Connecting Docker to localhost PostgreSQL on an Ubuntu 18.04 Host
It is possible to access a service such as PostgreSQL on the localhost of an Ubuntu/Linux host machine from inside of a docker container with a bit of configuration.