Wednesday, January 5, 2022

[SOLVED] How to install apt in Docker machine?

Issue

I'm SSH'd into a Docker VM (the default machine) and did a apt-get update and this is what I got:

Screenshot

I'm not a huge Linux user; how do I install apt in a Docker machine? I'm ultimately wanting to install vim and/or nano via apt-install on the machine.


Solution

Working with TinyCore distribution and installing apt is not a good selection. instead you could use lubuntu

TinyCore Dist comes with tce-load package. Which you can use to download the packages. example: tce-load -wi vim.tcz or tce-load -wi nano.tcz



Answered By - UserASR