Some additioanl knowledge...
How to configure a docker image:
- Customized command line arguments -> args: []
- Copy configuration file into docker image
- By parsing enviorment parameter
1) Cloud Native application are usually configurable with enviorment parameter
2) Using entrypoint script to configure/overwirte existing configuration file in docker image
- Using configuration file within Volumes as mount point in Docker
1 Configmap
Configmap provide configuration parameters as plaintext from outside of the container to container image.
There are two ways to injects configuration parameters in a docker instance:
- Mounting configuration file in docker by using volume
- Reading infos from Configmap and add them to enviorment parameters