Docker源码阅读-环境准备

docker源码目前分为两部分 cli 和 moby

Starting with the Docker 20.10 release, packages for the Docker Engine and Docker CLI are built directly from their respective source repositories instead of from this repository.

docker-ce:https://github.com/docker/docker-ce

cli:https://github.com/docker/cli

moby: https://github.com/moby/moby

 

首先在 GOPATH / src 下创建 github.com/docker 目录,然后 git clone cli moby 到这个目录,修改 moby 名称为 docker

mkdir -p $GOPATH/src/github.com/docker
cd $GOPATH/src/github.com/docker
git clone https://github.com/docker/cli
git clone https://github.com/moby/moby
mv moby docker

 

goland 打开阅读源码

Docker源码阅读-环境准备

上一篇:RationalDMIS 2020 夹角成90度如何判断大与小?


下一篇:QT解析嵌套JSON表达式