https://github.com/mehradi-github/ref-docker-android
Running Docker on Android
https://github.com/mehradi-github/ref-docker-android
alpine-linux docker termux
Last synced: about 1 month ago
JSON representation
Running Docker on Android
- Host: GitHub
- URL: https://github.com/mehradi-github/ref-docker-android
- Owner: mehradi-github
- License: mit
- Created: 2024-05-09T13:12:39.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-09T14:04:09.000Z (about 2 years ago)
- Last Synced: 2025-07-08T23:41:24.571Z (12 months ago)
- Topics: alpine-linux, docker, termux
- Language: Shell
- Homepage:
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Running Docker on Android
## Install Termux
A terminal emulator application for Android OS extendible by variety of packages. [Installation](https://github.com/termux/termux-app?tab=readme-ov-file#installation)
## Install Alpine Linux on android
```sh
pkg update -y
pkg install wget -y
wget https://raw.githubusercontent.com/mehradi-github/ref-docker-android/main/src/install-alpine.sh
chmod +x ./install-alpine.sh
./install-alpine.sh
```
```sh
# login with user root without password then run command
setup-alpine
cat /etc/apk/repositories
#/media/cdrom/apks
https://dl-cdn.alpinelinux.org/alpine/v3.19/main
https://dl-cdn.alpinelinux.org/alpine/v3.19/community
# If raise ERROR: unable to select packages
# change DNS on google => 8.8.8.8
reboot
```
## Running Alpine Linux
```sh
wget https://raw.githubusercontent.com/mehradi-github/ref-docker-android/main/src/alpine.sh
chmod +x ./alpine.sh
./alpine.sh
```
## Running Docker
```sh
apk update -y
apk add docker
rc-update add docker default
service docker start
service docker status
docker run hello-world
```