我有一个包含这个 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 容器端口连接的解决方案?