Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I am running tiny 10 to configure DHCP in openwrt: After 'yes', the container cannot start and prompts' ERROR': Cannot create macvtap interface. #1015

Open
tablebird opened this issue Jan 19, 2025 · 0 comments

Comments

@tablebird
Copy link

tablebird commented Jan 19, 2025

Operating system

主机名 OpenWrt 型号 Default string Default string 架构 Intel(R) Celeron(R) N4100 CPU @ 1.10GHz 目标平台 x86/64 固件版本 OpenWrt 23.05.2 r23630-842932a63d / LuCI openwrt-23.05 branch git-24.364.71483-75d2b84

Description

Unable to start after enabling DHCP

If DHCP container is not configured, it can be started normally, DNS is 20.20.20.1, The IP address is 20.20.20.21

Docker compose

version: '3.8'
services:
tiny10:
container_name: tiny10
image: 'dockurr/windows:latest'
restart: unless-stopped
environment:
TZ: Asia/Shanghai
VERSION: "tiny10"
CPU_CORES: "2"
RAM_SIZE: "2G"
USERNAME: "tiny10"
PASSWORD: "tinypassword"
DHCP: "Y"
DEBUG: "Y"
cap_add:
- NET_ADMIN
volumes:
- tiny10_storage:/storage
- /data/docker/tiny:/data
devices:
- /dev/kvm
- /dev/vhost-net
device_cgroup_rules:
- 'c : rwm'
networks:
bridge:
ipv4_address: 192.168.28.53

networks:
bridge:
external: true
name: vlan

volumes:
tiny10_storage:
external: true

Docker log

❯ Host: 1e2c62f4c5c2 IP: 192.168.28.53 Gateway: 192.168.28.2 Interface: eth0 MAC: 02:6B:62:66:A5:BC

nameserver 127.0.0.11

Error: Unknown device type.

❯ ERROR: Cannot create macvtap interface.

Screenshots (optional)

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant