OpenResty + Docker 容器重建后出现 502 的原因与解决方案
OpenResty 与 Docker 集成导致 502 的排查与修复:分析 Nginx 域名缓存与容器 IP 变化原因,推荐使用 resolver 127.0.0.11 与变量化 proxy_pass 实现动态 DNS 解析,避免容器重建引发 502。
601 字
|
3 分钟
在 Ubuntu 22.04 上安装 Docker
本指南详述在 Ubuntu 22.04 上安装 Docker CE 的完整步骤:添加 GPG 密钥与仓库、安装并启动 Docker、运行测试容器,及可选的免 sudo 设置与国内镜像加速配置。
455 字
|
2 分钟
Docker 启用远程 API
2025-03-12
本教程详解如何通过编辑 `docker.service` 与 `daemon.json` 启用 Docker 远程 API(`tcp://0.0.0.0:2375`):包含 systemd 配置、重启与验证步骤,并提示防火墙、TLS 与认证等安全加固建议。
794 字
|
4 分钟
Simple Guides for Fuwari
How to use this blog template.
160 字
|
1 分钟
Cover Image of the Post
Markdown Example
A simple example of a Markdown blog post.
444 字
|
2 分钟
Include Video in the Posts
This post demonstrates how to include embedded video in a blog post.
61 字
|
1 分钟