My Oracle Support Banner

Docker-Engine Is Not Working When Using Overlay2 plus Selinux Enabled. (Doc ID 2418850.1)

Last updated on AUGUST 16, 2018

Applies to:

Linux OS - Version Oracle Linux 6.0 to Oracle Linux 7.5 [Release OL6 to OL7U5]
Linux x86-64

Symptoms

When docker-engine is configured on Oracle Linux using Overlay2 as the storage driver and Selinux is Enabled, containers are showing  permission errors where it does not have read access at least to list files using  # ls command.

Containers can write and read but can not list files  using # ls command.

[root@localhost ~]# getenforce
Enforcing


[root@localhost ~]# docker exec eeb7a05b391a ls -l | head -5
ls: cannot open directory : Permission denied <<<====== Error

 

Changes

No changes had been made.

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.