expose # 暴露端口,但不映射到宿主机,只被连接的服务访问。仅可以指定内部端口为参数 expose: - "3000" - "8000" 转载于:https://www.cnblogs.com/kaishirenshi/p/10395440.html