How to edit a file in a running container?

well, thanks for your help! Have a good night