cari

Rumah  >  Soal Jawab  >  teks badan

install-error - gentoo下docker -d 出现driver not supported错误

1)gentoo使用overlay安装docker,版本1.7.1
2)可以正常启动/etc/init.d/docker start
3)docker -d -D产生错误信息:

localhost ~ # docker -d -D
DEBU[0000] Registering GET, /images/{name:.*}/history
DEBU[0000] Registering GET, /containers/json
DEBU[0000] Registering GET, /containers/{name:.*}/export
DEBU[0000] Registering GET, /containers/{name:.*}/json
DEBU[0000] Registering GET, /events
DEBU[0000] Registering GET, /images/search
DEBU[0000] Registering GET, /images/get
DEBU[0000] Registering GET, /images/{name:.*}/get
DEBU[0000] Registering GET, /exec/{id:.*}/json
DEBU[0000] Registering GET, /info
DEBU[0000] Registering GET, /containers/{name:.*}/top
DEBU[0000] Registering GET, /containers/{name:.*}/logs
DEBU[0000] Registering GET, /containers/{name:.*}/stats
DEBU[0000] Registering GET, /_ping
DEBU[0000] Registering GET, /images/json
DEBU[0000] Registering GET, /images/{name:.*}/json
DEBU[0000] Registering GET, /containers/{name:.*}/attach/ws
DEBU[0000] Registering GET, /version
DEBU[0000] Registering GET, /containers/ps
DEBU[0000] Registering GET, /containers/{name:.*}/changes
DEBU[0000] Registering POST, /commit
DEBU[0000] Registering POST, /images/create
DEBU[0000] Registering POST, /images/load
DEBU[0000] Registering POST, /images/{name:.*}/push
DEBU[0000] Registering POST, /images/{name:.*}/tag
DEBU[0000] Registering POST, /containers/{name:.*}/pause
DEBU[0000] Registering POST, /containers/{name:.*}/rename
DEBU[0000] Registering POST, /containers/{name:.*}/unpause
DEBU[0000] Registering POST, /containers/{name:.*}/restart
DEBU[0000] Registering POST, /exec/{name:.*}/resize
DEBU[0000] Registering POST, /containers/create
DEBU[0000] Registering POST, /containers/{name:.*}/kill
DEBU[0000] Registering POST, /containers/{name:.*}/start
DEBU[0000] Registering POST, /containers/{name:.*}/stop
DEBU[0000] Registering POST, /containers/{name:.*}/resize
DEBU[0000] Registering POST, /auth
DEBU[0000] Registering POST, /build
DEBU[0000] Registering POST, /containers/{name:.*}/wait
DEBU[0000] Registering POST, /containers/{name:.*}/attach
DEBU[0000] Registering POST, /containers/{name:.*}/copy
DEBU[0000] Registering POST, /containers/{name:.*}/exec
DEBU[0000] Registering POST, /exec/{name:.*}/start
DEBU[0000] Registering DELETE, /containers/{name:.*}
DEBU[0000] Registering DELETE, /images/{name:.*}
DEBU[0000] Registering OPTIONS,
DEBU[0000] [zfs] no zfs dataset found for rootdir '/var/lib/docker'
DEBU[0000] devicemapper: driver version is 4.30.0
DEBU[0000] Generated prefix: docker-8:4-56098982
DEBU[0000] Checking for existence of the pool 'docker-8:4-56098982-pool'
DEBU[0000] Pool doesn't exist. Creating it.
DEBU[0000] Creating loopback file /var/lib/docker/devicemapper/devicemapper/data for device-manage use
DEBU[0000] Creating loopback file /var/lib/docker/devicemapper/devicemapper/metadata for device-manage use
FATA[0000] Error starting daemon: error initializing graphdriver: Error running DeviceCreate (CreatePool) dm_task_run failed

4)使用在github上面的issue里面提供的脚本,配置信息如下:

localhost ~ # ./check-config.sh
warning: /proc/config.gz does not exist, searching other paths for kernel config ...
info: reading kernel config from /boot/config-4.0.5-gentoo ...

Generally Necessary:

Optional Features:

5)uname -a:
Linux localhost 4.0.5-gentoo #1 SMP Sat Jul 11 10:23:15 CST 2015 x86_64 Intel(R) Celeron(R) CPU N2830 @ 2.16GHz GenuineIntel GNU/Linux

6)docker version:
localhost ~ # docker version
Client version: 1.7.1
Client API version: 1.19
Go version (client): go1.4.2
Git commit (client): 786b29d
OS/Arch (client): linux/amd64
Cannot connect to the Docker daemon. Is 'docker -d' running on this host?

7)尝试改用localhost ~ # docker -d --storage-driver=btrfs:
FATA[0000] Error starting daemon: error initializing graphdriver: driver not supported

PHPzPHPz2771 hari yang lalu1173

membalas semua(1)saya akan balas

  • 小小卫

    小小卫2017-09-20 17:47:47

    Tiada lagi Doudou. Maafkan saya

    balas
    0
  • Batalbalas