docker pull python报错:Tag 3.7 not found in repository python
CentOS6.5 + Docker环境构建镜像时候,报错Pulling repository失败,具体如下:Step 0 : FROM python:3.7Pulling repository pythonTag 3.7 not found in repository python 解决办法:禁用selinux,因为selinux和LXC有冲突,故而需要禁用vim...
·
CentOS6.5 + Docker环境
构建镜像时候,报错Pulling repository失败,具体如下:
Step 0 : FROM python:3.7
Pulling repository python
Tag 3.7 not found in repository python
解决办法:
禁用selinux,因为selinux和LXC有冲突,故而需要禁用
vim /etc/selinux/config
# 以下是/etc/selinux/config的内容
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - No SELinux policy is loaded.
SELINUX=disabled # 将SELINUX设为disabled
保存退出,然后重启机器。OK
更多推荐
已为社区贡献1条内容
所有评论(0)