Skip to content

Instantly share code, notes, and snippets.

@zmts
Created June 30, 2020 09:49
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save zmts/4083afbe98019529e88fd6674f90715a to your computer and use it in GitHub Desktop.
Save zmts/4083afbe98019529e88fd6674f90715a to your computer and use it in GitHub Desktop.
Get access to localhost database from docker container

Get access to localhost database from docker container

  • Run containerized application on 0.0.0.0 address
  • Use host.docker.internal as database hostname
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment