在群辉运行lanthora/candy容器时报stdout /dev/tun错误,是因为群辉系统默认没有启用该模块导致的。
vim /usr/local/etc/rc.d/tun.sh输入内容:
123456789101112131415#!/bin/sh# Create the necessary file structure for /dev/net/tun...
环境设置1、打开网卡混杂模式,其中enp1s0根据ifconfig命令找到自己的本地网卡名称替换
sudo ip link set enp1s0 promisc on
2、创建名称为macvlan的虚拟网卡,并指定网关gateway、子网网段subnet、虚拟网卡的真实父级网卡parent(第一步中的本地网卡名称)
docker network create -d macvlan --sub...