Skip to content

[#431] Document persistent configuration paths for OpenAM Docker containers - #1270

Open
vharseko wants to merge 1 commit into
OpenIdentityPlatform:masterfrom
vharseko:docs/docker-persistent-configuration
Open

vharseko wants to merge 1 commit into
OpenIdentityPlatform:masterfrom
vharseko:docs/docker-persistent-configuration

Conversation

@vharseko

@vharseko vharseko commented Dec 1, 2026

Copy link
Copy Markdown
Member

The Docker image README now starts OpenAM with a named volume and links to the persistence guide. The guide explains how to reuse the configuration when replacing a container, choose a host directory, and set both JVM properties when using a different path inside the container.

The guide also covers the published 14.6.4 image, which left both JVM paths empty, and shows how to locate an existing configuration before running setup again. Discussion #431

Verification

  • Ran the five documented Docker command examples against the current image and the 14.6.4 image as applicable. Verified the effective JVM paths and confirmed that a replacement container could read a file written through each mount.
  • Validated the Compose example with docker compose config and checked the README link.
  • Rendered the AsciiDoc page in standalone and site modes.

@vharseko vharseko added documentation Documentation, README, or javadoc docker Docker image / container packaging labels Dec 1, 2026
@vharseko
vharseko requested a review from maximthomas December 1, 2026 14:14

@maximthomas maximthomas left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

praise: The custom path example keeps the mount target and both JVM properties aligned.


suggestion (non-blocking): Check the filesystem backing the bind mount after a host reboot.

Persistence guide, line 90

Discussion #431 reports a host reboot with --restart unless-stopped and a bind source under /dockerfs. If Docker starts the container before a separately mounted filesystem is ready, it can bind the empty directory underneath and keep that view because bind propagation defaults to rprivate. Ask readers to verify that the backing filesystem is mounted and boot.json is readable on the Docker host, then restart the container if it started before the filesystem became available. Discussion #431 · Docker restart policy · Docker bind propagation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docker Docker image / container packaging documentation Documentation, README, or javadoc

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants