一、busybox
BusyBox 是一个集成了一百多个最常用Linux命令和工具的软件。BusyBox 包含了一些简单的工具,
例如ls、cat和echo等等,还包含了一些更大、更复杂的工具,例grep、find、mount以及telnet。
有些人将 BusyBox 称为 Linux 工具里的瑞士×××。简单的说BusyBox就好像是个大工具箱,它集
成压缩了 Linux 的许多工具和命令,也包含了 Android 系统的自带的shell。

1、在dockerhub中搜索busybox相关的镜像
root@docker-test:~# docker search busybox
NAME                        DESCRIPTION                                     STARS     OFFICIAL   AUTOMATED
busybox                     Busybox base p_w_picpath.                             1075      [OK]       
progrium/busybox                                                            67                   [OK]
hypriot/rpi-busybox-httpd   Raspberry Pi compatible Docker Image with ...   36                   
hypriot/armhf-busybox       Busybox base p_w_picpath for ARM.                     7                    
armhf/busybox               Busybox base p_w_picpath.                             3                    
armel/busybox               Busybox base p_w_picpath.                             2                    
onsi/grace-busybox                                                          2                    
s390x/busybox               Busybox base p_w_picpath.                             2                    
p7ppc64/busybox             Busybox base p_w_picpath for ppc64.                   2                    
prom/busybox                Prometheus Busybox Docker base p_w_picpaths           2                    [OK]
aarch64/busybox             Busybox base p_w_picpath.                             2                    
arm32v7/busybox             Busybox base p_w_picpath.                             2                    
i386/busybox                Busybox base p_w_picpath.                             1                    
arm32v6/busybox             Busybox base p_w_picpath.                             1                    
ppc64le/busybox             Busybox base p_w_picpath.                             1                    
spotify/busybox             Spotify fork of https://hub.docker.com/_/b...   1                    
flynn/busybox               Busybox from Ubuntu 13.10 with libc             1                    
estesp/busybox              Test repo of a 'manifest list' to encapsul...   0                    
podshumok/busybox                                                           0                    
trollin/busybox                                                             0                    
nranjan/busybox                                                             0                    
arm64v8/busybox             Busybox base p_w_picpath.                             0                    
ddn0/busybox                fork of official busybox                        0                    [OK]
arm32v5/busybox             Busybox base p_w_picpath.                             0                    
himanshu0503/busybox                                                        0                    
root@docker-test:~#
提示:带有OFFICIAL标记的说明是官方镜像

2、查看镜像
root@docker-test:~# docker p_w_picpaths
busybox                           latest              e3826c3cb1d4        4 weeks ago          1.129 MB


3、运行busybox
root@docker-test:~# docker run -it busybox
运行后随便执行几个命令试试
/ # pwd
/
/ # ifconfig
eth0      Link encap:Ethernet  HWaddr 02:42:C0:A8:C8:02  
          inet addr:192.168.200.2  Bcast:0.0.0.0  Mask:255.255.255.0
          inet6 addr: fe80::42:c0ff:fea8:c802/64 Scope:Link
          UP BROADCAST RUNNING  MTU:1500  Metric:1
          RX packets:7 errors:0 dropped:0 overruns:0 frame:0
          TX packets:7 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:578 (578.0 B)  TX bytes:578 (578.0 B)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

/ #

busybox虽然小巧,但提供了常见的linux命令


二、CoreOS
这是一个基于docker的Linux发行版

下载地址:https://stable.release.core-os.net/amd64-usr/current/coreos_production_vmware_ova.ova

用vmware workstation运行这个虚拟机