原因
docker Ubuntu容器内并未安装DNS相关的工具集,这里需要安装后才能使用。
解决方案
apt-get install dnsutils
安装完成之后,即可使用dig、nslookup等DNS操作命令
转载请注明:悠然品鉴 » Docker Ubuntu下使用dig、nslooup命令: command not found的问题
docker Ubuntu容器内并未安装DNS相关的工具集,这里需要安装后才能使用。
apt-get install dnsutils
安装完成之后,即可使用dig、nslookup等DNS操作命令
转载请注明:悠然品鉴 » Docker Ubuntu下使用dig、nslooup命令: command not found的问题