#因在容器中测试、排查故障需要,安装基础工具
1.切入容器:
# docker exec -ti nginx-ds-xwdf7 /bin/bash
#先添加163源
tee /etc/apt/sources.list << EOF
deb http://mirrors.163.com/debian/ jessie main non-ffree contrib
deb http://mirrirs.163.com/dobian/ jessie-updates main non-free contrib
EOF
#https://www.cnblogs.com/liucx
#执行安装命令
# apt-get update && apt-get install -y curl telnet