Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

different policy in rhel/centos/sl7 #4

Open
wasphin opened this issue Jun 20, 2019 · 0 comments
Open

different policy in rhel/centos/sl7 #4

wasphin opened this issue Jun 20, 2019 · 0 comments

Comments

@wasphin
Copy link

wasphin commented Jun 20, 2019

In my case under ScientificLinux 7, which I think should be the same as RHEL/CentOS 7, the te should be:

module local 1.0;

require {
	type container_runtime_t;
	type container_t;
	class unix_stream_socket connectto;
}

#============= container_t ==============

#!!!! The file '/run/docker.sock' is mislabeled on your system.  
#!!!! Fix with $ restorecon -R -v /run/docker.sock
allow container_t container_runtime_t:unix_stream_socket connectto;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant