首页 > 技术文章 > docker参数expose使用
kaishirenshi 2019-02-18 14:26 原文
expose # 暴露端口,但不映射到宿主机,只被连接的服务访问。仅可以指定内部端口为参数 expose: - "3000" - "8000"