This is a little better. It's not very smart but it does look better. It assumes an upper case word at the start of a line is a keyword and colors anything that looks like a switch (-y or --what-ever) for a command.
<colorcoding_profiles n="colorcoding_profiles.Docker" version="2">
<idchars v="a-zA-Z_$ 0-9"/>
<case_sensitive v="1"/>
<mn_flags v="dot_float digit_int digit_float"/>
<p n="comment,#">
<attrs color_to_eol="comment" line_continuation_char="\"/>
</p>
<p n='string,"'>
<attrs end='"' line_continuation_char="\"/>
</p>
<p n="string,'">
<attrs end="'" line_continuation_char="\"/>
</p>
<p n="comment,\#([ \t]*)escape=`">
<attrs end="^(#=\\#([ \\t]*)escape=)" flags="regex end_regex multiline dont_color_as_embedded_if_possible" embedded_lexer="Docker backtick">
</attrs>
</p>
<p n="comment,\#([ \t]*)escape=\\">
<attrs end="^(#=\\#([ \\t]*)escape=)" flags="regex end_regex multiline dont_color_as_embedded_if_possible" embedded_lexer="Docker">
</attrs>
</p>
<!--p n="other,(#<=^[ \t]*)[A-Z]#(#=$|[ \t])">
<attrs end="$" flags="end_regex regex" start_color="k" line_continuation_char='\'>
<iattrs type="lib" start="(#<=(^|[ \t]))--[a-zA-Z0-9\-]#+" flags="regex"/>
<iattrs type="lib" start="(#<=(^|[ \t]))-[a-zA-Z0-9]#+" flags="regex"/>
</attrs>
</p-->
<p n="k,(#<=^[ \t]*)[A-Z]#(#=$|[ \t])">
<attrs flags="regex"/>
</p>
<p n="lib,(#<=(^|[ \t]))--[a-zA-Z0-9\-]#+">
<attrs flags="regex"/>
</p>
<p n="lib,(#<=(^|[ \t]))-[a-zA-Z0-9]#+">
<attrs flags="regex"/>
</p>
</colorcoding_profiles>
<colorcoding_profiles n="colorcoding_profiles.Docker backtick" version="2">
<idchars v="a-zA-Z_$ 0-9"/>
<case_sensitive v="1"/>
<mn_flags v="dot_float digit_int digit_float"/>
<p n="comment,#">
<attrs color_to_eol="comment" line_continuation_char="`"/>
</p>
<p n='string,"'>
<attrs end='"' line_continuation_char="`"/>
</p>
<p n="string,'">
<attrs end="'" line_continuation_char="`"/>
</p>
<p n="string,\#([ \t]*)escape=`">
<attrs end="^(#=\\#([ \\t]*)escape=)" flags="regex end_regex multiline dont_color_as_embedded_if_possible" embedded_lexer="Docker backtick">
</attrs>
</p>
<p n="comment,\#([ \t]*)escape=\\">
<attrs end="^(#=\\#([ \\t]*)escape=)" flags="regex end_regex multiline dont_color_as_embedded_if_possible" embedded_lexer="Docker">
</attrs>
</p>
<p n="k,(#<=^[ \t]*)[A-Z]#(#=$|[ \t])">
<attrs flags="regex"/>
</p>
<p n="lib,(#<=(^|[ \t]))--[a-zA-Z0-9\-]#+">
<attrs flags="regex"/>
</p>
<p n="lib,(#<=(^|[ \t]))-[a-zA-Z0-9]#+">
<attrs flags="regex"/>
</p>
</colorcoding_profiles>