[ https://issues.apache.org/jira/browse/FLINK-17857?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17118579#comment-17118579 ]
Yang Wang commented on FLINK-17857: ----------------------------------- [~rmetzger] Yes, you are right. Using {{host.docker.internal}} could fix the problem without changing the dockerfile. If we could not reach a consensus to support local flink dist when building the image, we could start with this fix first. > 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)