whuang
-
Posts
2 -
Joined
-
Last visited
Posts posted by whuang
-
-
Hi, everyone
Got following error when running docker/xpenology. Any thoughts? Any help will be much appreciated!
docker run --privileged --cap-add=NET_ADMIN \
> --device=/dev/net/tun --device=/dev/kvm \
> -e CPU="qemu64" \
> -e THREADS=1 \
> -e RAM=512 \
> -e DISK_SIZE="8G 10G" \
> -e DISK_PATH="/image" \
> -e BOOTLOADER_URL="http://192.168.1.10/synoboot_104b_ds918plus_virtio_9p.img" \
> -e BOOTLOADER_AS_USB="Y" \
> -e VM_ENABLE_VIRTIO="Y" \
> uxora/xpenology
INFO: Start downloading bootloader from URL ...0K ........ ........ ........ ........ 64% 117M 0s
32768K ........ ........ .. 100% 82.7M=0.5s
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=10737418240 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.
Xpenology runing on docker
in DSM 6.x
Posted
Hi, HTH
Thank you for the quick reply.
After adding "-it --entrypoint /bin/bash" that you suggested, when running docker/xpenology, it does not show "iptables: No chain/target/match by that name." any more.
I don't find the "/usr/bin/vm-startup" script in my system. I wonder if you could kindly show me an example how to incorporate what you suggested in that script.
I really appreciate your advise/help.
Regards,
Wade