mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #4759] docker环境中,容器启动后没有监听dashboard? #3759
Labels
No labels
In Progress
WIP
WaitingForInfo
bug
doc
duplicate
easy
enhancement
future
help wanted
invalid
lifecycle/stale
need-issue-template
need-usage-help
no plan
proposal
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/frp#3759
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @fhxzho on GitHub (Apr 18, 2025).
Original GitHub issue: https://github.com/fatedier/frp/issues/4759
Bug Description
你好@fatedier
我使用docker运行frps时,在frps.toml文件做了dashboard相关配置,容器映射了7500端口。
但是在容器日志里却发现没有监听dashboard的记录,尝试了非docker环境是正常有监听的,这个是正常的吗?是不是有特殊配置?
frpc Version
0.62.0
frps Version
0.62.0
System Architecture
linux/amd64
Configurations
frps.toml
bindPort = 7000
auth.method = "token"
auth.token = "111"
webServer.port = 7500
webServer.addr = "0.0.0.0"
webServer.user = "111"
webServer.password = "111"
frps.yml
version: '3'
services:
frps:
image: ghcr.io/fatedier/frps:v0.62.0
container_name: frps
ports:
- 7000:7000
- 7500:7500
volumes:
- /frp/frps.toml:/etc/frp/frps.toml
restart: always
Logs
[root@Daniel frp]# docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
0956a8dc40b5 ghcr.io/fatedier/frps:v0.62.0 "/usr/bin/frps" 8 seconds ago Up 7 seconds 0.0.0.0:7000->7000/tcp, :::7000->7000/tcp, 0.0.0.0:7500->7500/tcp, :::7500->7500/tcp frps
[root@Daniel frp]#
[root@Daniel frp]# docker logs -f frps
2025-04-17 10:31:48.260 [I] [frps/root.go:107] frps uses command line arguments for config
2025-04-17 10:31:48.877 [I] [server/service.go:237] frps tcp listen on 0.0.0.0:7000
2025-04-17 10:31:48.878 [I] [frps/root.go:114] frps started successfully
^C
Steps to reproduce
...
Affected area
@tcitr-chen commented on GitHub (Apr 22, 2025):
+1
@blue-cloud-net commented on GitHub (Apr 24, 2025):
补上这个试试 command: -c /etc/frp/frps.toml
docker镜像里好像默认没有使用配置文件 /etc/frp/frps.toml
@github-actions[bot] commented on GitHub (May 9, 2025):
Issues go stale after 14d of inactivity. Stale issues rot after an additional 3d of inactivity and eventually close.