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 个回答Grubin的回答

GrubinGrubin其它china
openvz内核版本:
[root@localhost ~]# uname -a
Linux localhost 3.10.0-123.1.2.vz7.5.25 #1 SMP Mon Jul 6 23:27:04 MSK 2015 x86_64 x86_64 x86_64 GNU/Linux


openvz container  内核版本 及docker 版本:
T-101 ~# uname -a
Linux localhost 3.10.0-123.1.2.vz7.5.25 #1 SMP Mon Jul 6 23:27:04 MSK 2015 x86_64 x86_64 x86_64 GNU/Linux
CT-101 ~# docker
docker                docker-fetch          docker-storage-setup  dockertarsum         
CT-101 ~# docker --
--add-registry       --daemon             --exec-driver        --help               --ip-forward         --log-level          --storage-driver     --tlskey
--api-cors-header    --debug              --fixed-cidr         --host               --ip-masq            --mtu                --storage-opt        --tlsverify
--bip                --default-ulimit     --fixed-cidr-v6      --icc                --iptables           --pidfile            --tls                --version
--block-registry     --dns                --graph              --insecure-registry  --ipv6               --registry-mirror    --tlscacert         
--bridge             --dns-search         --group              --ip                 --label              --selinux-enabled    --tlscert            
CT-101 ~# docker --version
Docker version 1.6.2, build ba1f6c3/1.6.2
CT-101 ~#
IT其它 · 2015-07-21
浏览18988

回答者

Grubin
其它china
擅长领域: 云计算Docker虚拟化

回答状态

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