refactor docker package