https://github.com/331dala/docker-troubleshoot
Record some probelms, when using Docker.(Just README file here)
https://github.com/331dala/docker-troubleshoot
Last synced: 6 months ago
JSON representation
Record some probelms, when using Docker.(Just README file here)
- Host: GitHub
- URL: https://github.com/331dala/docker-troubleshoot
- Owner: 331Dala
- Created: 2025-03-19T09:43:19.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-19T09:50:52.000Z (over 1 year ago)
- Last Synced: 2025-03-19T10:37:55.617Z (over 1 year ago)
- Size: 0 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Docker-troubleshoot
Record some probelms, when using Docker.(Just README file this repository)
## some Docker **command**
docker ps
(Show running containers)
docker ps -a
docker ps -a --filter "ancestor=sha256:1a86f4dacc3fb28abda390e303fab1bc0849683bd2bb932095a3de43cafe1659"
(Show all containers created based on this image, including running and stopped ones.)
For delete image:
docker stop
docker rm
## some Docker **problem**
> **1.** INFO: ::1:56416 - "POST /predict HTTP/1.1" 500 Internal Server Error
ERROR: Exception in ASGI application
Traceback (most recent call last):
File "xxx **omitted** Multiple lines here xxx"
http.client.RemoteDisconnected: Remote end closed connection without response
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "xxx **omitted** Multiple lines here xxx"
raise RemoteDisconnected("Remote end closed connection without"
urllib3.exceptions.ProtocolError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "xxx **omitted** Multiple lines here xxx"
raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))
> **2.** curl : { "error": "Malformed request: GET /v1/models/***:predict" }
所在位置 行:1 字符: 1
\+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
\+ CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-WebRequest],WebException
\+ FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand
> - Those 2 Error happend, **surprisingly** beacause of I write a wrong port num , like below.
>
> **8501:8501\-\-\>8501:8051** 💥💥💥💢💢💢(observe carefully here!!!)
>
### 😂😂😂 I stuck here about 10 hours !!!
(This is the reason why, I have this file.)