Przeglądaj źródła

Add dock-droid to the template

Robert Middleswarth 2 lat temu
rodzic
commit
c9706ba162
3 zmienionych plików z 48 dodań i 0 usunięć
  1. 6 0
      build/info.json
  2. 14 0
      stack/dock-droid.yml
  3. 28 0
      template/apps/dock-droid.json

+ 6 - 0
build/info.json

@@ -140,6 +140,12 @@
 			"Title": "Biggest Update to Pi-Hosted Portainer.io Template!",
 			"Title": "Biggest Update to Pi-Hosted Portainer.io Template!",
 			"Channel": "novaspirit",
 			"Channel": "novaspirit",
 			"URL": "https://www.youtube.com/watch?v=7R7l6c3wswQ"
 			"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": [
 	"docs": [

+ 14 - 0
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

+ 28 - 0
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:<br><b>sudo apt install qemu qemu-kvm libvirt-clients libvirt-daemon-system bridge-utils virt-manager<b><br>Then, enable libvirt and load the KVM kernel module:<br><b>sudo systemctl enable --now libvirtd<br>sudo systemctl enable --now virtlogd<br><br>echo 1 | sudo tee /sys/module/kvm/parameters/ignore_msrs<br><br>sudo modprobe kvm<br><br>If you enable the password in the QEMU console, type change vnc password user<br>",
+	"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"
+}