Replies: 3 comments 2 replies
-
Using ssh port forwarding shows some progress.. podman machine ssh podman-machine-default -L 'localhost:9999:/run/user/1000/podman/podman.sock' -N
Getting this error:
|
Beta Was this translation helpful? Give feedback.
-
@n1hility Podman Machine on Windows does API socket forwarding, right? Is so, local unix socket is probably the best option. |
Beta Was this translation helpful? Give feedback.
-
@kittugit any value it prints should go into the host property and not url, although if it is binding to docker_engine (what it attempts to do if nothing else is using it), then you don't need a host value at all. IIUC you also don't need the host property even in a custom url setting, since you can just set the DOCKER_HOST env var (something podman machine start will advise when its not using docker_engine). DOCKER_HOST should be picked up by the java client in use in gradle. |
Beta Was this translation helpful? Give feedback.
-
Spring Boot 2.7.0 start to support podman to build container images. In Windows, I try to use this feature. Have successfully installed podman. I'm able to build/run container images using Dockerfile. When I try to build Spring Boot application, I'm not sure what could be the host address that is mentioned as follows.
Ref: https://docs.spring.io/spring-boot/docs/current/gradle-plugin/reference/htmlsingle/#build-image.examples.docker.podman
}
Running " podman system connection list" gave me "ssh://user@localhost:61214/run/user/1000/podman/podman.sock".
so when I try to build image using " .\gradlew.bat clean bootBuildImage" command, with following host url, it is throwing error
Error:
Execution failed for task ':bootBuildImage'.
I wonder if it is correct host address or something wrong in the gradle plugin.
Beta Was this translation helpful? Give feedback.
All reactions