ubuntu报错解决和注意事项
1、在容器中安装expect报错
[root@kube-node3 target]# docker exec -it 36563e55c42b sh
$ sudo apt-get install expect
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package expect
解决:更新一下就可以了
sudo apt-get update
sudo apt-get install expect -y
2、Ubuntu设置su和sudo为不需要密码 https://blog.csdn.net/langb2014/article/details/54646675