在虚拟专用服务器上运行Ubuntu 16.04.5 LTS 4.4.0-108-generic我的目标是使用 mup.js 部署流星应用程序,但由于 dockerd 未启动而失败。问题是,我无法在系统重启后启动 dockerd。
我尝试按照其他线程中的建议更改graphdriver(无法在Ubuntu 16.04.2 LTS上启动docker(错误初始化graphdriver)),切换到aufs或overlay2,但无济于事。我还更新了我的内核,清除了 docker repos,在我的机器上重新安装了 docker。
我几乎没有与 docker 合作的经验,我试图重新上线的网站是一个节目的一部分,最后一晚是明天!我必须说我有点绝望,欢迎任何帮助。
谢谢你!
docker & dockerd 都是18.06.1-ce 版本,构建 e68fc7a
$ sudo dockerd
INFO[0000] libcontainerd: new containerd process, pid: 3488
WARN[0000] containerd: low RLIMIT_NOFILE changing to max current=1024 max=1048576
WARN[0000] failed to rename /var/lib/docker/tmp for background deletion: %!s(<nil>). Deleting synchronously
Error starting daemon: error initializing graphdriver: driver not supported
journalctl -xe 产生:
Oct 03 01:22:19 vps332343 systemd[1]: Listening on Docker Socket for the API.
-- Subject: Unit docker.socket has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit docker.socket has finished starting up.
--
-- The start-up result is done.
Oct 03 01:22:19 vps332343 systemd[1]: docker.service: Start request repeated too quickly.
Oct 03 01:22:19 vps332343 systemd[1]: Failed to start Docker Application Container Engine.
-- Subject: Unit docker.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit docker.service has failed.
--
-- The result is failed.
Oct 03 01:22:19 vps332343 systemd[1]: docker.socket: Unit entered failed state.
Oct 03 01:22:37 vps332343 sudo[3651]: eboutin : TTY=pts/0 ; PWD=/etc/nginx/sites-available ; USER=root ; COMMAND=/bin/journalctl -xe
Oct 03 01:22:37 vps332343 sudo[3651]: pam_unix(sudo:session): session opened for user root by eboutin(uid=0)
df -tH 产生:
Filesystem Type Size Used Avail Use% Mounted on
udev devtmpfs 970M 0 970M 0% /dev
tmpfs tmpfs 196M 5.6M 190M 3% /run
/dev/vda1 ext4 9.7G 4.6G 5.1G 48% /
copymods tmpfs 977M 28K 977M 1% /lib/modules
tmpfs tmpfs 977M 68K 977M 1% /dev/shm
tmpfs tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs tmpfs 977M 0 977M 0% /sys/fs/cgroup
tmpfs tmpfs 196M 0 196M 0% /run/user/1002
tmpfs tmpfs 196M 0 196M 0% /run/user/1001
/etc/docker/daemon.json 内容:
{"storage-driver":"devicemapper"}
(没有其他修改的配置文件)