Quantcast
Viewing latest article 1
Browse Latest Browse All 29

Answer by simhumileco for How do I edit a file after I shell to a Docker container?

For common edit operations I prefer to install vi (vim-tiny), which uses only 1491 kB or nano which uses 1707 kB.

In other hand vim uses 28.9 MB.

We have to remember that in order for apt-get install to work, we have to do the update the first time, so:

apt-get update
apt-get install vim-tiny

To start the editor in CLI we need to enter vi.


Viewing latest article 1
Browse Latest Browse All 29

Trending Articles