Skip to content

rootless container fails to start on Openshift #85

@jeffgus

Description

@jeffgus

The rootless container doesn't work with Openshift's stricter permissions.

The pod needs to write to /etc/marklogic.conf and /home/marklogic_user.

I was able to get the pod up and running by making a new container image:

FROM docker.io/progressofficial/marklogic-db:11.3.0-ubi-rootless

USER root
RUN chmod g+w /etc/marklogic.conf && \
  chmod g+rwx /home/marklogic_user && \
  chmod -R u+rwX,go+rX,o-w /opt/MarkLogic

USER marklogic_user

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions