How to run mariadb in the docker build phase
I am trying to run mariadb in my dockerfile. The dockerfile’s job is to build my app and leave a Docker image ready to run.
Docker error: dial tcp: lookup container-mariadb-coffee on 127.0.0.11:53: no such host
My database container was running normally, but after a while it crashed and gave this error. Unfortunately docker doesn’t give me a good error message.