mirror of
https://github.com/dqzboy/Docker-Proxy.git
synced 2026-01-12 16:25:42 +08:00
docs: Issue/issue.md
This commit is contained in:
38
README.en.md
38
README.en.md
@@ -225,41 +225,15 @@ If you find this project helpful, please give it a Star. And if possible, you ca
|
||||
|
||||
## 👨🏻💻 Issue
|
||||
|
||||
#### 1、Unable to delete a specific image tag through the UI.
|
||||
**Known Issue:** Deletion is not supported when using `registry` as a proxy cache.
|
||||
<details>
|
||||
<summary><strong>Problem Summary</strong></summary>
|
||||
<div>
|
||||
|
||||
**Related Issues:** [#3853](https://github.com/distribution/distribution/issues/3853)
|
||||
> Summary of common issues related to deployment and usage, welcome to add more!
|
||||
|
||||
#### 2、The pull speed from within China is not ideal.
|
||||
**Known Issue:** The network route from your foreign server to China is suboptimal.
|
||||
Problem Summary: [Click to view](Issue/issue.en.md)
|
||||
|
||||
**Solutions:**
|
||||
- (1) Enable BBR on the server to optimize network performance (with limited effect).
|
||||
- (2) Switch to a server that has better network optimization for routes to China.
|
||||
|
||||
#### 3、How long does the registry image cache last, and how to adjust it?
|
||||
**Known Issue:** The default cache time is 168 hours, which is 7 days. Adjust the cache time by modifying the ttl in the proxy configuration section of the configuration file
|
||||
|
||||
#### 4、Regarding the scheme for pulling images from the `Hub` public space without adding `library` when using an image acceleration
|
||||
|
||||
- This scheme was provided by a senior member in the communication group and has been implemented and tested through Nginx.
|
||||
```shell
|
||||
location ^~ / {
|
||||
if ($request_uri ~ ^/v2/([^/]+)/(manifests|blobs)/(.*)$) {
|
||||
rewrite ^/v2/(.*)$ /v2/library/$1 break;
|
||||
}
|
||||
|
||||
proxy_pass http://127.0.0.1:51000;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header REMOTE-HOST $remote_addr;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection $connection_upgrade;
|
||||
proxy_http_version 1.1;
|
||||
add_header X-Cache $upstream_cache_status;
|
||||
}
|
||||
```
|
||||
</details>
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user