Accessing to mysql

Hi Together,

I’ve got two dockers one mysql docker and one docker with a rails application.

Now I want to access from the rails docker container to the docker container with the mysql container … but can’t get access?.. What could be the problem?

Hi,

you can access and connect between docker container is so easy!

please read this article
https://docs.docker.com/userguide/dockerlinks/

this article can help you!

this article is so complete with example…
https://docs.docker.com/articles/ambassador_pattern_linking/