Docker 使用 CentOS 镜像

使用 docker run 直接运行 CentOS 7 镜像,并登录 bash

复制代码
C:\Users\yhu>docker run -it centos:centos7 bash
Unable to find image 'centos:centos7' locally
centos7: Pulling from library/centos
2d473b07cdd5: Pull complete
Digest: sha256:be65f488b7764ad3638f236b7b515b3678369a5124c47b8d32916d6487418ea4
Status: Downloaded newer image for centos:centos7
[root@3ceb808f5a6c /]# cat /etc/redhat-release
CentOS Linux release 7.9.2009 (Core)
[root@3ceb808f5a6c /]#

从镜像的发布日期来看,CentOS 的版本已经有多年没有更新了。

对于操作系统来看,这可能会导致很多潜在的安全性问题。

针对上面的情况,不建议在服务器生产环境中继续使用了。

Docker 使用 CentOS 镜像 - 系统容器 - iSharkFly使用 docker run 直接运行 CentOS 7 镜像,并登录 bash。 C:\Users\yhu>docker run -it centos:centos7 bashUnable to find image 'centos:centos7' locallycentos7: Pulling from library/centos2d473b07cdd5: Pull completeDigest: sha256:be65...https://www.isharkfly.com/t/docker-centos/15741

相关推荐
zwjapple16 分钟前
docker-compose一键部署全栈项目。springboot后端,react前端
前端·spring boot·docker
代码老y2 小时前
Docker:容器化技术的基石与实践指南
运维·docker·容器
DuelCode3 小时前
Windows VMWare Centos Docker部署Springboot 应用实现文件上传返回文件http链接
java·spring boot·mysql·nginx·docker·centos·mybatis
BD_Marathon6 小时前
设置LInux环境变量的方法和区别_Ubuntu/Centos
linux·ubuntu·centos
杨浦老苏7 小时前
开源服务运行监控工具Lunalytics
docker·群晖·网站监控
xmode8 小时前
centos7.9安装ffmpeg6.1和NASM、Yasm、x264、x265、fdk-aac、lame、opus解码器
ffmpeg·centos
星辰云-13 小时前
# Linux Centos系统硬盘分区扩容
linux·运维·centos·磁盘扩容
呆萌的代Ma14 小时前
解决Mac上的老版本docker desktop 无法启动/启动后一直转圈/无法登陆账号的问题
macos·docker·eureka
feilieren14 小时前
Docker 安装 Elasticsearch 9
运维·elasticsearch·docker·es
KaiwuDB15 小时前
使用Docker实现KWDB数据库的快速部署与配置
数据库·docker