Coder.comC
Coder.com3y ago
5 replies
Sharp

Docker In Docker Specific Issue

Hey Folks, find my setup here:

https://github.com/Sharpz7/Sharpz7/blob/main/templates/k8s-dind/main.tf

This setup is running on a linux server with k3s installed. Docker seems to work flawlessly, I can use KinD, install many, many applications on it, use docker-compose etc.

The one issue I have is docker builds. If I do not specify the network to be host when I run docker build it fails to download anything. This does not happen with services themselves.

Any suggestions? My main issue is docker-compose builds don't seem to give you the option to choose the building network. Its the apache airflow docker-compose file so I am limited in what I can change in the process.
GitHub
Contribute to Sharpz7/Sharpz7 development by creating an account on GitHub.
Sharpz7/templates/k8s-dind/main.tf at main · Sharpz7/Sharpz7
Was this page helpful?