mirror of
https://github.com/yeasy/docker_practice.git
synced 2026-03-11 12:21:17 +00:00
Add more content and fix format
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# 20.2 Busybox
|
||||
## 20.1 Busybox
|
||||
|
||||
### 20.2.1 简介
|
||||
### 20.1.1 简介
|
||||
|
||||
下图直观地展示了本节内容:
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
`BusyBox` 可运行于多款 `POSIX` 环境的操作系统中,如 `Linux` (包括 `Android`)、`Hurd`、`FreeBSD` 等。
|
||||
|
||||
### 20.2.2 获取官方镜像
|
||||
### 20.1.2 获取官方镜像
|
||||
|
||||
可以使用 `docker pull` 指令下载 `busybox:latest` 镜像:
|
||||
|
||||
@@ -32,7 +32,7 @@ REPOSITORY TAG IMAGE ID CREATED
|
||||
busybox latest e72ac664f4f0 6 weeks ago 2.433 MB
|
||||
```
|
||||
|
||||
### 20.2.3 运行 busybox
|
||||
### 20.1.3 运行 busybox
|
||||
|
||||
启动一个 `busybox` 容器,并在容器中执行 `grep` 命令。
|
||||
|
||||
@@ -110,7 +110,7 @@ tmpfs on /sys/firmware type tmpfs (ro,relatime)
|
||||
|
||||
`busybox` 镜像虽然小巧,但包括了大量常见的 `Linux` 命令,读者可以用它快速熟悉 `Linux` 命令。
|
||||
|
||||
### 20.2.4 相关资源
|
||||
### 20.1.4 相关资源
|
||||
|
||||
* `Busybox` 官网:https://busybox.net/
|
||||
* `Busybox` 官方仓库:https://git.busybox.net/busybox/
|
||||
|
||||
Reference in New Issue
Block a user