使用apt安装docker
2024-10-19 17:20:28
使用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
最新文章
- asp.net mvc 中 一种简单的 URL 重写
- CGRectGet *** 获取控件坐标的方法
- js 实现各种排序
- Java 数组操作
- 【Shell脚本学习2】Shell脚本语言与编译型语言的差异
- 查询sql语句所花时间
- c#类库中使用Session
- Vijos1523 NOI2002 贪吃的九头龙 树形dp
- 随机love'...
- 小白该怎么学《马哥Linux从入门到精通》
- nyoj28 大数阶乘 亿进制优化
- [Swift]LeetCode218. 天际线问题 | The Skyline Problem
- 随意下载:afinal jar
- Windows 环境下的 protoc 安装(转)
- openCV 调用摄像头
- SWFUpload多文件上传使用指南
- oracle 各个版本下载地址
- 微软BI 之SSIS 系列 - 理解Data Flow Task 中的同步与异步, 阻塞,半阻塞和全阻塞以及Buffer 缓存概念
- java.security.NoSuchAlgorithmException: AES KeyGenerator not available
- webpack 打包
热门文章
- 题解 2020.10.24 考试 T2 选数
- git GUI Clients
- 【Docker】(11)---Docker的网络概念
- vue.$set实现原理
- [no_code][Beta] 中期组内总结
- vue混入mixin的使用,保证你看的明明白白!
- SQL Server 插入、更新和删除数据
- Python matplotlib 概率论与数理统计 伯努利分布 二项分布
- surrounded-regions leetcode C++
- VS2013快捷键及技巧 / 智能插件