I would still recommend to stop and remove the container before applying any changes to the files on the bind filesystem, because docker may revert your changes. And it will revert with probability 90%, if you would stop the container but not remove it before changes, see