Docker容器中安装curl、telnet、vim工具

#因在容器中排查故障需要,安装基础工具

#先添加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 

原文地址:https://www.cnblogs.com/liucx/p/13213825.html