在之前写过《在windows11系统上利用docker搭建ubuntu记录》,但是不知道为什么我使用xshell没办法登录,今天在写篇在window11系统上使用docker安装centos7的文章记录一下。
一、创建centos容器
1、拉取centos7镜像
docker pull centos:7
2、查看镜像
docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
mysql 8.0 3218b38490ce 2 years ago 516MB
ubuntu latest ba6acccedd29 2 years ago 72.8MB
centos &nb