【发布时间】:2016-10-19 10:09:57
【问题描述】:
我有一个包含这个 docker 参数的极光文件:
jobs = [
Service(cluster = 'mesos-fr',
environment = 'devel',
role = 'root',
instances = 1,
name = 'frontend_service',
task = run_frontend_service,
container=Docker(image='frontend_service', parameters=[{'name': 'frontend_service'}, {'publish': '{{thermos.ports[http]}}:3000'}])
)
]
收到此错误:
Error loading configuration: Unknown schema attribute publish
有没有办法把主机端口和docker容器端口连接起来?
【问题讨论】:
标签: docker mesos apache-aurora