Remove duplicated docker generation boolean