docker容器命令安装

ip命令

1
2
3
4
# ubuntu
apt-get install -y iproute2
# centos
yum -y install initscripts

netstat命令

1
2
3
4
# centos
yum -y install net-tools
# ubuntu
apt-get -y install net-tools

md5sum

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#Debian
apt-get install coreutils
  
#Ubuntu
apt-get install coreutils
  
#Alpine
apk add coreutils
  
#Arch Linux
pacman -S coreutils
  
#Kali Linux
apt-get install coreutils
  
#CentOS
yum install coreutils
  
#Fedora
dnf install coreutils
  
#OS X
brew install md5sha1sum
  
#Raspbian
apt-get install coreutils
  
#Docker
docker run cmd.cat/md5sum md5sum

ssh命令

1
2
3
4
5
# centos
 yum install openssh-server openssh-clients -y
 
# uuntu
apt-get install openssh-server openssh-client -y

 gcc/g++命令 

1
2
3
4
centos
yum -y install gcc gcc-c++
ubuntu
apt-get install build-essential -y

ps命令

1
2
3
4
# debian
apt install procps -y
# centos
yum install procps-ng -y

  

 

 

posted @   NAVYSUMMER  阅读(87)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 无需6万激活码!GitHub神秘组织3小时极速复刻Manus,手把手教你使用OpenManus搭建本
· C#/.NET/.NET Core优秀项目和框架2025年2月简报
· 葡萄城 AI 搜索升级:DeepSeek 加持,客户体验更智能
· 什么是nginx的强缓存和协商缓存
· 一文读懂知识蒸馏
历史上的今天:
2019-03-01 uni-app去掉h5端的导航栏
2018-03-01 MySQL数据库优化的八种方式
交流群 编程书籍
点击右上角即可分享
微信分享提示