diff --git a/build/info.json b/build/info.json index 476366c..f89325b 100644 --- a/build/info.json +++ b/build/info.json @@ -140,6 +140,12 @@ "Title": "Biggest Update to Pi-Hosted Portainer.io Template!", "Channel": "novaspirit", "URL": "https://www.youtube.com/watch?v=7R7l6c3wswQ" + }, + { + "ID": "N.Extra4", + "Title": "Run Android In Docker with this Container!", + "Channel": "novaspirit", + "URL": "https://www.youtube.com/watch?v=GTtdTksS6L0" } ], "docs": [ diff --git a/stack/dock-droid.yml b/stack/dock-droid.yml new file mode 100644 index 0000000..3b36545 --- /dev/null +++ b/stack/dock-droid.yml @@ -0,0 +1,14 @@ +version: "3.7" +services: + grafana: + container_name: dock-droid + devices: + - "/dev/kvm:/dev/kvm" + environment: + EXTRA: ${EXTRA} + hostname: dock-droid + image: sickcodes/dock-droid:latest + ports: + - 5555:5555 + - 5999:5999 + restart: unless-stopped diff --git a/template/apps/dock-droid.json b/template/apps/dock-droid.json new file mode 100644 index 0000000..0edd11d --- /dev/null +++ b/template/apps/dock-droid.json @@ -0,0 +1,28 @@ +{ + "categories": [ + "Other", + "Tools" + ], + "description": "Android in Docker! Run KVM Android x86 in Docker!", + "env": [ + { + "default": "-display none -vnc 0.0.0.0:99,password=off", + "label": "EXTRA", + "name": "EXTRA" + } + ], + "repository": { + "stackfile_amd64": "stack/dock-droid.yml", + "url": "https://github.com/pi-hosted/pi-hosted/" + }, + "logo": "https://raw.githubusercontent.com/pi-hosted/pi-hosted/master/images/dock-droid.png", + "name": "dock-droid-vnc", + "note": "You will need QEMU and some other dependencies on your host:
sudo apt install qemu qemu-kvm libvirt-clients libvirt-daemon-system bridge-utils virt-manager
Then, enable libvirt and load the KVM kernel module:
sudo systemctl enable --now libvirtd
sudo systemctl enable --now virtlogd

echo 1 | sudo tee /sys/module/kvm/parameters/ignore_msrs

sudo modprobe kvm

If you enable the password in the QEMU console, type change vnc password user
", + "officialDoc": "https://github.com/sickcodes/dock-droid", + "platform": "linux", + "title": "Droid Docker VNC", + "restart_policy": "unless-stopped", + "type": 3, + "videoID": "N.Extra4", + "webpage": "https://hub.docker.com/r/sickcodes/dock-droid" +}