xukecheng / gitalk-comment

www.xukecheng.tech 的评论组件
0 stars 0 forks source link

如何开启 Docker Remote API 的 TLS 认证 #4

Open xukecheng opened 1 year ago

xukecheng commented 1 year ago

https://www.xukecheng.tech/how-to-enable-tls-authentication-for-docker-remote-api

Docker 自带 API 功能,支持对 Docker 进行管理,但是默认并不启用,而且一般在没有开启加密通信的时候直接启用 API 会有安全风险。因此我们需要开启 TLS 加密来保障 Docker API 通信的安全性。通过开启 TLS 防止未经许可的客户端访问服务端节点,保障其系统安全性。而 Docker API 也适用于在一个 Portainer 示例上来远程管理多台机器,这也是我最初使用这一功能的原因。接下来将介绍如何完成 TLS 的设置,来保障 Docker API 通信的安全性

zcyoop commented 1 year ago

感谢,一键脚本省了很多痛苦