ubuntu 16.04 安装docker-ce并配置加速器,让docker运行一个桌面系统


1.环境准备:ubuntu 16.04  docker-ce

2.介绍:

 
 

Docker目前分为两个版本:

  • Docker Enterprise Edition (Docker EE) 专为企业开发和IT团队设计,用于在大规模生产中构建,运送和运行关键业务应用程序。Docker EE集成,认证和支持,为企业提供业界最安全的容器平台,使所有应用程序现代化。
  • Docker Community Edition (Docker CE) 是开发人员和小团队的理想选择,希望开始使用Docker并尝试基于容器的应用程序。Docker CE可在许多平台上使用,从桌面到云到服务器。

3.安装过程:

sudo apt-get remove docker docker-engine

sudo apt-get install \
    linux-image-extra-$(uname -r) \
    linux-image-extra-virtual
sudo apt-get install \
    apt-transport-https \
    ca-certificates \
    curl \
    software-properties-common


扫描二维码关注公众号,回复: 2496644 查看本文章

curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -


sudo add-apt-repository \
        "deb [arch=amd64] https://download.docker.com/linux/ubuntu \
        $(lsb_release -cs) \
        stable"

sudo apt-get update


apt-get install docker-ce


curl -sSL https://get.daocloud.io/daotools/set_mirror.sh | sh -s http://8ad7943c.m.daocloud.io


systemctl restart docker



http://www.jianshu.com/p/63191a548bf3



这是通过VNC,远程启动Ubuntu桌面系统的访问方法。对于Windows转Linux的程序猿有更大的意义,否则大名鼎鼎的Docker只能敲命令行,虽然强大入门却难。

docker-ubuntu-vnc-desktop

From Docker Index

docker pull dorowu/ubuntu-desktop-lxde-vnc

Build yourself

git clone https://github.com/fcwu/docker-ubuntu-vnc-desktop.git

docker build --rm -t dorowu/ubuntu-desktop-lxde-vnc docker-ubuntu-vnc-desktop

Run

docker run -i -t -p 6080:80 dorowu/ubuntu-desktop-lxde-vnc

Browse http://127.0.0.1:6080/vnc.html


http://www.linuxidc.com/Linux/2015-08/121170.htm



https://linux.cn/article-5579-1.html

http://dockone.io/article/218

猜你喜欢

转载自blog.csdn.net/qq_34777982/article/details/78673882