Skip to content

peterrichards-lr/liferay-docker-manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1,371 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Liferay Docker Manager (ldm)

A professional command-line orchestrator for quickly standing up Liferay Portal and DXP environments using Docker Compose.


πŸŽ₯ Showcase

Check out our Video Showcase to see short demonstrations of LDM in action, including Fast Provisioning, Cloud Hydration, and instant Snapshots & Restoration!


πŸš€ Quick Start

The standalone binary is the recommended way to use LDM. Copy and run the block specific to your environment:

macOS (Apple Silicon)

sudo curl -L https://github.com/peterrichards-lr/liferay-docker-manager/releases/latest/download/ldm-macos-arm64 -o /usr/local/bin/ldm
sudo chmod +x /usr/local/bin/ldm

macOS (Apple Intel)

sudo curl -L https://github.com/peterrichards-lr/liferay-docker-manager/releases/latest/download/ldm-macos-x86_64 -o /usr/local/bin/ldm
sudo chmod +x /usr/local/bin/ldm

Linux / WSL2

sudo curl -L https://github.com/peterrichards-lr/liferay-docker-manager/releases/latest/download/ldm-linux -o /usr/local/bin/ldm
sudo chmod +x /usr/local/bin/ldm

For detailed setup on Windows (including PowerShell instructions), see the Full Installation Guide.


πŸ“‹ Common Commands

Once installed, bootstrap or run your stacks instantly:

# 1. THE CONFIDENCE BOOSTER: Run Liferay with pre-configured samples
ldm run my-sample-project --samples

# 2. THE VANILLA FLOW: Run a fresh vanilla Liferay instance (LTS release)
ldm run my-vanilla-project --vanilla --tag 2026.q1.7-lts

# 3. THE DEVELOPER FLOW: Link a local workspace and start monitoring
ldm link /path/to/workspace my-project

# 4. THE PREDEFINED QUICKSTART: Bootstrap an accelerator demo stack
ldm quickstart aica

# 5. THE TIME MACHINE: Take a snapshot of your database and volumes, and restore them later
ldm snapshot my-project
ldm restore my-project

# 6. THE CLONE FLOW: Clone and setup a remote Git workspace repository
ldm clone https://github.com/my-org/my-workspace.git my-project

# 7. THE PORTABLE PACKAGE: Export and Import compiled project snapshots (.ldmp)
ldm package my-project
ldm import /path/to/my-project.ldmp

Note

Headless & Seeding Prompt Behaviors:

  • By default, LDM checks for a cached pre-warmed database seed. If not cached, it will prompt you interactively to download it.
  • CI/CD / Headless Scripts: To prevent interactive prompts from blocking headless environments, pass -y / --yes / --non-interactive to automatically confirm seed downloads, or pass --vanilla Added in v2.16.0 / --no-seed to skip seeding entirely and start a clean baseline database.

Legacy Commands Note: ldm init-from has been deprecated and is superseded by the ldm link command.


πŸ“š Documentation Signposts

LDM is conventions-driven and highly customizable. Choose a topic below for detailed information:

1. Getting Started

2. Core Operational Guides

3. Developer & Integration Resources


For a complete structured table of contents, visit the Documentation Index.


Last Updated: 2026-07-20 | Last Reviewed: 2026-07-09

About

A professional command-line orchestrator for quickly standing up Liferay Portal and DXP environments using Docker Compose.

Topics

Resources

License

Code of conduct

Contributing

Stars

3 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors