码迷,mamicode.com
首页 > 编程语言 > 详细

Get Docker Engine - Community for Ubuntu

时间:2019-10-27 19:12:00      阅读:112      评论:0      收藏:0      [点我收藏+]

标签:container   linu   release   doc   tps   contain   nerd   soft   hello   

Get Docker Engine - Community for Ubuntu

Uninstall old versions
$ sudo apt-get remove docker docker-engine docker.io containerd runc

$ sudo apt-get update
$ sudo apt-get install apt-transport-https ca-certificates curl gnupg-agent software-properties-common
$ curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
$ sudo apt-key fingerprint 0EBFCD88
$ 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 docker-ce-cli containerd.io
$ sudo docker run hello-world
...............
Hello from Docker!
...............

Get Docker Engine - Community for Ubuntu

标签:container   linu   release   doc   tps   contain   nerd   soft   hello   

原文地址:https://www.cnblogs.com/jeshy/p/11748219.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!