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.

3 Likes

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

3 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.

4 Likes

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

4 Likes

https://github.com/discourse/discourse_docker/commit/98c5fec43de299bdfc55970cea3495fa4c27d6ac

6 Likes