Notes#

250120 : GO NPM代理配置#

Go设置GOPROXY国内加速
切换淘宝最新镜像源npm

250120 : Linux 部署 Docker#
# 添加阿里云密钥
curl -fsSL http://mirrors.aliyun.com/docker-ce/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg

# 载入软件源
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] http://mirrors.aliyun.com/docker-ce/linux/ubuntu \
  $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null

# 安装
sudo apt update
sudo apt install docker-ce

# 配置非root 用户 (需重载终端)
sudo usermod -aG docker $USER

# 设置镜像加速
sudo vim /etc/docker/daemon.json