I thought I understood Docker until I saw the BusyBox docker image

后端 未结 3 1146
我寻月下人不归
我寻月下人不归 2020-12-23 19:52

I thought I understood Docker. I understood it as a way to package up software with lots of dependencies..to basically create a little world where absolutely everything is t

3条回答
  •  温柔的废话
    2020-12-23 20:09

    A Busybox docker image is useful if one is building a container for which busybox can fulfill its dependency chain without needing a full Linux distro.

    Often, an embedded appliance can consist of nothing but a statically-linked copy of busybox, an init script that mounts procfs, sysfs, &c. with busybox-provided tools, and then the actual application being invoked. With docker setting up the filesystem namespace, even that init script isn't necessarily needed.

提交回复
热议问题