Remove some docker function from go sources