DockerHub official nginx mirror problem

  docker, question

The official nginx image was pulled from DockerHub. After running, check the system version.

clipboard.png

However, many basic instructions such as ps, vi and so on are not needed.

clipboard.png

clipboard.png

How did you guys get this official mirror image to be used happily? How to manage nginx configuration without vi tools?

Mirroring is normal. In order to reduce the volume, many software we use everyday are not included in mirroring.
Docker official nginx is based ondebian:stretch-slim, anddebian:stretch-slimThe Dockerfile for is as follows

FROM scratch
 ADD rootfs.tar.xz /
 CMD ["bash"]

Scratch is an empty mirror, rootfs.tar.xz is very refined, and this is what it contains.Software inventory