-
Type:
Suggestion
-
Resolution: Low Engagement
-
None
-
Component/s: Docker
-
1
Problem Definition
Currently, the docker image we ship doesn't preserve any changes we make in server.xml. If we need to change some settings like adding a proxy address, we need to build a new image.
Suggested Solution
We can add the volume attribute in DockerFile. This preserves the changes we make in server conf.
VOLUME ["${BAMBOO_SERVER_HOME}", "${BAMBOO_SERVER_INSTALL_DIR}/conf"]
Workaround
We need to create a new image after alteration to preserve the values during a restart.