karaf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Achim Nierbeck <bcanh...@googlemail.com>
Subject Re: Karaf 4, Docker, and Profiles
Date Tue, 26 Jul 2016 19:10:35 GMT

actually we're still lacking good documentation for profiles.
Never the less the way those profiles are supposed to work is quite similar
to features,
it uses property file syntax instead. Right now there are two different
ways of deploying profile-Karaf instances.
One which uses dynamic profiles and another one using static profiles for
build-time only.
You'll find examples of those in the demos/profiles folder of the Karaf

regarding 2, I'm not aware of. I only build my own Karaf docker image[1] to
play around with in the past, but never explicitly using profiles.

regards, Achim

[1] -

2016-07-26 18:08 GMT+02:00 ds3161 <dsaus@cerner.com>:

> I read a blog post recently, and some threads related to it, where
> Jean-Baptiste mentioned working with Docker and Karaf to create custom
> distributions of apps using Karaf profiles.  I have need to do this as well
> and would like some direction on how to accomplish this.  I have a working
> Docker image of Karaf 4.x and now need to have the image automatically
> deploy my application to it and get a set of configs for it.
> 1. Are Karaf Profiles documented anywhere?  I know it was a new feature in
> 4.x but I can't find anything in the Karaf doc and a google search produced
> nothing of substance about how they work.
> 2. Are there any working examples of a Docker image/Dockerfile using a
> Karaf
> base image and profiles to create a functioning Docker container of a
> karaf-deployed app?
> --
> View this message in context:
> http://karaf.922171.n3.nabble.com/Karaf-4-Docker-and-Profiles-tp4047335.html
> Sent from the Karaf - Dev mailing list archive at Nabble.com.


Apache Member
Apache Karaf <http://karaf.apache.org/> Committer & PMC
OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer &
Project Lead
blog <http://notizblog.nierbeck.de/>
Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS>

Software Architect / Project Manager / Scrum Master

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message