Linux之Dockerfile封装镜像后的优化

1、Dockerfile封装Nginxhtml 实验准备:docker环境、宿主机yum源、docker容器内的yum源、nginx-1.15.8.tar.gz、rhel7镜像linux 删除占用端口80的容器进程nginx 1. 编写Dockerfileweb vim /root/docker/Dockerfile FROM rhel7 COPY dvd.repo /etc/yum.repos.
相关文章
相关标签/搜索