docker pull python报错:Tag 3.7 not found in repository python

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
 

扫描二维码关注公众号,回复: 12058426 查看本文章

猜你喜欢

转载自blog.csdn.net/u013282737/article/details/85250789