We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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 命令拉取镜像,实际上会通过 unix socket 通知运行于后台的 docker 进程,让后台的 docker 发出网络请求拉取镜像。因此,如果要让 docker 的网络请求走代理的话,需要停止后台的 docker 进程,再让 graftcp 重新启动 docker 进程就可以了。
例如:
sudo stop docker sudo graftcp docker -d docker pull hello-world
The text was updated successfully, but these errors were encountered:
有没有更优雅的方法 线上的docker不能停止。
Sorry, something went wrong.
可以看下 docker 的最新文档:https://docs.docker.com/network/proxy/
No branches or pull requests
使用 docker 命令拉取镜像,实际上会通过 unix socket 通知运行于后台的 docker 进程,让后台的 docker 发出网络请求拉取镜像。因此,如果要让 docker 的网络请求走代理的话,需要停止后台的 docker 进程,再让 graftcp 重新启动 docker 进程就可以了。
例如:
The text was updated successfully, but these errors were encountered: