美文网首页
Ubuntu 安装 Docker

Ubuntu 安装 Docker

作者: SlowGO | 来源:发表于2018-11-26 11:55 被阅读1次
sudo apt-get install \
    apt-transport-https \
    ca-certificates \
    curl \
    software-properties-common -y

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

sudo apt-get install docker-ce

相关文章

网友评论

      本文标题:Ubuntu 安装 Docker

      本文链接:https://www.haomeiwen.com/subject/enzvqqtx.html