Windows10上访问docker中的centos
Windows10上访问docker中的centos
1、安装docker之后,pull相应的centos7
2、安装并且运行centos7
docker run -tid --name centos7 --privileged=true centos /usr/sbin/init
# 运行该容器
docker exec -it centos7 /bin/bash
#安装ifconfig命令所需...
原创
2019-08-15 23:38:28 ·
1735 阅读 ·
0 评论