Generate a Docker image with mlcp
- Last Updated: April 14, 2026
- 1 minute read
- MarkLogic Server
- Documentation
Build an image containing mlcp by preparing a Dockerfile or using the image generated by the development team: mdweller5/theswamp:mlcp.
To build the mlcp Docker image:
-
Download the mclp binary zip file from MarkLogic Content Pump to an empty folder/directory.
-
Extract the zip file.
-
Create a Dockerfile in the same directory:
FROM openjdk COPY ./mlcp-11.3.1 /mlcp WORKDIR /mlcp ENTRYPOINT ["./bin/mlcp.sh"]Note: The Dockerfile should not have a file extension.
-
Build the mlcp Docker image with the tag
marklogic/mlcpby running this script:cd /project/mlcp docker build -t marklogic/mlcp .