Due to gremlin server expecting a map, but docker being unable to pass it to the server in the format that is expected.I think you simply have a slight misunderstanding of the YAML format here. YAML is basically a nested map of maps.
gremlinserver.a.b.c=newvalue