- This is a guide on how to setup Docker and Portainer on Samsung DeX (Android)
- Reddit post
- MRP YouTube video
- https://github.com/egandro/docker-qemu-arm
- https://gist.github.com/oofnikj/e79aef095cd08756f7f26ed244355d62
-
Download Termux from F-Droid store and install it.
-
Setup Alpine VM in Termux with this one-line-install command (Thanks to egandro)
curl -o termux-setup.sh https://raw.githubusercontent.com/egandro/docker-qemu-arm/master/termux-setup.sh && chmod 755 ./termux-setup.sh && ./termux-setup.sh
This will take around 8 minutes to complete
-
Run curl script. This will backup default
startqemu.sh
that got generated during VM creation and put amended on in it's place.curl -o portainer_port.sh https://raw.githubusercontent.com/mrp-yt/docker_and_portainer_on_dex/main/portainer_port.sh && chmod 755 ./portainer_port.sh && ./portainer_port.sh && rm portainer_port.sh
-
Start Alpine VM using new
startqemu.sh
filecd ~/alpine/ && ./startqemu.sh
NOTE - Default login details:
Userroot
PasswdSecret123
-
Portainer-CE container install command
docker run -d -p 8000:8000 -p 9000:9000 --name=portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer-ce
-
To check if Portainer container is running.
docker ps
-
Access Portainer Dashboard from same device
http://localhost:9000
To access Portainer Dashboard from another device on same network you will need to know your device local IP address.
Example192.168.*.*
followed by Portainer port:9000
http://192.168.123.123:9000
- 31-08-2021 - Gitgub repo created