add some docker functions