Skip to content

Commit 8ac0c89

Browse files
authored
Merge pull request #761 from alanfranz/patch-1
Clarify what's required in order to use Centos images with overlayfs
2 parents 9659d97 + e962d49 commit 8ac0c89

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

centos/content.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ Additionally, images with minor version tags that correspond to install media ar
2020

2121
For example: `docker pull centos:5.11` or `docker pull centos:6.6`
2222

23+
## Overlayfs and yum
24+
25+
Recent Docker versions support the [overlayfs](https://docs.docker.com/engine/userguide/storagedriver/overlayfs-driver/) backend, which is enabled by default on most distros supporting it from Docker 1.13 onwards. On Centos 6 and 7, **that backend requires yum-plugin-ovl to be installed and enabled**; while it is installed by default in recent centos images, make it sure you retain the `plugins=1` option in `/etc/yum.conf` if you update that file; otherwise, you may encounter errors related to rpmdb checksum failure - see [Docker ticket 10180](https://github.com/docker/docker/issues/10180) for more details.
26+
2327
# Package documentation
2428

2529
By default, the CentOS containers are built using yum's `nodocs` option, which helps reduce the size of the image. If you install a package and discover files missing, please comment out the line `tsflags=nodocs` in `/etc/yum.conf` and reinstall your package.

0 commit comments

Comments
 (0)