-
Notifications
You must be signed in to change notification settings - Fork 571
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
cog can't access docker through a proxy registry #1959
Comments
Hi @danbgoldman. Cog wraps In this case specifically, it looks like the issue is that your proxy needs the BuildKit Dockerfile syntax repository to build. You should be able to load it by running these commands:
The same goes for the Cog base image on the next line. You can see the Dockerfile that Cog will use to build the image by running |
Even after pushing it to my internal registry, I get exactly the same error. And, if I run
|
@danbgoldman Cog doesn't currently have a way to prepend host names. But you should be able to configure your internal registry as a mirror to get If all else fails, you can eject from Cog by doing |
For security reasons, my development environment requires a proxy registry to access docker base images. I couldn't find any info in the docs about configuring cog to access a proxy instead of docker.io. Here is the stdout/stderr from running cog in this air-gapped environment:
The text was updated successfully, but these errors were encountered: