Docker Community Forums

Share and learn in the Docker community.

Accessing to mysql


(Holzfelix) #1

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?


(Amir Arsalan) #2

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!


(Amir Arsalan) #3

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