Skip to content

Latest commit

 

History

History
52 lines (28 loc) · 1.83 KB

README.md

File metadata and controls

52 lines (28 loc) · 1.83 KB

ForgeRock OpenDJ

This repository contains Dockerfile and resources to build a Docker image with ForgeRock version OpenDJ 2.7.0-20150429 (nightly, as of this commit) with Example.ldif containing users. Please see opendj-install.properties for default cn and password (see below, Build Notes, for other info).

Usage

Run from Docker Hub

If you don't want to check out this repo, you can use the latest build of the image on Docker Hub: ghchinoy/forgerock

The following commands will run container named opendj

docker pull ghchinoy/forgerock
docker run -d -p 1389:1389 -p 1636:1636 -p 4444:4444 --name opendj ghchinoy/forgerock

Build and Run from Dockerfile

Check out this repo and issue the following commands to build then run a Docker container named opendj

Check out

git clone https://github.com/ghchinoy/forgerock-docker.git
cd forgerock-docker

Build

docker build -t local/forgerock -f Dockerfile.opendj .

Run

docker run -d -p 1389:1389 -p 1636:1636 -p 4444:4444 --name opendj local/forgerock

Access at ldap://dockerip:1389

For boot2docker users, ldap://boot2dockerip:1389

Build Notes

opendj-install.properties

  • sets root user DN, password, ports
  • installs Example.ldif so there's data; one can comment out ldifFile property to build an empty LDAP

To Do

  • startOpenDJ script is intended to also start the REST access to OpenDJ, but currently doesn't work
  • Change example.ldif to be mountable, so that users can specify their own ldif
  • Add a script to download the latest OpenDJ