I just want to edit some files, can I have a text editor? Anything but Vi[m].
Is there a trivial way to install nano, emacs or a basic text editor?
I'm sorry Behroozam, but your answer didn't work. However, I changed consoles but no luck on nano. VI is hardcore text editor that I am nervous of using, I guess if I want to get stuff done I'll have to bite the bullet and use VI.
Just switch your console to debian (or ubuntu, centos, fedora, alpine whichever you like).
And install your favorite editor, using package system like "apt".
(If you use CoreOS, @Behroozam's answer is correct.)
I think "switchable console" is knockout feature of the RancherOS. (I switched from CoreOS, because of this.)
Default console is a busybox, and I think most of RancherOS user doesn't use default console, unless you just deploy your docker apps using provisioning tools and never login to the console manually.
RancherOS's console is a system-docker container and it just launches sshd. So, in general you don't have to worry about memory usage.
I use & recommend debian console because of low disk usage, and my taste.
But you can choose any console unless you are running RancherOS on Raspberry Pi ;-)
you can run full privilege nano docker container inside rancheros like this touturial . for example its should be something like this