Public Repository

Last pushed: 2 years ago
Short Description
CentOS (6.6 64-bit) with MarkLogic 8 NoSQL database server installed
Full Description

Pre-Requisites

NOTE: By making use of this docker image you accept MarkLogic's Developer License Agreement, which you need to agree when downloading the RPM.

Getting started

To create your own docker container with a MarkLogic 8 server for development purposes execute:

docker run -d -p 7997:7997 -p 8000:8000 -p 8001:8001 -p 8002:8002 nikos/centos-ml8

This will on the first time download the image and then create and start a new docker container with a MarkLogic 8 server running on the default ports ready for you. Please open now your browser and hit http://localhost:8001 to continue the setup process and agree to the Terms & Conditions.

The docker image was created to expose the following ports, the port range 8040-8044 can be used to expose your own application easily:

7997/tcp, 7999-8002/tcp, 8040-8044/tcp

More information about MarkLogic 8 and details about the free developer license.

Please note that this image is not an official release, please use it at your own risk and pleasure.

Dockerfile

The Dockerfile used to build this image:

FROM centos:centos6.6
MAINTAINER Niko Schmuck <niko.auto@nava.de>

# Install MarkLogic
RUN yum -y update &&\
    yum groupremove 'Additional Development' 'E-mail server' 'Graphical Administration Tools' 'Perl Support' &&\
    curl -O https://developer.marklogic.com/download/binaries/8.0/MarkLogic-8.0-3.x86_64.rpm &&\
    yum -y install MarkLogic-8.0-3.x86_64.rpm &&\
    rm MarkLogic-8.0-3.x86_64.rpm &&\
    yum clean all

ENV MARKLOGIC_INSTALL_DIR /opt/MarkLogic
ENV MARKLOGIC_DATA_DIR /data

ENV MARKLOGIC_FSTYPE ext4
ENV MARKLOGIC_USER daemon
ENV MARKLOGIC_PID_FILE /var/run/MarkLogic.pid
ENV MARKLOGIC_MLCMD_PID_FILE /var/run/mlcmd.pid
ENV MARKLOGIC_UMASK 022

ENV PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/MarkLogic/mlcmd/bin
ENV LD_PRELOAD /opt/MarkLogic/lib/libjemalloc.so.1
ENV LD_LIBRARY_PATH /opt/MarkLogic/lib:/data/Lib

# Define mountable directory
VOLUME ["/data"]

# Define working directory
WORKDIR /data

# Define default command (which avoids immediate shutdown)
CMD /opt/MarkLogic/bin/MarkLogic && tail -F /data/Logs/ErrorLog.txt

# Expose MarkLogic Server ports
EXPOSE 7997 7999 8000 8001 8002 8040 8041 8042 8043 8044
Docker Pull Command
Owner
nikos