Description
The Mesos docker API allows specifying volumes on the host to mount into the container when it runs. We should expose this. I propose:
- Add a volumes() set to the Docker object in base.py
- Add a similar set to the DockerContainer struct in api.thrift
- Create a way for administrators to restrict the ability to use this. Because mounts are set up by the docker daemon, they effectively allow someone who can configure mounts to access anything on the machine.