1、安装桌面版docker
https://www.docker.com/products/docker-desktop
2、搜索并加载centos镜像
docker search centos
sudo docker pull centos
3、启动docker并加载centos镜像
sudo docker images
sudo docker run -t -i --privileged=true -v /Users/eden:/home/eden centos
1、安装桌面版docker
https://www.docker.com/products/docker-desktop
2、搜索并加载centos镜像
docker search centos
sudo docker pull centos
3、启动docker并加载centos镜像
sudo docker images
sudo docker run -t -i --privileged=true -v /Users/eden:/home/eden centos