fejich

Members
  • Posts

    5
  • Joined

  • Last visited

fejich's Achievements

Noob

Noob (1/14)

0

Reputation

  1. 这个利用缓存的思路不错,赞
  2. 要不你让特定一个 VM 启动后,再通过 SSH 连接 unRAID 启动特定 Docker 容器 1)在 VM 上设置好 SSH 密钥,实现免密登录 unRAID 2)设置开机执行 ssh [email protected] "docker start 容器名"
  3. 这种复杂情况,得写个批量处理脚本才行吧
  4. 思路不错,感谢楼主的分享 直接把脚本写到 local/bin 目录相对更简单些 tee /usr/local/bin/wget <<-'EOF' #!/bin/bash opts=$@ opts=`echo $opts | sed -e 's;raw.githubusercontent.com;raw.staticdn.net;g' -e 's;https://raw.github.com/;https://raw.staticdn.net/;g' -e 's;https://github.com/;https://github.com.cnpmjs.org/;g' -e 's;https://;http://;g' ` /usr/bin/wget ${opts} EOF chmod +x /usr/local/bin/wget