Docker Issues
The following are known Docker issues:
-
yum install command can fail within a container on an overlayfs file system
Running the yum install command within a container on an
overlayfs
file system can fail with the following error:Rpmdb checksum is invalid: dCDPT(pkg checksums): package_name
Although this error can break Dockerfile builds, it is expected kernel behavior and a known upstream issue. See https://github.com/moby/moby/issues/10180.
The workaround is to run the touch /var/lib/rpm/* command before installing the package.
Note that this issue is fixed for any Oracle Linux images that are available on the Docker Hub or the Oracle Container Registry; however, the issue could still be encountered when running any container that is based on a third-party image.
(Bug ID 21804564)
-
Docker can fail where it uses the overlay2 storage driver on XFS-formatted storage
A kernel patch has been applied to prevent overlay mounts on XFS if the
ftype
is not set to1
. This fix resolves an issue where XFS did not properly support the whiteout features of an overlay file system, ifd_type
support was not enabled. If the Docker Engine is already using XFS-formatted storage with theoverlay2
storage driver, an upgrade of the kernel can cause Docker to fail if the underlying XFS file system is not created with the-n ftype=1
option enabled. The root partition on Oracle Linux 7 is automatically formatted with-n ftype=0
, where XFS is selected as the file system. Therefore, if you intend to use theoverlay2
storage driver in this environment, you must format a separate device for this purpose.(Bug ID 25995797)