Answer the question
In order to leave comments, you need to log in
What is the easiest way to access a host from a docker container?
A test piece of hardware with nginx, mariadb, php5.6-fpm I wouldn’t want to blow up anything here, put a php: 7.1-cli docker container nearby, everything seems to be alive, but mariadb has to knock on the public IP (I had to open a port outside), maybe there is there an easier way to communicate with the DB on the host? Or just put the mariaDB container next to it and through compose?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question