Chinaunix首页 | 论坛 | 博客
  • 博客访问: 103595
  • 博文数量: 13
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 125
  • 用 户 组: 普通用户
  • 注册时间: 2014-11-17 14:08
个人简介

高级运维工程师 曹青峰 QQ 258896473

文章分类

全部博文(13)

文章存档

2015年(7)

2014年(6)

我的朋友

分类: 系统运维

2015-04-24 10:13:12


docker.service - Docker Application Container Engine
   Loaded: loaded (/usr/lib/systemd/system/docker.service; enabled)
   Active: failed (Result: exit-code) since Sun 2015-04-05 02:41:58 EEST; 5s ago
     Docs: 
  Process: 14431 ExecStart=/usr/bin/docker -d $OPTIONS $DOCKER_STORAGE_OPTIONS $DOCKER_NETWORK_OPTIONS $ADD_REGISTRY $BLOCK_REGISTRY $INSECURE_REGISTRY (code=exited, status=1/FAILURE)
 Main PID: 14431 (code=exited, status=1/FAILURE)

Apr 05 02:41:58 cos7 docker[14431]: time="2015-04-05T02:41:58+03:00" level="info" msg="+job serveapi(unix:///var/run/docker.sock)"
Apr 05 02:41:58 cos7 docker[14431]: time="2015-04-05T02:41:58+03:00" level="fatal" msg="EOF"
Apr 05 02:41:58 cos7 systemd[1]: docker.service: main process exited, code=exited, status=1/FAILURE
Apr 05 02:41:58 cos7 systemd[1]: Failed to start Docker Application Container Engine.
Apr 05 02:41:58 cos7 systemd[1]: Unit docker.service entered failed state.

修复 

[root@cos7 lib]# dmsetup info docker-8:1-1612350994-pool
Name:              docker-8:1-1612350994-pool
State:             ACTIVE
Read Ahead:        256
Tables present:    INACTIVE
Open count:        0
Event number:      0
Major, minor:      253, 0
Number of targets: 0

[root@cos7 lib]# dmsetup clear docker-8:1-1612350994-pool
[root@cos7 lib]# 
[root@cos7 lib]# dmsetup info docker-8:1-1612350994-pool
Name:              docker-8:1-1612350994-pool
State:             ACTIVE
Read Ahead:        256
Tables present:    None
Open count:        0
Event number:      0
Major, minor:      253, 0
Number of targets: 0

[root@cos7 lib]# reboot 
[root@cos7 ~]# systemctl start docker
[root@cos7 ~]# 
[root@cos7 ~]# docker info 
Containers: 8
Images: 580
Storage Driver: devicemapper
 Pool Name: docker-8:1-1612350994-pool
 Pool Blocksize: 65.54 kB
 Backing Filesystem: xfs
 Data file: /dev/loop0
 Metadata file: /dev/loop1
 Data Space Used: 11.86 GB
 Data Space Total: 107.4 GB
 Data Space Available: 95.52 GB
 Metadata Space Used: 23.96 MB
 Metadata Space Total: 2.147 GB
 Metadata Space Available: 2.124 GB
 Udev Sync Supported: true
 Data loop file: /var/lib/docker/devicemapper/devicemapper/data
 Metadata loop file: /var/lib/docker/devicemapper/devicemapper/metadata
 Library Version: 1.02.93-RHEL7 (2015-01-28)
Execution Driver: native-0.2
Kernel Version: 3.10.0-229.1.2.el7.x86_64
Operating System: CentOS Linux 7 (Core)
CPUs: 8
Total Memory: 7.639 GiB
Name: cos7
ID: NOPE:NOPE:NOPE:NOPE:NOPE:NOPE:NOPE:NOPE:NOPE:NOPE:NOPE:NOPE
Debug mode (server): true
Debug mode (client): false
Fds: 12
Goroutines: 14
EventsListeners: 0
Init SHA1: 444444444444444444431735b44444444444
Init Path: /usr/libexec/docker/dockerinit
Docker Root Dir: /var/lib/docker

vi /etc/sysconfig/docker
DOCKER_OPTS="-H tcp://127.0.0.1:4243 -H unix:///var/run/docker.sock"

                                   
阅读(5836) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~