一.docker安装与部署
来源:互联网 发布:古希腊神话 知乎 编辑:程序博客网 时间:2024/05/21 06:18
一.CentOS 6安装Docker
1.安装EPEL镜像源
yum install http://ftp.riken.jp/Linux/fedora/epel/6/x86_64/epel-release-6-8.noarch.rpm
2.关闭selinux
修改配置文件: /etc/selinux/config、
SELINUX=disabled
8 # SELINUXTYPE= can take one of these two values:
9 # targeted - Targeted processes are protected,
10 # mls - Multi Level Security protection.
11 SELINUXTYPE=targeted
3.安全起见,先升级系统至最新版本;
yum update -y
4.重启系统
init 6
5. 安装
[root@bogon Desktop]# yum -y install docker-io
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Install Process
Loading mirror speeds from cached hostfile
* epel: mirrors.ustc.edu.cn
Resolving Dependencies
--> Running transaction check
---> Package docker-io.x86_64 0:1.7.1-2.el6 will be installed
--> Processing Dependency: lxc for package: docker-io-1.7.1-2.el6.x86_64
--> Processing Dependency: libcgroup for package: docker-io-1.7.1-2.el6.x86_64
--> Running transaction check
6.启动服务
[root@bogon Desktop]# service docker start
Starting cgconfig service: [ OK ]
Starting docker: [ OK ]
7.添加随机启动
[root@bogon Desktop]# chkconfig docker on
8.查看服务运行状态
root@bogon Desktop]# service docker status
docker (pid 2752) is running...
- 一.docker安装与部署
- Docker部署与安装
- Docker的安装与部署
- Docker(一)----CentOS7安装Docker与测试
- 【docker】docker在ubuntu中的安装与部署
- docker安装部署
- Docker快速安装部署
- Docker快速安装部署
- CentOS7安装部署Docker
- Docker安装部署
- docker安装部署sentry
- docker安装和部署
- Docker介绍与安装使用(一)
- Docker 的安装与配置(一)
- Docker实战(一):Docker安装与基础命令
- Docker与自动化部署
- Windows10下的docker安装与入门 (一)使用docker toolbox安装docker
- Windows10下的docker安装与入门 (一)使用docker toolbox安装docker
- 299. Bulls and Cows | LeetCode
- java--static修饰符、final修饰符、abstract修饰符、接口
- Android_ListView图片下载三级缓存处理
- 第四天(6道)
- pdf 免费 转 word
- 一.docker安装与部署
- 圣剑传说 玛娜传奇(Legend of Mana)(LOM)AF推荐放置
- Toolbar、TabLayout、ViewPager(Json解析版)
- Application onCreate函数多次被调用
- ngx_slab_pool
- JAVA NIO之浅谈内存映射文件原理与DirectMemory
- 初步体验微信后台开发
- 使用webpack打包Vue工程
- 火车票购票问题2