中文网上复制粘贴的很多,尤以docker-compose为甚。搜索引擎上能搜到的,github的那个网址,curl显示要十几个小时(蛮奇怪,win主机直接访问下载就很快,虚拟机Linux去curl就很慢)。daocloud的那个,倒是一秒钟下载下来,但是直接cat docker-compose
能发现503。所以,干脆自己动手,别再想偷懒,直接去github里去看吧。
github官网链接如下:
https://github.com/docker/compose
不要看别的,先看README.md:
https://github.com/docker/compose/blob/main/README.md
按照readme所述,我们需要先去release中下载。在主页中点击tags,再点击release,即可到达release页面。也可以直达:
https://github.com/docker/compose/releases