Bootstrapping fails because filesystem check regex doesn't match

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!

3 Likes

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

2 Likes

Sure thing, https://pastebin.com/raw/8RBsPtgt

2 Likes

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.

3 Likes

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

3 Likes
4 Likes