105.ubuntu常用工具安装
发表于
linux
分类,标签:
07
12月
2023
0
启动dockerdocker run -dit -v /data/countly:/usr/local/src --name countly ubuntu升级 apt-get update安装updateapt-get install openssh-server安装gccsudo apt install build-essential 安装procps包 psapt-get install procps安装其他apt-get install vimapt-get install net-toolsap...
104.使无进程docker容器保持运行
发表于
linux
分类,标签:
07
12月
2023
docker容器无进程启动docker run -i -t c1717d73fd69 /bin/bashk8s中添加循环使容器保持运行image: k8s-jingxiang-registry.cn-hangzhou.cr.aliyuncs.com/yaozh.com/nullpython3:v2name: pod-predictimagePullPolicy: IfNotPresentcommand: [ "/bin/sh", "-c", "--" ]args: [ "while true; do sleep 30;...