Configuring Docker Run Time Options
DME
Copy
POST http://<mgmt_IP>/api/mo/sys/apphosting/appconf-<app-id>/runopt-<opt-idx>.json
{ "apphostingRunOpt" : { "attributes" : { "adminSt" : "enabled", "optIdx" : "1", "optVal": "-v $(APP_DATA):/data" } } } { "apphostingRunOpt" : { "attributes" : { "adminSt" : "disabled”, "optIdx" : "1" } } }
Response
{ imdata:[] }