如何configurationVagrant框文件系统?
我正在运行一个基于bento/centos7.1
的Vagrant-VirtualBox VM。在这个盒子里面,我运行一个bento/centos7.1
容器。 当我login到容器并尝试删除一些文件时,它们不能完全删除(请参阅图 – 注意问号而不是文件attrs在某些文件上)
在这里,我读了这是因为主机文件系统与容器的文件系统冲突。 当我运行docker info
,我得到关于FS的以下内容:
Server Version: 17.05.0-ce Storage Driver: overlay Backing Filesystem: xfs Supports d_type: false
如何configurationvagrant以支持d_type
的文件系统运行? 我在哪里把ftype=1
放在Vagrantfile中?