December 24, 20232 yr 改了主机和docker源代码 不知道是不是修改错误 #!/bin/bash # 启动管理实用程序 /usr/local/sbin/emhttp & mkdir -p /etc/docker tee /etc/docker/daemon.json <<-'EOF' { “registry-mirrors”: [“https://registry.docker-cn.com”, “https://prthnsvq.mirror.aliyuncs.com”, “http://hub-mirror.c.163.com”] } EOF # 更新主机echo “185.199.109.133 raw.githubusercontent.com” /etc/主机 echo “20.27.177.113 github.com” /etc/hosts echo “185.199.108.133 raw.githubusercontent.com” >> /etc/hosts echo “185.199.109.133 raw.githubusercontent.com” >> /etc/hosts echo “185.199.110.133 raw.githubusercontent.com” >> /etc/hosts echo “185.199.111.133 raw.githubusercontent.com” >> /etc/hosts
December 25, 20232 yr 7 hours ago, wangxun said: 我这个go文件代码哪里错了 看起来没有问题,可能是别的原因导致的,你可以参考这里的文章《常见问题-8:Docker 服务无法启动/容器消失的解决办法》。
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.