Docker for windows needs to activate the Share drivers and use Windows syntax in the command. Something like -v //c/dgraph/:/dgraph or -v "c:\dgraph":/dgraph. There are several blog posts about it.
I have tested here(macOS, but makes no difference) and it shows. If you are seeing the logs I’m 100% sure that it will print the version in the logs.