marklogic / marklogic/marklogic-docker

Unable to execute Docker image using Podman

Open
#363 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
RobotFramework
Stars
17
Forks
16
Avg merge
13h 6m
Merged PRs (30d)
12

Description

Running Marklogic using Docker Desktop (on Mac OSX) works find. However, it crashes when I try to use Podman:

> podman logs -f intelligent_lewin
2025-07-08 05:47:55.368 Info: Starting container with MarkLogic Server.
2025-07-08 05:47:55.389 Info: | server ver: 11.3.1 | scripts ver: 2.1.3 | image type: ubi9-rootless | branch: release-2.1.3 |
2025-07-08 05:47:55.578 Info: /etc/marklogic.conf will be appended with provided environment variables.
2025-07-08 05:47:55.599 Info: Appended MARKLOGIC_PID_FILE to /etc/marklogic.conf
2025-07-08 05:47:55.619 Info: Appended MARKLOGIC_UMASK to /etc/marklogic.conf
2025-07-08 05:47:55.637 Info: Appended TZ to /etc/marklogic.conf
2025-07-08 05:47:55.657 Info: Appended MARKLOGIC_USER to /etc/marklogic.conf
2025-07-08 05:47:55.678 Info: Appended MARKLOGIC_EC2_HOST to /etc/marklogic.conf
2025-07-08 05:47:55.698 Info: INSTALL_CONVERTERS is false, not installing converters.
/opt/MarkLogic/mlcmd/bin/is-ec2.sh: line 6: sudo: command not found
MarkLogic - user override of EC2 detection
Starting MarkLogic: 2025-07-08 05:48:01.218 Info: MARKLOGIC_ADMIN_PASSWORD is set, using ENV for admin password.
2025-07-08 05:48:01.244 Info: MARKLOGIC_ADMIN_USERNAME is set, using ENV for admin username.
2025-07-08 05:48:01.266 Info: MARKLOGIC_WALLET_PASSWORD is set, using ENV for wallet-password.
2025-07-08 05:48:01.286 Info: MARKLOGIC_INIT is true, initializing the MarkLogic server.
2025-07-08 05:48:01.305 Info: Initializing MarkLogic on aa33618daee8
2025-07-08 05:48:03.331 Info: Waiting for MarkLogic to restart.
2025-07-08 05:48:14.255 Info: MarkLogic has restarted.
2025-07-08 05:48:14.275 Info: Installing admin username and password, and initialize the security database and objects.

2025-07-08 05:49:35.817 Error: Expected response code 202, got 000 from http://aa33618daee8:8001/admin/v1/instance-admin.

This occurs with both the default image and progressofficial/marklogic-db:11.3.1-ubi9-rootless-2.1.3.

Is there a workaround to this problem?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the failure with Podman using the default image or progressofficial/marklogic-db:11.3.1-ubi9-rootless-2.1.3 and inspect the logs around /opt/MarkLogic/mlcmd/bin/is-ec2.sh and the /admin/v1/instance-admin request. Done means identifying a Podman-compatible workaround or change that lets initialization receive the expected 202 response.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, shell
Domain
databases, devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.