You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to build on my Ubuntu 20.04 but always get an error, no matter what I do
[WARNING] There were 0 download errors - check the warnings above [INFO] [INFO] --- maven-jar-plugin:3.2.0:test-jar (default) @ alfresco-transform-imagemagick-boot --- [INFO] Building jar: /home/ubuntu/alfresco-transform-core-2.5.3/alfresco-transform-imagemagick/alfresco-transform-imagemagick-boot/target/alfresco-transform-imagemagick-boot-2.5.3-tests.jar [INFO] [INFO] --- fabric8-maven-plugin:4.4.0:build (build-image) @ alfresco-transform-imagemagick-boot --- [WARNING] Error reading service account token from: [/var/run/secrets/kubernetes.io/serviceaccount/token]. Ignoring. [WARNING] Error reading service account token from: [/var/run/secrets/kubernetes.io/serviceaccount/token]. Ignoring. [WARNING] F8: Cannot access cluster for detecting mode: Unknown host kubernetes.default.svc: Name or service not known [INFO] F8: Running in Kubernetes mode [INFO] F8: Building Container image with Docker in Kubernetes mode [WARNING] Error reading service account token from: [/var/run/secrets/kubernetes.io/serviceaccount/token]. Ignoring. [WARNING] F8: Cannot access cluster for detecting mode: Unknown host kubernetes.default.svc [WARNING] Error reading service account token from: [/var/run/secrets/kubernetes.io/serviceaccount/token]. Ignoring. [WARNING] F8: Cannot access cluster for detecting mode: Unknown host kubernetes.default.svc [WARNING] Error reading service account token from: [/var/run/secrets/kubernetes.io/serviceaccount/token]. Ignoring. [WARNING] Error reading service account token from: [/var/run/secrets/kubernetes.io/serviceaccount/token]. Ignoring. [WARNING] F8: Cannot access cluster for detecting mode: Unknown host kubernetes.default.svc [WARNING] Error reading service account token from: [/var/run/secrets/kubernetes.io/serviceaccount/token]. Ignoring. [WARNING] F8: Cannot access cluster for detecting mode: Unknown host kubernetes.default.svc [WARNING] Error reading service account token from: [/var/run/secrets/kubernetes.io/serviceaccount/token]. Ignoring.
Failed to execute the build: io.fabric8.maven.docker.access.DockerAccessException: Unable to build image [alfresco/alfresco-imagemagick:latest] : Connection reset by peer
Thanks!
The text was updated successfully, but these errors were encountered:
@montgolfiere your workaround worked, well in fact only "experimental" was required.
Please could you point us to what experimental feature is required by the actual build process. I'm curious about it as Ubuntu 22.04 is shipping with Docker 20.10.12 which is a quite modern version of docker.
I'm trying to build on my Ubuntu 20.04 but always get an error, no matter what I do
[WARNING] There were 0 download errors - check the warnings above [INFO] [INFO] --- maven-jar-plugin:3.2.0:test-jar (default) @ alfresco-transform-imagemagick-boot --- [INFO] Building jar: /home/ubuntu/alfresco-transform-core-2.5.3/alfresco-transform-imagemagick/alfresco-transform-imagemagick-boot/target/alfresco-transform-imagemagick-boot-2.5.3-tests.jar [INFO] [INFO] --- fabric8-maven-plugin:4.4.0:build (build-image) @ alfresco-transform-imagemagick-boot --- [WARNING] Error reading service account token from: [/var/run/secrets/kubernetes.io/serviceaccount/token]. Ignoring. [WARNING] Error reading service account token from: [/var/run/secrets/kubernetes.io/serviceaccount/token]. Ignoring. [WARNING] F8: Cannot access cluster for detecting mode: Unknown host kubernetes.default.svc: Name or service not known [INFO] F8: Running in Kubernetes mode [INFO] F8: Building Container image with Docker in Kubernetes mode [WARNING] Error reading service account token from: [/var/run/secrets/kubernetes.io/serviceaccount/token]. Ignoring. [WARNING] F8: Cannot access cluster for detecting mode: Unknown host kubernetes.default.svc [WARNING] Error reading service account token from: [/var/run/secrets/kubernetes.io/serviceaccount/token]. Ignoring. [WARNING] F8: Cannot access cluster for detecting mode: Unknown host kubernetes.default.svc [WARNING] Error reading service account token from: [/var/run/secrets/kubernetes.io/serviceaccount/token]. Ignoring. [WARNING] Error reading service account token from: [/var/run/secrets/kubernetes.io/serviceaccount/token]. Ignoring. [WARNING] F8: Cannot access cluster for detecting mode: Unknown host kubernetes.default.svc [WARNING] Error reading service account token from: [/var/run/secrets/kubernetes.io/serviceaccount/token]. Ignoring. [WARNING] F8: Cannot access cluster for detecting mode: Unknown host kubernetes.default.svc [WARNING] Error reading service account token from: [/var/run/secrets/kubernetes.io/serviceaccount/token]. Ignoring.
Failed to execute the build: io.fabric8.maven.docker.access.DockerAccessException: Unable to build image [alfresco/alfresco-imagemagick:latest] : Connection reset by peer
Thanks!
The text was updated successfully, but these errors were encountered: