-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
specifying target docker daemon for jibDockerBuild #468
Comments
Hmm, there isn't a way in Jib to configure the target Docker daemon. The options are to
|
At first glance, the variable approach seems a bit neater, but the support for environment variable ingestion is more future-proof and flexible. I have opened an issue which I believe is somewhat relevant to this one. |
Since it might be confusing to have
Similarly, for Maven, only the |
In response to #1173 (comment) We have a number of multi-project gradle builds that require separate development enviromments. Hence the need for Minikube profiles. If the following PR gets accepted (GoogleContainerTools/minikube-build-tools-for-java#146), then the push of docker images would look something like:
Where This way developers can work on two projects at a time with fully isolated enviroments. For smaller projects, minikube with 2-4GB of ram is more than enough. Considering modern hardware it is feasible to comfortably run at least two such instances at the same time. |
Version |
Not available for Maven, let's leave this open. I think it's better than creating another issue. |
Section Build to Docker daemon provides an example on how to build and push a docker image to minikube docker daemon:
Is there a gradle-native way to configure target docker daemon for the jib plugin?
I have multiple minikube instances running at the same time and must use minikube
--profile
option to retrieve specific minikube's docker-envs.The text was updated successfully, but these errors were encountered: