ERROR: XFS filesystem at /var has ftype=0, cannot use overlay backend;

重启docker服务报错

(base) [root@bogon ~]# journalctl -xe
-- Documentation: http://www.freedesktop.org/wiki/Software/systemd/multiseat
--
-- A new session with the ID 2933 has been created for the user root.
--
-- The leading process of the session is 30282.
Aug 16 16:17:40 bogon sshd[30282]: pam_unix(sshd:session): session opened for user root by (uid=0)
Aug 16 16:18:19 bogon polkitd[771]: Registered Authentication Agent for unix-process:30402:345354381 (system bus name :1.5897 [/usr/bin/pkttyag
Aug 16 16:18:19 bogon systemd[1]: Starting Docker Storage Setup...
-- Subject: Unit docker-storage-setup.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit docker-storage-setup.service has begun starting up.
Aug 16 16:18:19 bogon container-storage-setup[30419]: ERROR: XFS filesystem at /var has ftype=0, cannot use overlay backend; consider different
Aug 16 16:18:19 bogon systemd[1]: docker-storage-setup.service: main process exited, code=exited, status=1/FAILURE
Aug 16 16:18:19 bogon systemd[1]: Failed to start Docker Storage Setup.
-- Subject: Unit docker-storage-setup.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit docker-storage-setup.service has failed.
--
-- The result is failed.
Aug 16 16:18:19 bogon systemd[1]: Unit docker-storage-setup.service entered failed state.
Aug 16 16:18:19 bogon systemd[1]: docker-storage-setup.service failed.
Aug 16 16:18:19 bogon systemd[1]: Starting Docker Application Container Engine...
-- Subject: Unit docker.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit docker.service has begun starting up.
Aug 16 16:18:19 bogon dockerd-current[30467]: unable to configure the Docker daemon with file /etc/docker/daemon.json: the following directives
Aug 16 16:18:19 bogon systemd[1]: docker.service: main process exited, code=exited, status=1/FAILURE
Aug 16 16:18:19 bogon 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.
Aug 16 16:18:19 bogon systemd[1]: Unit docker.service entered failed state.
Aug 16 16:18:19 bogon systemd[1]: docker.service failed.
Aug 16 16:18:19 bogon polkitd[771]: Unregistered Authentication Agent for unix-process:30402:345354381 (system bus name :1.5897, object path /o


解决办法:

mv /etc/docker/daemon.json /etc/docker/daemon.conf

参考:
https://www.04ip.com/post/191025.html

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值