Fix env splitting in docker module

ENV variable value could contain '=' (for example mysql://host/db?pool=10)
Merge pull request #7400 from etehtsea/patch-1

Fix env splitting in docker module