宵待夜雨的博客

Containerd替换镜像源

vim /etc/containerd/config.toml [plugins."io.containerd.grpc.v1.cri".registry.mirrors."docker.io"] endpoint=["https://ustc-edu-cn.mirror.al

徐智军 发布于 2024-11-18

常用Docker部署命令

Zerotier docker run -d --name zerotier \ --network host \ --cap-add NET_ADMIN \ --device /dev/net/tun \ -v /opt/1panel/apps/zerotier-one/zeroti

徐智军 发布于 2024-11-18

临时用docker的容器环境运行脚本

docker inspect -f . registry.cn-hangzhou.aliyuncs.com/hsx-base/maven:3.9.3-amazoncorretto-8 docker run --rm -it <image_name> /bin/bash -c "/path/to/sc

徐智军 发布于 2024-08-26