This is an automated email from the ASF dual-hosted git repository.
trohrmann pushed a commit to branch dev-master
in repository https://gitbox.apache.org/repos/asf/flink-docker.git
The following commit(s) were added to refs/heads/dev-master by this push:
new 7906008 Information for how to build image in Minikube's docker-daemon
7906008 is described below
commit 79060081708ad977ab57e553c8f540f3bc8dad25
Author: Till Rohrmann <[email protected]>
AuthorDate: Wed Jun 16 17:36:23 2021 +0200
Information for how to build image in Minikube's docker-daemon
---
README.md | 1 +
1 file changed, 1 insertion(+)
diff --git a/README.md b/README.md
index b8d5941..d2c3bc4 100644
--- a/README.md
+++ b/README.md
@@ -6,6 +6,7 @@
2. Start web server ``docker run -it -p 9999:9999 -v `pwd`:/data
python:3.7.7-slim-buster python -m http.server 9999``
3. Generate `Dockerfile` `./add-custom.sh -u
http://localhost:9999/data/flink-1.11.tgz -n flink-1.11`
(If you are on a Mac or Windows, use `host.docker.internal` instead of
`localhost`)
+ * If you want to build the docker image inside Minikube, then you have
to specify the resolved `host.minikube.internal` which you can look up via
`minikube ssh "cat /etc/hosts"`.
4. Generate docker image (in `flink-docker/dev/flink-1.11-debian`): `docker
build -t flink:1.11-SN .`
5. Run custom Flink docker image: `docker run -it flink:1.11-SN jobmanager`