I tried to run this command on a windows 2019 server:
docker run -d --name wp --read-only wordpress:5.0.0-php7.2-apache
and I got:
C:\Program Files\Docker\docker.exe: Error response from daemon: Windows does not support root filesystem in read-only mode.
I am following the commands in Docker in Action 2nd edition.
Is this normal? According to the book it seems to work on Ubuntu but I haven’t tried it.
Ultimately I want to define a container that is locked down, and the command that I want to run in the container can have access only perhaps on /tmp (there is some discovery work that I have to do) and a mounted volume.
Thanks