This repository contains a Magisk and KernelSU module for running Docker on rooted Android devices.
- Magisk or KernelSU installed
- Docker Patched kernel See More
- Download the latest zip file from the Releases page.
- Install the downloaded zip file using Magisk & reboot your phone.
After installation, the Docker daemon (dockerd
) will run automatically on boot.
- This module only support
arm64
architecture.
docker
: This executes docker operation.dockerd.service
: Used for managing dockerd service, you can start,stop,restart daemon and view live logs the dockerd operation.
export PATH=/data/adb/docker/bin:$PATH
export DOCKER_HOST="unix:///data/adb/docker/run/docker.sock"
You can add above lines to your shell profile (e.g., ~/.bashrc
, ~/.zshrc
) to set the environment variables automatically.
- Verify that
dockerd.service
is running. If not, restart it withdockerd.service restart
. - You can also turn on or off dockerd service throuhgh magisk or kernelSU.
You can explore to the issue tab, if there not exists, you can open issue, for help me resolve the problem, you can include fresh log.
- Restart dockerd with
dockerd.service restart
- Reproduce what are you doing which has problem.
- Get log at
dockerd.service log runs
anddockerd.service log dockerd