adding 2 docker helper functions