Why does wildcard for jar execution not work in docker CMD?
This kind of asterisk expansion is done by the command line processor - the shell - and you circumvent that by invoking java directly.
Much the same way as commands should be invoked with "CMD /C" under Windows to get full treatment.
Invoke /bin/sh
instead.