Hello everyone i want to create a docker image with a dockerfile.
The docker image must run httpd and mariadb. From A centos 7 image.
My probleme Is when i run the image httpd start but mariadb not.
Can Anyone please help me.
Thanks,
My Dockerfile
#############################
FROM centos:7
MAINTAINER HAMZA_BENHAMANI
Install All Packages
RUN yum install -y mariadb-server httpd
CMD mysqld_safe
CMD apachectl -D FOREGROUND
#############################