uxora-com / xpenology-docker

Docker configured to run a KVM VirtualMachine of Xpenology dsm 6.2.3 ( and 7.0.1 with redpill)
43 stars 12 forks source link

iptables: No chain/target/match by that name #7

Closed s2k7 closed 3 years ago

s2k7 commented 3 years ago

I would like to run this docker on QNAP-4.5.2.1594 but receive errors:

[admin@NAS4]# uname -a Linux NAS4 4.14.24-qnap #1 SMP Tue Mar 2 05:26:12 CST 2021 x86_64 GNU/Linux [admin@NAS4]# iptables --version iptables v1.4.21

Maybe the iptables is too old ?

INFO: Start downloading bootloader from URL ...

     0K ........ ........ ........ ........ 64%  125M 0s
 32768K ........ ........ ..               100%  165M=0.4s
INFO: Bootloader has been successfully downloaded from URL.
INFO: /image/bootloader.raw file size seems valid for synoboot.
INFO: Bootloader has been converted to qcow2
INFO: No Initial Disk found, creating disk /image/vm-disk-1.qcow2
Formatting '/image/vm-disk-1.qcow2', fmt=qcow2 size=8589934592 encryption=off cluster_size=65536 lazy_refcounts=off refcount_bits=16
INFO: No Initial Disk found, creating disk /image/vm-disk-2.qcow2
Formatting '/image/vm-disk-2.qcow2', fmt=qcow2 size=17179869184 encryption=off cluster_size=65536 lazy_refcounts=off refcount_bits=16
INFO: KVM acceleration enabled
INFO: Configuring network ...
net.ipv4.ip_forward = 1
INFO: DHCP configured to serve IP 20.20.20.21/24 via dockerbridge
iptables: No chain/target/match by that name.
docker run --privileged --cap-add=NET_ADMIN \
    --device=/dev/net/tun --device=/dev/kvm \
    -p 5007:5000 -p 5008:5001 -p 2222:22 -p 8888:80 \
    -e CPU="qemu64" \
    -e THREADS=1 \
    -e RAM=512 \
    -e DISK_SIZE="8G 16G" \
    -e DISK_PATH="/image" \
    -e BOOTLOADER_URL="http://localhost/synoboot_103b_ds3615xs_virtio_9p.img" \
    -e BOOTLOADER_AS_USB="Y" \
    -e VM_ENABLE_VIRTIO="Y" \
    -v /tmp/tmp:/datashare \
    uxora/xpenology