Update format

Signed-off-by: Kang HuaiShuai <khs1994@khs1994.com>
pull/423/head
Kang HuaiShuai 2019-09-20 14:28:50 +08:00
parent 1aef2b7734
commit 4873267f31
No known key found for this signature in database
GPG Key ID: 0A380828B1C243A7
6 changed files with 25 additions and 25 deletions

View File

@ -1,9 +1,9 @@
#
Linux Debian/Ubuntu CentOS/Fedora
Linux `Debian/Ubuntu` `CentOS/Fedora`
使 Docker Linux Linux
使 Docker 使 BusyboxAlphineDebian/UbuntuCentOS/Fedora
使 Docker 使 `Busybox``Alphine``Debian/Ubuntu``CentOS/Fedora`

View File

@ -33,15 +33,15 @@ $ docker run alpine echo '123'
### `Alpine`
Docker Alpine
Docker `Alpine`
* ubuntu/debian -> alpine
* python:2.7 -> python:2.7-alpine
* ruby:2.3 -> ruby:2.3-alpine
* `ubuntu/debian` -> `alpine`
* `python:3` -> `python:3-alpine`
* `ruby:2.6` -> `ruby:2.6-alpine`
使 `Alpine` `Ubuntu` apk apt
使 `Alpine` `Ubuntu` `apk` `apt`
```bash
$ apk add --no-cache <package>

View File

@ -4,13 +4,13 @@
![Busybox - Linux ](_images/busybox-logo.png)
BusyBox Linux catechogrepmounttelnet MB 便Linux
`BusyBox` Linux `cat``echo``grep``mount``telnet` MB 便Linux
BusyBox POSIX Linux AndroidHurdFreeBSD
`BusyBox` POSIX `Linux` `Android``Hurd``FreeBSD`
###
Docker Hub busybox
Docker Hub `busybox`
```bash
$ docker search busybox
@ -24,7 +24,7 @@ azukiapp/busybox This image is meant to be used as the base...
...
```
OFFICIAL 使 docker pull `busybox:latest`
`OFFICIAL` 使 `docker pull` `busybox:latest`
```bash
$ docker pull busybox:latest
@ -36,7 +36,7 @@ df7546f9f060: Pull complete
Status: Downloaded newer image for busybox:latest
```
busybox 2.433 MB
`busybox` 2.433 MB
```bash
$ docker image ls
@ -46,7 +46,7 @@ busybox latest e72ac664f4f0 6 weeks ago
### busybox
busybox grep
`busybox` `grep`
```bash
$ docker run -it busybox
@ -103,7 +103,7 @@ proc on /proc/bus type proc (ro,nosuid,nodev,noexec,relatime)
tmpfs on /proc/kcore type tmpfs (rw,nosuid,mode=755)
```
busybox Linux Linux
`busybox` Linux Linux
###

View File

@ -2,11 +2,11 @@
### CentOS
CentOS Fedora Redhat Linux CentOS Fedora
`CentOS` `Fedora` `Redhat` Linux `CentOS` `Fedora`
![CentOS ](_images/centos-logo.png)
CentOSCommunity Enterprise Operating System Red Hat Enterprise Linux CentOS Redhat Linux 使 CentOS Red Hat Enterprise LinuxCentOS
CentOSCommunity Enterprise Operating System Red Hat Enterprise Linux CentOS Redhat Linux 使 `CentOS` Red Hat Enterprise LinuxCentOS
#### 使 CentOS
@ -19,7 +19,7 @@ centos The official... 2543 [OK]
jdeathe/centos-ssh 27 [OK]
```
使 docker run CentOS bash
使 docker run CentOS `bash`
```bash
$ docker run -it centos bash
@ -36,7 +36,7 @@ CentOS Linux release 7.2.1511 (Core)
![Fedora ](_images/fedora-logo.png)
Fedora Fedora Project Linux Fedora Red Hat Red Hat Enterprise Linux
`Fedora` Fedora Project Linux `Fedora` Red Hat Red Hat Enterprise Linux
#### 使 Fedora
@ -51,7 +51,7 @@ gluster/gluster-fedora Official GlusterFS image [ Fedora 21 + Glu... 3
startx/fedora Simple container used for all startx based... 2 [OK]
```
使 docker run Fedora bash
使 `docker run` `Fedora` `bash`
```bash
$ docker run -it fedora bash

View File

@ -1,11 +1,11 @@
## Debian/Ubuntu
Debian Ubuntu Debian Docker Hub
`Debian` `Ubuntu` Debian Docker Hub
### Debian
![Debian ](_images/debian-logo.png)
Debian GPL Debian Debian ProjectDebian 3000 Software in the Public Interest Debian Unix Debian 25,000 12
`Debian` `GPL` Debian Debian ProjectDebian 3000 Software in the Public Interest Debian Unix Debian 25,000 12
Debian Linux Debian GNU/Linux GNU Hurd Debian GNU/Hurd FreeBSD Debian GNU/kFreeBSD NetBSD Debian GNU/NetBSD Debian OpenSolaris Nexenta OS Debian Linux Debian GNU/Linux
@ -63,9 +63,9 @@ tutum/ubuntu Ubuntu image with SSH access. For the root.
使
ubuntu 18.04 使
`ubuntu:18.04` 使
使 `-ti` bash ubuntu
使 `-ti` `bash` `ubuntu`
```bash
$ docker run -ti ubuntu:18.04 /bin/bash
@ -94,7 +94,7 @@ Reading state information... Done
E: Unable to locate package curl
```
`apt-get` Docker apt `apt-get update` apt-get
`apt-get` Docker `apt` `apt-get update` `apt-get`
```bash
root@7d93de07bf76:/# apt-get update

View File

@ -6,6 +6,6 @@
*
*
* SSH