Skip to content

mrp-yt/docker_and_portainer_on_dex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Step by Step guide on how to setup Alpine VM inside Termux and get Docker Containers and Portainer. Originally posted by oofnikj

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages