I'm testing secrets api in marathon with goal to implement file based secret on mesos side, and example from documentation is not working https://github.com/mesosphere/marathon/blob/master/docs/docs/secrets.md#file-based-secrets
It gives error: "/container/docker: not defined".
Does it mean that secrets are designed to work only with UCR, and there is no way to pass them as files to simple mesos tasks or is it bug in marathon?
Using latest mesos and marathon:
marathon-1.6.508-87013dd$ ./bin/marathon --master 127.0.1.1:5050 --zk zk://127.0.0.1:2181/marathon --enable_features secrets
P.S. with UCR defined it is starting normally