惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

S
Secure Thoughts
Security Latest
Security Latest
Simon Willison's Weblog
Simon Willison's Weblog
O
OpenAI News
GbyAI
GbyAI
L
LINUX DO - 最新话题
A
Arctic Wolf
T
Tor Project blog
G
GRAHAM CLULEY
I
InfoQ
博客园_首页
IT之家
IT之家
The Register - Security
The Register - Security
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
P
Proofpoint News Feed
The GitHub Blog
The GitHub Blog
Blog — PlanetScale
Blog — PlanetScale
N
Netflix TechBlog - Medium
K
Kaspersky official blog
博客园 - 三生石上(FineUI控件)
S
SegmentFault 最新的问题
U
Unit 42
PCI Perspectives
PCI Perspectives
量子位
P
Palo Alto Networks Blog
S
Securelist
T
Troy Hunt's Blog
博客园 - 【当耐特】
Recorded Future
Recorded Future
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
S
Security Affairs
Engineering at Meta
Engineering at Meta
T
The Blog of Author Tim Ferriss
博客园 - 聂微东
罗磊的独立博客
N
News and Events Feed by Topic
人人都是产品经理
人人都是产品经理
B
Blog RSS Feed
NISL@THU
NISL@THU
C
Cisco Blogs
T
Threatpost
有赞技术团队
有赞技术团队
Forbes - Security
Forbes - Security
Hugging Face - Blog
Hugging Face - Blog
Last Week in AI
Last Week in AI
T
The Exploit Database - CXSecurity.com
Cloudbric
Cloudbric
Cyberwarzone
Cyberwarzone
Google DeepMind News
Google DeepMind News
C
Cyber Attacks, Cyber Crime and Cyber Security

博客园 - netcorner

docker 启动报错 library initialization failed - unable to allocate file descriptor table - out of memory docker容器访问上层宿主主机的方式 svn: Server SSL certificate verification failed certificate issued for a different hostname springboot 参数校验 windows批处理 打开exe后关闭cmd 分页得到查询总数的方法 mysql input[type="file"] change事件第二次不触发 小程序post请求,后台接收不到数据的解决方法 Docker安装Kibana Docker安装ElasticSearch Docker安装Redis Docker安装Tomcat Docker安装 Nginx mysql服务设置远程连接 解决1251 client does not support ..问题 Docker 安装MySQL容器 安装Docker 图形界面管理工具 -- Portainer Dockfile 编写示例(将 jar 制作成容器) Docker 常用命令集 CentOS7离线安装Docker
云服务器CentOS安装Docker
netcorner · 2021-02-13 · via 博客园 - netcorner

安装yum-utils device-mapper-persistent-data lvm2软件包

yum install -y yum-utils device-mapper-persistent-data lvm2

添加阿里源信息

sudo yum-config-manager --add-repo http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo

查看可用docker版本

yum list docker-ce --showduplicates | sort -r

安装docker

yum install docker-ce-18.03.1.ce-1.el7.centos

//启动

//停止dcoker

//设置开机启动

//重启docker

//查看docker

Docker容器自动启动设置

docker update --restart=always <CONTAINER ID>

关闭自动重启

docker update restart=no  <CONTAINER ID>

设置镜像源

vi /etc/docker/daemon.json
{
"registry-mirrors": ["http://hub-mirror.c.163.com"]
}
systemctl restart docker.service
 

posted @ 2021-02-13 10:47  netcorner  阅读(95)  评论()    收藏  举报