islandora/karaf

Sponsored OSS

By islandora

Updated about 2 years ago

Karaf is a lightweight, powerful, and enterprise ready modulith runtime.

Image
Content Management System
Languages & Frameworks
Integration & Delivery
0

10K+

Karaf

Docker image for Karaf version 4.0.8

Please refer to the Karaf Documentation for more in-depth information.

As a quick example this will bring up an instance of karaf, and allow you to log view the WebConsole on http://localhost:8181/system/console/ as the user admin with the password password.

docker run --rm -ti \
    -p 8181:8181 \
    -e "KARAF_ADMIN_NAME=admin" \
    -e "KARAF_ADMIN_PASSWORD=password" \
    islandora/karaf

Dependencies

Requires islandora/karaf docker image to build.

Ports

PortDescription
8101SSH
1099RMI
44444JMX
8181WebConsole

Volumes

PathDescription
/opt/karaf/dataKaraf Directory Structure

Settings

Environment VariableConfd KeyDefaultDescription
KARAF_ADMIN_NAME/karaf/admin/nameadminAdmin user name
KARAF_ADMIN_PASSWORD/karaf/admin/passwordpasswordAdmin user password

Additional users/groups/etc can be defined by adding more environment variables, following the conventions listed below:

Environment VariableConfd KeyDescription
KARAF_USER_{USER}_NAME/karaf/user/{USER}/nameSee Security: users.properties
KARAF_USER_{USER}_PASSWORD/karaf/user/{USER}/passwordSee Security: users.properties
KARAF_USER_{USER}_ROLES/karaf/user/{USER}/rolesSee Security: users.properties
KARAF_GROUP_{GROUP}_NAME/karaf/group/{GROUP}/nameSee Security: users.properties
KARAF_GROUP_{GROUP}_ROLES/karaf/group/{GROUP}/rolesSee Security: users.properties

N.B. These do not have defaults.

Logs

Docker Pull Command

docker pull islandora/karaf