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

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

#执行安装命令
# apt-get update && apt-get install -y curl telnet 

 

原文链接:https://www.cnblogs.com/liucx/p/13213825.html

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-29
  • 2021-09-02
  • 2021-09-29
  • 2021-10-31
猜你喜欢
  • 2022-02-27
  • 2022-12-23
  • 2022-12-23
  • 2021-11-20
  • 2022-02-08
  • 2022-12-23
相关资源
相似解决方案