使用apt安装docker

# 更新数据源
apt-get update
# 安装所需依赖
apt-get -y install apt-transport-https ca-certificates curl software-properties-common
#安装GPG证书
curl -fsSL https://mirrors.aliyun.com/docker-ce/linux/ubuntu/gpg | sudo apt-key add -
#新增数据源
add-apt-repository "deb [arch=amd64] http://mirrors.aliyun.com/docker-ce/linux/ubuntu $(lsb_release -cs) stable"
#更新并安装docker
apt-get update && apt-get install -y docker-ce
# 验证安装
docker version

最新文章

  1. asp.net mvc 中 一种简单的 URL 重写
  2. CGRectGet *** 获取控件坐标的方法
  3. js 实现各种排序
  4. Java 数组操作
  5. 【Shell脚本学习2】Shell脚本语言与编译型语言的差异
  6. 查询sql语句所花时间
  7. c#类库中使用Session
  8. Vijos1523 NOI2002 贪吃的九头龙 树形dp
  9. 随机love'...
  10. 小白该怎么学《马哥Linux从入门到精通》
  11. nyoj28 大数阶乘 亿进制优化
  12. [Swift]LeetCode218. 天际线问题 | The Skyline Problem
  13. 随意下载:afinal jar
  14. Windows 环境下的 protoc 安装(转)
  15. openCV 调用摄像头
  16. SWFUpload多文件上传使用指南
  17. oracle 各个版本下载地址
  18. 微软BI 之SSIS 系列 - 理解Data Flow Task 中的同步与异步, 阻塞,半阻塞和全阻塞以及Buffer 缓存概念
  19. java.security.NoSuchAlgorithmException: AES KeyGenerator not available
  20. webpack 打包

热门文章

  1. 题解 2020.10.24 考试 T2 选数
  2. git GUI Clients
  3. 【Docker】(11)---Docker的网络概念
  4. vue.$set实现原理
  5. [no_code][Beta] 中期组内总结
  6. vue混入mixin的使用,保证你看的明明白白!
  7. SQL Server 插入、更新和删除数据
  8. Python matplotlib 概率论与数理统计 伯努利分布 二项分布
  9. surrounded-regions leetcode C++
  10. VS2013快捷键及技巧 / 智能插件