OpenLiberty / OpenLiberty/ci.docker
OpenLiberty with readonly container requires /tmp to be writeable
Open
@halim-lee is already working on this.
Since Sep 26, 2023.
zenhub-dev
- Dominant language
- Shell
- Stars
- 48
- Forks
- 60
- Avg merge
- 3h 2m
- Merged PRs (30d)
- 3
Description
The current documentation (https://hub.docker.com/_/open-liberty) suggests:
docker run -d -p 80:9080 -p 443:9443 \
--tmpfs /opt/ol/wlp//output --tmpfs /logs -v /config --read-only \
open-liberty:webProfile8
However, the server will now fail to start with this error:
/opt/ol/wlp/bin/server: line 196: cannot create temp file for here-document: Read-only file system
Please update the documentation to note that /tmp also needs to be writeable and provide a new example command:
docker run -d -p 80:9080 -p 443:9443 \
--tmpfs /opt/ol/wlp/output --tmpfs /tmp --tmpfs /logs -v /config --read-only \
open-liberty:webProfile8
Extra search terms: Kubernetes k8s readOnlyRootFilesystem.
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.