Open dweomer opened 3 years ago
Because container-selinux in el7 is ancient we should add these fcontext entries:
$ restorecon -Frv /usr/local/bin # centos/7 node-1: restorecon reset /usr/local/bin/containerd-shim-runc-v1 context unconfined_u:object_r:bin_t:s0->system_u:object_r:bin_t:s0 node-1: restorecon reset /usr/local/bin/containerd-shim-runc-v2 context unconfined_u:object_r:bin_t:s0->system_u:object_r:bin_t:s0 node-1: restorecon reset /usr/local/bin/containerd-shim context unconfined_u:object_r:bin_t:s0->system_u:object_r:bin_t:s0 node-1: restorecon reset /usr/local/bin/ctr context unconfined_u:object_r:bin_t:s0->system_u:object_r:bin_t:s0 node-1: restorecon reset /usr/local/bin/containerd context unconfined_u:object_r:bin_t:s0->system_u:object_r:bin_t:s0
Because container-selinux in el7 is ancient we should add these fcontext entries: