843 B
843 B
DEBIAN 12 with Mate Desktop via VNC
STEPS:
- Clone repo:
git clone https://gitea.soloconlinux.org.es/DOCKER/debian-desktop.git
- Build image
a. Build with Password by default:
docker build --tag debian-mate:12 .
b. Build with your secret password... (example: 'MyXtrangePassword')
docker build --tag debian-mate:12 --build-arg VNCPASSWORD=MyXtrangePassword .
- Run container with VNC port:
docker run -d -ti --name desktop -v /dev/shm:/dev/shm -p 5901:5901 debian-mate:12
- Connect with VNC Client/Viewer in your new Debian Desktop Container
a. Obtain IP of container:
docker exec -ti desktop tail -1 /etc/hosts|awk '{print $1}'
b. Launch vncviewer (With IP of Container) in Display number 1:
vncviewer IP-Container:1
NOTE: Password by default for VNC connect is debian