OpenLiberty / OpenLiberty/ci.docker
Support scenario with running Liberty containers with readOnlyRootFilesystem
Open
@halim-lee is already working on this.
Since Jul 15, 2025.
enhancement
zenhub-dev
- Dominant language
- Shell
- Stars
- 48
- Forks
- 60
- Avg merge
- 3h 2m
- Merged PRs (30d)
- 3
Description
When Liberty containers are run with readOnlyRootFilesystem security context set to true, it encounters permission issues due to files being generated at runtime. In particular at these locations:
/opt/ol/wlp/output/opt/ol/wlp/usr/servers/defaultServer/configDropins
It's possible to use init containers and volume mounts to get around this. But investigate whether anything can be done at container image level to improve this scenario.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.