docker win7运行桌面Ubuntu系统

  1.   在镜像仓库中下载ubuntu桌面版本镜像

docker  pull   dorowu/ubuntu-desktop-lxde-vnc 

 2.   运行镜像   映射宿主机的8080端口和镜像的80端口

  docker   run  -it -p 8080:80  --name vnc  dorowu/ubuntu-desktop-lxde-vnc

 3.   查询docker环境变量配置

docker-machine  env



 

 4.  用本地浏览器访问  http://192.168.99.100:8080/



 

猜你喜欢

转载自lianpeng0011.iteye.com/blog/2399558