简体   繁体   中英

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 ?

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM