Debian 12 with Desktop Environment:
Mate Desktop
Dockerfile | ||
entrypoint.sh | ||
README.md |
DEBIAN 12 with Mate Desktop via VNC
STEPS:
- Clone repo:
git clone https://gitea.soloconlinux.org.es/DOCKER/debian-desktop.git
- Build image
a. Password by default:
docker build --tag debian-mate:12 .
b. Your 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
4.1. Obtain IP of container:
docker exec -ti desktop tail -1 /etc/hosts|awk '{print $1}'
4.2. Launch vncviewer (With IP of Container) in Display number 1:
vncviewer IP-Container:1
NOTE: Password by default for VNC connect is debian