HiIs there any way to create container images without having Docker installed, having only Podman ?We are trying to do everything with podman, but , apparently JIB needs Docker installed to put its images in the docker images repository, and also to push images to the external registries we need to do docker login ....
--
You received this message because you are subscribed to the Google Groups "Quarkus Development mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to quarkus-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/quarkus-dev/CABNTrS_U7POF%2B-uqO8JZktRYdPGFeYE9zR%3Dp4cDtYKfns37yXw%40mail.gmail.com.
yep, confirmed, with quarkus.container-image.username and password it worked
El vie, 12 feb 2021 a las 10:50, Jonathan Vila (<jona...@barcelonajug.org>) escribió:I can do that, but in advance I say that one thing is the application to be used ( JIB doesnt use it ) and another thing is where to put the imagesby the way the properties you mentioned for jib to connect to the registry dont work for me..... and looking at the jib guide there are other properties to use :
The username to use to authenticate with the registry where the built image will be pushed
string
The password to use to authenticate with the registry where the built image will be pushed
I will try with these ..... for the moment this is my command :
./mvnw clean package -Pnative -DskipTests \
-Dquarkus.native.container-build=true \
-Dquarkus.native.container-runtime=podman \
-Dquarkus.container-image.push=true \
-Dquarkus.container-image.tag=0.0.2 \
-Dquarkus.container-image.group=jonathanvila \
-Dquarkus.jib.base-registry-username=jonathanvila -Dquarkus.jib.base-registry-password=XXX -Dquarkus.docker.executable-name=podman
El vie, 12 feb 2021 a las 10:23, Georgios Andrianakis (<gand...@redhat.com>) escribió:I admit I don't know anything about podman, but I was under the impressions thatalias docker=podmanis supposed to be the solution :)On Fri, Feb 12, 2021 at 11:16 AM Jonathan Vila <jona...@barcelonajug.org> wrote:apparently notI've tried now and the image is located under docker images, not podmaneven in the guide says that : https://quarkus.io/guides/container-image. This means that although Docker isn’t used to build the image, it is nevertheless necessary. Also note that using this mode, the built container image will show up when executingdocker images
.
El vie, 12 feb 2021 a las 9:48, Georgios Andrianakis (<gand...@redhat.com>) escribió:It should work today if you use the quarkus-container-image-docker extension by setting -Dquarkus.docker.executable-name=podman.On Fri, Feb 12, 2021 at 10:45 AM Jonathan Vila <jona...@barcelonajug.org> wrote:one last thing....... is there in the roadmap to allow use the podman local registry to put the images ?
So in summary :* to push directly to quay without needing docker login :-Dquarkus.container-image.push=true \
-Dquarkus.container-image.username=XXXX -Dquarkus.container-image.password=YYYY* if you build instead of pushing then JIB will always put the image in the docker local storage
* I need to investigate which is then the purpose of : -Dquarkus.docker.executable-name=podman
There is Kaniko also to build dockerfile into container. It works without docker installed.there is a extension for that ?
--
You received this message because you are subscribed to the Google Groups "Quarkus Development mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to quarkus-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/quarkus-dev/6c52fd2d-83a9-4c26-b877-9fbf11010e31n%40googlegroups.com.