expand docker flags