mirror of
https://github.com/spiritLHLS/one-click-installation-script.git
synced 2024-11-16 12:52:19 +08:00
增加安装最新版本的docker的指令
This commit is contained in:
parent
64e0203ecc
commit
55f08169b1
13
README.md
13
README.md
|
@ -342,8 +342,21 @@ systemctl disable systemd-resolved
|
|||
|
||||
### 安装docker和docker-compose
|
||||
|
||||
安装24版本的docker
|
||||
|
||||
```bash
|
||||
curl -sSL https://get.docker.com/ | sh
|
||||
```
|
||||
|
||||
或安装最新版本的docker(都选官方源即可)
|
||||
|
||||
```
|
||||
bash <(curl -sSL https://linuxmirrors.cn/docker.sh)
|
||||
```
|
||||
|
||||
安装docker-compose最新版本
|
||||
|
||||
```
|
||||
curl -L "https://github.com/docker/compose/releases/latest/download/docker-compose-linux-$(uname -m)" -o /usr/local/bin/docker-compose
|
||||
chmod +x /usr/local/bin/docker-compose
|
||||
docker-compose --version
|
||||
|
|
Loading…
Reference in New Issue
Block a user