2023年3月25日 星期六

[研究]Docker Compose 2.17.1 安裝 (Rocky Linux 9.1)

[研究]Docker Compose 2.17.1 安裝 (Rocky Linux 9.1)

2023-03-25

[研究]docker 23.0.1 安裝 (Rocky Linux 9.1)
https://shaurong.blogspot.com/2023/03/docker-2301-rocky-linux-91.html

參考

Install Docker Engine on CentOS | Docker Documentation
https://docs.docker.com/engine/install/centos/

Install the Compose standalone | Docker Documentation
https://docs.docker.com/compose/install/other/

連上下面網址,目前最新 2.17.1 版
https://github.com/docker/compose/releases/

精簡彙整步驟

sudo curl -L "https://github.com/docker/compose/releases/download/2.17.1/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose  

sudo chmod +x /usr/local/bin/docker-compose  

sudo ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose

docker-compose --version 

********************************************************************************

如果有舊版

sudo rm  -fr  /usr/local/bin/docker-compose

sudo rm  -fr  /usr/bin/docker-compose

先去看看目前提供版本

https://github.com/docker/compose/releases/

安裝

sudo curl -SL https://github.com/docker/compose/releases/download/v2.17.1/docker-compose-linux-x86_64 -o /usr/local/bin/docker-compose

sudo chmod +x /usr/local/bin/docker-compose

sudo ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose

docker-compose --version 

[user1@localhost ~]$ sudo curl -SL https://github.com/docker/compose/releases/download/v2.17.1/docker-compose-linux-x86_64 -o /usr/local/bin/docker-compose
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  5 51.9M    5 2895k    0     0   131k      0  0:06:45  0:00:22  0:06:23  150k
100 51.9M  100 51.9M    0     0   314k      0  0:02:48  0:02:48 --:--:--  394k

[user1@localhost ~]$ sudo chmod +x /usr/local/bin/docker-compose
[sudo] password for user1: 

[user1@localhost ~]$ sudo ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose

[user1@localhost ~]$ docker-compose --version 
Docker Compose version v2.17.1

[user1@localhost ~]$ 


(完)

相關

[研究]Docker Compose 2.17.1 安裝 (Rocky Linux 9.1)
https://shaurong.blogspot.com/2023/03/docker-compose-1292-rocky-linux-91.html

[研究]docker 23.0.1 安裝 (Rocky Linux 9.1)
https://shaurong.blogspot.com/2023/03/docker-2301-rocky-linux-91.html

[研究]Docker Compose 1.29.2 安裝 (CentOS 8.4)
https://shaurong.blogspot.com/2021/07/docker-compose-centos-84.html

[研究]docker 20.10.7 安裝 (CentOS 8.4)
https://shaurong.blogspot.com/2021/07/docker-centos-84.html

[研究] Docker 1.7.1 自動化應用程式部署工具 安裝 (CentOS 7.1 x64)
https://shaurong.blogspot.com/2015/10/docker-171-centos-71-x64.html

什麼是 Docker? | Microsoft Docs
https://docs.microsoft.com/zh-tw/dotnet/architecture/containerized-lifecycle/what-is-docker

Install Docker Engine on CentOS | Docker Documentation
https://docs.docker.com/engine/install/centos/

Docker Windows 7 詳細安裝教程
http://blog.csdn.net/zistxym/article/details/42918339

如何在 Windows 10 同時安裝與執行 Windows 與 Linux 容器 (Docker)
http://blog.miniasp.com/post/2016/11/22/Run-Linux-and-Windows-Containers-on-Windows-10.aspx

Windows Server 2016正式出爐,Docker終於可以在Windows上用了
http://www.ithome.com.tw/news/108745

Windows Server 上的 Windows 容器 2016-07-06
https://msdn.microsoft.com/zh-tw/virtualization/windowscontainers/quick_start/quick_start_windows_server

微軟Windows Server將支援Docker,2014-10-16
http://www.ithome.com.tw/news/91602

Docker for Windows
https://docs.docker.com/engine/installation/windows/

在Windows下使用boot2docker
https://joshhu.gitbooks.io/docker_theory_install/content/DockerBible/mac_oswindowsboot2docker.html

OWASP Docker Top 10
https://owasp.org/www-project-docker-top-10/#

GitHub - OWASP/Docker-Security: Getting a handle on container security
https://github.com/OWASP/Docker-Security

owasp-docker-security.pdf
https://github.com/OWASP/Docker-Security/blob/main/dist/owasp-docker-security.pdf

沒有留言:

張貼留言