How to get a Linux Desktop System by using docker-compose
version: '3.9'
services:
ubuntu-novnc:
ports:
- '6080:80'
- '5900:5900'
volumes:
- '$pwd:/workspace:rw'
environment:
- USER=root
- PASSWORD=root
- HTTP_PASSWORD=root
- VNC_PASSWORD=root
- RESOLUTION=1920x1080
container_name: ubuntu-novnc
image: 'fredblgr/ubuntu-novnc:22.04'
HTTP Address: http://127.0.0.1:6080
VNC Address: vnc://127.0.0.1:5900
User: root
Password: root
For the
volumes
tag, the first part is the host folder, the second part is the container folder