[Docker] 镜像源配置 for Linux

通过llama.cpp与羊驼聊天的网页界面- 详解 Serge 的启动使用

 

$ vi /etc/docker/daemon.json

{
    "registry-mirrors": [
        "https://docker.mirrors.ustc.edu.cn",
        "https://registry.docker-cn.com"
    ],
    "log-driver": "json-file",
    "log-opts": {
        "max-size": "100m",
        "max-file": "3"
    },
    "max-concurrent-downloads": 10,
    "max-concurrent-uploads": 10
}

$ systemctl restart docker

 

Refer:Docker镜像源

Other:Docker游乐场

Link:https://www.cnblogs.com/farwish/p/12965304.html

posted on 2020-05-26 14:17  ercom  阅读(558)  评论(0编辑  收藏  举报