The error “stat /bin/sh: no such file or directory has occurred” occurs.
Nobody has claimed this yet.
- Dominant language
- Shell
- Stars
- 625
- Forks
- 103
- Avg merge
- 3d 22h
- Merged PRs (30d)
- 1
Description
Hello, everyone.
Pull openwrt/imagebuilder:ramips-mt7621-24.10.2 from Docker Hub. Then, start a container from Docker Desktop with the following parameters:
volumes: my drive/bin
Container path: /builder/bin
I suspect that something is missing in the startup process, but I'm not sure what to do.
Can anyone help me?
The following command line launch works fine.
docker run --rm -v ./bin/:/builder/bin -it openwrt/imagebuilder:ramips-mt7621-24.10.2
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the Docker Desktop container launch with the volume mounted at /builder/bin, then compare it with the working docker run --rm -v ./bin/:/builder/bin -it openwrt/imagebuilder:ramips-mt7621-24.10.2 command. Done means identifying why the Docker Desktop setup reports stat /bin/sh and documenting or correcting the launch configuration.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, shell
- Domain
- devops, infrastructure
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100