Public Repository

Last pushed: a year ago
Short Description
RHEL 7.2 OS with installed mariadb5.5 rpm. Command: docker pull mh2ict/rhel7mariadb_base-ppc64le:7.2
Full Description

This is a base docker image with installed mariadb 5.5 packages. Now we need to create a Dockerfile for customized mariadb Server.

Source Link: https://github.com/CentOS/CentOS-Dockerfiles/tree/master/mariadb/centos7

Dockerfile Example:
FROM centos:centos7

MAINTAINER PPC64LE Project mh2ict@gmail.com
LABEL Vendor="RHEL7"
LABEL License=GPLv2
LABEL Version=5.5.41

LABEL Build docker build --rm --tag centos/mariadb55 .

COPY fix-permissions.sh ./
RUN ./fix-permissions.sh /var/lib/mysql/ && \
./fix-permissions.sh /var/log/mariadb/ && \
./fix-permissions.sh /var/run/

COPY docker-entrypoint.sh /

ENTRYPOINT ["/docker-entrypoint.sh"]

VOLUME /var/lib/mysql

USER 27

EXPOSE 3306
CMD ["mysqld_safe"]

Note: fix-permissions.sh & docker-entrypoint.sh file need to download from the above link.

Docker Pull Command
Owner
mh2ict