Chandan Rajpurohit

An Artist With Technical Skills

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


apt-get install vim

Once installed any of the above editor we will be able to edit file in our running container.

Thank you for reading this article, I really appreciate it. If you have any question feel free to leave a comment. 

Leave a Reply

%d bloggers like this: