mirror of
https://github.com/yeasy/docker_practice.git
synced 2026-03-25 03:05:32 +00:00
Add blank lines before headers
This commit is contained in:
@@ -32,6 +32,7 @@ Registry地址 用户名 仓库名 标签
|
||||
#### 示例
|
||||
|
||||
```bash
|
||||
|
||||
## 完整格式
|
||||
|
||||
$ docker pull docker.io/library/ubuntu:24.04
|
||||
@@ -127,6 +128,7 @@ $ docker pull --platform linux/amd64 nginx
|
||||
拉取镜像后,可以基于它启动容器:
|
||||
|
||||
```bash
|
||||
|
||||
## 拉取镜像
|
||||
|
||||
$ docker pull ubuntu:24.04
|
||||
@@ -170,6 +172,7 @@ root@e7009c6ce357:/# exit
|
||||
|
||||
```bash
|
||||
$ sudo systemctl restart docker # Linux
|
||||
|
||||
## 或在 Docker Desktop 中重启
|
||||
```
|
||||
|
||||
@@ -226,6 +229,7 @@ Error: pull access denied, repository does not exist
|
||||
#### Q:磁盘空间不足
|
||||
|
||||
```bash
|
||||
|
||||
## 清理未使用的镜像
|
||||
|
||||
$ docker image prune
|
||||
|
||||
Reference in New Issue
Block a user