1. 安装: https: //docs.docker.com/install/
2. 非root运行:https: //docs.docker.com/engine/install/linux-postinstall/
3. 测试:docker run hello-world
4. docker run --rm -v $PWD:/project -w /project espressif/idf:v4.3.2 idf.py build
5. 镜像目录:https: //hub.docker.com/r/espressif/idf/tags
6. 国内镜像
6.1 创建或修改 /etc/docker/daemon.json
-
{
"registry-mirrors": [
"http: //hub-mirror.c.163.com",
"https: //docker.mirrors.ustc.edu.cn",
"https: //registry.docker-cn.com"
]
}
-
6.2 重启docker
6.3 查看效果
阅读(171) | 评论(0) | 转发(0) |