Conversation
- service/docker:stdlib 直连 /var/run/docker.sock(不引入 docker/docker 依赖),列出运行中容器的端口映射 - GET /docker/containers 只读端点,返回容器名/镜像/端口映射,供生成推荐穿透规则 Closes PIKACHUIM#76(扫描部分;容器启停联动隧道与前端页面后续单独 PR)
suantea
force-pushed
the
feat/docker-port-scan
branch
from
September 30, 2026 08:30
9862ad2 to
f91578e
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
service/docker/manager.go:stdlib 直连 /var/run/docker.sock(unix socket + net.DialContext),不引入 docker/docker 依赖GET /docker/containers只读端点:列出运行中容器的 published 端口映射(容器名/镜像/协议/宿主端口),供前端生成推荐穿透规则Closes #76(扫描部分;容器启停联动隧道、DockerContainers 页面后续单独 PR)
Verification