Write down my experience to resolve a Docker in Docker network issue when doing docker build in Kubernetes
After writing about my approach to do fast docker build in Kubernetes in this article, I want to build some complex docker images.
A problem hit me hard that I could not download content from “some” places when building the image.
For example, if the Dockerfile has this line, it works well.
RUN curl -L "https://google.com"