-
How to edit a file after we shell to a Docker container?
What do I mean from shell to a Docker container is to enter in our running container. Use following command to enter in running container. docker exec -it <container> bash Once entered in running container run following command. apt-get update apt-get install nano OR apt-get install vim Once installed any of the above editor we…