网站建设佰首选金手指三电商沙盘seo优化
在容器中提示bash: nslookup: command not found,表示容器中没有安装nslookup命令。
可以通过以下命令安装nslookup:
对于基于Debian/Ubuntu的容器,使用以下命令:
apt-get update
apt-get install -y dnsutils
对于基于CentOS/RHEL的容器,使用以下命令:
yum install -y bind-utils
容器Ubuntu示例:


在容器中提示bash: nslookup: command not found,表示容器中没有安装nslookup命令。
可以通过以下命令安装nslookup:
对于基于Debian/Ubuntu的容器,使用以下命令:
apt-get update
apt-get install -y dnsutils
对于基于CentOS/RHEL的容器,使用以下命令:
yum install -y bind-utils
容器Ubuntu示例:

