change docker endpoint.