Issue #7485
closedDocumentation: Pulp all-in-one container with CentOS7's docker
Description
This is not really a bug, merely a documentation issue.
The all-in-one-container recipe populates the image's /var/run
(a symlink to /run
) and expects its contents to be available at container run time. The docker implementation that is provided e.g. by CentOS7 however mounts a tmpfs on /run
, effectively hiding the original container's contents. This causes the container to fail early after startup, like this
FATAL: could not create lock file "/var/run/postgresql/.s.PGSQL.5432.lock": No such file or directory
The workaround is to specify an additional /run
volume, suppressing this behaviour of the docker runtime. Docker will copy the image's contents to that volume and the container will start as expected.
Note that e.g. RPMs from the docker community repo are not affected by this.
Updated by fao89 over 3 years ago
- Triaged changed from No to Yes
- Quarter set to Q4-2020
- Tags Documentation added
Updated by mcorr over 3 years ago
- Status changed from NEW to CLOSED - CURRENTRELEASE
Thank you for your contribution ! I have added this as a known issue to the docs: https://pulpproject.org/pulp-in-one-container/#known-issues