开发常用操作
已root用户进入容器
docker run -it -u root <id> bash
chatgpt
hook应用
# taskboard
docker run -d -p 8080:8000 --name taskboard \
-v "/tmp/taskboard/data:/data" \
devcrea/taskboard
# rundeck 推荐
docker run -d --restart=on-failure -p 8080:4440 -d --name rundeck rundeck/rundeck
sed -i s#'127.0.0.1:4440'#'10.200.4.183:8080'#g /etc/remco/templates/rundeck-config.propertie
consul服务注册
curl -X PUT -d '{"id":"node-exporter-11.2.0.3","name":"node-exporter-VH2","address":"11.2.0.3","port":9100,"tags":["node-compute-exporter"],"checks":[{"http":"http://11.2.0.3:9100/","interval":"5s"}]}' http://11.2.0.30:8500/v1/agent/service/register
RDMA
RDMA的三种网络:RDMA,远程内存直接读取,内存零拷贝,绕过内核,app1-->localRDMA--->remoteRDMA-->app2
1、RoCE(需要专用网卡,v1基于以太网链路二层,v2基于UDP,性能中高,成本低)
2、InfiniBand(基于专用卡和专用网络硬件,性能高,成本高)
3、iWarp(基于TCP和专用网卡,性能低,成本低)