fixes #1603 also output to the logs/cmd.log for the command thats used to run the container along with the environment variables etc for easier diagnosis if stuff doens't work right