Docker is an open platform for developers and sysadmins to build, ship, and run distributed applications. Learn more about how to use Docker with MarkLogic from these two blog posts:

Patrick McElwee has put together a Dockerfile that dramatically speeds up the creation of a fresh MarkLogic Docker instance by installing all necessary dependencies. You will have to separately download a MarkLogic RPM for CentOS 6 and move the RPM to the same folder as your Dockerfile.

This community-driven Docker image for MarkLogic is available in the Docker Hub Registry:

Richard Louapre has built a general Docker image for MarkLogic and a separate one to make Samplestack easier to set up. These community-driven images are available on GitHub.


  • I followed the instructions at and have a running docker container with Marklogic supposedly running based on the info I see in the 'UI For Docker' web interface. The IPAddress is and the exposed ports are: Exposed Ports: 7997/tcp 7998/tcp 7999/tcp 8000/tcp 8001/tcp 8002/tcp 9200/tcp 9201/tcp I expected to be able to connect to the admin UI on 8001 and perform the server install IAW But I get a connection refused: " refused to connect." Any ideas? The UI For Docker is on on and works fine. The host is: Operating System: Ubuntu 16.04.1 LTS Kernel Version: 4.4.0-45-generic Thanks
    • I get the same error on Ubuntu 16.04 ,is it a known issue?
      • I'm not sure what the problem is. You'll get more eyes on your question if you post on <a href="">Stack Overflow</a>.