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

CentOS6.5 + Docker environment

When building the mirror, an error of Pulling repository failed, as follows:

Step 0 : FROM python:3.7
Pulling repository python
Tag 3.7 not found in repository python

 

Solution:

Disable selinux, because selinux and LXC conflict, so you need to disable it

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

 

Save and exit, and then restart the machine. OK
 

Guess you like

Origin blog.csdn.net/u013282737/article/details/85250789