这是indexloc提供的服务,不要输入任何密码
Skip to content

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

@twaik

Description

@twaik

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions