Probably it will be a good idea to create installable script for using docker image
Open
Beginner friendly
Nobody has claimed this yet.
- Dominant language
- Shell
- Stars
- 731
- Forks
- 109
- PR merge metrics
- No merged PRs in 30d
Description
I wrote this one
#!/bin/bash
if [ "$#" -eq "0" ]; then
set -- bash
fi
docker start termux-docker >/dev/null 2>&1 || \
docker run --detach --init --name termux-docker -it termux/termux-docker:latest
docker exec -itu system termux-docker "$@"
Using this I can invoke termux commands from my regular shell like this.
termux apt-file search xcb-image.pc
Or simply enter termux environment with termux command.
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 from the proposed Bash script and the repository's Docker image usage. Check how a command such as termux could be installed and invoked from a regular shell, including the default interactive behavior and argument forwarding. Done means users can install the wrapper and run both termux commands and an interactive Termux environment as shown.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, shell
- Domain
- cli, devops
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100