Error is shown in figure:
Download a Centos7 mirror, and then use this image to generate a container install nginx
Then the image was generated according to the container, but in the use of image generated when the container is an error is as follows:
/bin/bash: error while loading Shared libraries: libtinfo. So. 5: always open a Shared object file: Permission denied
Before the error generated by dockerfile also quoted