segator / xpenology-docker

KVM VirtualMachine With Xpenology Working as a Docker
125 stars 46 forks source link

dnsmasq: bad command line options: bad IP address #4

Open jboz opened 5 years ago

jboz commented 5 years ago

Hello,

I have this pb on docker run :

jj@toto:/opt/xpenology$ docker run --privileged -v /opt/xpenology:/image -p 5000:5000 segator/xpenology:6.1.3-15152 INFO: KVM acceleration enabled INFO: DHCP configured to serve IP 20.20.20.21/24 via dockerbridge INFO: Lauching dnsmasq DEBUG: dnsmasq options: --dhcp-range=20.20.20.21,20.20.20.21 --dhcp-host=00:11:32:2A:A6:13,,20.20.20.21,VirtualMachine,infinite --dhcp-option=option:netmask,255.255.255.0 --dhcp-option=option:dns-server,#,run,"systemd-resolve,--status",to,see,details,about,the,actual,nameservers.,8.8.8.8,8.8.4.4 --dhcp-option=option:router,20.20.20.20 --dhcp-option=option:domain-search,home --dhcp-option=option:domain-name,home dnsmasq: bad command line options: bad IP address

Do you know what to do ? Tks.

mvthul commented 5 years ago

Anyone knows how to fix this?

qy2009 commented 4 years ago

I got the same result:

INFO: KVM acceleration enabled, INFO: DHCP configured to serve IP 20.20.20.21/24 via dockerbridge, INFO: Lauching dnsmasq, DEBUG: dnsmasq options: --dhcp-range=20.20.20.21,20.20.20.21 --dhcp-host=00:11:32:2A:A6:13,,20.20.20.21,VirtualMachine,infinite --dhcp-option=option:netmask,255.255.255.0 --dhcp-option=option:dns-server,169.254.169.254 --dhcp-option=option:router,20.20.20.20 --dhcp-option=option:domain-search,#,all,known,uplink,DNS,servers.,This,file,lists,all,configured,domains., vcn.oraclevcn.com --dhcp-option=option:domain-name,# , , dnsmasq: junk found in command line,

Nenzyz commented 4 years ago

You can build own image to run:

cp synoboot.img .
docker build -t xpe .

and then run xpe image instead of mentioned: docker run --privileged -v /my/xpenology/instance:/image -p 5000:5000 xpe