Closed xiaods closed 8 years ago
"parameters": [ { "key": "add-host", "value": "localhost:$HOST" } ],
i need add a slave ip to docker daemon, but when i scaling the app instance, the ip is need dynamic ip. so how can i do that?anyone can do me a favor to answer the question?
currently marathon only accept $HOST as a literal string.
You can use the MARATHON_HOST env variable to get the slave's host name.
MARATHON_HOST
i need add a slave ip to docker daemon, but when i scaling the app instance, the ip is need dynamic ip. so how can i do that?anyone can do me a favor to answer the question?