Docker Community Forums

Share and learn in the Docker community.

Automated build fail but work on local

build
dockerhub

(Olive007) #1

Hello

I am trying to create my own container. To save my personal configuration into it.

When I install phpmyadmin into a container I have to launch MySQL. So I do a command like that: “service mysql start && apt-get install phpmyadmin && service mysql stop”.
This command work perfectly on my computer but doesn’t with a automated build on hub.docker.com

Anyone can explain me why ? The problem look to be with the socket file.

Thanks,
Olivier