[ https://issues.apache.org/jira/browse/FLINK-17857?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17118510#comment-17118510 ]
Robert Metzger commented on FLINK-17857: ---------------------------------------- Thanks a lot, now I understand. I believe {{host.docker.internal}} is the solution here. We could extend the tooling to use this hostname if localhost:9999 doesn't work to make the build pass on Mac? > All Kubernetes e2e tests could not run on Mac after migration > ------------------------------------------------------------- > > Key: FLINK-17857 > URL: https://issues.apache.org/jira/browse/FLINK-17857 > Project: Flink > Issue Type: Test > Components: Deployment / Kubernetes, Tests > Reporter: Yang Wang > Priority: Major > Fix For: 1.11.0 > > > In FLINK-17656, we migrate all the e2e tests from {{flink-container/docker}} > to {{apache/flink-docker}}. After the migration, when building a docker > image, we need to start a file server and then download it in the > {{Dockerfile}}. > It works well in linux environment since the minikube is started in > "vm-driver=none". However, it is not true in the Mac. We usually start a > virtual machine for minikube and this will make "localhost" could not work. > So i suggest to support local Flink dist when building the docker image, not > always need to download from a URL. > > cc [~chesnay] -- This message was sent by Atlassian Jira (v8.3.4#803005)