make global variable Docker mockable.