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

Need to be able to set the network=host driver opt to use a local registry #1287

Open
Cluster444 opened this issue Dec 11, 2024 · 0 comments

Comments

@Cluster444
Copy link

Running a private docker registry on the same host that the build & deploy are running will fail as the buildx container can't reach it.

To get it to work I had to drop the buildx container and recreate it with --driver-opt network=host and then it was able to see my registry, push the image as well as the cache layers.

Not sure if there is another way to get the build container to see the registry, or if kamal needs to allow that option in the builder create command.

@Cluster444 Cluster444 changed the title Need to be able to set the network=host driver opt to use a local repo Need to be able to set the network=host driver opt to use a local registry Dec 11, 2024
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

1 participant