-
Notifications
You must be signed in to change notification settings - Fork 144
使用官方提供的 Docker Compose 部署方式开启 WireGuard 功能报错 #152
Copy link
Copy link
Open
Description
使用官方提供的 Docker Compose 部署方式开启 WireGuard 功能报错
问题描述
在使用以下官方推荐的 Docker Compose 配置部署客户端时,启动容器后尝试初始化 WireGuard 功能时报错 iptables not found,导致客户端无法完成启动。
Docker Compose 配置
version: '3'
services:
frp-panel-client:
image: vaalacat/frp-panel
container_name: frp-panel-client
network_mode: host
restart: unless-stopped
command: client -s abc -i user.c.client1 --api-url https://frpp.example.com:443 --rpc-url wss://frpp.example.com:443错误日志
create iptables handler (ipv6=false)
exec: "iptables": executable file not found in $PATH
apply firewall rules failed
start wireguard service failed
复现步骤
- 使用官方提供的
docker-compose.yaml文件。 - 启动容器:
docker-compose up -d
- 使用 WireGuard 组网功能时,容器报错并初始化失败。
宿主机信息
- 系统版本:
OpenCloudOS 9.4 - 架构:
x86_64 - 内核版本:
6.6.117-45.oc9.x86_64 - Docker 版本:
28.0.1 - Docker Compose 版本:
2.39.1
客户端信息
- 项目版本:
v0.1.36
期待结果
容器能够在无需依赖宿主机或容器内部安装 iptables 的情况下,正常使用 WireGuard 组网功能。
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels