无法安装nginx容器 显示什么shell脚本不为空

安装nginx容器,显示
/docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration /docker-entrypoint.d/文件不为空 用下载的nginx镜像和用Dockerfile文件创建的镜像都是一样的 Dock而file文件里只替换了一下nginx的主页文件。但在编辑Dockerfile文件之前,用下载的镜像创建的容器时可以正常访问的

img