dockerc icon indicating copy to clipboard operation
dockerc copied to clipboard

Various unexpected problems

Open snail2sky opened this issue 1 year ago • 0 comments

such as fio, iperf.. etc Your idea of ​​converting a docker image into a static executable file is simply genius. Unfortunately, the current adaptability is still very poor. I tested both and failed.

./dockerc_x86-64 --version
dockerc version: v0.3.2 (513216a)

build fio error

# build static binnary fio
./dockerc_x86-64 -i docker://xridge/fio -o fio --arch amd64
# execut it but raise error
./fio -direct=1 -iodepth=128 -rw=randread -ioengine=libaio -bs=4k -size=2G -numjobs=1 -runtime=30 -group_reporting -filename=/data0/test.file -name=Rand_Read_Testing -output=/tmp/fio_rand_read_output.json
fio: pid=0, err=2/file:filesetup.c:161, func=open, error=No such file or directory

build iperf error

# build static binnary iperf
# build static iperf
./dockerc_x86-64 -i docker://phlak/iperf -o iperf --arch amd64
# run daemon is ok
./iperf -s &
# but run client error
./iperf -c 127.0.0.1 
unknown argument ignored: lazytime
iperf3: parameter error - cannot be both server and client

I look forward to your great success with this project, because making a docker image is much easier than making an appimage, come on

snail2sky avatar Oct 28 '24 10:10 snail2sky