Add helper functions for docker