Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/selenium/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Docker Can';t将tmpfs安装到集装箱上_Docker_Centos6_Kubernetes Pod_Tmpfs - Fatal编程技术网

Docker Can';t将tmpfs安装到集装箱上

Docker Can';t将tmpfs安装到集装箱上,docker,centos6,kubernetes-pod,tmpfs,Docker,Centos6,Kubernetes Pod,Tmpfs,我正试图用docker 1.12.6在CentOS 6.8上启动kubernetes worker。 weave容器启动时没有成功,它无法从装载的tmpfs卷获取令牌。 我试图在控制台中用相同的卷启动容器,但并没有看到挂载目录中的文件 Ubuntu 16.04上的Docker 1.12.6没有这个问题 我正在尝试装载的目录: tmpfs on /var/lib/kubelet/pods/92b7bed4-2231-11ea-bfc2-56d198239b85/volumes/kubernetes

我正试图用docker 1.12.6在CentOS 6.8上启动kubernetes worker。 weave容器启动时没有成功,它无法从装载的tmpfs卷获取令牌。 我试图在控制台中用相同的卷启动容器,但并没有看到挂载目录中的文件

Ubuntu 16.04上的Docker 1.12.6没有这个问题

我正在尝试装载的目录:

tmpfs on /var/lib/kubelet/pods/92b7bed4-2231-11ea-bfc2-56d198239b85/volumes/kubernetes.io~secret/weave-net-token-4gzn9 type tmpfs (rw)
我的命令:

docker run --privileged=true --rm -it  -v /run/xtables.lock:/run/xtables.lock -v /var/lib/kubelet/pods/92b7bed4-2231-11ea-bfc2-56d198239b85/volumes/kubernetes.io~secret/weave-net-token-4gzn9/:/var/run/secrets/kubernetes.io/serviceaccount/ -v /var/lib/kubelet/pods/92b7bed4-2231-11ea-bfc2-56d198239b85/etc-hosts:/etc/hosts -v /var/lib/kubelet/pods/92b7bed4-2231-11ea-bfc2-56d198239b85/containers/weave-npc/a0d27baa:/dev/termination-log weave-npc-my sh
命令ls-la/var/run/secrets/kubernetes.io/servicecomport/不显示任何内容