move docker commands to control script