Making a karaf/docker service read a configuration file -


starting io8 maven archetype, i'm setting docker container containing karaf container containing cxf restful web service.

i want read file when starts parameterizes it. what's procedure setting (a) docker container can receive config file when launched, , (b) finding file inside?

to provide configuration file container can use following: docker run -d -v /path/to/your/config.file:/path/inside/the/container/config.file yourimage

for more information please refer official documentation on how use volumes.


Comments

Popular posts from this blog

javascript - Karma not able to start PhantomJS on Windows - Error: spawn UNKNOWN -

c# - Display ASPX Popup control in RowDeleteing Event (ASPX Gridview) -

Nuget pack csproj using nuspec -