Usage docker run -it --rm -p 5901:5901 -e USER=root babim/xubuntu attach container and enter vnc password (first run) Connect to vnc://:5901 via VNC client. Change password over vncpasswd command in container