Fix go mod, Docker Hub rate limit, Compose verbose, docker debug, htpasswd security

This commit is contained in:
yeasy
2026-05-13 08:30:20 +00:00
parent ef5a97fa09
commit 9f481e88ca
5 changed files with 20 additions and 6 deletions
+2 -1
View File
@@ -249,10 +249,11 @@ $ docker exec myapp python manage.py migrate
$ docker exec -it myapp bash
OCI runtime exec failed: exec failed: unable to start container process: exec: "bash": executable file not found
## 解决方案:使用调试容器
## 解决方案:使用调试容器(需要 Docker Desktop Pro/Team/Business 订阅)
$ docker debug myapp
```
> **注意**`docker debug` Docker Desktop 4.33+ 提供的功能需要 ProTeam Business 订阅它会附加一个包含常用调试工具vimcurlhtop 的工具箱到目标容器即使目标镜像基于 `scratch` 也能使用
---
### 5.4.7 常见问题