I pulled openwrtorg/rootfs and ran it like this
docker run --rm -it -v /home/mjshin/MyCode:/tmp openwrtorg/rootfs
In /tmp, I tried to run my own linux based application but it could not work well.
root@ca16d6d79408:/tmp# ls -al hello
-rwxrwxr-x 1 1000 1000 16688 Sep 20 03:16 hello
root@ca16d6d79408:/tmp# ./hello
/bin/ash: ./hello: not found
root@ca16d6d79408:/tmp#
Hello all,
I pulled openwrtorg/rootfs and ran it like this docker run --rm -it -v /home/mjshin/MyCode:/tmp openwrtorg/rootfs
In /tmp, I tried to run my own linux based application but it could not work well. root@ca16d6d79408:/tmp# ls -al hello -rwxrwxr-x 1 1000 1000 16688 Sep 20 03:16 hello root@ca16d6d79408:/tmp# ./hello /bin/ash: ./hello: not found root@ca16d6d79408:/tmp#
What was wrong in my case ?
Thanks, Myungjoon