Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

apt-get command not found in coreOS (cos)

I would like to install tools in my cluster VM to debug, like dnsutils or mysql to test connections. My cluster VM use container optimized OS (cos).

Whenever I try

apt-get update

I got an error

-bash: apt-get: command not found

How could I achieve this ?

like image 816
Woody Avatar asked Oct 17 '25 04:10

Woody


1 Answers

As explained here, execute

/usr/bin/toolbox

It will download docker images and login inside once completed, as root user. You will be able to execute commands like apt-get update / install and debug

like image 140
Woody Avatar answered Oct 19 '25 20:10

Woody



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!