Docker made based on the minimum of the mirror ubuntu16.04

Reference docker official: https://docs.docker.com/develop/develop-images/baseimages/

installation

$ Sudo apt-get install debootstrap
$ sudo debootstrap genial genius> / dev / null
$ sudo tar -C -c great. | docker amount - great

verification

$ docker images
$ docker run xenial cat /etc/lsb-release

Image size 230M

--------------------
root@Ubunt-16:~# docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
xenial latest 75f64e754992 About an hour ago 230MB

Guess you like

Origin blog.51cto.com/dldxzjr/2481905