1. 首页
  2. 数据库
  3. 其它
  4. Dockerfile构建镜像(一)

Dockerfile构建镜像(一)

上传者: 2021-01-16 17:01:40上传 PDF文件 690.06KB 热度 28次
环境准备 服务器系统 Centos7.3 内存 1G CPU 2核 IP地址 10.0.0.43 mkdir Dockerfile cd Dockerfile/ vim Dockerfile FROM centos RUN yum -y install net-tools docker build -t centos:ip . docker images docker run --rm -it centos:ip ifconfig exit vim Dockerfile FROM centos RUN yum -y install gcc gcc-c+
下载地址
用户评论