--privileged  -v /var/run/docker.sock:/var/run/docker.sock  -v $(which docker):/bin/docker 

 

启动容器时添加上面的参数