运行openshift/origin泊坞窗时出错:运行'chcon'来设置kubelet卷根目录SELinux上下文时出错 [英] Error running openshift/origin docker: Error running 'chcon' to set the kubelet volume root directory SELinux context
问题描述
当我运行openshift/origin docker映像时,我看到此错误容器的日志( $ docker logs origin
).
When I run the openshift/origin docker image , I see this error in logs of the container ($ docker logs origin
).
运行"chcon"以设置kubelet卷根目录SELinux上下文时出错
这是一个已知问题,还是可以忽略?还是我错过了任何事情?
Is this a known issue or can it be ignored or did I miss anything?
我使用的命令行为docker run -d --name"origin" -e"http_proxy = $ http_proxy" -e"https_proxy = $ https_proxy" -e"no_proxy = $ no_proxy" --privileged --pid = host --net = host -v/:/rootfs:ro -v/var/run:/var/run:rw -v/sys:/sys openshift/origin start --cors-allowed-origins ='.*'
我的操作系统和环境的一些信息:3.12.28-4-默认
SUSE Linux Enterprise Server 12(x86_64)版本= 12PATCHLEVEL = 0NAME ="SLES"VERSION ="12"VERSION_ID ="12"PRETTY_NAME ="SUSE Linux Enterprise Server 12"ID ="sles"
Some information of my OS and environment:
3.12.28-4-default
SUSE Linux Enterprise Server 12 (x86_64)
VERSION = 12
PATCHLEVEL = 0
NAME="SLES"
VERSION="12"
VERSION_ID="12"
PRETTY_NAME="SUSE Linux Enterprise Server 12"
ID="sles"
推荐答案
除非您尝试在启用SELinux的情况下运行,否则可以忽略该错误.容器尝试在卷目录上设置标签,以确保标签被正确继承.
That error can be ignored unless you are trying to run with SELinux enabled. The container is trying to set the label on the volumes directory to ensure that labels are properly inherited.
这篇关于运行openshift/origin泊坞窗时出错:运行'chcon'来设置kubelet卷根目录SELinux上下文时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!