centos7 + docker 1.8

Submitted by Lizhe on Fri, 12/11/2015 - 04:14

1.创建docker的yum库

[root@localhost~]# cd /etc/yum.repos.d/

[root@localhostyum.repos.d]# vim docker.repo

[dockerrepo]

name=DockerRepository

baseurl=https://yum.dockerproject.org/repo/main/centos/7

enabled=1

gpgcheck=1

gpgkey=https://yum.dockerproject.org/gpg

(2)安装docker

[root@localhost~]# yum install docker-engine

 

(3)关闭centos7下的firewalld服务并安装iptables-ser

 

[root@localhost~]# systemctl disable firewalld

rm'/etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service'

数据都丢了

Submitted by Lizhe on Thu, 12/10/2015 - 10:46

想给数据盘扩个容,改完分区表以后超级块坏了

数据库没备份,以前的内容都没了....

 

好悲剧啊,索性把系统升级到centos7.1了