zlel
V2EX  ›  Docker

关于 docker,开发测试环境是直接用 nginx 镜像还是 Linux 镜像再安装 nginx ?

  •  
  •   zlel · Aug 6, 2018 · 4740 views
    This topic created in 3011 days ago, the information mentioned may be changed or developed.

    我这边的生产环境是部署在 aws 上的,开发测试环境是完全模拟生产环境用 amazon linux 镜像再安装 nginx 这种方式,还是直接用 nginx 镜像好些?另外 docker 只是用在开发测环境中。

    3 replies  •  2018-08-06 17:03:52 +08:00
    artandlol
    artandlol
    Aug 6, 2018
    1
    自己装吧 放哪里 出什么问题自己比较清楚
    iwaifor
    iwaifor
    Aug 6, 2018
    2
    假如开发测试环境磁盘紧张,可以自己用 alpine 定制 nginx 镜像 省很多空间出来
    kchum
    kchum
    Aug 6, 2018
    3
    没什么特殊需求 直接那个 alpine 的 nginx 镜像
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   4989 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 09:03 · PVG 17:03 · LAX 01:03 · JFK 04:03
    ♥ Do have faith in what you're doing.