摘要:
待续 阅读全文
摘要:
nginx Docfile FROM centos MAINTAINER daniel RUN yum install -y wget RUN wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo 阅读全文
摘要:
待续 阅读全文
摘要:
镜像仓库申请地址: https://cr.console.aliyun.com/cn-shanghai/instances/repositories 一、创建命名空间 例如daniel-hub 二、创建镜像仓库 例如nginx-docker 三、使用镜像仓库 镜像仓库申请地址: https://cr 阅读全文
摘要:
docker search nginx docker pull nginx docker images nginx mkdir -p /data/nginx/{conf.d,html,logs} docker run -p 80:80 --name nginx-server -v /data/ngi 阅读全文
摘要:
mkdir -p /etc/dockertee /etc/docker/daemon.json <<-'EOF'{ "registry-mirrors": ["https://xxxxxxx.mirror.aliyuncs.com"]}EOFsystemctl daemon-reloadsyste 阅读全文
摘要:
yum install -y yum-utils device-mapper-persistent-data lvm2 yum-config-manager --add-repo http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.r 阅读全文