|
|
|
|
|
by general_failure
4054 days ago
|
|
I have never managed the readonly container to work. /var/run needs to be writable. /tmp needs to be writable and so on. I gave it a shot again today: $ docker run --read-only=true -ti ubuntu:14.10 touch /tmp/foo touch: cannot touch '/tmp/foo': Read-only file system How is this supposed to work? There is little to no information on how this feature works. Can you give me a pointer? In addition, restart:on-failure appears to have issues if docker itself crashes. |
|
E.g.:
(I'm not sure if/how you can make Docker do this automatically. I'd imagine there's a flag or something.)