docker: injecting envs on createContainer action.

related to #671.