Most appropriate container for a data only container?

前端 未结 4 542
攒了一身酷
攒了一身酷 2021-02-05 02:33

What is the most appropriate (smallest, simplest) container to use for a data only Docker container?

In the documentation they use the training/postgres container. Howe

4条回答
  •  暖寄归人
    2021-02-05 03:25

    Busybox is a base image, not a user image, and thus a little more practical for production use, it is also tiny.

    The image docker page here

    BusyBox: The Swiss Army Knife of Embedded Linux

    At about 2.5 Mb in size. Busybox is one of the smallest Linux distribution available.

    BusyBox combines tiny versions of many common UNIX utilities into a single small executable. It provides replacements for most of the utilities you usually find in GNU fileutils, shellutils, etc. The utilities in BusyBox generally have fewer options than their full-featured GNU cousins; however, the options that are included provide the expected functionality and behave very much like their GNU counterparts. BusyBox provides a fairly complete environment for any small or embedded system.

提交回复
热议问题