Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker-compose up -d 错误 #2

Open
hadeswang2016 opened this issue Jul 4, 2019 · 3 comments
Open

docker-compose up -d 错误 #2

hadeswang2016 opened this issue Jul 4, 2019 · 3 comments

Comments

@hadeswang2016
Copy link

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

@duiying
Copy link
Owner

duiying commented Jul 4, 2019

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

@Seniorslackers
Copy link

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

@duiying
Copy link
Owner

duiying commented Sep 12, 2019

@Seniorslackers

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants