在不存在根的 Docker.from_env() 中,文件描述符泄漏 — 文件描述符在 dockerd 中累积
作者: gavelight创建于 2025年5月23日更新于 2026年4月1日
Summary
Calling Docker.from_env() in a rootless Docker environment (UNIX socket: /run/user/1001/Docker.sock) causes the number of open file descriptors (FDs) held by dockerd to continuously increase, even when the client is immediately discarded and the script terminates.
内容来源: docker/docker-py