We used customized apache karaf server to deploy OSGI bundles. we have an installer that install customized apache karaf along with the OSGI bundles and whole run as a Linux service. The problem with installer is it takes dynamic parameters that are configured in properties files required for bundles. From docker point of view, we are running the installer in the container and manually updating the configuration files, So every time if i am a using same image to spawn new a container i need to manually update the configuration files.Is it right way?
How to dockerize customized Apache Karaf server based application?
390 Views Asked by Ompratap Singh At
1
There are 1 best solutions below
Related Questions in DOCKER
- sqlplus myusername/mypassword@ORCL not working with Oracle on Docker
- Golang == Error: OCI runtime create failed: unable to start container process: exec: "./bin": stat ./bin: no such file or directory: unknown
- Only the first SQL script gets executed inside Docker Postgres container
- Retrieve the Dockerfile configuration from the Kubernetes and also change container Java parameter?
- Polars with Rust: Out of Memory Error when Processing Large Dataset in Docker Using Streaming
- Compiling eBPF program in Docker fails due to missing '__u64' type
- AttributeError: module 'numba' has no attribute 'generated_jit'
- Phoenix in a docker dev environment - generated code can't be saved from VSCode
- Docker on Multipass VMs: Connecting worker nodes to swarm results in rcp error
- Facing error in creating image of my react+vite project . Dockerfile error
- NextJS Docker build fails: fetch failed ECONNREFUSED
- Docker container unable to make HTTPS requests to external API
- Failed to connect to your instance after deploying mern app on aws ec2 instance when i try to access frontend
- Connecting to Postgres running in a Docker container using psql
- Can't connect to local postgresql server from my docker container
Related Questions in DOCKER-COMPOSE
- Only the first SQL script gets executed inside Docker Postgres container
- Phoenix in a docker dev environment - generated code can't be saved from VSCode
- NextJS Docker build fails: fetch failed ECONNREFUSED
- Failed to connect to your instance after deploying mern app on aws ec2 instance when i try to access frontend
- Passing arguments to ENTRYPOINT causes the container to start and run indefinitely
- Why docker-compose volume binding didn't work during the build? Should I always COPY necessary for build files?
- docker-compose can't reset postgresql database
- mySQL through docker compose not available at localhost
- Problem running wagtail(CMS for django) and postgresql in Docker Compose
- Docker: keep python packages consistent
- How to create a docker composer environment where containers can communicate each other?
- Error: P1001: Can't reach database server at `db`:`5432` on github actions
- Springboot Kafka Consumer unable to maintain connect to kafka cluster brokers
- Nodejs application cannot communicate with postgresql (docker-compose)
- Issues with redirect when setting up Traefik Reverse Proxy in Docker
Related Questions in DOCKERFILE
- Phoenix in a docker dev environment - generated code can't be saved from VSCode
- Facing error in creating image of my react+vite project . Dockerfile error
- Run multiple shell scripts in Dockerfile
- Error while creating docker image from env.yml file which has a python package that i created locally
- Docker build fails with "failed to solve: the Dockerfile cannot be empty" error
- How do I locally specify the path for nuget in my dockerfile?
- When I use built-in DockerFile in Visual Studio, I see no errors, but when I try to create image and container using terminal I get an error
- is there a way to find the path for mongo database that I have created
- split huge docker-compose file contains fragment into multiiple
- getting osd output from tesseract on (need the script value Latin, cyrillic...) tika-server
- Dockerfile and package-json are in different folders
- Install OpenDevin with Docker
- Installing dotnet8 on amazonlinux 2023 image through dockerfile
- Not being able to run my Jupyter notebook using Dockerfile
- How to add a Maven project to an Ubuntu image in Docker
Related Questions in DOCKER-MACHINE
- sudo docker container prune recovery
- Docker service startup failed with status 203
- How to run docker build command inside a docker container?
- Is named docker Volume stored on host machine
- Jenkins configuration file in jenkins docker container
- Dockerfile - nuxt: Permission denied
- How to start two Docker containers nginx locally
- Docker Swarm initialization in AWS :Error creating machine: Error running provisioning: error installing docker:
- ERROR: Preparation failed: exec: "docker-machine": executable file not found in $PATH
- A solution for using docker and wsl in windows 10
- Docker on windows wsl not running daemon
- Jetty 12 docker war not booting
- How can I enhance the speed of docker site
- How to fix Docker connection reset by peer, Docker Status is UP but cannot connect to sever?
- About "Cannot connect to the Docker daemon at unix:///var/run/docker.sock" ERROR
Related Questions in BOOT2DOCKER
- Unable to download or very slow download of boot2docker.iso (v19.03.5) from github repo
- Some question on Boot2docker setup for build and run
- Unable to use Shared folder from Windows 10 to boot2docker VM after boot2docker v18.06
- Docker compose considers the build context as a relative path instead of a URL
- Docker build specific local git branch
- boot2docker / bootsync.sh ignores my default gateway?
- How to distinguish between Docker Toolbox and Docker for Mac/Windows?
- Docker - IP address of container on Windows
- docker-machine can't create more than two VMs
- Zookeeper docker container stuck
- Unable to run Docker Toolbox on windows 10 home even after enabling virtualization from BIOS settings
- How can I make Docker container shared files with host appeared in the container?
- Configuring corp proxy for Docker on Oracle VM VirtualBox
- How migrate physical postgres database data to postgres container
- Docker for Windows - Mount directory is coming empty
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Let's start from here:
and to keep it simple, let's also assume that you have a standalone Docker daemon up and running (no Swarm or Kubernetes orchestrator).
Your problem is the following:
To reduce any manual intervention you can use already written properties files. These files will be stored somewhere on the filesystem of your Docker host. You need also to know where on the virtual filesystem of the container the properties files are located.
At this point, using the Docker CLI, you can run the following command:
Notice that:
To get more information about how to use Docker volumes have a look at the following Docker documentation page here.
Within a Docker Swarm environment, you can use the config object. To understand better what configs are and how to use them, have a look here.