docker push 报错:received unexpected HTTP status: 500 Internal Server Error

解决办法:关闭selinux

[[email protected] ~]# docker push 10.0.0.10:5000/nginx
The push refers to a repository [10.0.0.10:5000/nginx]
22439467ad99: Retrying in 1 second
b4a29beac87c: Retrying in 1 second
488dfecc21b1: Retrying in 1 second
received unexpected HTTP status: 500 Internal Server Error
[[email protected] ~]# setenforce 0
[[email protected] ~]# docker push 10.0.0.10:5000/nginx
The push refers to a repository [10.0.0.10:5000/nginx]
22439467ad99: Pushed
b4a29beac87c: Pushed
488dfecc21b1: Pushed
latest: digest: sha256:62f787b94e5faddb79f96c84ac0877aaf28fb325bfc3601b9c0934d4c107ba94 size: 948
[[email protected] ~]# vim /etc/selinux/config 

# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
#     enforcing - SELinux security policy is enforced.
#     permissive - SELinux prints warnings instead of enforcing.
#     disabled - No SELinux policy is loaded.
SELINUX=disabled
# SELINUXTYPE= can take one of three values:
#     targeted - Targeted processes are protected,
#     minimum - Modification of targeted policy. Only selected processes are protected.
#     mls - Multi Level Security protection.
SELINUXTYPE=targeted

原文地址:https://www.cnblogs.com/kaishirenshi/p/12259469.html

时间: 2024-09-30 19:57:18

docker push 报错:received unexpected HTTP status: 500 Internal Server Error的相关文章

docker镜像下载出现:received unexpected HTTP status: 500 Internal Server Error

1.镜像下载总是出现报错:received unexpected HTTP status: 500 Internal Server Error 2.尝试多种方法: ①阿里云docke加速器:注册之后,配置好重新下载依然出现这种情况: ②尝试加上版本号: 原先我是直接复制https://hub.docker.com/r/library/上的: 之后改成这样: docker pull tomcat:9.0.30 直接去掉后面只留版本号,这样马上就下载好了 原文地址:https://www.cnblo

HTTP Status 500 ? Internal Server Error

getWriter()和getOutputStream()不能同时调用 HTTP Status 500 ? Internal Server Error Type Exception Report Message getWriter() has already been called for this response Description The server encountered an unexpected condition that prevented it from fulfilli

Tomcat 提示 HTTP Status 500 – Internal Server ErrorTomcat 提示 HTTP Status 500 – Internal Server Error

错误信息: 1 HTTP Status 500 – Internal Server Error 2 Type Exception Report 3 4 Message Error instantiating servlet class [Servlet.BeerSelect] 5 6 Description The server encountered an unexpected condition that prevented it from fulfilling the request. 7

Tomcat报错 HTTP Status 500 – Internal Server Error?

问题:在IDEA中编写Servlet实现类并在web.xml中配置好servlet信息之后,页面访问编写的出现了如下错误: 问题分析: 通过Root Cause可以看出是Jdk版本不匹配的问题:我的编译时候的版本和运行时的版本不一致,编译的版本是JDK11,运行时的版本是JDK8. Java虚拟机做了规定,jdk1的版本号是45,只能执行[45.0-46)之间的字节码,JDK8可执行的范围代码在[45.0-53)之间,我的版本是55,那么就是JDK11,那么只能由JDK11之后的版 本来执行.所

zuul网管配置其他服务时 HTTP Status 500 – Internal Server Error

1.这个错误是由三个原因导致的 (1).我在给类的接口命名的时候前面少加了一个/ (2)给zuul配置路由的时候多加了个服务名,serviceId名称就是spring的name,而不是eureka注入服务的那个名称 spring: application: name: worksserver routes: works: #works服务配置 path: /works/** #制定好path和serviceId,所有以path开头的请求都会被路由到对应的服务.如下面/hiapi/**被路由到se

Ajax 报错 500 (Internal Server Error)

==========error======={"readyState":4,"responseText":"<html><head><title>Apache Tomcat/6.0.35 - Error report</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#

yii2 使用ajax 验证, 报 500 Internal Server Error 错误

报错截图: 错误原因: 转换json格式写的有误 改好了就OK了

linux主机连接sftp报错received unexpected end-of-file from SFTP server

SFTP 连接主机失败,提示信息如下: 登陆目标主机,编辑查看 /etc/ssh/sshd_config 文件,找到 Subsystem 关键字 替换为 Subsystem sftp internal-sftp 重启sshd服务再次连接即可. 原文地址:https://www.cnblogs.com/weimeng3410/p/12628968.html

CI当开启URL重写的时候,报错500 Internal Server Error

Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator at [email protected] to inform them of the time this error occurred, and the actions y