Simon Woodford created AVRO-1925: ------------------------------------ Summary: Docker clash with SELinux Key: AVRO-1925 URL: https://issues.apache.org/jira/browse/AVRO-1925 Project: Avro Issue Type: Bug Components: docker Affects Versions: 1.8.1 Environment: Linux - Centos 7 with SELinux running, avro found in /home/<username>. Reporter: Simon Woodford Priority: Minor Fix For: 1.8.3
When Docker is running in a labelling system like SELinux, it needs to be told to relabel any directories it wants to write to. In build.sh, we tell Docker that it can access /home/USER_NAME, /home/.m2 and /home/.gnupg, but we don't instruct it to relabel them. So if SELinux is running, once in the docker container, you cannot build anything as that involves writing. See e.g. the Volume Labels section in https://docs.docker.com/engine/tutorials/dockervolumes/ for more details. -- This message was sent by Atlassian JIRA (v6.3.4#6332)