Skip to content

Latest commit

 

History

History
58 lines (47 loc) · 2.04 KB

README.md

File metadata and controls

58 lines (47 loc) · 2.04 KB

Setup Docker with Portainer on Samsung DeX

Portainer on DeX

Portainer_on_dex

Big Thanks to ... for making this possible

Setup process

  • 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 file

    cd ~/alpine/ && ./startqemu.sh
    

    NOTE - Default login details:
    User root
    Passwd Secret123

  • 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.
    Example 192.168.*.* followed by Portainer port :9000
    http://192.168.123.123:9000

Changelog

  • 31-08-2021 - Gitgub repo created