From 1a3199c428d52eb25f17f32f29a76da78eb2c575 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cristian=20Cezar=20Mois=C3=A9s?= <86272521+cristiancmoises@users.noreply.github.com> Date: Thu, 9 May 2024 04:41:25 +0000 Subject: Add files via upload --- -dockervm.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '-dockervm.html') diff --git a/-dockervm.html b/-dockervm.html index 5875f00..e2fb595 100644 --- a/-dockervm.html +++ b/-dockervm.html @@ -1,2 +1,2 @@
docker run -it IMAGE_ID_HERE /bin/bash
docker start $(docker ps -a -q --filter "status=exited")
docker start -a -i 'docker ps -q -l'
docker images
docker ps -a
docker exec -it CONTAINER_ID_HERE /bin/bash
apt install xfce-desktop xorg -y
passwd
iptables -A INPUT -i docker0 -j ACCEPT
apt update && apt upgrade && apt install novnc x11vnc tigervnc-standalone-server dbus-x11 python-py python3-pip -y
user > pip install numpy
-user > pip3 install numpy
dbus-launch
vncserver
/usr/share/novnc/utils/novnc_proxy --listen 8081 --vnc localhost:5900
CONTAINER_IP:8081/vnc.html
echo $(hostname -I | cut -d\ -f1) $(hostname) | sudo tee -a /etc/hosts
dbus-launch
vncserver
/usr/share/novnc/utils/novnc_proxy --listen 8081 --vnc localhost:5900
CONTAINER_IP:8081/vnc.html
echo $(hostname -I | cut -d\ -f1) $(hostname) | sudo tee -a /etc/hosts