Attempting to use
RUN yum install httpd in a CentOS Dockerfile causes the Docker build to fail with:
Error unpacking rpm package httpd-2.4.6-31.el7.centos.1.x86_64
error: unpacking of archive failed on file /usr/sbin/suexec: cpio: cap_set_file failed - Operation not permitted
Image should build without issue as is. I’ve been testing local builds on ElementaryOS, built on Ubuntu 14.04, with no problem.
It looks like this is a known GitHub issue which may be related to building on Ubuntu hosts. There are a number of items mentioned in that GitHub issue, some of which I don’t understand entirely.
- Has anyone encountered this?
- Could I modify the
/etc/local/dockerto test changing the storage driver as suggested here?