All packages, except for Tini have been added to termux-root. To install them, simply pkg install root-repo && pkg install docker. This will install the whole docker suite, left only Tini to be compiled manually.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| source: https://jodal.no/2015/03/08/building-arm-debs-with-pbuilder/ | |
| sudo apt install pbuilder qemu-user-static | |
| sudo apt install ubuntu-keyring debian-archive-keyring | |
| wget http://archive.raspbian.org/raspbian/pool/main/r/raspbian-archive-keyring/raspbian-archive-keyring_20120528.2_all.deb | |
| sudo dpkg -i raspbian-archive-keyring_20120528.2_all.deb | |
| sudo OS=ubuntu DIST=xenial ARCH=amd64 pbuilder --create | |
| sudo OS=ubuntu DIST=xenial ARCH=i386 pbuilder --create | |
| sudo OS=raspbian DIST=jessie ARCH=armhf pbuilder --create |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # in case of conflict with local nginx: | |
| # make sure in all *.confs ( | |
| # also in default and example to avoid error like | |
| # 'nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)' | |
| # ) | |
| # set for instance "listen 127.0.0.1:80" instead of "listen *:80" | |
| # docker & network settings | |
| DOCKER_IMAGE_NAME="crs:current" # build of nginx-php - for example | |
| DOCKER_CONTAINERS_NAME="crs1" # our container's name |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # NOT FOR SHELL SCRIPT, but rather just for quick copy paste | |
| # this is a copy-paste version with defaults of the full shell script docker-xenial.sh which is below this one in gist. | |
| apt-get -y install apt-transport-https ca-certificates curl && \ | |
| curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - && \ | |
| add-apt-repository "deb [arch=arm64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" && \ | |
| apt-get update -q && \ | |
| apt-get install -y -q docker-ce && \ | |
| printf '{ "userns-remap" : "default" , "storage-driver" : "overlay2" }' > /etc/docker/daemon.json && \ | |
| systemctl restart docker.service |