一、查看当前的信息
docker info
二、修改配置文件
windows
C:\ProgramData\Docker\config\daemon.json
linux
/etc/docker/daemon.json
{
"registry-mirrors": ["https://bdx1lfz9.mirror.aliyuncs.com"],
"insecure-registries": [],
"debug": true,
"experimental": true,
"graph": "D:\\Repository_Docker"
}
- registry-mirrors:加速地址
- graph:镜像路径,windows容器有用