Skip to content

Commit

Permalink
doc: update docker.md (#603)
Browse files Browse the repository at this point in the history
添加新的安装方式
  • Loading branch information
duzhuoshanwai authored Sep 12, 2024
1 parent 2737428 commit cb46889
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions command/docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,17 @@ sudo systemctl start docker

```

```bash
# Docker官方提供的快速安装脚本 https://github.com/docker/docker-install
# 不建议在生产环境中使用
curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh ./get-docker.sh --dry-run

# 使用systemctl设置开机启动
sudo systemctl enable docker.service
sudo systemctl enable containerd.service
```

## 语法

```shell
Expand Down

0 comments on commit cb46889

Please sign in to comment.