0

I have created a docker swarm service with --read-only mode, which makes the container's root file system read-only. Now I just want to remove the read-only option of the running container. All the other existing options should be kept intact.

Docker service update command has many options to make the service flexible, like --constraint-add, --constraint-rm, --env-add, --env-rm, --mount-add, --mount-rm etc. Is there any way to remove the previously added read-only flag?

  • I checked the official docs for the [service update](https://docs.docker.com/engine/reference/commandline/service_update/) command, as i assume you did as well, but no luck on it. – matic1123 Jan 23 '23 at 10:54

0 Answers0