]# docker push 192.168.163.131:5000/test
The push refers to a repository [192.168.163.131:5000/test]
9ec45e5f0334: Retrying in 1 second 
33f1a94ed7fc: Retrying in 1 second 
b27287a6dbce: Retrying in 1 second 
47c2386f248c: Retrying in 1 second 
2be95f0d8a0c: Retrying in 1 second 
2df9b8def18a: Waiting 
received unexpected HTTP status: 500 Internal Server Error

  查看/var/log/message

docker 在push镜像到本地registry出现的500 Internal Server Error

 

 

查看SELinux状态:


1、/usr/sbin/sestatus -v      ##如果SELinux status参数为enabled即为开启状态


SELinux status:                 enabled


2、getenforce                 ##也可以用这个命令检查


关闭SELinux:


1、临时关闭(不用重启机器):


setenforce 0                  ##设置SELinux 成为permissive模式


 setenforce 1                 ##setenforce 1 设置SELinux 成为enforcing模式

  

禁用之后就可以push了

执行 setenforce 0

docker 在push镜像到本地registry出现的500 Internal Server Error

 

 

 

相关文章:

  • 2022-01-21
  • 2022-12-23
  • 2022-12-23
  • 2021-09-05
  • 2022-12-23
  • 2022-01-03
  • 2021-04-18
猜你喜欢
  • 2022-02-07
  • 2021-07-19
  • 2021-10-28
  • 2022-01-27
  • 2022-12-23
  • 2021-06-22
  • 2021-11-03
相关资源
相似解决方案