我一直在試圖讓docker-in-docker爲CentOS 7映像工作,並以ubuntu作爲宿主映像。CentOS 7:docker中的docker:「錯誤:設備上沒有剩餘空間」
截至目前我還沒有開始建設這個作爲碼頭的形象。而目前正在使用bash嘗試如何「讓碼頭工人在碼頭工人的工作」
目前systemctl start docker
跑內泊塢窗像CentOS的內部提供了以下錯誤
Error: No space left on device
Job for docker.service failed. See 'systemctl status docker.service' and 'journalctl -xn' for details.
上的錯誤systemctl status docker
進一步調查提供了以下
Oct 13 04:32:08 codenvy docker[6520]: time="2015-10-13T04:32:08Z" level=info msg="Listening for HTTP on unix (/var/run/docker.sock)"
Oct 13 04:32:08 codenvy docker[6520]: time="2015-10-13T04:32:08Z" level=warning msg="Running modprobe bridge nf_nat failed with message: , error: exit status 1"
Oct 13 04:32:08 codenvy docker[6520]: time="2015-10-13T04:32:08Z" level=info msg="-job init_networkdriver() = OK (0)"
Oct 13 04:32:09 codenvy docker[6520]: time="2015-10-13T04:32:09Z" level=warning msg="Your kernel does not support cgroup swap limit."
Oct 13 04:32:09 codenvy docker[6520]: time="2015-10-13T04:32:09Z" level=info msg="Loading containers: start."
Oct 13 04:32:09 codenvy docker[6520]: time="2015-10-13T04:32:09Z" level=info msg="Loading containers: done."
Oct 13 04:32:09 codenvy docker[6520]: time="2015-10-13T04:32:09Z" level=fatal msg="Shutting down daemon due to errors: inotify_add_watch: no space left on device"
Oct 13 04:32:09 codenvy systemd[1]: docker.service: main process exited, code=exited, status=1/FAILURE
Oct 13 04:32:09 codenvy systemd[1]: Failed to start Docker Application Container Engine.
Oct 13 04:32:09 codenvy systemd[1]: Unit docker.service entered failed state.
其他信息
- 主機OS:Ubuntu的14.04.2 LTS
- 多克爾圖片:codenvy/onprem-multi(其基於CentOS:centos7)
- 掛接的卷
- /SYS/FS/cgroup中
- /SYS/FS/cgroup中:/ SYS/FS/cgroup中:RO
- 到/ mnt /泊塢窗,文件,LVM /泊塢窗/ codenvy /泊塢窗:在/ var/lib中/泊塢窗
- 到/ mnt /泊塢窗,文件,LVM /泊塢窗/ codenvy/ldap:/ var/lib/ldap
- 到/ mnt /泊塢窗,文件,LVM /泊塢窗/ codenvy /蒙戈:在/ var/lib中/蒙戈
- 到/ mnt /泊塢窗,文件,LVM /泊塢窗/ codenvy /家:/家
- 特權模式
注意
這不是關於如何安裝codenvy,其對碼頭工人獲得自己安裝並正常工作。在安裝之前codenvy
補充:DF -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/hc--dawn--vg-root 27G 3.5G 23G 14%/
none 4.0K 0 4.0K 0% /sys/fs/cgroup
udev 16G 12K 16G 1% /dev
tmpfs 3.2G 1.1M 3.2G 1% /run
none 5.0M 0 5.0M 0% /run/lock
none 16G 37M 16G 1% /run/shm
none 100M 0 100M 0% /run/user
/dev/sda1 236M 95M 129M 43% /boot
/dev/mapper/base--storage-docker--files 886G 52G 790G 7% /mnt/docker-files-lvm
注:到/ mnt /泊塢窗,文件,LVM /泊塢窗映射到的/ mnt /泊塢窗,文件,LVM(這是790GB)