flask app in docker cannot connect to database code example Example: docker flask can't connect if __name__ == '__main__': app.run(host='0.0.0.0')