1.runing docker
docker run -itd --name centos-test -p 5678:22 --privileged=true centos:centos7 /usr/sbin/init
2.Entering docker
docker exec -it centos-test /bin/bash
3.Install ssh service and network software
yum install net-tools.aarch64 -y
这个步骤注意是net-tools.aarch64,和windows下不同。