您好,登錄后才能下訂單哦!
1、下載
$ sudo curl -L "https://github.com/docker/compose/releases/download/1.24.1/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
To install a different version of Compose, substitute 1.24.1 with the version of Compose you want to use.
2、添加可執行權限
$ sudo chmod +x /usr/local/bin/docker-compose
3、創建軟鏈接
$ sudo ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose
4、驗證
$ docker-compose --version
docker-compose version 1.24.1, build 4667896b
免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。