openvz启动docker报错,求大神解决.

错误的具体操作如下,期待解决......CT-101 /# systemctl start dockerJob for docker.service failed. See 'systemctl status docker.service' and 'journalctl -xn' for details.CT-101 /# cat /var/log/messagesJul 20 23:58:52 localhost systemd: Starting Docker S...显示全部
错误的具体操作如下,期待解决......
CT-101 /# systemctl start docker
Job for docker.service failed. See 'systemctl status docker.service' and 'journalctl -xn' for details.
CT-101 /# cat /var/log/messages

Jul 20 23:58:52 localhost systemd: Starting Docker Storage Setup...
Jul 20 23:58:52 localhost docker-storage-setup: Volume group "ploop30408p1" not found
Jul 20 23:58:52 localhost docker-storage-setup: Cannot process volume group ploop30408p1
Jul 20 23:58:52 localhost docker-storage-setup: Metadata volume docker-poolmeta already exists. Not creating a new one.
Jul 20 23:58:52 localhost docker-storage-setup: /dev/mapper/control: open failed: Operation not permitted
Jul 20 23:58:52 localhost docker-storage-setup: Failure to communicate with kernel device-mapper driver.
Jul 20 23:58:52 localhost docker-storage-setup: Check that device-mapper is available in the kernel.
Jul 20 23:58:52 localhost docker-storage-setup: Incompatible libdevmapper (unknown version) and kernel driver (unknown version).
Jul 20 23:58:52 localhost docker-storage-setup: striped: Required device-mapper target(s) not detected in your kernel.
Jul 20 23:58:52 localhost docker-storage-setup: Run `lvcreate --help' for more information.
Jul 20 23:58:52 localhost systemd: docker-storage-setup.service: main process exited, code=exited, status=3/NOTIMPLEMENTED
Jul 20 23:58:52 localhost systemd: Failed to start Docker Storage Setup.
Jul 20 23:58:52 localhost systemd: Unit docker-storage-setup.service entered failed state.
Jul 20 23:58:52 localhost systemd: Starting Docker Application Container Engine...
Jul 20 23:58:52 localhost docker: time="2015-07-20T23:58:52-04:00" level=error msg="'overlay' not found as a supported filesystem on this host. Please ensure kernel is new enough and has overlay support loaded."
Jul 20 23:58:52 localhost docker: time="2015-07-20T23:58:52-04:00" level=warning msg="Docker could not enable SELinux on the host system"
Jul 20 23:58:52 localhost docker: time="2015-07-20T23:58:52-04:00" level=info msg="+job init_networkdriver()"
Jul 20 23:58:52 localhost docker: time="2015-07-20T23:58:52-04:00" level=info msg="+job serveapi(unix:///var/run/docker.sock)"
Jul 20 23:58:52 localhost docker: time="2015-07-20T23:58:52-04:00" level=info msg="Listening for HTTP on unix (/var/run/docker.sock)"
Jul 20 23:58:52 localhost docker: time="2015-07-20T23:58:52-04:00" level=warning msg="Running modprobe bridge nf_nat failed with message: , error: exit status 1"
Jul 20 23:58:52 localhost docker: time="2015-07-20T23:58:52-04:00" level=warning msg="port allocator - using fallback port range 49153-65535 due to error: open /proc/sys/net/ipv4/ip_local_port_range: no such file or directory"
Jul 20 23:58:52 localhost docker: inappropriate ioctl for device
Jul 20 23:58:52 localhost docker: time="2015-07-20T23:58:52-04:00" level=info msg="-job init_networkdriver() = ERR (1)"
Jul 20 23:58:52 localhost docker: time="2015-07-20T23:58:52-04:00" level=fatal msg="Shutting down daemon due to errors: inappropriate ioctl for device"
Jul 20 23:58:52 localhost systemd: docker.service: main process exited, code=exited, status=1/FAILURE
Jul 20 23:58:52 localhost systemd: Failed to start Docker Application Container Engine.
Jul 20 23:58:52 localhost systemd: Unit docker.service entered failed state.
CT-101 /# docker -d
ERRO[0000] 'overlay' not found as a supported filesystem on this host. Please ensure kernel is new enough and has overlay support loaded.
INFO[0000] +job init_networkdriver()                    
INFO[0000] +job serveapi(unix:///var/run/docker.sock)   
INFO[0000] Listening for HTTP on unix (/var/run/docker.sock)
WARN[0000] Running modprobe bridge nf_nat failed with message: , error: exit status 1
WARN[0000] port allocator - using fallback port range 49153-65535 due to error: open /proc/sys/net/ipv4/ip_local_port_range: no such file or directory
inappropriate ioctl for device
INFO[0000] -job init_networkdriver() = ERR (1)         
FATA[0000] Shutting down daemon due to errors: inappropriate ioctl for device
CT-101 /#收起
参与13

查看其它 8 个回答dl528888的回答

dl528888dl528888  系统运维工程师 , 游戏公司
回复 5# Grubin


    /etc/sysconfig/docker、/etc/sysconfig/docker-network、/etc/sysconfig/docker-storage这3个也列出来。
互联网服务 · 2015-07-21
浏览18843

回答者

dl528888
系统运维工程师游戏公司
擅长领域: 云计算容器容器云

dl528888 最近回答过的问题

回答状态

  • 发布时间:2015-07-21
  • 关注会员:3 人
  • 回答浏览:18843
  • X社区推广