# 引导启动失败，因为文件系统检查的正则表达式不匹配

**URL:** <https://meta.discourse.org/t/bootstrapping-fails-because-filesystem-check-regex-doesnt-match/119625>\
**Category:** Bug\
**Created:** [2019年六月6日 04:04 UTC](https://meta.discourse.org/t/bootstrapping-fails-because-filesystem-check-regex-doesnt-match/119625 "2019-06-06T04:04:29Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![nemesis64](https://avatars.discourse-cdn.com/v4/letter/n/f1d935/32.png) [@nemesis64](https://meta.discourse.org/u/nemesis64)\
**Post date:** [2019年六月6日 04:04 UTC](https://meta.discourse.org/t/bootstrapping-fails-because-filesystem-check-regex-doesnt-match/119625/1 "2019-06-06T04:04:29Z")

</div>

I’m on fedora 30 with everything to the latest(docker is 19.03.0-rc2) as of this topic, and when i get to the bootstrapping step, it fails and says that my filesystem is unsupported, so i investigated the source code and found out that overlay2 is indeed supported.. so i ran the offending line on my terminal and up to no avail, no regex was matched at all..

offending command(without the -q flag):

> docker info 2\> /dev/null | egrep ‘^Storage Driver: (aufs|zfs|overlay2)$’  
> No output from terminal

However, upon removing the empty string match(^) It works perfectly and matches my Storage driver:

> docker info 2\> /dev/null | egrep ‘Storage Driver: (aufs|zfs|overlay2)$’  
> Storage Driver: overlay2

Why’s the case? Thanks and i can provide any other info if needed!

---

<div class="post-metadata">

**Author:** ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)\
**Post date:** [2019年六月6日 04:20 UTC](https://meta.discourse.org/t/bootstrapping-fails-because-filesystem-check-regex-doesnt-match/119625/2 "2019-06-06T04:20:43Z")

</div>

Can you paste the output of `docker info` here? I think they changed formatting on the 19.X version.

---

<div class="post-metadata">

**Author:** ![nemesis64](https://avatars.discourse-cdn.com/v4/letter/n/f1d935/32.png) [@nemesis64](https://meta.discourse.org/u/nemesis64)\
**Post date:** [2019年六月6日 04:24 UTC](https://meta.discourse.org/t/bootstrapping-fails-because-filesystem-check-regex-doesnt-match/119625/3 "2019-06-06T04:24:00Z")

</div>

Sure thing, [https://pastebin.com/raw/8RBsPtgt](https://pastebin.com/raw/8RBsPtgt)

---

<div class="post-metadata">

**Author:** ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)\
**Post date:** [2019年六月6日 04:28 UTC](https://meta.discourse.org/t/bootstrapping-fails-because-filesystem-check-regex-doesnt-match/119625/4 "2019-06-06T04:28:36Z")

</div>

Looks like there is a Server entry at the top level, and now Storage driver is a second level entry, which broke our regex.

I found this when running docker unstable, but didn’t dig further. I will fix this tommorow.

---

<div class="post-metadata">

**Author:** ![nemesis64](https://avatars.discourse-cdn.com/v4/letter/n/f1d935/32.png) [@nemesis64](https://meta.discourse.org/u/nemesis64)\
**Post date:** [2019年六月6日 04:30 UTC](https://meta.discourse.org/t/bootstrapping-fails-because-filesystem-check-regex-doesnt-match/119625/6 "2019-06-06T04:30:08Z")

</div>

Glad im in the beta then so you can patch it out before the beta hits mainstream 🙂

---

<div class="post-metadata">

**Author:** ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)\
**Post date:** [2019年六月19日 18:39 UTC](https://meta.discourse.org/t/bootstrapping-fails-because-filesystem-check-regex-doesnt-match/119625/7 "2019-06-19T18:39:39Z")

</div>

[https://github.com/discourse/discourse\_docker/commit/98c5fec43de299bdfc55970cea3495fa4c27d6ac](https://github.com/discourse/discourse_docker/commit/98c5fec43de299bdfc55970cea3495fa4c27d6ac)

---

<div class="post-metadata">

**Author:** ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)\
**Post date:** [2019年六月19日 18:39 UTC](https://meta.discourse.org/t/bootstrapping-fails-because-filesystem-check-regex-doesnt-match/119625/8 "2019-06-19T18:39:42Z")

</div>


