Skip to content

egandro/docker-qemu-arm

Repository files navigation

docker-qemu-arm

Run Docker x86_64 on Android Tablets or Phones

Original idea: https://gist.github.com/oofnikj/e79aef095cd08756f7f26ed244355d62

This is a automatic installation script. As RAM is always an issue on a cell phone, we also install zram.

Check the Changes.

Android Phone/Tablet with Termux

Quick Install

$ bash -c "$(curl -fsSL https://raw.githubusercontent.com/egandro/docker-qemu-arm/master/termux-setup.sh)"
# WARNING: change your alpine root passwort (or run the custom installer if you want to start with a custom password)

Custom Install

$ pkg update
$ pkg upgrade
$ pkg install git
$ git clone https://github.com/egandro/docker-qemu-arm.git
$ cd docker-qemu-arm
$ cp config.sample config.env
$ # vi config.env # change everything you want to need to change
$ ./install.sh

Run

$ $HOME/alpine
$ ./startqemu.sh

Postinstall & fun

  • you can ssh to the VM with a 2nd Terminal and ssh2qemu.sh qemukey / qemukey.ssh are the generated SSH keys
  • run a uname -a and a docker run hello-world

Thanks

  • Thanks to everybody who made this happen.

Known Issues / Hacks / Warnings

  • Termux easily gets outdated very quickly! Sometimes packages dependencies or mirrors are broken.
  • If you don't have the skills to properly fix this you might want to backup your data, uninstall and reinstall Termux.
  • Alpine Linux & dns & ipv4 only vs ipv4/6 is (very often) broken.
  • Mitigation: the script turns off ipv6 and set the dns to 8.8.8.8 (can be changed).

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages