Closed bradleyreeves closed 9 years ago
Hi @bradleyreeves, I tried posting your configuration directly to the Marathon app creation endpoint and it worked, so I think it's not specifically those parameters that are causing the issue. There may be a problem in the CLI.
That's it @philipnrmn, I can confirm using the endpoint worked for me as well. Thanks for the help!
OK, glad to hear it. I'll close this issue here, and raise it on the appropriate CLI project. Thanks for the report!
Any insight into what might be causing this?
Error: Additional properties are not allowed ('key', 'value' were unexpected) Path: container.docker.parameters.0 Value: {"value": "9990:9990", "key": "publish"}
Error while using DCOS cli from terminal, "dcos marathon app add wildfly.json"
wildfly.json as follows:
{ "container": { "type": "DOCKER", "docker": { "image": "bradleyreeves/wildfly:latest", "parameters":[{"key":"publish","value":"9990:9990"}] } }, "id": "wildfly-docker", "acceptedResourceRoles": ["slave_public"], "cpus": 1, "instances": 1, "mem": 2048, "ports":[9990] }