Loading...
为了下次更快打开本网站,建议在浏览器添加书签收藏本网页。
创建dockerfile文件pwd vim DockerfileFROM nginx RUN echo "我要学docker" >...
1.容器启动docker run 镜像id #创建+启动容器 docker ps #查看容器进程 docker ps -a #查看容器运行记录2.运行镜像...
1.获取镜像docker search centos:7.8.2003 #默认是latest2.查看镜像docker images docker imag...
[root@localhost ~]# cat /etc/redhat-release CentOS Linux release 7.9.2009 (Co...
mkdir -p /mnt/cdrom mount /dev/cdrom /mnt/cdrom cd /etc/yum.repos.d/ mkdir ba...