refactor docker commands to use more yaml file settings