---
title: 安装Docker
index: true
icon: devicon:docker-wordmark
headerDepth: 4
category:
  - 笔记
  - 记录
  - 学习
  - Docker
  - 安装
dir: 
  order: 1
---

<Catalog />

## docker-compose

```shell
sudo yum install docker-ce docker-ce-cli containerd.io

sudo yum install curl
curl -L https://get.daocloud.io/docker/compose/releases/download/1.25.4/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose

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

sudo docker-compose --version
```

