Home  >  Article  >  Operation and Maintenance  >  How to solve docker http 500 error problem

How to solve docker http 500 error problem

藏色散人
藏色散人Original
2022-01-20 15:39:1110694browse

Docker http 500 error solution: 1. Turn off selLinue; 2. Do not use mirror acceleration; 3. Add a specific version number, such as "docker pull registry.docker-cn.com/library/zookeeper:3.4 .13”.

How to solve docker http 500 error problem

The operating environment of this article: centOS6.8 system, zookeeper version 3.4.13, Dell G3 computer.

How to solve docker http 500 error problem?

docker download image received unexpected Http status:500 Internal Server Error

Solution

1. It is said on the Internet to turn off selLinue, but it is of no use to me

2. It is not using mirror acceleration, but the connection timeout occurs

3.It is to add the specific version number The result was successful

[root@localhost ~]# docker pull registry.docker-cn.com/library/zookeeper:3.4.13
/etc/sysconfig/docker: line 4: PTIONS: command not found
/etc/sysconfig/docker: line 5: /bin/bash:: No such file or directory
Trying to pull repository registry.docker-cn.com/library/zookeeper ... 
sha256:3cdb36641a9c1bda682ceef85b23410a48a9c38b43716d99c11b5dae0eae8781: Pulling from registry.docker-cn.com/library/zookeeper
6c40cc604d8e: Pull complete 
e78b80385239: Pull complete 
f41fe1b6eee3: Pull complete 
365a20fafc58: Pull complete 
9e606d67ebbc: Pull complete 
36ef678bdfcf: Pull complete 
19d9db30b445: Pull complete 
Digest: sha256:3cdb36641a9c1bda682ceef85b23410a48a9c38b43716d99c11b5dae0eae8781
Status: Downloaded newer image for registry.docker-cn.com/library/zookeeper:3.4.13
[root@localhost ~]#

Recommended learning: "docker video tutorial"

The above is the detailed content of How to solve docker http 500 error problem. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn