Docker-LNMP icon indicating copy to clipboard operation
Docker-LNMP copied to clipboard

docker-compose up -d 错误

Open hadeswang2016 opened this issue 5 years ago • 3 comments

ERROR: error pulling image configuration: image config verification failed for digest sha256:3ed1080b793fc4a10cab741a04ce090caf1ad2932cbcc679b6587624af9f6157

hadeswang2016 avatar Jul 04 '19 06:07 hadeswang2016

试试这条命令 docker-compose -f docker-compose-fast.yml up -d

duiying avatar Jul 04 '19 06:07 duiying

大佬,根据你这个 怎么给他添加https 站点访问呢?

Seniorslackers avatar Jul 16 '19 07:07 Seniorslackers

@Seniorslackers

  1. 端口映射的时候除了80,还要加上443。
  2. 将证书文件和私钥文件放到conf.d目录下,在default.conf文件中包含它们。
  3. 重启容器。 其实,平时怎么配置,在容器中就怎么配置,只不过要注意证书和私钥文件在宿主机和容器中的位置以及端口映射。

duiying avatar Sep 12 '19 10:09 duiying