在coreOS(cos)中找不到apt-get命令

问题描述 投票:0回答:1

我想在群集VM中进行安装 工具调试,例如dnsutilsmysql来测试连接。我的群集VM使用容器优化的OS(cos)。

无论何时尝试

apt-get update

我有一个错误

-bash: apt-get: command not found

我该如何实现?

bash google-cloud-platform coreos
1个回答
0
投票

here所述,执行

/usr/bin/toolbox

它将以root用户身份下载docker映像并在完成后登录内部。您将能够执行apt-get update / install and debug之类的命令

© www.soinside.com 2019 - 2024. All rights reserved.