openwrt / openwrt/docker

Run external binary

Open
#66 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Shell
Stars
625
Forks
103
Avg merge
3d 22h
Merged PRs (30d)
1

Description

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

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the reported docker run command, the openwrtorg/rootfs image, and the hello binary details. Determine why executing ./hello returns /bin/ash: ./hello: not found; the issue is complete when the cause and a working way to run the application are documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker
Domain
operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.