Skip to content

different policy in rhel/centos/sl7 #4

@wasphin

Description

@wasphin

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;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions