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


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

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



No changes had been made.


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.