Docker Community Forums

Share and learn in the Docker community.

Mysql server into a Centos container


(Babousse) #1

Hello,

I have a specific docker infrastructure, there are 2 containers:

  • One with a complex web application running with a custom Tomcat on a Centos:7 image.
  • The other with a mysql:5.7 image, using custom cnf file and a volume.

They are linked together and actually this is working very well but, for some reason, I have to regroup it on a single container.
The problem is I’m not able to run Mysql on the Centos container after installing it, the service won’t start by any way.
Do you know if it’s possible to have Mysql running into a Centos container?

Regards