Using database outside container #408
visualcohol
started this conversation in
General
Replies: 1 comment
-
I think $ docker run --rm tianon/network-toolbox dig host.docker.internal +short
$ Again on my DD-using Windows machine: $ docker run --rm tianon/network-toolbox dig host.docker.internal +short
192.168.XX.YY
$ (I also see it in your |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to make a containerized Ghost instance on a Linux which uses the hosts database.
I tried to create an extra host in composer file, defining it as "database__connection__host" but after starting the container I get host error in logs. Tried to connect to host DB from a test Ubuntu container via host.docker.internal and worked flawlessly.
Did anybody encounter this scenario, and can point me in the right direction? tx
Beta Was this translation helpful? Give feedback.
All reactions