Skip to content

Commit

Permalink
doc: Update docker.md (#582)
Browse files Browse the repository at this point in the history
add docker installation
  • Loading branch information
Country-If committed Mar 25, 2024
1 parent 9e5e671 commit 56d8186
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,15 @@ Docker 备忘清单
----
<!--rehype:body-class=cols-2-->

### 安装

```shell
curl -sSL https://get.docker.com/ | sh
```
```shell
sudo chmod 777 /var/run/docker.sock
```

### 入门

在后台创建和运行容器
Expand Down Expand Up @@ -691,3 +700,4 @@ $ docker run -d --name gitlab \
- [Dockerfile 备忘清单](./dockerfile.md) *(github.io)*
- [Docker 官方入门教程](https://docs.docker.com/get-started/) *(docker.com)*
- [Docker入门学习笔记](https://jaywcjlove.github.io/docker-tutorial) *(github.io)*
- [快速安装Docker及配置及Docker配置、Docker常用命令](https://www.loganjin.cn/article/docker-install/)

0 comments on commit 56d8186

Please sign in to comment.