摘要:
#1:参数详解 service: 定义服务 web: 二级标签,服务名称,用户自己定义 image: 指定服务镜像的名称或ID,如果本地镜像不存在,Compose将会尝试拉取这个镜像 格式: image: redis image: ubuntu:14.04 image: tutum/influxdb 阅读全文
posted @ 2020-10-25 19:40
BlueSky-
阅读(2598)
评论(0)
推荐(0)
摘要:
#1:拉取镜像 docker pull gitlab/gitlab-ce #2:docker-compose.yml version: '2' services: gitlab: image: gitlab/gitlab-ce container_name: 'gitlab' restart: al 阅读全文
posted @ 2020-10-25 19:33
BlueSky-
阅读(323)
评论(0)
推荐(0)
摘要:
#1.Dockerfile mkdir nginx cd nginx/ vi Dockerfile 将压缩包上传至此目录 基于centos:7 FROM centos:7 MAINTAINER Chinaskill 下载手工编译nginx软件包 RUN yum update -y && yum in 阅读全文
posted @ 2020-10-25 10:31
BlueSky-
阅读(187)
评论(0)
推荐(0)

浙公网安备 33010602011771号