signalfx / maestro-ng

Orchestration of Docker-based, multi-host environments
https://signalfx.com
Apache License 2.0
683 stars 83 forks source link

Add support for "read-only" containers #215

Closed lvjp closed 4 years ago

lvjp commented 4 years ago

It would be great to be able to run "read-only" container like you can do with the command docker run --read-only.

This can be used to force container to write data inside well know mount path instead of /var/lib/docker.

lvjp commented 4 years ago

Today, I test it and It's works on my machine !

mpetazzoni commented 4 years ago

Thanks! What's the minimum docker-py version requirement to support read_only (and corresponding minimum Docker API/daemon version requirement)?

lvjp commented 4 years ago

read_only birth version seems to be 1.0.0 as written in changelog.

I think that it's complient with our requirements.txt with a docker-py>=1.4.0.

mpetazzoni commented 4 years ago

Perfect, thanks!