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

[feat] docker compose up --build -d #84

Closed
tuoerning opened this issue Jul 19, 2024 · 5 comments
Closed

[feat] docker compose up --build -d #84

tuoerning opened this issue Jul 19, 2024 · 5 comments

Comments

@tuoerning
Copy link

截图 2024-07-19 19-35-06
I encountered this problem when using docker, is there any solution

@YuqiHuai
Copy link
Owner

Looks like it is not pulling the docker container from the docker hub properly. Not sure if this is related to if you are running this in China.

@CarrotZelda
Copy link

我也遇到了这个问题,只需要更改一下docker的镜像就好了。
运行sudo vi /etc/docker/daemon.json,然后在daemon.json中添加以下内容后保存。
`{

"registry-mirrors": [

"https://docker.m.daocloud.io",

"https://docker.nju.edu.cn",

"https://dockerproxy.com"

]

}`

最后重启docker:sudo systemctl restart docker
此时就可以执行docker compose up --build -d了。 @tuoerning

@YuqiHuai
Copy link
Owner

@CarrotZelda Thank you for your input!

@AHPUymhd
Copy link

我也遇到了这个问题,只需要更改一下docker的镜像就好了。 运行sudo vi /etc/docker/daemon.json,然后在daemon.json中添加以下内容后保存。 `{

"registry-mirrors": [

"https://docker.m.daocloud.io",

"https://docker.nju.edu.cn",

"https://dockerproxy.com"

]

}`

最后重启docker:sudo systemctl restart docker。 此时就可以执行docker compose up --build -d了。 @tuoerning

请问需要开梯子吗

@CarrotZelda
Copy link

不需要

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

4 participants