Docker Community Forums

Share and learn in the Docker community.

Editing read only file system inside docker container

does anyone know how to edit read only file system inside docker container.I want to edit a line inside the tensorflow docker container graphsurgeon folder named node_manipulation.py but no matter whatever i do it cant be edited,nor can it be edited.

What are you refering as “read only file system”? The file system of the container? Or a mount target for a read-only volume?

What sense would it make if you could modify (=write) files in a read-only volume? Either use a read-write mapping (and make sure the permissions allow it) or keep your read-only mapping and live with immutable files.

There is a read only file system inside the docker container which I have to edit

Did you actualy read my response? You might want to re-read it again…

Good luck with your endavor!