Coding/Docker/Best Practices
Edit a file#
- @2022-03-26
- Use docker volumes.
In the answer of
vim scp://remoteuser@containerip//path/to/document
How do I edit a file after I shell to a Docker container? shows the website Editing files in a docker container and the best practice for me is to use docker volumes (Host volumes) and edit it in outside the container.