docker pull dorowu/ubuntu-desktop-lxde-vnc
2.创建并运行容器docker run -d --name ubuntu-desktop-lxde-vnc -p 6080:80 -p 5900:5900 -e VNC_PASSWORD=abcd@1234 -v /dev/shm:/dev/shm dorowu/ubuntu-desktop-lxde-vnc
3.通过宿主机访问浏览器打开 http://127.0.0.1:6080/
输入密码abcd@1234
docker exec -it ubuntu-desktop-lxde-vnc /bin/bash
5.安装命令gnome-terminalapt-get update
apt-get install gnome-terminal
export DISPLAY=:1 && gnome-terminal – mkdir 111
应该是通过这个命令控制具体在研究gnome-terminal



