termux / termux/termux-docker

Probably it will be a good idea to create installable script for using docker image

Open Beginner friendly
#69 3 comments 0 reactions 0 assignees View on GitHub

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

  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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.