debian-desktop/README.md
2023-06-24 02:24:23 +02:00

39 lines
843 B
Markdown

# DEBIAN 12 with Mate Desktop via VNC
## STEPS:
1. Clone repo:
` git clone https://gitea.soloconlinux.org.es/DOCKER/debian-desktop.git `
---
2. 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 . `
---
3. Run container with VNC port:
` docker run -d -ti --name desktop -v /dev/shm:/dev/shm -p 5901:5901 debian-mate:12 `
---
4. 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**